PISM, A Parallel Ice Sheet Model  stable v2.1.1 committed by Constantine Khrulev on 2024-12-04 13:36:58 -0900

◆ add()

template<class V >
void pism::array::details::add ( const V &  x,
double  alpha,
const V &  y,
V &  result,
bool  scatter = true 
)

Computes result = x + alpha * y, where x, y, and z are 2D Arrays (scalar or vector).

Definition at line 35 of file Array_helpers.hh.

Referenced by pism::array::Array2D< T >::add().