GNU Octave 11.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 
Loading...
Searching...
No Matches
mappers.h File Reference
#include "octave-config.h"
#include <cmath>
#include <limits>
#include "lo-ieee.h"
#include "oct-cmplx.h"
#include "oct-inttypes-fwd.h"

Go to the source code of this file.

Functions

Complex acos (const Complex &x)
 
FloatComplex acos (const FloatComplex &x)
 
Complex asin (const Complex &x)
 
FloatComplex asin (const FloatComplex &x)
 
Complex atan (const Complex &x)
 
FloatComplex atan (const FloatComplex &x)
 
template<typename T >
std::complex< T > ceil (const std::complex< T > &x)
 
template<typename T >
std::complex< T > conj (const std::complex< T > &x)
 
double conj (double x)
 
float conj (float x)
 
double copysign (double x, double y)
 
float copysign (float x, float y)
 
double exp2 (double x)
 
float exp2 (float x)
 
template<typename T >
std::complex< T > fix (const std::complex< T > &x)
 
double fix (double x)
 
float fix (float x)
 
template<typename T >
std::complex< T > floor (const std::complex< T > &x)
 
double frexp (double x, int *expptr)
 
float frexp (float x, int *expptr)
 
bool is_integer (double x)
 
bool is_integer (float x)
 
bool is_NaN_or_NA (const Complex &x)
 
bool is_NaN_or_NA (const FloatComplex &x)
 
template<typename T >
bool isfinite (const std::complex< T > &x)
 
bool isfinite (double x)
 
bool isfinite (float x)
 
template<typename T >
bool isinf (const octave_int< T > &)
 
template<typename T >
bool isinf (const std::complex< T > &x)
 
bool isinf (double x)
 
bool isinf (float x)
 
bool isinteger (double x)
 
bool isinteger (float x)
 
bool isna (const Complex &x)
 
bool isna (const FloatComplex &x)
 
bool isna (double x)
 
bool isna (float x)
 
bool isnan (bool)
 
bool isnan (char)
 
template<typename T >
bool isnan (const octave_int< T > &)
 
template<typename T >
bool isnan (const std::complex< T > &x)
 
bool isnan (double x)
 
bool isnan (float x)
 
Complex log2 (const Complex &x)
 
Complex log2 (const Complex &x, int &exp)
 
FloatComplex log2 (const FloatComplex &x)
 
FloatComplex log2 (const FloatComplex &x, int &exp)
 
double log2 (double x)
 
double log2 (double x, int &exp)
 
float log2 (float x)
 
float log2 (float x, int &exp)
 
template<typename T >
auto mappers_abs (const octave_int< T > &x)
 
char max (char x, char y)
 
template<typename T >
octave_int< T > max (const octave_int< T > &x, const octave_int< T > &y)
 
template<typename T >
octave_int< T > max (const octave_int< T > &x, const octave_int< T > &y, const bool nanflag)
 
template<typename T >
octave_int< T > max (const octave_int< T > &x, const octave_int< T > &y, const bool nanflag, const bool realabs)
 
std::complex< doublemax (const std::complex< double > &x, const std::complex< double > &y)
 
std::complex< doublemax (const std::complex< double > &x, const std::complex< double > &y, const bool nanflag)
 
std::complex< doublemax (const std::complex< double > &x, const std::complex< double > &y, const bool nanflag, const bool realabs)
 
std::complex< floatmax (const std::complex< float > &x, const std::complex< float > &y)
 
std::complex< floatmax (const std::complex< float > &x, const std::complex< float > &y, const bool nanflag)
 
std::complex< floatmax (const std::complex< float > &x, const std::complex< float > &y, const bool nanflag, const bool realabs)
 
double max (double x, double y)
 
double max (double x, double y, const bool nanflag)
 
double max (double x, double y, const bool nanflag, const bool realabs)
 
float max (float x, float y)
 
float max (float x, float y, const bool nanflag)
 
float max (float x, float y, const bool nanflag, const bool realabs)
 
template<typename T >
max (T x, T y)
 
char min (char x, char y)
 
template<typename T >
octave_int< T > min (const octave_int< T > &x, const octave_int< T > &y)
 
template<typename T >
octave_int< T > min (const octave_int< T > &x, const octave_int< T > &y, const bool nanflag)
 
template<typename T >
octave_int< T > min (const octave_int< T > &x, const octave_int< T > &y, const bool nanflag, const bool realabs)
 
