Scythe-1.0.3
template<matrix_order RO, matrix_style RS, typename T , matrix_order PO, matrix_style PS>
Matrix<T,RO,RS> scythe::exp ( const Matrix< T, PO, PS > &  A)

Calculate the value e^x for each element of a Matrix.

This function calculates the value e^x for each element of a matrix, where x is the ith element of the matrix A

Parameters:
AThe matrix whose elements are to be exponentiated.
See also:
expm1()

Referenced by betafn(), dexp(), dlnorm(), dlogis(), dnorm(), dpois(), dt(), dt1(), dweibull(), gammafn(), pexp(), pgamma(), plogis(), pweibull(), scythe::rng< mersenne >::rlnorm(), scythe::rng< mersenne >::rpois(), scythe::rng< mersenne >::rtanorm_combo(), scythe::rng< mersenne >::rtanorm_slice(), scythe::rng< mersenne >::rtbnorm_combo(), and scythe::rng< mersenne >::rtbnorm_slice().