Vandermonde Matrix<T> Constructor
Definition
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Overload List
Vandermonde | Constructs a new Vandermonde matrix |
Vandermonde | Constructs a new Vandermonde matrix |
Vandermonde | Constructs a new Vandermonde matrix |
Vandermonde | Constructs a new Vandermonde matrix |
VandermondeMatrix<T>(ReadOnlySpan<T>, TransposeOperation)
public VandermondeMatrix(
ReadOnlySpan<T> bases,
TransposeOperation transpose = TransposeOperation.None
)
Parameters
- bases ReadOnlySpan<T>
- A vector of numbers to raise to the specified power.
- transpose TransposeOperation (Optional)
- Optional. Specifies whether the matrix is transposed.
Remarks
A standard Vandermonde matrix has rising powers along its rows. Its first column always consists of ones and the second column contains the values in bases.
A transposed Vandermonde matrix has rising powers along its columns. Its first row always consists of ones and the second row contains the values in bases.
VandermondeMatrix<T>(Vector<T>, TransposeOperation)
public VandermondeMatrix(
Vector<T> bases,
TransposeOperation transpose = TransposeOperation.None
)
Parameters
- bases Vector<T>
- A vector of numbers to raise to the specified power.
- transpose TransposeOperation (Optional)
- Optional. Specifies whether the matrix is transposed.
Remarks
A standard Vandermonde matrix has rising powers along its rows. Its first column always consists of ones and the second column contains the values in bases.
A transposed Vandermonde matrix has rising powers along its columns. Its first row always consists of ones and the second row contains the values in bases.
VandermondeMatrix<T>(ReadOnlySpan<T>, Int32, TransposeOperation)
public VandermondeMatrix(
ReadOnlySpan<T> bases,
int maxExponent,
TransposeOperation transpose = TransposeOperation.None
)
Parameters
- bases ReadOnlySpan<T>
- A vector of numbers to raise to the specified power.
- maxExponent Int32
- The largest powers the bases should be raised to.
- transpose TransposeOperation (Optional)
- Optional. Specifies whether the matrix is transposed.
Remarks
A standard Vandermonde matrix has rising powers along its rows. Its first column always consists of ones and the second column contains the values in bases.
A transposed Vandermonde matrix has rising powers along its columns. Its first row always consists of ones and the second row contains the values in bases.
VandermondeMatrix<T>(Vector<T>, Int32, TransposeOperation)
public VandermondeMatrix(
Vector<T> bases,
int maxExponent,
TransposeOperation transpose = TransposeOperation.None
)
Parameters
- bases Vector<T>
- A vector of numbers to raise to the specified power.
- maxExponent Int32
- The largest powers the bases should be raised to.
- transpose TransposeOperation (Optional)
- Optional. Specifies whether the matrix is transposed.
Remarks
A standard Vandermonde matrix has rising powers along its rows. Its first column always consists of ones and the second column contains the values in bases.
A transposed Vandermonde matrix has rising powers along its columns. Its first row always consists of ones and the second row contains the values in bases.