生成逆向元素顺序的数组值。
处理真实值和新数组输出结果的版本:
bool MathReverse( const double& array[], // 数值数组 double& result[] // 结果数组 )
bool MathReverse( const int& array[], // 数值数组 int& result[] // 结果数组 )
bool MathReverse( double& array[] // 数值数组 )
bool MathReverse( int& array[] // 数值数组 )
参数
array[]
[in] 数值数组。
[out] 输出逆向数值顺序的数组。
result[]
返回值
如果成功返回true,否则返回false。