cumsum# swordfish.function.cumsum()# Cumulatively calculate the sum of the elements in X. Parameters: X (Constant) – A scalar/vector/matrix/table/tuple (with scalars or equal-length vectors)/dictionary.