Name

exp function template — Computes exponential

Synopsis

template<typename T> valarray<T> exp(const valarray<T>& a);

The exp function computes the exponential e x for each element x of a.