VecExpandingStats

trait VecExpandingStats[@specialized(Int, Long, Double) A]

Expanding statistical methods made available on numeric Vec objects via enrichment. These methods scan over the Vec and compute cumulative values.

class Object
trait Matchable
class Any

Value members

Abstract methods

def cumCount: Vec[Int]

Cumulative count; each successive element of the output is the cumulative count from the initial element, ignoring NAs.

Cumulative count; each successive element of the output is the cumulative count from the initial element, ignoring NAs.

def cumMax: Vec[A]

Cumulative max; each successive element of the output is the cumulative max from the initial element, ignoring NAs.

Cumulative max; each successive element of the output is the cumulative max from the initial element, ignoring NAs.

def cumMin: Vec[A]

Cumulative min; each successive element of the output is the cumulative min from the initial element, ignoring NAs.

Cumulative min; each successive element of the output is the cumulative min from the initial element, ignoring NAs.

def cumProd: Vec[A]

Cumulative product; each successive element of the output is the cumulative product from the initial element, ignoring NAs.

Cumulative product; each successive element of the output is the cumulative product from the initial element, ignoring NAs.

def cumSum: Vec[A]

Cumulative sum; each successive element of the output is the cumulative sum from the initial element, ignoring NAs.

Cumulative sum; each successive element of the output is the cumulative sum from the initial element, ignoring NAs.