std::complex< doublemin (const std::complex< double > &x, const std::complex< double > &y)
 
std::complex< doublemin (const std::complex< double > &x, const std::complex< double > &y, const bool nanflag)
 
std::complex< doublemin (const std::complex< double > &x, const std::complex< double > &y, const bool nanflag, const bool realabs)
 
std::complex< floatmin (const std::complex< float > &x, const std::complex< float > &y)
 
std::complex< floatmin (const std::complex< float > &x, const std::complex< float > &y, const bool nanflag)
 
std::complex< floatmin (const std::complex< float > &x, const std::complex< float > &y, const bool nanflag, const bool realabs)
 
double min (double x, double y)
 
double min (double x, double y, const bool nanflag)
 
double min (double x, double y, const bool nanflag, const bool realabs)
 
float min (float x, float y)
 
float min (float x, float y, const bool nanflag)
 
float min (float x, float y, const bool nanflag, const bool realabs)
 
template<typename T >
min (T x, T y)
 
template<typename T >
mod (T x, T y)
 
bool negative_sign (double x)
 
bool negative_sign (float x)
 
int nint (double x)
 
int nint (float x)
 
octave_idx_type nint_big (double x)
 
octave_idx_type nint_big (float x)
 
bool positive_sign (double x)
 
bool positive_sign (float x)
 
Complex rc_acos (double)
 
FloatComplex rc_acos (float)
 
Complex rc_acosh (double)
 
FloatComplex rc_acosh (float)
 
Complex rc_asin (double)
 
FloatComplex rc_asin (float)
 
Complex rc_atanh (double)
 
FloatComplex rc_atanh (float)
 
Complex rc_log (double)
 
FloatComplex rc_log (float)
 
Complex rc_log10 (double)
 
FloatComplex rc_log10 (float)
 
Complex rc_log2 (double)
 
FloatComplex rc_log2 (float)
 
Complex rc_sqrt (double)
 
FloatComplex rc_sqrt (float)
 
template<typename T >
rem (T x, T y)
 
template<typename T >
std::complex< T > round (const std::complex< T > &x)
 
double round (double x)
 
float round (float x)
 
template<typename T >
std::complex< T > roundb (const std::complex< T > &x)
 
double roundb (double x)
 
float roundb (float x)
 
double signbit (double x)
 
float signbit (float x)
 
template<typename T >
std::complex< T > signum (const std::complex< T > &x)
 
double signum (double x)
 
float signum (float x)
 
template<typename T >
std::complex< T > trunc (const std::complex< T > &x)
 
template<>
double x_nint (double x)
 
template<>
float x_nint (float x)
 
template<typename T >
x_nint (T x)
 

Function Documentation

◆ acos() [1/2]

◆ acos() [2/2]

FloatComplex acos ( const FloatComplex x)
extern

Definition at line 95 of file mappers.cc.

References x.

◆ asin() [1/2]

◆ asin() [2/2]

FloatComplex asin ( const FloatComplex x)
extern

Definition at line 117 of file mappers.cc.

References x.

◆ atan() [1/2]

◆ atan() [2/2]

FloatComplex atan ( const FloatComplex x)
inline

Definition at line 84 of file mappers.h.

References x.

◆ ceil()

◆ conj() [1/3]

template<typename T >
std::complex< T > conj ( const std::complex< T > &  x)

Definition at line 93 of file mappers.h.

References x.

◆ conj() [2/3]

double conj ( double  x)
inline

Definition at line 88 of file mappers.h.

References x.

◆ conj() [3/3]

float conj ( float  x)
inline

Definition at line 89 of file mappers.h.

References x.

◆ copysign() [1/2]

double copysign ( double  x,
double  y 
)
inline

Definition at line 63 of file mappers.h.

References x.

Referenced by Faddeeva_w(), mod(), and rem().

◆ copysign() [2/2]

float copysign ( float  x,
float  y 
)
inline

Definition at line 64 of file mappers.h.

References x.

◆ exp2() [1/2]

double exp2 ( double  x)
inline

Definition at line 110 of file mappers.h.

References x.

◆ exp2() [2/2]

float exp2 ( float  x)
inline

Definition at line 111 of file mappers.h.

References x.

◆ fix() [1/3]

template<typename T >
std::complex< T > fix ( const std::complex< T > &  x)

Definition at line 135 of file mappers.h.

References trunc(), and x.

◆ fix() [2/3]

