library of assembled shared sources

http://lass.cocamware.com

BasicOps

Basic Operators. More...


Functions

template<typename T >
lass::num::abs (const T &x)
 if x < 0 return -x, else return x.
template<typename T >
lass::num::sign (const T &x)
 if x < 0 return -1, else if x > 0 return 1, else return 0.
template<typename T >
lass::num::sqr (const T &x)
 return x * x
template<typename T >
lass::num::cubic (const T &x)
 return x * x * x
template<typename T >
lass::num::inv (const T &x)
 return x ^ -1
template<typename T >
lass::num::pow (const T &x, const T &p)
 return exp(p * log(x));
template<typename T >
lass::num::log2 (const T &x, const T &p)
 return log(x) / log(2)
template<typename T >
lass::num::log10 (const T &x, const T &p)
 return log(x) / log(10)
template<typename T >
lass::num::norm (const T &x)
 return norm of x as if x is real part of complex number: sqr(x)
template<typename T >
const T & lass::num::clamp (const T &x, const T &min, const T &max)
 if x < min return min, else if x > max return max, else return x.
template<typename T >
lass::num::lerp (const T &a, const T &b, const T &f)
 linear interpolation between a and b
template<typename T , typename f >
lass::num::applyFunction (const T &x, f func)
template<typename T >
void lass::num::inpabs (T &x)
template<typename T >
void lass::num::inpsign (T &x)
template<typename T >
void lass::num::inpinv (T &x)
template<typename T >
void lass::num::inpsqrt (T &x)
template<typename T >
void lass::num::inpsqr (T &x)
template<typename T >
void lass::num::inpcubic (T &x)
template<typename T >
void lass::num::inppow (T &x, const T &p)
template<typename T >
void lass::num::inpexp (T &x)
template<typename T >
void lass::num::inplog (T &x)
template<typename T >
void lass::num::inpcos (T &x)
template<typename T >
void lass::num::inpsin (T &x)
template<typename T >
void lass::num::inptan (T &x)
template<typename T >
void lass::num::inpacos (T &x)
template<typename T >
void lass::num::inpasin (T &x)
template<typename T >
void lass::num::inpatan (T &x)
template<typename T >
void lass::num::inpatan2 (T &y, const T &x)
template<typename T >
void lass::num::inpfloor (T &x)
template<typename T >
void lass::num::inpceil (T &x)
template<typename T >
void lass::num::inpround (T &x)
template<typename T >
void lass::num::inpfractional (T &x)
template<typename T >
void lass::num::inpdiv (T &x, const T &m)
template<typename T >
void lass::num::inpmod (T &x, const T &m)
template<typename T >
void lass::num::compnorm (const T &x, T &y)
template<typename T >
void lass::num::compinv (const T &x, T &y)
float lass::num::abs (float x)
float lass::num::inv (float x)
float lass::num::sqrt (float x)
float lass::num::pow (float x, float p)
float lass::num::exp (float x)
float lass::num::log (float x)
float lass::num::log2 (float x)
float lass::num::log10 (float x)
float lass::num::cos (float x)
float lass::num::sin (float x)
float lass::num::tan (float x)
float lass::num::acos (float x)
float lass::num::asin (float x)
float lass::num::atan (float x)
float lass::num::atan2 (float y, float x)
float lass::num::sinc (float x)
float lass::num::floor (float x)
float lass::num::ceil (float x)
float lass::num::round (float x)
float lass::num::fractional (float x)
float lass::num::mod (float x, float m)
float lass::num::fastSin (float x)
double lass::num::abs (double x)
double lass::num::inv (double x)
double lass::num::sqrt (double x)
double lass::num::pow (double x, double p)
double lass::num::exp (double x)
double lass::num::log (double x)
double lass::num::log2 (double x)
double lass::num::log10 (double x)
double lass::num::cos (double x)
double lass::num::sin (double x)
double lass::num::tan (double x)
double lass::num::acos (double x)
double lass::num::asin (double x)
double lass::num::atan (double x)
double lass::num::atan2 (double y, double x)
double lass::num::sinc (double x)
double lass::num::floor (double x)
double lass::num::ceil (double x)
double lass::num::round (double x)
double lass::num::fractional (double x)
double lass::num::mod (double x, double m)
double lass::num::fastSin (double x)
long double lass::num::abs (long double x)
long double lass::num::inv (long double x)
long double lass::num::sqrt (long double x)
long double lass::num::pow (long double x, long double p)
long double lass::num::exp (long double x)
long double lass::num::log (long double x)
long double lass::num::log2 (long double x)
long double lass::num::log10 (long double x)
long double lass::num::cos (long double x)
long double lass::num::sin (long double x)
long double lass::num::tan (long double x)
long double lass::num::acos (long double x)
long double lass::num::asin (long double x)
long double lass::num::atan (long double x)
long double lass::num::atan2 (long double y, long double x)
long double lass::num::sinc (long double x)
long double lass::num::floor (long double x)
long double lass::num::ceil (long double x)
long double lass::num::round (long double x)
long double lass::num::fractional (long double x)
long double lass::num::mod (long double x, long double m)
long double lass::num::fastSin (long double x)
char lass::num::abs (char x)
char lass::num::sign (char x)
char lass::num::pow (char x, char p)
char lass::num::div (char x, char p)
char lass::num::mod (char x, char p)
char lass::num::floor (char x)
char lass::num::ceil (char x)
char lass::num::round (char x)
char lass::num::fractional (char)
void lass::num::inpfloor (char &)
void lass::num::inpceil (char &)
void lass::num::inpround (char &)
void lass::num::inpfractional (char &x)
signed char lass::num::abs (signed char x)
signed char lass::num::pow (signed char x, signed char p)
signed char lass::num::pow (signed char x, unsigned char p)
signed char lass::num::floor (signed char x)
signed char lass::num::ceil (signed char x)
signed char lass::num::round (signed char x)
signed char lass::num::fractional (signed char)
signed char lass::num::div (signed char x, signed char p)
signed char lass::num::div (signed char x, unsigned char p)
signed char lass::num::mod (signed char x, signed char p)
signed char lass::num::mod (signed char x, unsigned char p)
void lass::num::inpfloor (signed char &)
void lass::num::inpceil (signed char &)
void lass::num::inpround (signed char &)
void lass::num::inpfractional (signed char &x)
unsigned char lass::num::abs (unsigned char x)
unsigned char lass::num::sign (unsigned char x)
unsigned char lass::num::pow (unsigned char x, unsigned char p)
unsigned char lass::num::floor (unsigned char x)
unsigned char lass::num::ceil (unsigned char x)
unsigned char lass::num::round (unsigned char x)
unsigned char lass::num::fractional (unsigned char)
unsigned char lass::num::div (unsigned char x, unsigned char p)
unsigned char lass::num::mod (unsigned char x, unsigned char p)
void lass::num::inpabs (unsigned char &)
void lass::num::inpfloor (unsigned char &)
void lass::num::inpceil (unsigned char &)
void lass::num::inpround (unsigned char &)
void lass::num::inpfractional (unsigned char &x)
signed short lass::num::abs (signed short x)
signed short lass::num::pow (signed short x, signed short p)
signed short lass::num::pow (signed short x, unsigned short p)
signed short lass::num::floor (signed short x)
signed short lass::num::ceil (signed short x)
signed short lass::num::round (signed short x)
signed short lass::num::fractional (signed short)
signed short lass::num::div (signed short x, signed short p)
signed short lass::num::div (signed short x, unsigned short p)
signed short lass::num::mod (signed short x, signed short p)
signed short lass::num::mod (signed short x, unsigned short p)
void lass::num::inpfloor (signed short &)
void lass::num::inpceil (signed short &)
void lass::num::inpround (signed short &)
void lass::num::inpfractional (signed short &x)
unsigned short lass::num::abs (unsigned short x)
unsigned short lass::num::sign (unsigned short x)
unsigned short lass::num::pow (unsigned short x, unsigned short p)
unsigned short lass::num::floor (unsigned short x)
unsigned short lass::num::ceil (unsigned short x)
unsigned short lass::num::round (unsigned short x)
unsigned short lass::num::fractional (unsigned short)
unsigned short lass::num::div (unsigned short x, unsigned short p)
unsigned short lass::num::mod (unsigned short x, unsigned short p)
void lass::num::inpabs (unsigned short &)
void lass::num::inpfloor (unsigned short &)
void lass::num::inpceil (unsigned short &)
void lass::num::inpround (unsigned short &)
void lass::num::inpfractional (unsigned short &x)
signed int lass::num::abs (signed int x)
signed int lass::num::pow (signed int x, signed int p)
signed int lass::num::pow (signed int x, unsigned int p)
signed int lass::num::floor (signed int x)
signed int lass::num::ceil (signed int x)
signed int lass::num::round (signed int x)
signed int lass::num::fractional (signed int)
signed int lass::num::div (signed int x, signed int p)
signed int lass::num::div (signed int x, unsigned int p)
signed int lass::num::mod (signed int x, signed int p)
signed int lass::num::mod (signed int x, unsigned int p)
void lass::num::inpfloor (signed int &)
void lass::num::inpceil (signed int &)
void lass::num::inpround (signed int &)
void lass::num::inpfractional (signed int &x)
unsigned int lass::num::abs (unsigned int x)
unsigned int lass::num::sign (unsigned int x)
unsigned int lass::num::pow (unsigned int x, unsigned int p)
unsigned int lass::num::floor (unsigned int x)
unsigned int lass::num::ceil (unsigned int x)
unsigned int lass::num::round (unsigned int x)
unsigned int lass::num::fractional (unsigned int)
unsigned int lass::num::div (unsigned int x, unsigned int p)
unsigned int lass::num::mod (unsigned int x, unsigned int p)
void lass::num::inpabs (unsigned int &)
void lass::num::inpfloor (unsigned int &)
void lass::num::inpceil (unsigned int &)
void lass::num::inpround (unsigned int &)
void lass::num::inpfractional (unsigned int &x)
signed long lass::num::abs (signed long x)
signed long lass::num::pow (signed long x, signed long p)
signed long lass::num::pow (signed long x, unsigned long p)
signed long lass::num::floor (signed long x)
signed long lass::num::ceil (signed long x)
signed long lass::num::round (signed long x)
signed long lass::num::fractional (signed long)
signed long lass::num::div (signed long x, signed long p)
signed long lass::num::div (signed long x, unsigned long p)
signed long lass::num::mod (signed long x, signed long p)
signed long lass::num::mod (signed long x, unsigned long p)
void lass::num::inpfloor (signed long &)
void lass::num::inpceil (signed long &)
void lass::num::inpround (signed long &)
void lass::num::inpfractional (signed long &x)
unsigned long lass::num::abs (unsigned long x)
unsigned long lass::num::sign (unsigned long x)
unsigned long lass::num::pow (unsigned long x, unsigned long p)
unsigned long lass::num::floor (unsigned long x)
unsigned long lass::num::ceil (unsigned long x)
unsigned long lass::num::round (unsigned long x)
unsigned long lass::num::fractional (unsigned long)
unsigned long lass::num::div (unsigned long x, unsigned long p)
unsigned long lass::num::mod (unsigned long x, unsigned long p)
void lass::num::inpabs (unsigned long &)
void lass::num::inpfloor (unsigned long &)
void lass::num::inpceil (unsigned long &)
void lass::num::inpround (unsigned long &)
void lass::num::inpfractional (unsigned long &x)
template<typename T >
std::complex< T > lass::num::abs (const std::complex< T > &x)
template<typename T >
std::complex< T > lass::num::inv (const std::complex< T > &x)
template<typename T >
std::complex< T > lass::num::sqrt (const std::complex< T > &x)
template<typename T >
std::complex< T > lass::num::pow (const std::complex< T > &x, double p)
template<typename T >
std::complex< T > lass::num::exp (const std::complex< T > &x)
template<typename T >
std::complex< T > lass::num::log (const std::complex< T > &x)
template<typename T >
std::complex< T > lass::num::log2 (const std::complex< T > &x)
template<typename T >
std::complex< T > lass::num::log10 (const std::complex< T > &x)
template<typename T >
std::complex< T > lass::num::cos (const std::complex< T > &x)
template<typename T >
std::complex< T > lass::num::sin (const std::complex< T > &x)
template<typename T >
std::complex< T > lass::num::tan (const std::complex< T > &x)
template<typename T >
std::complex< T > lass::num::acos (const std::complex< T > &x)
template<typename T >
std::complex< T > lass::num::asin (const std::complex< T > &x)
template<typename T >
std::complex< T > lass::num::atan (const std::complex< T > &x)
template<typename T >
lass::num::norm (const std::complex< T > &x)
template<typename T >
std::complex< T > lass::num::conj (const std::complex< T > &x)


