NEURON
Math Class Reference

#include <math.h>

Public Member Functions

 declare_binary_minmax (int)
 
 declare_binary_minmax (unsigned)
 
 declare_binary_minmax (long)
 
 declare_binary_minmax (unsigned long)
 
 declare_binary_minmax (float)
 
 declare_binary_minmax (double)
 
 declare_4_minmax (int)
 
 declare_4_minmax (float)
 
 declare_4_minmax (double)
 

Static Public Member Functions

static int abs (int)
 
static long abs (long)
 
static double abs (double)
 
static int round (float)
 
static int round (double)
 
static bool equal (float x, float y, float e)
 
static bool equal (double x, double y, double e)
 

Detailed Description

Definition at line 71 of file math.h.

Member Function Documentation

◆ abs() [1/3]

double Math::abs ( double  x)
static

Definition at line 45 of file math.cpp.

◆ abs() [2/3]

int Math::abs ( int  x)
static

Definition at line 43 of file math.cpp.

◆ abs() [3/3]

long Math::abs ( long  x)
static

Definition at line 44 of file math.cpp.

◆ declare_4_minmax() [1/3]

Math::declare_4_minmax ( double  )

◆ declare_4_minmax() [2/3]

Math::declare_4_minmax ( float  )

◆ declare_4_minmax() [3/3]

Math::declare_4_minmax ( int  )

◆ declare_binary_minmax() [1/6]

Math::declare_binary_minmax ( double  )

◆ declare_binary_minmax() [2/6]

Math::declare_binary_minmax ( float  )

◆ declare_binary_minmax() [3/6]

Math::declare_binary_minmax ( int  )

◆ declare_binary_minmax() [4/6]

Math::declare_binary_minmax ( long  )

◆ declare_binary_minmax() [5/6]

Math::declare_binary_minmax ( unsigned long  )

◆ declare_binary_minmax() [6/6]

Math::declare_binary_minmax ( unsigned  )

◆ equal() [1/2]

bool Math::equal ( double  x,
double  y,
double  e 
)
inlinestatic

Definition at line 112 of file math.h.

◆ equal() [2/2]

bool Math::equal ( float  x,
float  y,
float  e 
)
inlinestatic

Definition at line 108 of file math.h.

◆ round() [1/2]

int Math::round ( double  x)
inlinestatic

Definition at line 106 of file math.h.

◆ round() [2/2]

static int Math::round ( float  )
static

The documentation for this class was generated from the following files: