PISM, A Parallel Ice Sheet Model  stable v2.1-1-g6902d5502 committed by Ed Bueler on 2023-12-20 08:38:27 -0800

◆ 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().