Documentation of 'org.ujmp.core.doublematrix.calculation.entrywise.creators.CreatorDoubleCalculations' Java class
CreatorDoubleCalculations
org.ujmp.core.doublematrix.calculation.entrywise.creators

Interface CreatorDoubleCalculations

    • Method Detail

      • zeros

        Matrix zeros(Calculation.Ret ret)
        Returns a matrix with equal size, where all entries are set to zero.
        Returns:
        Matrix with zeros.
      • ones

        Matrix ones(Calculation.Ret ret)
        Returns a matrix with equal size, where all entries are set to 1.0.
        Returns:
        Matrix with ones.
      • nans

        Matrix nans(Calculation.Ret ret)
        Returns a matrix with equal size, where all entries are set to Double.NaN.
        Returns:
        Matrix with NaNs.
      • rand

        Matrix rand(Calculation.Ret ret)
        Returns a matrix with equal size, where all entries are set to uniform random values between 0.0 and 1.0.
        Returns:
        Matrix with uniformly distributed values.
      • randn

        Matrix randn(Calculation.Ret ret)
        Returns a matrix with equal size, where all entries are set to random values which are normally distributed with 0.0 mean and 1.0 standard deviation.
        Returns:
        Matrix with normally distributed values.
      • eye

        Matrix eye(Calculation.Ret ret)
        Returns a matrix with ones at the diagonal.
        Returns:
        Eye matrix with ones at the diagonal

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.