Returns the negation of a linear combination.

Namespace: Extreme.Mathematics.Curves
Assembly: Extreme.Numerics (Extreme.Numerics)

Syntax

Visual Basic (Declaration)
Public Shared Function Negate ( _
	combination As LinearCombination _
) As LinearCombination
C#
public static LinearCombination Negate (
	LinearCombination combination
)
C++
public:
static LinearCombination^ Negate (
	LinearCombination^ combination
)

Parameters

combination (Extreme.Mathematics.Curves.LinearCombination)
A LinearCombination.

Return Value

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

ExceptionCondition
ArgumentNullExceptioncombination is nullNothingnullptr.