Esempio n. 1
0
 /// <summary>
 /// X = A * A^T;
 /// </summary>
 public MatrixXD MultT()
 {
     double[] outMatrix = new double[Rows * Rows];
     EigenDenseUtilities.MultT(GetValues(), Rows, Rows, outMatrix);
     return(new MatrixXD(outMatrix, Rows, Rows));
 }
Esempio n. 2
0
 // A * B^T
 public MatrixXD MultT(MatrixXD other)
 {
     double[] outMatrix = new double[Rows * other.Rows];
     EigenDenseUtilities.MultT(GetValues(), Rows, Cols, other.GetValues(), other.Rows, other.Cols, outMatrix);
     return(new MatrixXD(outMatrix, Rows, other.Rows));
 }