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

Class Dcs_scatter



  • public class Dcs_scatter
    extends java.lang.Object
    Scatter a sparse vector.
    • Constructor Summary

      Constructors 
      Constructor and Description
      Dcs_scatter() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static int cs_scatter(Dcs_common.Dcs A, int j, double beta, int[] w, double[] x, int mark, Dcs_common.Dcs C, int nz)
      Scatters and sums a sparse vector A(:,j) into a dense vector, x = x + beta * A(:,j).
      • Methods inherited from class java.lang.Object

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

      • Dcs_scatter

        public Dcs_scatter()
    • Method Detail

      • cs_scatter

        public static int cs_scatter(Dcs_common.Dcs A,
                                     int j,
                                     double beta,
                                     int[] w,
                                     double[] x,
                                     int mark,
                                     Dcs_common.Dcs C,
                                     int nz)
        Scatters and sums a sparse vector A(:,j) into a dense vector, x = x + beta * A(:,j).
        Parameters:
        A - the sparse vector is A(:,j)
        j - the column of A to use
        beta - scalar multiplied by A(:,j)
        w - size m, node i is marked if w[i] = mark
        x - size m, ignored if null
        mark - mark value of w
        C - pattern of x accumulated in C.i
        nz - pattern of x placed in C starting at C.i[nz]
        Returns:
        new value of nz, -1 on error

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.