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