Exemple #1
0
 public VectorXD Mult(VectorXD other)
 {
     double[] outVector = new double[Rows];
     EigenDenseUtilities.Mult(GetValues(),
                              Rows,
                              Cols,
                              other.GetValues(),
                              other.Length,
                              outVector);
     return(new VectorXD(outVector));
 }
Exemple #2
0
 public MatrixXD Mult(MatrixXD other)
 {
     double[] outMatrix = new double[Rows * other.Cols];
     EigenDenseUtilities.Mult(GetValues(),
                              Rows,
                              Cols,
                              other.GetValues(),
                              other.Rows,
                              other.Cols,
                              outMatrix);
     return(new MatrixXD(outMatrix, Rows, other.Cols));
 }