UNPKG

mathjs

Version:

Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser with support for symbolic computation, comes with a large set of built-in functions and constants, and offers an integrated solution to work with dif

14 lines (13 loc) 520 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.cumSumDocs = void 0; var cumSumDocs = exports.cumSumDocs = { name: 'cumsum', category: 'Statistics', syntax: ['cumsum(a, b, c, ...)', 'cumsum(A)'], description: 'Compute the cumulative sum of all values.', examples: ['cumsum(2, 3, 4, 1)', 'cumsum([2, 3, 4, 1])', 'cumsum([1, 2; 3, 4])', 'cumsum([1, 2; 3, 4], 1)', 'cumsum([1, 2; 3, 4], 2)'], seealso: ['max', 'mean', 'median', 'min', 'prod', 'std', 'sum', 'variance'] };