Matrix.From Columns<T> Method
Constructs a new matrix from the specified vectors.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
A matrix constructed by joining the vectors in columns.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static Matrix<T> FromColumns<T>(
params Vector<T>[] columns
)
Parameters
- columns Vector<T>[]
- A parameter array of vectors of T.
Type Parameters
- T
- The element type of the matrix.
Return Value
Matrix<T>A matrix constructed by joining the vectors in columns.
Remarks
All vectors must have the same length.
Exceptions
Argument | columns is null. |
Argument | One of the elements of columns is null. |
Dimension | Not all of the vectors in columns have the same length. |