Linear Combination Constructor
Definition
Namespace: Numerics.NET.Curves
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
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 . |