GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
lo-mappers.cc File Reference
#include "lo-mappers.h"
#include "lo-specfun.h"
#include "math-wrappers.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)
 
double frexp (double x, int *expptr)
 
float frexp (float x, int *expptr)
 
bool is_NaN_or_NA (const Complex &x)
 
bool is_NaN_or_NA (const FloatComplex &x)
 
bool isna (const Complex &x)
 
bool isna (const FloatComplex &x)
 
bool isna (double x)
 
bool isna (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, int &exp)
 
float log2 (float x, int &exp)
 
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)
 
Complex rc_acos (double x)
 
FloatComplex rc_acos (float x)
 
Complex rc_acosh (double x)
 
FloatComplex rc_acosh (float x)
 
Complex rc_asin (double x)
 
FloatComplex rc_asin (float x)
 
Complex rc_atanh (double x)
 
FloatComplex rc_atanh (float x)
 
Complex rc_log (double x)
 
FloatComplex rc_log (float x)
 
Complex rc_log10 (double x)
 
FloatComplex rc_log10 (float x)
 
Complex rc_log2 (double x)
 
FloatComplex rc_log2 (float x)
 
Complex rc_sqrt (double x)
 
FloatComplex rc_sqrt (float x)
 

Function Documentation

◆ acos() [1/2]

Complex acos ( const Complex x)

Definition at line 85 of file lo-mappers.cc.

References conj(), imag(), real(), and x.

Referenced by acos(), Facos(), and rc_acos().

◆ acos() [2/2]

FloatComplex acos ( const FloatComplex x)

Definition at line 96 of file lo-mappers.cc.

References acos(), conj(), imag(), real(), and x.

◆ asin() [1/2]

Complex asin ( const Complex x)

Definition at line 107 of file lo-mappers.cc.

References conj(), imag(), real(), and x.

Referenced by asin(), ellipj(), Fasin(), and rc_asin().

◆ asin() [2/2]

FloatComplex asin ( const FloatComplex x)

Definition at line 118 of file lo-mappers.cc.

References asin(), conj(), imag(), real(), and x.

◆ frexp() [1/2]

double frexp ( double  x,
int *  expptr 
)

Definition at line 129 of file lo-mappers.cc.

References octave_frexp_wrapper(), and x.

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

◆ frexp() [2/2]

float frexp ( float  x,
int *  expptr 
)

Definition at line 135 of file lo-mappers.cc.

References octave_frexpf_wrapper(), and x.

◆ is_NaN_or_NA() [1/2]

bool is_NaN_or_NA ( const Complex x)

Definition at line 71 of file lo-mappers.cc.

References imag(), isnan(), real(), and x.

◆ is_NaN_or_NA() [2/2]

bool is_NaN_or_NA ( const FloatComplex x)

Definition at line 77 of file lo-mappers.cc.

References imag(), isnan(), real(), and x.

◆ isna() [1/4]

bool isna ( const Complex x)

Definition at line 53 of file lo-mappers.cc.

References imag(), isna(), real(), and x.

◆ isna() [2/4]

bool isna ( const FloatComplex x)

Definition at line 65 of file lo-mappers.cc.

References imag(), isna(), real(), and x.

◆ isna() [3/4]

bool isna ( double  x)

Definition at line 47 of file lo-mappers.cc.

References lo_ieee_is_NA, and x.

Referenced by Fisna(), and isna().

◆ isna() [4/4]

bool isna ( float  x)

Definition at line 59 of file lo-mappers.cc.

References lo_ieee_is_NA, and x.

◆ log2() [1/6]

◆ log2() [2/6]

Complex log2 ( const Complex x,
int &  exp 
)

Definition at line 165 of file lo-mappers.cc.

◆ log2() [3/6]

FloatComplex log2 ( const FloatComplex x)

Definition at line 147 of file lo-mappers.cc.

References x.

◆ log2() [4/6]

