Linear Combination Constructor
Definition
Namespace: Extreme.Mathematics.Curves
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
Linear | Constructs a new LinearCombination object. |
Linear | Constructs a new LinearCombination object. |
Linear | Constructs a new LinearCombination object. |
LinearCombination(FunctionBasis)
Constructs a new LinearCombination object.
public LinearCombination(
FunctionBasis basis
)
Parameters
- basis FunctionBasis
- The FunctionBasis whose member functions this LinearCombination is a linear combination of.
Exceptions
Argument | basis is null. |
LinearCombination(FunctionBasis, Vector<Double>)
Constructs a new LinearCombination object.
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
Argument | basis is null.
-or- coefficients is null. |
Dimension | The length of coefficients is not equal to the size of basis . |
LinearCombination(FunctionBasis, Double[])
Constructs a new LinearCombination object.
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
Argument | basis is null.
-or- coefficients is null. |
Dimension | The length of coefficients is not equal to the size of basis . |