Returns the negation of a linear combination.

Namespace: Extreme.Mathematics.Curves
Assembly:   Extreme.Numerics (in Extreme.Numerics)
Version: 2.1.7017.0

Syntax

Visual Basic (Declaration)
Public Shared Function Negate ( _
	combination As LinearCombination _
) As LinearCombination
C#
public static LinearCombination Negate (
	LinearCombination combination
)
Visual 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
System.ArgumentNullExceptioncombination is nullNothingnullptr.