Detailed Description

Basic Operators.

Function Documentation

template<typename T >
T lass::num::abs ( const T &  x  )  [inline]

template<typename T >
T lass::num::sign ( const T &  x  )  [inline]

if x < 0 return -1, else if x > 0 return 1, else return 0.

Definition at line 558 of file basic_ops.h.

template<typename T >
T lass::num::sqr ( const T &  x  )  [inline]

template<typename T >
T lass::num::cubic ( const T &  x  )  [inline]

template<typename T >
T lass::num::inv ( const T &  x  )  [inline]

template<typename T >
T lass::num::pow ( const T &  x,
const T &  p 
) [inline]

return exp(p * log(x));

Warning:
GENERIC FUNCTION USES EXP AND LOG!

Definition at line 592 of file basic_ops.h.

Referenced by lass::prim::ColorRGBA::gammaCorrected(), lass::num::impl::laplaceButterworthHighPass(), and lass::num::pow().

template<typename T >
T lass::num::log2 ( const T &  x,
const T &  p 
) [inline]

return log(x) / log(2)

Definition at line 600 of file basic_ops.h.

template<typename T >
T lass::num::log10 ( const T &  x,
const T &  p 
) [inline]

return log(x) / log(10)

Definition at line 608 of file basic_ops.h.

template<typename T >
T lass::num::norm ( const T &  x  )  [inline]

