IMSL C# Numerical Library

Physical Subtraction Operator 

Subtract two compatible Physical objects.

public static Physical operator -(
   Physical x,
   Physical y
);

Parameters

x
A Physical object.
y
A Physical object which is to be subtracted from x.

Return Value

A Physical object which is the result of x - y.

Exceptions

Exception Type Condition
ArgumentException is thrown if x and y are not compatible

See Also

Physical Class | Imsl.Math Namespace