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

Class Scs_cumsum



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

      Constructors 
      Constructor and Description
      Scs_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.f.n] = cumulative sum of c [0.f.n-1], and then copy p [0.f.n-1] into c
      • Methods inherited from class java.lang.Object

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

      • Scs_cumsum

        public Scs_cumsum()
    • Method Detail

      • cs_cumsum

        public static int cs_cumsum(int[] p,
                                    int[] c,
                                    int n)
        p [0.f.n] = cumulative sum of c [0.f.n-1], and then copy p [0.f.n-1] into c
        Parameters:
        p - size n+1, cumulative sum of c
        c - size n, overwritten with p [0.f.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.