Documentation of 'edu.emory.mathcs.csparsej.tfloat.Scs_util' Java class
Scs_util
edu.emory.mathcs.csparsej.tfloat

Class Scs_util



  • public class Scs_util
    extends java.lang.Object
    Various utilities.
    • Constructor Summary

      Constructors 
      Constructor and Description
      Scs_util() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static boolean CS_CSC(Scs_common.Scs A)
      Returns true if A is in column-compressed form, false otherwise.
      static Scs_common.Scsd cs_dalloc(int m, int n)
      Allocate a Scsd object (a Sulmage-Mendelsohn decomposition).
      static Scs_common.Scs cs_spalloc(int m, int n, int nzmax, boolean values, boolean triplet)
      Allocate a sparse matrix (triplet form or compressed-column form).
      static boolean cs_sprealloc(Scs_common.Scs A, int nzmax)
      Change the max # of entries a sparse matrix can hold.
      static boolean CS_TRIPLET(Scs_common.Scs A)
      Returns true if A is in triplet form, false otherwise.
      • Methods inherited from class java.lang.Object

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

      • Scs_util

        public Scs_util()
    • Method Detail

      • cs_spalloc

        public static Scs_common.Scs cs_spalloc(int m,
                                                int n,
                                                int nzmax,
                                                boolean values,
                                                boolean triplet)
        Allocate a sparse matrix (triplet form or compressed-column form).
        Parameters:
        m - number of rows
        n - number of columns
        nzmax - maximum number of entries
        values - allocate pattern only if false, values and pattern otherwise
        triplet - compressed-column if false, triplet form otherwise
        Returns:
        sparse matrix
      • cs_sprealloc

        public static boolean cs_sprealloc(Scs_common.Scs A,
                                           int nzmax)
        Change the max # of entries a sparse matrix can hold.
        Parameters:
        A - column-compressed matrix
        nzmax - new maximum number of entries
        Returns:
        true if successful, false on error
      • cs_dalloc

        public static Scs_common.Scsd cs_dalloc(int m,
                                                int n)
        Allocate a Scsd object (a Sulmage-Mendelsohn decomposition).
        Parameters:
        m - number of rows of the matrix A to be analyzed
        n - number of columns of the matrix A to be analyzed
        Returns:
        Sulmage-Mendelsohn decomposition
      • CS_CSC

        public static boolean CS_CSC(Scs_common.Scs A)
        Returns true if A is in column-compressed form, false otherwise.
        Parameters:
        A - sparse matrix
        Returns:
        true if A is in column-compressed form, false otherwise
      • CS_TRIPLET

        public static boolean CS_TRIPLET(Scs_common.Scs A)
        Returns true if A is in triplet form, false otherwise.
        Parameters:
        A - sparse matrix
        Returns:
        true if A is in triplet form, false otherwise

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.