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

Class Dcs_cumsum



  • public class Dcs_cumsum
    extends java.lang.Object
    Cumulative sum.
    • Constructor Summary

      Constructors 
      Constructor and Description
      Dcs_cumsum() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static int cs_cumsum(int[] p, int[] c, int n)
      p [0..n] = cumulative sum of c [0..n-1], and then copy p [0..n-1] into c
      • Methods inherited from class java.lang.Object

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

      • Dcs_cumsum

        public Dcs_cumsum()
    • Method Detail

      • cs_cumsum

        public static int cs_cumsum(int[] p,
                                    int[] c,
                                    int n)
        p [0..n] = cumulative sum of c [0..n-1], and then copy p [0..n-1] into c
        Parameters:
        p - size n+1, cumulative sum of c
        c - size n, overwritten with p [0..n-1] on output
        n - length of c
        Returns:
        sum (c), null on error

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.