LinearCombination.Negate Method

Returns the negation of a linear combination.

Definition

Namespace: Numerics.NET.Curves
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0
C#
public static LinearCombination Negate(
	LinearCombination combination
)

Parameters

combination  LinearCombination
A LinearCombination.

Return Value

LinearCombination
A LinearCombination that is the negation of combination

Remarks

The negation of a linear combination is the linear combination whose coefficients are the negation of the coefficients of the original linear combination.

Exceptions

ArgumentNullException

combination is null.

See Also