Class DefaultMatrixOperations

    • Constructor Detail

      • DefaultMatrixOperations

        public DefaultMatrixOperations()
    • Method Detail

      • 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