Linear Combination<T> Constructor
Definition
Namespace: Numerics.NET.Curves.Generic
Assembly: Numerics.NET.Generic (in Numerics.NET.Generic.dll) Version: 9.0.3
Assembly: Numerics.NET.Generic (in Numerics.NET.Generic.dll) Version: 9.0.3
Overload List
Linear | Constructs a new LinearCombination<T> object. |
Linear | Constructs a new LinearCombination<T> object. |
Linear | Constructs a new LinearCombination<T> object. |
LinearCombination<T>(FunctionBasis<T>)
Constructs a new LinearCombination<T> object.
public LinearCombination(
FunctionBasis<T> basis
)
Parameters
- basis FunctionBasis<T>
- The FunctionBasis<T> whose member functions this LinearCombination<T> is a linear combination of.
Exceptions
Argument | basis is null. |
LinearCombination<T>(FunctionBasis<T>, T[])
Constructs a new LinearCombination<T> object.
public LinearCombination(
FunctionBasis<T> basis,
T[] coefficients
)
Parameters
- basis FunctionBasis<T>
- The FunctionBasis<T> whose member functions this LinearCombination<T> is a linear combination of.
- coefficients T[]
- A T 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<T>(FunctionBasis<T>, Vector<T>)
Constructs a new LinearCombination<T> object.
public LinearCombination(
FunctionBasis<T> basis,
Vector<T> coefficients
)
Parameters
- basis FunctionBasis<T>
- The FunctionBasis<T> whose member functions this LinearCombination<T> is a linear combination of.
- coefficients Vector<T>
- A T 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 . |