FloatComplex log2 ( const FloatComplex x,
int &  exp 
)

Definition at line 173 of file lo-mappers.cc.

◆ log2() [5/6]

double log2 ( double  x,
int &  exp 
)

Definition at line 153 of file lo-mappers.cc.

References frexp(), and x.

◆ log2() [6/6]

float log2 ( float  x,
int &  exp 
)

Definition at line 159 of file lo-mappers.cc.

References frexp(), and x.

◆ negative_sign() [1/2]

bool negative_sign ( double  x)

◆ negative_sign() [2/2]

bool negative_sign ( float  x)

Definition at line 183 of file lo-mappers.cc.

References __lo_ieee_float_signbit(), and x.

◆ nint() [1/2]

◆ nint() [2/2]

int nint ( float  x)

Definition at line 227 of file lo-mappers.cc.

References max(), min(), and x.

◆ nint_big() [1/2]

octave_idx_type nint_big ( double  x)

Definition at line 188 of file lo-mappers.cc.

References max(), min(), and x.

Referenced by NDArray::concat(), FloatNDArray::concat(), charNDArray::concat(), Fcolloc(), and xall_elements_are_ints().

◆ nint_big() [2/2]

octave_idx_type nint_big ( float  x)

Definition at line 202 of file lo-mappers.cc.

References max(), min(), and x.

◆ rc_acos() [1/2]

Complex rc_acos ( double  x)

Definition at line 240 of file lo-mappers.cc.

References acos(), and x.

◆ rc_acos() [2/2]

FloatComplex rc_acos ( float  x)

Definition at line 246 of file lo-mappers.cc.

References acos(), and x.

◆ rc_acosh() [1/2]

Complex rc_acosh ( double  x)

Definition at line 253 of file lo-mappers.cc.

References acosh(), and x.

◆ rc_acosh() [2/2]

FloatComplex rc_acosh ( float  x)

Definition at line 259 of file lo-mappers.cc.

References acosh(), and x.

◆ rc_asin() [1/2]

Complex rc_asin ( double  x)

Definition at line 265 of file lo-mappers.cc.

References asin(), and x.

◆ rc_asin() [2/2]

FloatComplex rc_asin ( float  x)

Definition at line 271 of file lo-mappers.cc.

References asin(), and x.

◆ rc_atanh() [1/2]

Complex rc_atanh ( double  x)

Definition at line 278 of file lo-mappers.cc.

References atanh(), and x.

◆ rc_atanh() [2/2]

FloatComplex rc_atanh ( float  x)

Definition at line 284 of file lo-mappers.cc.

References atanh(), and x.

◆ rc_log() [1/2]

Complex rc_log ( double  x)

Definition at line 291 of file lo-mappers.cc.

References x.

◆ rc_log() [2/2]

FloatComplex rc_log ( float  x)

Definition at line 297 of file lo-mappers.cc.

References x.

◆ rc_log10() [1/2]

Complex rc_log10 ( double  x)

Definition at line 319 of file lo-mappers.cc.

References x.

◆ rc_log10() [2/2]

FloatComplex rc_log10 ( float  x)

Definition at line 326 of file lo-mappers.cc.

References x.

◆ rc_log2() [1/2]

Complex rc_log2 ( double  x)

Definition at line 304 of file lo-mappers.cc.

References log2(), and x.

◆ rc_log2() [2/2]

FloatComplex rc_log2 ( float  x)

Definition at line 311 of file lo-mappers.cc.

References log2(), and x.

◆ rc_sqrt() [1/2]

Complex rc_sqrt ( double  x)

Definition at line 334 of file lo-mappers.cc.

References x.

Referenced by octave_float_diag_matrix::map(), and octave_diag_matrix::map().

◆ rc_sqrt() [2/2]

FloatComplex rc_sqrt ( float  x)

Definition at line 340 of file lo-mappers.cc.

References x.