Documentation of 'jdistlib.matrix.QMatrixUtils' Java class
QMatrixUtils
jdistlib.matrix

Class QMatrixUtils



  • public class QMatrixUtils
    extends java.lang.Object
    Matrix utilities
    • Constructor Summary

      Constructors 
      Constructor and Description
      QMatrixUtils() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static double[][] calculateXtY(double[][] X, double[][] Y)
      Calculate X'Y.
      static double[][] calculateXY(double[][] X, double[][] Y)
      Calculate XY.
      static double[][] calculateXYt(double[][] X, double[][] Y)
      Calculate XY'.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • QMatrixUtils

        public QMatrixUtils()
    • Method Detail

      • calculateXY

        public static final double[][] calculateXY(double[][] X,
                                                   double[][] Y)
        Calculate XY. Eliminate the need to instantiate a matrix.
        Parameters:
        X - (n x m)
        Y - (m x p)
        Returns:
        X * Y
      • calculateXYt

        public static final double[][] calculateXYt(double[][] X,
                                                    double[][] Y)
        Calculate XY'. Eliminate the need to transpose.
        Parameters:
        X -
        Y -
        Returns:
        X * Y'
      • calculateXtY

        public static final double[][] calculateXtY(double[][] X,
                                                    double[][] Y)
        Calculate X'Y. Eliminate the need to transpose.
        Parameters:
        X -
        Y -
        Returns:
        X'Y

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.