Fast Research Interface Library  Manual and Documentation
src/TypeIRML/TypeIRMLMath.cpp
Go to the documentation of this file.
00001 //  ---------------------- Doxygen info ----------------------
00047 //  ----------------------------------------------------------
00048 //   For a convenient reading of this file's source code,
00049 //   please use a tab width of four characters.
00050 //  ----------------------------------------------------------
00051 
00052 
00053 
00054 #include <TypeIRMLMath.h>
00055 #include <math.h>
00056 
00057 
00058 
00059 //****************************************************************************
00060 // RMLSqrt()
00061 
00062 double TypeIRMLMath::RMLSqrt(const double &Value)
00063 {
00064     return( ( Value <= 0.0 ) ? ( 0.0 ) : ( sqrt( Value ) ) );
00065 }
This document was generated with Doxygen on Thu Apr 12 2012 11:18:54. User documentation of the Fast Research Interface Library for the KUKA Lightweight Robot IV by the Stanford Robotics Research Group. Copyright 2010–2012.