Subtract two compatible Physical objects.
Namespace:
Imsl.Math
Assembly:
ImslCS (in ImslCS.dll) Version: 6.5.0.0
Syntax
C# |
---|
public static Physical Subtract( Physical x, Physical y ) |
Visual Basic (Declaration) |
---|
Public Shared Function Subtract ( _ x As Physical, _ y As Physical _ ) As Physical |
Visual C++ |
---|
public: static Physical Subtract( Physical x, Physical y ) |
Parameters
- x
- Type: Imsl.Math..::.Physical
A Physical object.
- y
- Type: Imsl.Math..::.Physical
A Physical object which is to be subtracted from x.
Return Value
A Physical object which is the result of x - y.
Exceptions
Exception | Condition |
---|---|
System..::.ArgumentException | is thrown if x and y are not compatible |