◆ fix() [3/3]

float fix ( float  x)
inline

Definition at line 131 of file mappers.h.

References x.

◆ floor()

◆ frexp() [1/2]

double frexp ( double  x,
int expptr 
)
extern

Definition at line 128 of file mappers.cc.

References octave_frexp_wrapper(), and x.

Referenced by log2(), log2(), and octave_frexp_wrapper().

◆ frexp() [2/2]

float frexp ( float  x,
int expptr 
)
extern

Definition at line 134 of file mappers.cc.

References octave_frexpf_wrapper(), and x.

◆ is_integer() [1/2]

bool is_integer ( double  x)
inline

Definition at line 245 of file mappers.h.

References isfinite(), and x.

Referenced by isinteger(), and isinteger().

◆ is_integer() [2/2]

bool is_integer ( float  x)
inline

Definition at line 246 of file mappers.h.

References isfinite(), and x.

◆ is_NaN_or_NA() [1/2]

bool is_NaN_or_NA ( const Complex x)
extern

Definition at line 70 of file mappers.cc.

References isnan(), and x.

◆ is_NaN_or_NA() [2/2]

bool is_NaN_or_NA ( const FloatComplex x)
extern

Definition at line 76 of file mappers.cc.

References isnan(), and x.

◆ isfinite() [1/3]

template<typename T >
bool isfinite ( const std::complex< T > &  x)

Definition at line 234 of file mappers.h.

References isfinite(), and x.

◆ isfinite() [2/3]

◆ isfinite() [3/3]

bool isfinite ( float  x)
inline

Definition at line 230 of file mappers.h.

References x.

◆ isinf() [1/4]

template<typename T >
bool isinf ( const octave_int< T > &  )

Definition at line 217 of file mappers.h.

◆ isinf() [2/4]

template<typename T >
bool isinf ( const std::complex< T > &  x)

Definition at line 224 of file mappers.h.

References x.

◆ isinf() [3/4]

◆ isinf() [4/4]

bool isinf ( float  x)
inline

Definition at line 213 of file mappers.h.

References x.

◆ isinteger() [1/2]

bool isinteger ( double  x)
inline

Definition at line 249 of file mappers.h.

References is_integer(), and x.

Referenced by Faudiowrite(), Fbase64_encode(), Fintmax(), Fintmin(), Fisinteger(), Fmod(), Fordqz(), and Frem().

◆ isinteger() [2/2]

bool isinteger ( float  x)
inline

Definition at line 252 of file mappers.h.

References is_integer(), and x.

◆ isna() [1/4]

bool isna ( const Complex x)
extern

Definition at line 52 of file mappers.cc.

References isna(), and x.

◆ isna() [2/4]

bool isna ( const FloatComplex x)
extern

Definition at line 64 of file mappers.cc.

References isna(), and x.

◆ isna() [3/4]

◆ isna() [4/4]

bool isna ( float  x)
extern

Definition at line 58 of file mappers.cc.

References lo_ieee_is_NA, and x.

◆ isnan() [1/6]

◆ isnan() [2/6]

bool isnan ( char  )
inline

Definition at line 193 of file mappers.h.

◆ isnan() [3/6]

template<typename T >
bool isnan ( const octave_int< T > &  )

Definition at line 200 of file mappers.h.

◆ isnan() [4/6]

template<typename T >
bool isnan ( const std::complex< T > &  x)

Definition at line 207 of file mappers.h.

References x.

◆ isnan() [5/6]

bool isnan ( double  x)
inline

Definition at line 195 of file mappers.h.

References x.

◆ isnan() [6/6]

bool isnan ( float  x)
inline

Definition at line 196 of file mappers.h.

References x.

◆ log2() [1/8]

◆ log2() [2/8]

Complex log2 ( const Complex x,
int exp 
)
extern

Definition at line 164 of file mappers.cc.

References log2(), and x.

◆ log2() [3/8]

FloatComplex log2 ( const FloatComplex x)
extern

Definition at line 146 of file mappers.cc.

References x.

◆ log2() [4/8]

FloatComplex log2 ( const FloatComplex x,
int exp 
)
extern

Definition at line 172 of file mappers.cc.

References log2(), and x.

◆ log2() [5/8]

double log2 ( double  x)
inline

Definition at line 98 of file mappers.h.

References x.

◆ log2() [6/8]

double log2 ( double  x,
int exp 
)
extern

