Poster of Linux kernelThe best gift for a Linux geek
newton_solver.C

newton_solver.C

Section: C Library Functions (3) Updated: Thu Apr 7 2011
Local index Up
 

NAME

newton_solver.C -  

SYNOPSIS


 

Functions


template<typename T > T SIGN (T a, T b)
 

Function Documentation

 

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);
}
 

Author

Generated automatically by Doxygen for libMesh from the source code.


 

Index

NAME
SYNOPSIS
Functions
Function Documentation
template<typename T > T SIGN (Ta, Tb) [inline]
Author

This document was created by man2html, using the manual pages.
Time: 21:51:24 GMT, April 16, 2011