return norm of x as if x is real part of complex number: sqr(x)

Definition at line 616 of file basic_ops.h.

Referenced by inpnorm(), and lass::num::impl::ludecomp().

template<typename T >
const T & lass::num::clamp ( const T &  x,
const T &  min,
const T &  max 
) [inline]

template<typename T >
T lass::num::lerp ( const T &  a,
const T &  b,
const T &  f 
) [inline]

linear interpolation between a and b

Definition at line 639 of file basic_ops.h.

template<typename T , typename f >
T lass::num::applyFunction ( const T &  x,
func 
) [inline]

Definition at line 646 of file basic_ops.h.

template<typename T >
void lass::num::inpabs ( T &  x  )  [inline]

Definition at line 655 of file basic_ops.h.

template<typename T >
void lass::num::inpsign ( T &  x  )  [inline]

Definition at line 656 of file basic_ops.h.

template<typename T >
void lass::num::inpinv ( T &  x  )  [inline]

Definition at line 657 of file basic_ops.h.

template<typename T >
void lass::num::inpsqrt ( T &  x  )  [inline]

Definition at line 658 of file basic_ops.h.

template<typename T >
void lass::num::inpsqr ( T &  x  )  [inline]

Definition at line 659 of file basic_ops.h.

template<typename T >
void lass::num::inpcubic ( T &  x  )  [inline]

Definition at line 660 of file basic_ops.h.

template<typename T >
void lass::num::inppow ( T &  x,
const T &  p 
) [inline]

Definition at line 661 of file basic_ops.h.

template<typename T >
void lass::num::inpexp ( T &  x  )  [inline]

Definition at line 662 of file basic_ops.h.

template<typename T >
void lass::num::inplog ( T &  x  )  [inline]

Definition at line 663 of file basic_ops.h.

template<typename T >
void lass::num::inpcos ( T &  x  )  [inline]

