LinearCombination<T>.Negate Method

Returns the negation of a linear combination.

Definition

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

Parameters

combination  LinearCombination<T>
A LinearCombination<T>.

Return Value

LinearCombination<T>
A LinearCombination<T> 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

ArgumentNullExceptioncombination is null.

See Also