Section: C Library Functions (3) Updated: Thu Apr 7 2011 Local index
template<typename T > T SIGN (T a, T b)
template<typename T > T SIGN (Ta, Tb) [inline]
Definition at line 35 of file newton_solver.C.
Referenced by NewtonSolver::line_search().
return b >= 0 ? std::abs(a) : -std::abs(a);
Generated automatically by Doxygen for libMesh from the source code.
- Function Documentation
- template<typename T > T SIGN (Ta, Tb) [inline]
This document was created by
using the manual pages.
Time: 21:51:24 GMT, April 16, 2011