Definition at line 664 of file basic_ops.h.

template<typename T >
void lass::num::inpsin ( T &  x  )  [inline]

Definition at line 665 of file basic_ops.h.

template<typename T >
void lass::num::inptan ( T &  x  )  [inline]

Definition at line 666 of file basic_ops.h.

template<typename T >
void lass::num::inpacos ( T &  x  )  [inline]

Definition at line 667 of file basic_ops.h.

template<typename T >
void lass::num::inpasin ( T &  x  )  [inline]

Definition at line 668 of file basic_ops.h.

template<typename T >
void lass::num::inpatan ( T &  x  )  [inline]

Definition at line 669 of file basic_ops.h.

template<typename T >
void lass::num::inpatan2 ( T &  x,
const T &  y 
) [inline]

Definition at line 670 of file basic_ops.h.

template<typename T >
void lass::num::inpfloor ( T &  x  )  [inline]

Definition at line 671 of file basic_ops.h.

template<typename T >
void lass::num::inpceil ( T &  x  )  [inline]

Definition at line 672 of file basic_ops.h.

template<typename T >
void lass::num::inpround ( T &  x  )  [inline]

Definition at line 673 of file basic_ops.h.

template<typename T >
void lass::num::inpfractional ( T &  x  )  [inline]

Definition at line 674 of file basic_ops.h.

template<typename T >
void lass::num::inpdiv ( T &  x,
const T &  d 
) [inline]

Definition at line 675 of file basic_ops.h.

template<typename T >
void lass::num::inpmod ( T &  x,
const T &  d 
) [inline]

Definition at line 676 of file basic_ops.h.

template<typename T >
void lass::num::compnorm ( const T &  x,
T &  y 
) [inline]

Definition at line 679 of file basic_ops.h.

template<typename T >
void lass::num::compinv ( const T &  x,
T &  y 
) [inline]

Definition at line 680 of file basic_ops.h.

float lass::num::abs ( float  x  )  [inline]

Definition at line 686 of file basic_ops.h.

float lass::num::inv ( float  x  )  [inline]

Definition at line 687 of file basic_ops.h.

float lass::num::sqrt ( float  x  )  [inline]

float lass::num::pow ( float  x,
float  p 
) [inline]

Definition at line 689 of file basic_ops.h.

float lass::num::exp ( float  x  )  [inline]

float lass::num::log ( float  x  )  [inline]

float lass::num::log2 ( float  x  )  [inline]

Definition at line 692 of file basic_ops.h.

float lass::num::log10 ( float  x  )  [inline]

Definition at line 693 of file basic_ops.h.

float lass::num::cos ( float  x  )  [inline]

float lass::num::sin ( float  x  )  [inline]

float lass::num::tan ( float  x  )  [inline]

Definition at line 696 of file basic_ops.h.

Referenced by lass::num::tan().

float lass::num::acos ( float  x  )  [inline]

Definition at line 697 of file basic_ops.h.

Referenced by lass::num::acos().

float lass::num::asin ( float  x  )  [inline]

Definition at line 698 of file basic_ops.h.

Referenced by lass::num::asin().

float lass::num::atan ( float  x  )  [inline]

Definition at line 699 of file basic_ops.h.

Referenced by lass::num::atan().

float lass::num::atan2 ( float  y,
float  x 
) [inline]

Definition at line 700 of file basic_ops.h.

Referenced by lass::num::atan2().

float lass::num::sinc ( float  x  )  [inline]

Definition at line 701 of file basic_ops.h.

float lass::num::floor ( float  x  )  [inline]

Definition at line 702 of file basic_ops.h.

Referenced by lass::num::floor(), and lass::prim::ColorRGBA::mapHsv().

float lass::num::ceil ( float  x  )  [inline]

Definition at line 703 of file basic_ops.h.

Referenced by lass::num::ceil().

float lass::num::round ( float  x  )  [inline]

Definition at line 704 of file basic_ops.h.

Referenced by lass::num::round().

float lass::num::fractional ( float  x  )  [inline]

Definition at line 705 of file basic_ops.h.

Referenced by lass::num::fractional().

float lass::num::mod ( float  x,
float  d 
) [inline]

float lass::num::fastSin ( float  x  )  [inline]

Definition at line 715 of file basic_ops.h.

double lass::num::abs ( double  x  )  [inline]

Definition at line 727 of file basic_ops.h.

double lass::num::inv ( double  x  )  [inline]

Definition at line 728 of file basic_ops.h.

double lass::num::sqrt ( double  x  )  [inline]

Definition at line 729 of file basic_ops.h.

double lass::num::pow ( double  x,
double  p 
) [inline]

Definition at line 730 of file basic_ops.h.

double lass::num::exp ( double  x  )  [inline]

Definition at line 731 of file basic_ops.h.

double lass::num::log ( double  x  )  [inline]

Definition at line 732 of file basic_ops.h.

double lass::num::log2 ( double  x  )  [inline]

Definition at line 733 of file basic_ops.h.

double lass::num::log10 ( double  x  )  [inline]

Definition at line 734 of file basic_ops.h.

double lass::num::cos ( double  x  )  [inline]

Definition at line 735 of file basic_ops.h.

double lass::num::sin ( double  x  )  [inline]

Definition at line 736 of file basic_ops.h.

double lass::num::tan ( double  x  )  [inline]

Definition at line 737 of file basic_ops.h.

double lass::num::acos ( double  x  )  [inline]