Definition at line 152 of file mappers.cc.

References frexp(), and x.

◆ log2() [7/8]

float log2 ( float  x)
inline

Definition at line 99 of file mappers.h.

References x.

◆ log2() [8/8]

float log2 ( float  x,
int exp 
)
extern

Definition at line 158 of file mappers.cc.

References frexp(), and x.

◆ mappers_abs()

template<typename T >
auto mappers_abs ( const octave_int< T > &  x)
inline

Definition at line 43 of file mappers.h.

References x.

Referenced by max(), and min().

◆ max() [1/17]

char max ( char  x,
char  y 
)
inline

Definition at line 414 of file mappers.h.

References x.

◆ max() [2/17]

template<typename T >
octave_int< T > max ( const octave_int< T > &  x,
const octave_int< T > &  y 
)
inline

Definition at line 702 of file mappers.h.

References octave_int< T >::value(), and x.

◆ max() [3/17]

template<typename T >
octave_int< T > max ( const octave_int< T > &  x,
const octave_int< T > &  y,
const bool  nanflag 
)
inline

Definition at line 717 of file mappers.h.

References octave_int< T >::value(), and x.

◆ max() [4/17]

template<typename T >
octave_int< T > max ( const octave_int< T > &  x,
const octave_int< T > &  y,
const bool  nanflag,
const bool  realabs 
)
inline

Definition at line 740 of file mappers.h.

References mappers_abs(), octave_int< T >::value(), and x.

◆ max() [5/17]

std::complex< double > max ( const std::complex< double > &  x,
const std::complex< double > &  y 
)
inline

Definition at line 553 of file mappers.h.

References isnan(), and x.

◆ max() [6/17]

std::complex< double > max ( const std::complex< double > &  x,
const std::complex< double > &  y,
const bool  nanflag 
)
inline

Definition at line 573 of file mappers.h.

References isnan(), and x.

◆ max() [7/17]

std::complex< double > max ( const std::complex< double > &  x,
const std::complex< double > &  y,
const bool  nanflag,
const bool  realabs 
)
inline

Definition at line 603 of file mappers.h.

References isnan(), and x.

◆ max() [8/17]

std::complex< float > max ( const std::complex< float > &  x,
const std::complex< float > &  y 
)
inline

Definition at line 627 of file mappers.h.

References abs(), isnan(), and x.

◆ max() [9/17]

std::complex< float > max ( const std::complex< float > &  x,
const std::complex< float > &  y,
const bool  nanflag 
)
inline

Definition at line 647 of file mappers.h.

References isnan(), and x.

◆ max() [10/17]

std::complex< float > max ( const std::complex< float > &  x,
const std::complex< float > &  y,
const bool  nanflag,
const bool  realabs 
)
inline

Definition at line 677 of file mappers.h.

References isnan(), and x.

◆ max() [11/17]

double max ( double  x,
double  y 
)
inline

Definition at line 426 of file mappers.h.

References isnan(), and x.

◆ max() [12/17]

double max ( double  x,
double  y,
const bool  nanflag 
)
inline

Definition at line 443 of file mappers.h.

References isnan(), and x.

◆ max() [13/17]

double max ( double  x,
double  y,
const bool  nanflag,
const bool  realabs 
)
inline

Definition at line 468 of file mappers.h.

References isnan(), and x.

◆ max() [14/17]

float max ( float  x,
float  y 
)
inline

Definition at line 488 of file mappers.h.

References isnan(), and x.

◆ max() [15/17]

float max ( float  x,
float  y,
const bool  nanflag 
)
inline

Definition at line 505 of file mappers.h.

References isnan(), and x.

◆ max() [16/17]

float max ( float  x,
float  y,
const bool  nanflag,
const bool  realabs 
)
inline

Definition at line 531 of file mappers.h.

References isnan(), and x.

◆ max() [17/17]

template<typename T >
T max ( x,
y 
)

Definition at line 398 of file mappers.h.

References x.

◆ min() [1/17]

char min ( char  x,
char  y 
)
inline

Definition at line 408 of file mappers.h.

References x.

◆ min() [2/17]

template<typename T >
octave_int< T > min ( const octave_int< T > &  x,
const octave_int< T > &  y 
)
inline

Definition at line 695 of file mappers.h.

References octave_int< T >::value(), and x.

◆ min() [3/17]

template<typename T >
octave_int< T > min ( const octave_int< T > &  x,
const octave_int< T > &  y,
const bool  nanflag 
)
inline

