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

Calculate the absolute value of each element of a Matrix.

This function calculates the absolute value of each element in a Matrix

Parameters:
AThe matrix whose absolute values are to be taken.

Referenced by adaptsimp(), gammafn(), linesearch2(), lngammafn(), nls_broyden(), pgamma(), scythe::rng< mersenne >::rtnorm(), scythe::rng< mersenne >::rtnorm_combo(), and zoom().