Interface MiscGeneralDoubleCalculations

    • Method Detail

      • center

        Matrix center​(Calculation.Ret returnType,
                      int dimension,
                      boolean ignoreNaN)
        Subtracts the mean from the matrix.
        Parameters:
        returnType - Select whether a new or a linked Matrix is returned, or if the operation is performed on the original Matrix
        dimension - The axis along which to calculate
        ignoreNaN - should missing values be ignored
        Returns:
        Matrix with zero mean.
      • standardize

        Matrix standardize​(Calculation.Ret returnType,
                           int dimension)
        Subtracts the mean from the matrix and divides by the standard deviation.
        Parameters:
        returnType - Select whether a new or a linked Matrix is returned, or if the operation is performed on the original Matrix
        dimension - The axis along which to calculate
        Returns:
        Matrix with zero mean and unit variance.
      • replaceMissingBy

        Matrix replaceMissingBy​(Matrix matrix)