Linear Combination.Subtract Method
Definition
Namespace: Extreme.Mathematics.Curves
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
Subtract( | Subtracts another LinearCombination from this instance. |
Subtract( | Subtracts two linear combinations. |
Subtract(LinearCombination)
Subtracts another LinearCombination from this instance.
public LinearCombination Subtract(
LinearCombination combination
)
Parameters
- combination LinearCombination
- The LinearCombination to subtract from this instance.
Return Value
LinearCombinationA reference to this instance.
Remarks
In order to add two linear combinations, they must have the same FunctionBasis. If this is not the case, an ArgumentException is thrown.
Exceptions
Argument | combination is null. |
Subtract(LinearCombination, LinearCombination)
Subtracts two linear combinations.
public static LinearCombination Subtract(
LinearCombination combination1,
LinearCombination combination2
)
Parameters
- combination1 LinearCombination
- The first PolynomialBase.
- combination2 LinearCombination
- The second PolynomialBase.
Return Value
LinearCombinationA PolynomialBase that equals the second linear combination subtracted from the first.
Exceptions
Argument | combination1 is null.
-or- combination2 is null. |