LinearCombination Constructor

Definition

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

Overload List

LinearCombination(FunctionBasis)

Constructs a new LinearCombination object.
C#
public LinearCombination(
	FunctionBasis basis
)

Parameters

basis  FunctionBasis
The FunctionBasis whose member functions this LinearCombination is a linear combination of.

Exceptions

ArgumentNullExceptionbasis is null.

LinearCombination(FunctionBasis, Vector<Double>)

Constructs a new LinearCombination object.
C#
public LinearCombination(
	FunctionBasis basis,
	Vector<double> coefficients
)

Parameters

basis  FunctionBasis
The FunctionBasis whose member functions this LinearCombination is a linear combination of.
coefficients  Vector<Double>
A Double array that contains the coefficients to the functions in basis.

Exceptions

ArgumentNullExceptionbasis is null.

-or-

coefficients is null.

DimensionMismatchException The length of coefficients is not equal to the size of basis .

LinearCombination(FunctionBasis, Double[])

Constructs a new LinearCombination object.
C#
public LinearCombination(
	FunctionBasis basis,
	double[] coefficients
)

Parameters

basis  FunctionBasis
The FunctionBasis whose member functions this LinearCombination is a linear combination of.
coefficients  Double[]
A Double array that contains the coefficients to the functions in basis.

Exceptions

ArgumentNullExceptionbasis is null.

-or-

coefficients is null.

DimensionMismatchException The length of coefficients is not equal to the size of basis .

See Also