Create cumulative matrix functions
Framework for numerical computations, data analysis and visualisation
Brought to you by:
numere
Create the following cumulative matrix functions:
cumsum(MAT, BASE=0) -> MAT (Cumulative sum, will add cumulative to the BASE matrix)cumprd(MAT, BASE=1) -> MAT (Cumulative product, will multiply cumulative with the BASE matrix)We will omit those BASE parameters as these are either realizable as pre- or post-operation operands and will therefore only result in misunderstandings. Instead we'll use the second parameter to define the direction of application for actual matrices (for vectors it is obvious). As a reference of application, we'll use the dimension logic of the unique() matrix function.
Functions were added to the automatic SW tests. No deviations detected.
Anonymous
Diff:
Diff:
Diff:
Related
Commit: [r1307]
Diff: