public DenseMatrix(Matrix <Complex> matrix) : this(DenseColumnMajorMatrixStorage <Complex> .OfMatrix(matrix.Storage)) { }
/// <summary> /// Create a new dense matrix as a copy of the given other matrix. /// This new matrix will be independent from the other matrix. /// A new memory block will be allocated for storing the matrix. /// </summary> public static DenseMatrix OfMatrix(Matrix <Complex> matrix) { return(new DenseMatrix(DenseColumnMajorMatrixStorage <Complex> .OfMatrix(matrix.Storage))); }
/// <summary> /// Create a new dense matrix as a copy of the given other matrix. /// This new matrix will be independent from the other matrix. /// A new memory block will be allocated for storing the matrix. /// </summary> public static DenseMatrix OfMatrix(Matrix<double> matrix) { return new DenseMatrix(DenseColumnMajorMatrixStorage<double>.OfMatrix(matrix.Storage)); }
public DenseMatrix(Matrix <double> matrix) : this(DenseColumnMajorMatrixStorage <double> .OfMatrix(matrix.Storage)) { }
public DenseMatrix(Matrix <float> matrix) : this(DenseColumnMajorMatrixStorage <float> .OfMatrix(matrix.Storage)) { }