cumsum.caracas_symbol: Cumulative Sums

View source: R/vector.R

cumsum.caracas_symbolR Documentation

Cumulative Sums

Description

Cumulative Sums

Usage

## S3 method for class 'caracas_symbol'
cumsum(x)

Arguments

x

Elements to sum

Examples

if (has_sympy()) {
  A <- matrix(1:9, 3)
  cumsum(A)
  B <- matrix_sym(3, 3)
  cumsum(B)
  C <- vector_sym(3)
  cumsum(C)
}


caracas documentation built on June 22, 2024, 10:59 a.m.