R/vector.R
cumsum.caracas_symbol.Rd
Cumulative Sums
# S3 method for caracas_symbol cumsum(x)
Elements to sum
if (has_sympy()) { A <- matrix(1:9, 3) cumsum(A) B <- matrix_sym(3, 3) cumsum(B) C <- vector_sym(3) cumsum(C) } #> c: [v₁ v₁ + v₂ v₁ + v₂ + v₃]ᵀ