Documentation of 'org.ujmp.core.doublematrix.calculation.entrywise.basic.BasicEntrywiseDoubleCalculations' Java class
BasicEntrywiseDoubleCalculations
org.ujmp.core.doublematrix.calculation.entrywise.basic

Interface BasicEntrywiseDoubleCalculations

    • Method Detail

      • abs

        Matrix abs(Calculation.Ret returnType)
        Calculates the absolute values of all entries in a Matrix. Positive values stay the same, negative values change sign.
        Parameters:
        returnType - Select whether a new or a linked Matrix is returned, or if the operation is performed on the original Matrix
        Returns:
        A new Matrix with absolute values.
      • log2

        Matrix log2(Calculation.Ret returnType)
        Calculates the logarithm with basis 2 of all entries in the Matrix.
        Parameters:
        returnType - Select whether a new or a linked Matrix is returned, or if the operation is performed on the original Matrix
        Returns:
        Matrix with logarithm values.
      • log10

        Matrix log10(Calculation.Ret returnType)
        Calculates the logarithm with basis 10 of all entries in the Matrix.
        Parameters:
        returnType - Select whether a new or a linked Matrix is returned, or if the operation is performed on the original Matrix
        Returns:
        Matrix with logarithm values.
      • log

        Matrix log(Calculation.Ret returnType)
        Calculates the natural logarithm of all entries in the Matrix.
        Parameters:
        returnType - Select whether a new or a linked Matrix is returned, or if the operation is performed on the original Matrix
        Returns:
        Matrix with logarithm values.
      • exp

        Matrix exp(Calculation.Ret returnType)
        Calculates the exponential function for all entries in the Matrix.
        Parameters:
        returnType - Select whether a new or a linked Matrix is returned, or if the operation is performed on the original Matrix
        Returns:
        Matrix with exp values.
      • logistic

        Matrix logistic(Calculation.Ret returnType)
        Calculates the logistic function for all entries in the Matrix.
        Parameters:
        returnType - Select whether a new or a linked Matrix is returned, or if the operation is performed on the original Matrix
        Returns:
        Matrix with 1/(1+exp(-x)) values.
      • sign

        Matrix sign(Calculation.Ret returnType)
        Calculates the sign of the entries in a Matrix. For values greater than zero, 1.0 is returned. Negative values will give -1.0 as return value. 0.0 is returned for entries equal to zero.
        Parameters:
        returnType - Select whether a new or a linked Matrix is returned, or if the operation is performed on the original Matrix
        Returns:
        Matrix with signum values
      • sqrt

        Matrix sqrt(Calculation.Ret returnType)
        Calculates the square root of all the entries in a Matrix.
        Parameters:
        returnType - Select whether a new or a linked Matrix is returned, or if the operation is performed on the original Matrix
        Returns:
        Matrix containing the square roots of all entries
      • power

        Matrix power(Calculation.Ret returnType,
                     Matrix power)
        Calculates this matrix to the power of the given matrix (entrywise).
        Parameters:
        returnType - Select whether a new or a linked Matrix is returned, or if the operation is performed on the original Matrix
        matrix - the second matrix
        Returns:
        matrix with all entries to the power of the second matrix's entry.
      • power

        Matrix power(Calculation.Ret returnType,
                     double power)
        Calculates this matrix to the power of the given value (entrywise).
        Parameters:
        returnType - Select whether a new or a linked Matrix is returned, or if the operation is performed on the original Matrix
        value - power factor
        Returns:
        Matrix with all entries to the power of factor.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.