Definition at line 709 of file mappers.h.

References octave_int< T >::value(), and x.

◆ min() [4/17]

template<typename T >
octave_int< T > min ( const octave_int< T > &  x,
const octave_int< T > &  y,
const bool  nanflag,
const bool  realabs 
)
inline

Definition at line 725 of file mappers.h.

References mappers_abs(), octave_int< T >::value(), and x.

◆ min() [5/17]

std::complex< double > min ( const std::complex< double > &  x,
const std::complex< double > &  y 
)
inline

Definition at line 546 of file mappers.h.

References isnan(), and x.

◆ min() [6/17]

std::complex< double > min ( const std::complex< double > &  x,
const std::complex< double > &  y,
const bool  nanflag 
)
inline

Definition at line 560 of file mappers.h.

References isnan(), and x.

◆ min() [7/17]

std::complex< double > min ( const std::complex< double > &  x,
const std::complex< double > &  y,
const bool  nanflag,
const bool  realabs 
)
inline

Definition at line 586 of file mappers.h.

References isnan(), and x.

◆ min() [8/17]

std::complex< float > min ( const std::complex< float > &  x,
const std::complex< float > &  y 
)
inline

Definition at line 620 of file mappers.h.

References abs(), isnan(), and x.

◆ min() [9/17]

std::complex< float > min ( const std::complex< float > &  x,
const std::complex< float > &  y,
const bool  nanflag 
)
inline

Definition at line 634 of file mappers.h.

References isnan(), and x.

◆ min() [10/17]

std::complex< float > min ( const std::complex< float > &  x,
const std::complex< float > &  y,
const bool  nanflag,
const bool  realabs 
)
inline

Definition at line 660 of file mappers.h.

References isnan(), and x.

◆ min() [11/17]

double min ( double  x,
double  y 
)
inline

Definition at line 420 of file mappers.h.

References isnan(), and x.

◆ min() [12/17]

double min ( double  x,
double  y,
const bool  nanflag 
)
inline

Definition at line 432 of file mappers.h.

References isnan(), and x.

◆ min() [13/17]

double min ( double  x,
double  y,
const bool  nanflag,
const bool  realabs 
)
inline

Definition at line 454 of file mappers.h.

References isnan(), and x.

◆ min() [14/17]

float min ( float  x,
float  y 
)
inline

Definition at line 482 of file mappers.h.

References isnan(), and x.

◆ min() [15/17]

float min ( float  x,
float  y,
const bool  nanflag 
)
inline

Definition at line 494 of file mappers.h.

References isnan(), and x.

◆ min() [16/17]

float min ( float  x,
float  y,
const bool  nanflag,
const bool  realabs 
)
inline

Definition at line 516 of file mappers.h.

References isnan(), and x.

◆ min() [17/17]

template<typename T >
T min ( x,
y 
)

Definition at line 391 of file mappers.h.

References x.

◆ mod()

template<typename T >
T mod ( x,
y 
)

◆ negative_sign() [1/2]

bool negative_sign ( double  x)
extern

Definition at line 180 of file mappers.cc.

References signbit(), and x.

Referenced by positive_sign(), and positive_sign().

◆ negative_sign() [2/2]

bool negative_sign ( float  x)
extern

Definition at line 182 of file mappers.cc.

References signbit(), and x.

◆ nint() [1/2]

int nint ( double  x)
extern

Definition at line 215 of file mappers.cc.

References round(), and x.

Referenced by dqagpe(), and qagpe().

◆ nint() [2/2]

int nint ( float  x)
extern

Definition at line 226 of file mappers.cc.

References round(), and x.

◆ nint_big() [1/2]

octave_idx_type nint_big ( double  x)
extern

Definition at line 187 of file mappers.cc.

References round(), and x.

◆ nint_big() [2/2]

octave_idx_type nint_big ( float  x)
extern

Definition at line 201 of file mappers.cc.

References round(), and x.

◆ positive_sign() [1/2]

bool positive_sign ( double  x)
inline

Definition at line 74 of file mappers.h.

References negative_sign(), and x.

◆ positive_sign() [2/2]

bool positive_sign ( float  x)
inline

Definition at line 75 of file mappers.h.

References negative_sign(), and x.

◆ rc_acos() [1/2]

Complex rc_acos ( double  x)
extern

Definition at line 240 of file mappers.cc.

References acos(), and x.

