Class DefaultMatrixOperations

java.lang.Object
com.macrofocus.high_d.mds.tsne.AbstractMatrixOperations
com.macrofocus.high_d.mds.tsne.DefaultMatrixOperations
All Implemented Interfaces:
MatrixOperations

public class DefaultMatrixOperations extends AbstractMatrixOperations
  • Constructor Details

    • DefaultMatrixOperations

      public DefaultMatrixOperations()
  • Method Details

    • scalarMultiply

      public double[][] scalarMultiply(double[][] m1, double[][] m2)
    • minus

      public double[][] minus(double[][] m1, double[][] m2)
    • transpose

      public double[][] transpose(double[][] matrix)
    • dnrom

      public double dnrom(double mu, double sigma)
      Description copied from interface: MatrixOperations
      Generate random draw from Normal with mean mu and std. dev sigma
      Returns:
      random sample