sundials_math.h File Reference

#include <sundials/sundials_types.h>

Go to the source code of this file.

Defines

#define MIN(A, B)   ((A) < (B) ? (A) : (B))
#define MAX(A, B)   ((A) > (B) ? (A) : (B))
#define SQR(A)   ((A)*(A))
#define ABS   RAbs
#define SQRT   RSqrt
#define EXP   RExp

Functions

SUNDIALS_EXPORT realtype RPowerI (realtype base, int exponent)
SUNDIALS_EXPORT realtype RPowerR (realtype base, realtype exponent)
SUNDIALS_EXPORT realtype RSqrt (realtype x)
SUNDIALS_EXPORT realtype RAbs (realtype x)
SUNDIALS_EXPORT realtype RExp (realtype x)

Define Documentation

#define ABS   RAbs
#define EXP   RExp
#define MAX ( A,
 )     ((A) > (B) ? (A) : (B))
#define MIN ( A,
 )     ((A) < (B) ? (A) : (B))
#define SQR (  )     ((A)*(A))
#define SQRT   RSqrt

Function Documentation

SUNDIALS_EXPORT realtype RAbs ( realtype  x  ) 
SUNDIALS_EXPORT realtype RExp ( realtype  x  ) 
SUNDIALS_EXPORT realtype RPowerI ( realtype  base,
int  exponent 
)
SUNDIALS_EXPORT realtype RPowerR ( realtype  base,
realtype  exponent 
)
SUNDIALS_EXPORT realtype RSqrt ( realtype  x  ) 

Generated on Wed Dec 30 11:05:07 2009 for SimTKcore by  doxygen 1.6.1