◆ rc_acos() [2/2]

FloatComplex rc_acos ( float  x)
extern

Definition at line 246 of file mappers.cc.

References acos(), and x.

◆ rc_acosh() [1/2]

Complex rc_acosh ( double  x)
extern

Definition at line 253 of file mappers.cc.

References acosh(), and x.

◆ rc_acosh() [2/2]

FloatComplex rc_acosh ( float  x)
extern

Definition at line 259 of file mappers.cc.

References acosh(), and x.

◆ rc_asin() [1/2]

Complex rc_asin ( double  x)
extern

Definition at line 265 of file mappers.cc.

References asin(), and x.

◆ rc_asin() [2/2]

FloatComplex rc_asin ( float  x)
extern

Definition at line 271 of file mappers.cc.

References asin(), and x.

◆ rc_atanh() [1/2]

Complex rc_atanh ( double  x)
extern

Definition at line 278 of file mappers.cc.

References atanh(), and x.

◆ rc_atanh() [2/2]

FloatComplex rc_atanh ( float  x)
extern

Definition at line 284 of file mappers.cc.

References atanh(), and x.

◆ rc_log() [1/2]

Complex rc_log ( double  x)
extern

Definition at line 291 of file mappers.cc.

References x.

◆ rc_log() [2/2]

FloatComplex rc_log ( float  x)
extern

Definition at line 297 of file mappers.cc.

References x.

◆ rc_log10() [1/2]

Complex rc_log10 ( double  x)
extern

Definition at line 319 of file mappers.cc.

References x.

◆ rc_log10() [2/2]

FloatComplex rc_log10 ( float  x)
extern

Definition at line 326 of file mappers.cc.

References x.

◆ rc_log2() [1/2]

Complex rc_log2 ( double  x)
extern

Definition at line 304 of file mappers.cc.

References log2(), and x.

◆ rc_log2() [2/2]

FloatComplex rc_log2 ( float  x)
extern

Definition at line 311 of file mappers.cc.

References log2(), and x.

◆ rc_sqrt() [1/2]

Complex rc_sqrt ( double  x)
extern

Definition at line 334 of file mappers.cc.

References x.

◆ rc_sqrt() [2/2]

FloatComplex rc_sqrt ( float  x)
extern

Definition at line 340 of file mappers.cc.

References x.

◆ rem()

template<typename T >
T rem ( x,
y 
)

Definition at line 357 of file mappers.h.

References copysign(), round(), and x.

Referenced by time::time().

◆ round() [1/3]

template<typename T >
std::complex< T > round ( const std::complex< T > &  x)

Definition at line 153 of file mappers.h.

References round(), and x.

◆ round() [2/3]

◆ round() [3/3]

float round ( float  x)
inline

Definition at line 149 of file mappers.h.

References x.

◆ roundb() [1/3]

template<typename T >
std::complex< T > roundb ( const std::complex< T > &  x)

Definition at line 182 of file mappers.h.

References roundb(), and x.

◆ roundb() [2/3]

◆ roundb() [3/3]

float roundb ( float  x)
inline

Definition at line 170 of file mappers.h.

References round(), and x.

◆ signbit() [1/2]

double signbit ( double  x)
inline

Definition at line 66 of file mappers.h.

References x.

Referenced by __lo_ieee_float_signbit(), __lo_ieee_signbit(), negative_sign(), and negative_sign().

◆ signbit() [2/2]

float signbit ( float  x)
inline

Definition at line 67 of file mappers.h.

References x.

◆ signum() [1/3]

template<typename T >
std::complex< T > signum ( const std::complex< T > &  x)

Definition at line 282 of file mappers.h.

References x.

◆ signum() [2/3]

◆ signum() [3/3]

float signum ( float  x)
inline

Definition at line 268 of file mappers.h.

References isnan(), and x.

◆ trunc()

template<typename T >
std::complex< T > trunc ( const std::complex< T > &  x)

Definition at line 123 of file mappers.h.

References x.

Referenced by fix().

◆ x_nint() [1/3]

template<>
double x_nint ( double  x)
inline

Definition at line 304 of file mappers.h.

References round(), and x.

◆ x_nint() [2/3]

template<>
float x_nint ( float  x)
inline

Definition at line 311 of file mappers.h.

References round(), and x.

◆ x_nint() [3/3]

template<typename T >
T x_nint ( x)

Definition at line 297 of file mappers.h.

References x.