Definition at line 738 of file basic_ops.h.

double lass::num::asin ( double  x  )  [inline]

Definition at line 739 of file basic_ops.h.

double lass::num::atan ( double  x  )  [inline]

Definition at line 740 of file basic_ops.h.

double lass::num::atan2 ( double  y,
double  x 
) [inline]

Definition at line 741 of file basic_ops.h.

double lass::num::sinc ( double  x  )  [inline]

Definition at line 742 of file basic_ops.h.

double lass::num::floor ( double  x  )  [inline]

Definition at line 743 of file basic_ops.h.

double lass::num::ceil ( double  x  )  [inline]

Definition at line 744 of file basic_ops.h.

double lass::num::round ( double  x  )  [inline]

Definition at line 745 of file basic_ops.h.

double lass::num::fractional ( double  x  )  [inline]

Definition at line 746 of file basic_ops.h.

double lass::num::mod ( double  x,
double  d 
) [inline]

Definition at line 749 of file basic_ops.h.

double lass::num::fastSin ( double  x  )  [inline]

Definition at line 756 of file basic_ops.h.

long double lass::num::abs ( long double  x  )  [inline]

Definition at line 801 of file basic_ops.h.

long double lass::num::inv ( long double  x  )  [inline]

Definition at line 802 of file basic_ops.h.

long double lass::num::sqrt ( long double  x  )  [inline]

Definition at line 803 of file basic_ops.h.

long double lass::num::pow ( long double  x,
long double  p 
) [inline]

Definition at line 804 of file basic_ops.h.

long double lass::num::exp ( long double  x  )  [inline]

Definition at line 805 of file basic_ops.h.

long double lass::num::log ( long double  x  )  [inline]

Definition at line 806 of file basic_ops.h.

long double lass::num::log2 ( long double  x  )  [inline]

Definition at line 807 of file basic_ops.h.

long double lass::num::log10 ( long double  x  )  [inline]

Definition at line 808 of file basic_ops.h.

long double lass::num::cos ( long double  x  )  [inline]

Definition at line 809 of file basic_ops.h.

long double lass::num::sin ( long double  x  )  [inline]

Definition at line 810 of file basic_ops.h.

long double lass::num::tan ( long double  x  )  [inline]

Definition at line 811 of file basic_ops.h.

long double lass::num::acos ( long double  x  )  [inline]

Definition at line 812 of file basic_ops.h.

long double lass::num::asin ( long double  x  )  [inline]

Definition at line 813 of file basic_ops.h.

long double lass::num::atan ( long double  x  )  [inline]

Definition at line 814 of file basic_ops.h.

long double lass::num::atan2 ( long double  y,
long double  x 
) [inline]

Definition at line 815 of file basic_ops.h.

long double lass::num::sinc ( long double  x  )  [inline]

Definition at line 816 of file basic_ops.h.

long double lass::num::floor ( long double  x  )  [inline]

Definition at line 817 of file basic_ops.h.

long double lass::num::ceil ( long double  x  )  [inline]

Definition at line 818 of file basic_ops.h.

long double lass::num::round ( long double  x  )  [inline]

Definition at line 819 of file basic_ops.h.

long double lass::num::fractional ( long double  x  )  [inline]

Definition at line 820 of file basic_ops.h.

long double lass::num::mod ( long double  x,
long double  d 
) [inline]

Definition at line 823 of file basic_ops.h.

long double lass::num::fastSin ( long double  x  )  [inline]

Definition at line 830 of file basic_ops.h.

char lass::num::abs ( char  x  )  [inline]

Definition at line 855 of file basic_ops.h.

char lass::num::sign ( char  x  )  [inline]

Definition at line 856 of file basic_ops.h.

char lass::num::pow ( char  x,
char  p 
) [inline]

Definition at line 857 of file basic_ops.h.

char lass::num::div ( char  x,
char  p 
) [inline]

Definition at line 858 of file basic_ops.h.

char lass::num::mod ( char  x,
char  p 
) [inline]

Definition at line 859 of file basic_ops.h.

char lass::num::floor ( char  x  )  [inline]

Definition at line 863 of file basic_ops.h.

char lass::num::ceil ( char  x  )  [inline]

Definition at line 864 of file basic_ops.h.

char lass::num::round ( char  x  )  [inline]

Definition at line 865 of file basic_ops.h.

char lass::num::fractional ( char  x  )  [inline]

Definition at line 866 of file basic_ops.h.

void lass::num::inpfloor ( char &  x  )  [inline]

Definition at line 868 of file basic_ops.h.

void lass::num::inpceil ( char &  x  )  [inline]

Definition at line 869 of file basic_ops.h.

void lass::num::inpround ( char &  x  )  [inline]

Definition at line 870 of file basic_ops.h.

void lass::num::inpfractional ( char &  x  )  [inline]

Definition at line 871 of file basic_ops.h.

signed char lass::num::abs ( signed char  x  )  [inline]

Definition at line 875 of file basic_ops.h.

signed char lass::num::pow ( signed char  x,
signed char  p 
) [inline]

Definition at line 876 of file basic_ops.h.

signed char lass::num::pow ( signed char  x,
unsigned char  p 
) [inline]

Definition at line 877 of file basic_ops.h.

signed char lass::num::floor ( signed char  x  )  [inline]

Definition at line 878 of file basic_ops.h.

signed char lass::num::ceil ( signed char  x  )  [inline]

