Documentation of 'edu.emory.mathcs.csparsej.tdouble.Dcs_util' Java class
Dcs_util
edu.emory.mathcs.csparsej.tdouble

Class Dcs_util



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

      Constructors 
      Constructor and Description
      Dcs_util() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static boolean CS_CSC(Dcs_common.Dcs A)
      Returns true if A is in column-compressed form, false otherwise.
      static Dcs_common.Dcsd cs_dalloc(int m, int n)
      Allocate a Dcsd object (a Dulmage-Mendelsohn decomposition).
      static Dcs_common.Dcs 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(Dcs_common.Dcs A, int nzmax)
      Change the max # of entries a sparse matrix can hold.
      static boolean CS_TRIPLET(Dcs_common.Dcs 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

      • Dcs_util

        public Dcs_util()
    • Method Detail

      • cs_spalloc

        public static Dcs_common.Dcs 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(Dcs_common.Dcs 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 Dcs_common.Dcsd cs_dalloc(int m,
                                                int n)
        Allocate a Dcsd object (a Dulmage-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:
        Dulmage-Mendelsohn decomposition
      • CS_CSC

        public static boolean CS_CSC(Dcs_common.Dcs 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(Dcs_common.Dcs 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.