跳至内容

MathCumulativeSum

MathCumulativeSum

生成累计金额的数组。

新数组的输出结果版本:

bool  MathCumulativeSum(
   const double&  array[],   // 数值数组
   double&        result[]   // 结果数组
   )

原始数组的输出结果版本:

bool  MathCumulativeSum(
   double&        array[]    // 数值数组
   )

参数

array[]

[in] 数值数组。

array[]

[out] 输出值数组。

result[]

[out] 输出值数组。

返回值

如果成功返回true,否则返回false。