Definition at line 879 of file basic_ops.h.

signed char lass::num::round ( signed char  x  )  [inline]

Definition at line 880 of file basic_ops.h.

signed char lass::num::fractional ( signed char  x  )  [inline]

Definition at line 881 of file basic_ops.h.

signed char lass::num::div ( signed char  x,
signed char  d 
) [inline]

Definition at line 882 of file basic_ops.h.

signed char lass::num::div ( signed char  x,
unsigned char  d 
) [inline]

Definition at line 883 of file basic_ops.h.

signed char lass::num::mod ( signed char  x,
signed char  d 
) [inline]

Definition at line 884 of file basic_ops.h.

signed char lass::num::mod ( signed char  x,
unsigned char  d 
) [inline]

Definition at line 885 of file basic_ops.h.

void lass::num::inpfloor ( signed char &  x  )  [inline]

Definition at line 887 of file basic_ops.h.

void lass::num::inpceil ( signed char &  x  )  [inline]

Definition at line 888 of file basic_ops.h.

void lass::num::inpround ( signed char &  x  )  [inline]

Definition at line 889 of file basic_ops.h.

void lass::num::inpfractional ( signed char &  x  )  [inline]

Definition at line 890 of file basic_ops.h.

unsigned char lass::num::abs ( unsigned char  x  )  [inline]

Definition at line 896 of file basic_ops.h.

unsigned char lass::num::sign ( unsigned char  x  )  [inline]

Definition at line 897 of file basic_ops.h.

unsigned char lass::num::pow ( unsigned char  x,
unsigned char  p 
) [inline]

Definition at line 898 of file basic_ops.h.

unsigned char lass::num::floor ( unsigned char  x  )  [inline]

Definition at line 899 of file basic_ops.h.

unsigned char lass::num::ceil ( unsigned char  x  )  [inline]

Definition at line 900 of file basic_ops.h.

unsigned char lass::num::round ( unsigned char  x  )  [inline]

Definition at line 901 of file basic_ops.h.

unsigned char lass::num::fractional ( unsigned char  x  )  [inline]

Definition at line 902 of file basic_ops.h.

unsigned char lass::num::div ( unsigned char  x,
unsigned char  d 
) [inline]

Definition at line 903 of file basic_ops.h.

unsigned char lass::num::mod ( unsigned char  x,
unsigned char  d 
) [inline]

Definition at line 904 of file basic_ops.h.

void lass::num::inpabs ( unsigned char &  x  )  [inline]

Definition at line 906 of file basic_ops.h.

void lass::num::inpfloor ( unsigned char &  x  )  [inline]

Definition at line 907 of file basic_ops.h.

void lass::num::inpceil ( unsigned char &  x  )  [inline]

Definition at line 908 of file basic_ops.h.

void lass::num::inpround ( unsigned char &  x  )  [inline]

Definition at line 909 of file basic_ops.h.

void lass::num::inpfractional ( unsigned char &  x  )  [inline]

Definition at line 910 of file basic_ops.h.

signed short lass::num::abs ( signed short  x  )  [inline]

Definition at line 916 of file basic_ops.h.

signed short lass::num::pow ( signed short  x,
signed short  p 
) [inline]

Definition at line 917 of file basic_ops.h.

signed short lass::num::pow ( signed short  x,
unsigned short  p 
) [inline]

Definition at line 918 of file basic_ops.h.

signed short lass::num::floor ( signed short  x  )  [inline]

Definition at line 919 of file basic_ops.h.

signed short lass::num::ceil ( signed short  x  )  [inline]

Definition at line 920 of file basic_ops.h.

signed short lass::num::round ( signed short  x  )  [inline]

Definition at line 921 of file basic_ops.h.

signed short lass::num::fractional ( signed short  x  )  [inline]

Definition at line 922 of file basic_ops.h.

signed short lass::num::div ( signed short  x,
signed short  d 
) [inline]

Definition at line 923 of file basic_ops.h.

signed short lass::num::div ( signed short  x,
unsigned short  d 
) [inline]

Definition at line 924 of file basic_ops.h.

signed short lass::num::mod ( signed short  x,
signed short  d 
) [inline]

Definition at line 925 of file basic_ops.h.

signed short lass::num::mod ( signed short  x,
unsigned short  d 
) [inline]

Definition at line 926 of file basic_ops.h.

void lass::num::inpfloor ( signed short &  x  )  [inline]

Definition at line 928 of file basic_ops.h.

void lass::num::inpceil ( signed short &  x  )  [inline]

Definition at line 929 of file basic_ops.h.

void lass::num::inpround ( signed short &  x  )  [inline]

Definition at line 930 of file basic_ops.h.

void lass::num::inpfractional ( signed short &  x  )  [inline]

Definition at line 931 of file basic_ops.h.

unsigned short lass::num::abs ( unsigned short  x  )  [inline]

Definition at line 937 of file basic_ops.h.

unsigned short lass::num::sign ( unsigned short  x  )  [inline]

Definition at line 938 of file basic_ops.h.

unsigned short lass::num::pow ( unsigned short  x,
unsigned short  p 
) [inline]

Definition at line 939 of file basic_ops.h.

unsigned short lass::num::floor ( unsigned short  x  )  [inline]

Definition at line 940 of file basic_ops.h.

unsigned short lass::num::ceil ( unsigned short  x  )  [inline]

Definition at line 941 of file basic_ops.h.

unsigned short lass::num::round ( unsigned short  x  )  [inline]

Definition at line 942 of file basic_ops.h.

unsigned short lass::num::fractional ( unsigned short  x  )  [inline]

Definition at line 943 of file basic_ops.h.

unsigned short lass::num::div ( unsigned short  x,
unsigned short  d 
) [inline]

Definition at line 944 of file basic_ops.h.

unsigned short lass::num::mod ( unsigned short  x,
unsigned short  d 
) [inline]

Definition at line 945 of file basic_ops.h.

void lass::num::inpabs ( unsigned short &  x  )  [inline]

Definition at line 947 of file basic_ops.h.

void lass::num::inpfloor ( unsigned short &  x  )  [inline]

Definition at line 948 of file basic_ops.h.

void lass::num::inpceil ( unsigned short &  x  )  [inline]

Definition at line 949 of file basic_ops.h.

void lass::num::inpround ( unsigned short &  x  )  [inline]

Definition at line 950 of file basic_ops.h.

void lass::num::inpfractional ( unsigned short &  x  )  [inline]

Definition at line 951 of file basic_ops.h.

signed int lass::num::abs ( signed int  x  )  [inline]

Definition at line 957 of file basic_ops.h.

signed int lass::num::pow ( signed int  x,
signed int  p 
) [inline]

Definition at line 958 of file basic_ops.h.

signed int lass::num::pow ( signed int  x,
unsigned int  p 
) [inline]

Definition at line 959 of file basic_ops.h.

signed int lass::num::floor ( signed int  x  )  [inline]

Definition at line 960 of file basic_ops.h.

signed int lass::num::ceil ( signed int  x  )  [inline]

Definition at line 961 of file basic_ops.h.

signed int lass::num::round ( signed int  x  )  [inline]

Definition at line 962 of file basic_ops.h.

signed int lass::num::fractional ( signed int  x  )  [inline]

Definition at line 963 of file basic_ops.h.

signed int lass::num::div ( signed int  x,
signed int  d 
) [inline]

Definition at line 964 of file basic_ops.h.

signed int lass::num::div ( signed int  x,
unsigned int  d 
) [inline]

Definition at line 965 of file basic_ops.h.

signed int lass::num::mod ( signed int  x,
signed int  d 
) [inline]

Definition at line 966 of file basic_ops.h.

signed int lass::num::mod ( signed int  x,
unsigned int  d 
) [inline]

Definition at line 967 of file basic_ops.h.

void lass::num::inpfloor ( signed int &  x  )  [inline]

Definition at line 969 of file basic_ops.h.

void lass::num::inpceil ( signed int &  x  )  [inline]

Definition at line 970 of file basic_ops.h.

void lass::num::inpround ( signed int &  x  )  [inline]

Definition at line 971 of file basic_ops.h.

void lass::num::inpfractional ( signed int &  x  )  [inline]

Definition at line 972 of file basic_ops.h.

unsigned int lass::num::abs ( unsigned int  x  )  [inline]

Definition at line 978 of file basic_ops.h.

unsigned int lass::num::sign ( unsigned int  x  )  [inline]

Definition at line 979 of file basic_ops.h.

unsigned int lass::num::pow ( unsigned int  x,
unsigned int  y 
) [inline]

Definition at line 980 of file basic_ops.h.

unsigned int lass::num::floor ( unsigned int  x  )  [inline]

Definition at line 981 of file basic_ops.h.

unsigned int lass::num::ceil ( unsigned int  x  )  [inline]

Definition at line 982 of file basic_ops.h.

unsigned int lass::num::round ( unsigned int  x  )  [inline]

Definition at line 983 of file basic_ops.h.

unsigned int lass::num::fractional ( unsigned int  x  )  [inline]

Definition at line 984 of file basic_ops.h.

unsigned int lass::num::div ( unsigned int  x,
unsigned int  d 
) [inline]

Definition at line 985 of file basic_ops.h.

unsigned int lass::num::mod ( unsigned int  x,
unsigned int  d 
) [inline]

Definition at line 986 of file basic_ops.h.

void lass::num::inpabs ( unsigned int &  x  )  [inline]

Definition at line 988 of file basic_ops.h.

void lass::num::inpfloor ( unsigned int &  x  )  [inline]

Definition at line 989 of file basic_ops.h.

void lass::num::inpceil ( unsigned int &  x  )  [inline]

Definition at line 990 of file basic_ops.h.

void lass::num::inpround ( unsigned int &  x  )  [inline]

Definition at line 991 of file basic_ops.h.

void lass::num::inpfractional ( unsigned int &  x  )  [inline]

Definition at line 992 of file basic_ops.h.

signed long lass::num::abs ( signed long  x  )  [inline]

Definition at line 998 of file basic_ops.h.

signed long lass::num::pow ( signed long  x,
signed long  y 
) [inline]

Definition at line 999 of file basic_ops.h.

signed long lass::num::pow ( signed long  x,
unsigned long  y 
) [inline]

Definition at line 1000 of file basic_ops.h.

signed long lass::num::floor ( signed long  x  )  [inline]

Definition at line 1001 of file basic_ops.h.

signed long lass::num::ceil ( signed long  x  )  [inline]

Definition at line 1002 of file basic_ops.h.

signed long lass::num::round ( signed long  x  )  [inline]

Definition at line 1003 of file basic_ops.h.

signed long lass::num::fractional ( signed long  x  )  [inline]

Definition at line 1004 of file basic_ops.h.

signed long lass::num::div ( signed long  x,
signed long  d 
) [inline]

Definition at line 1005 of file basic_ops.h.

signed long lass::num::div ( signed long  x,
unsigned long  d 
) [inline]

Definition at line 1006 of file basic_ops.h.

signed long lass::num::mod ( signed long  x,
signed long  d 
) [inline]

Definition at line 1007 of file basic_ops.h.

signed long lass::num::mod ( signed long  x,
unsigned long  d 
) [inline]

Definition at line 1008 of file basic_ops.h.

void lass::num::inpfloor ( signed long &  x  )  [inline]

Definition at line 1010 of file basic_ops.h.

void lass::num::inpceil ( signed long &  x  )  [inline]

Definition at line 1011 of file basic_ops.h.

void lass::num::inpround ( signed long &  x  )  [inline]

Definition at line 1012 of file basic_ops.h.

void lass::num::inpfractional ( signed long &  x  )  [inline]

Definition at line 1013 of file basic_ops.h.

unsigned long lass::num::abs ( unsigned long  x  )  [inline]

Definition at line 1019 of file basic_ops.h.

unsigned long lass::num::sign ( unsigned long  x  )  [inline]

unsigned long lass::num::pow ( unsigned long  x,
unsigned long  p 
) [inline]

Definition at line 1021 of file basic_ops.h.

unsigned long lass::num::floor ( unsigned long  x  )  [inline]

Definition at line 1022 of file basic_ops.h.

unsigned long lass::num::ceil ( unsigned long  x  )  [inline]

Definition at line 1023 of file basic_ops.h.

unsigned long lass::num::round ( unsigned long  x  )  [inline]

Definition at line 1024 of file basic_ops.h.

unsigned long lass::num::fractional ( unsigned long  x  )  [inline]

Definition at line 1025 of file basic_ops.h.

unsigned long lass::num::div ( unsigned long  x,
unsigned long  d 
) [inline]

Definition at line 1026 of file basic_ops.h.

unsigned long lass::num::mod ( unsigned long  x,
unsigned long  d 
) [inline]

Definition at line 1027 of file basic_ops.h.

void lass::num::inpabs ( unsigned long &  x  )  [inline]

Definition at line 1029 of file basic_ops.h.

void lass::num::inpfloor ( unsigned long &  x  )  [inline]

Definition at line 1030 of file basic_ops.h.

void lass::num::inpceil ( unsigned long &  x  )  [inline]

Definition at line 1031 of file basic_ops.h.

void lass::num::inpround ( unsigned long &  x  )  [inline]

Definition at line 1032 of file basic_ops.h.

void lass::num::inpfractional ( unsigned long &  x  )  [inline]

Definition at line 1033 of file basic_ops.h.

template<typename T >
std::complex< T > lass::num::abs ( const std::complex< T > &  x  )  [inline]

Definition at line 1040 of file basic_ops.h.

template<typename T >
std::complex< T > lass::num::inv ( const std::complex< T > &  x  )  [inline]

Definition at line 1041 of file basic_ops.h.

template<typename T >
std::complex< T > lass::num::sqrt ( const std::complex< T > &  x  )  [inline]

Definition at line 1042 of file basic_ops.h.

template<typename T >
std::complex<T> lass::num::pow ( const std::complex< T > &  x,
double  p 
) [inline]

Definition at line 1043 of file basic_ops.h.

template<typename T >
std::complex< T > lass::num::exp ( const std::complex< T > &  x  )  [inline]

Definition at line 1044 of file basic_ops.h.

template<typename T >
std::complex< T > lass::num::log ( const std::complex< T > &  x  )  [inline]

Definition at line 1045 of file basic_ops.h.

template<typename T >
std::complex< T > lass::num::log2 ( const std::complex< T > &  x  )  [inline]

Definition at line 1046 of file basic_ops.h.

template<typename T >
std::complex< T > lass::num::log10 ( const std::complex< T > &  x  )  [inline]

Definition at line 1047 of file basic_ops.h.

template<typename T >
std::complex< T > lass::num::cos ( const std::complex< T > &  x  )  [inline]

Definition at line 1048 of file basic_ops.h.

template<typename T >
std::complex< T > lass::num::sin ( const std::complex< T > &  x  )  [inline]

Definition at line 1049 of file basic_ops.h.

template<typename T >
std::complex< T > lass::num::tan ( const std::complex< T > &  x  )  [inline]

Definition at line 1050 of file basic_ops.h.

template<typename T >
std::complex<T> lass::num::acos ( const std::complex< T > &  x  )  [inline]

Definition at line 1051 of file basic_ops.h.

template<typename T >
std::complex<T> lass::num::asin ( const std::complex< T > &  x  )  [inline]

Definition at line 1052 of file basic_ops.h.

template<typename T >
std::complex< T > lass::num::atan ( const std::complex< T > &  x  )  [inline]

Definition at line 1053 of file basic_ops.h.

template<typename T >
T lass::num::norm ( const std::complex< T > &  x  )  [inline]

template<typename T >
std::complex< T > lass::num::conj ( const std::complex< T > &  x  )  [inline]

Definition at line 1056 of file basic_ops.h.


Generated on Mon Nov 10 14:22:06 2008 for Library of Assembled Shared Sources by doxygen 1.5.7.1
SourceForge.net Logo