Functions

lo-mappers.cc File Reference

#include <cfloat>
#include "lo-error.h"
#include "lo-ieee.h"
#include "lo-mappers.h"
#include "lo-math.h"
#include "lo-specfun.h"
#include "lo-utils.h"
#include "oct-cmplx.h"
#include "f77-fcn.h"
Include dependency graph for lo-mappers.cc:

Go to the source code of this file.

Functions

Complex acos (const Complex &x)
Complex acosh (const Complex &x)
Complex asin (const Complex &x)
Complex asinh (const Complex &x)
Complex atan (const Complex &x)
Complex atanh (const Complex &x)
int NINT (double x)
int NINT (float x)
octave_idx_type NINTbig (double x)
octave_idx_type NINTbig (float x)
bool octave_is_NA (double x)
bool octave_is_NA (float x)
bool octave_is_NA (const Complex &x)
bool octave_is_NaN_or_NA (double x)
bool octave_is_NaN_or_NA (float x)
bool octave_is_NaN_or_NA (const Complex &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)
FloatComplex rc_log2 (float x)
Complex rc_log2 (double x)
Complex rc_sqrt (double x)
FloatComplex rc_sqrt (float x)
double signum (double x)
float signum (float x)
double xcopysign (double x, double y)
float xcopysign (float x, float y)
double xexp2 (double x)
float xexp2 (float x)
bool xfinite (double x)
bool xfinite (float x)
double xfloor (double x)
bool xisinf (double x)
bool xisinf (float x)
bool xisnan (float x)
bool xisnan (double x)
double xlog2 (double x, int &exp)
float xlog2 (float x, int &exp)
Complex xlog2 (const Complex &x)
Complex xlog2 (const Complex &x, int &exp)
float xlog2 (float x)
double xlog2 (double x)
Complex xmax (const Complex &x, const Complex &y)
Complex xmin (const Complex &x, const Complex &y)
bool xnegative_sign (float x)
bool xnegative_sign (double x)
float xround (float x)
double xround (double x)
double xroundb (double x)
float xroundb (float x)
float xtrunc (float x)
double xtrunc (double x)

Function Documentation

OCTAVE_API FloatComplex acos ( const Complex x  ) 
OCTAVE_API FloatComplex acosh ( const Complex x  ) 
OCTAVE_API FloatComplex asin ( const Complex x  ) 
OCTAVE_API FloatComplex asinh ( const Complex x  ) 
OCTAVE_API FloatComplex atan ( const Complex x  ) 
OCTAVE_API FloatComplex atanh ( const Complex x  ) 
int NINT ( double  x  ) 
int NINT ( float  x  ) 

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

References max(), and min().

octave_idx_type NINTbig ( double  x  ) 
octave_idx_type NINTbig ( float  x  ) 

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

References max(), and min().

bool octave_is_NA ( double  x  ) 
bool octave_is_NA ( float  x  ) 

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

References lo_ieee_is_NA.

OCTAVE_API bool octave_is_NA ( const Complex x  ) 

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

References imag(), octave_is_NA(), and real.

bool octave_is_NaN_or_NA ( double  x  ) 

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

References lo_ieee_isnan.

bool octave_is_NaN_or_NA ( float  x  ) 

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

References lo_ieee_isnan.

OCTAVE_API bool octave_is_NaN_or_NA ( const Complex x  ) 

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

References imag(), real, and xisnan().

Complex rc_acos ( double  x  ) 
FloatComplex rc_acos ( float  x  ) 

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

References acos().

Complex rc_acosh ( double  x  ) 
FloatComplex rc_acosh ( float  x  ) 

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

References acosh(), and acoshf().

Complex rc_asin ( double  x  ) 
FloatComplex rc_asin ( float  x  ) 

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

References asin().

Complex rc_atanh ( double  x  ) 
FloatComplex rc_atanh ( float  x  ) 

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

References atanh(), and atanhf().

Complex rc_log ( double  x  ) 
FloatComplex rc_log ( float  x  ) 

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

Complex rc_log10 ( double  x  ) 
FloatComplex rc_log10 ( float  x  ) 

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

FloatComplex rc_log2 ( float  x  ) 

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

References xlog2().

Complex rc_log2 ( double  x  ) 
Complex rc_sqrt ( double  x  ) 
FloatComplex rc_sqrt ( float  x  ) 

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

References f.

double signum ( double  x  ) 
float signum ( float  x  ) 

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

References octave_Float_NaN, and xisnan().

double xcopysign ( double  x,
double  y 
)

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

Referenced by xmod(), and xrem().

float xcopysign ( float  x,
float  y 
)

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

double xexp2 ( double  x  ) 

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

Referenced by base_det< T >::base_det().

float xexp2 ( float  x  ) 

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

bool xfinite ( double  x  ) 
bool xfinite ( float  x  ) 

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

References lo_ieee_finite.

double xfloor ( double  x  ) 

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

References floor().

Referenced by floor(), X_NINT(), and xmod().

bool xisinf ( double  x  ) 
bool xisinf ( float  x  ) 

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

References lo_ieee_isinf.

bool xisnan ( float  x  ) 

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

References lo_ieee_isnan.

bool xisnan ( double  x  ) 

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

References lo_ieee_isnan.

Referenced by SparseMatrix::all_elements_are_int_or_inf_or_nan(), Range::all_elements_are_ints(), SparseMatrix::any_element_is_inf_or_nan(), SparseComplexMatrix::any_element_is_inf_or_nan(), SparseMatrix::any_element_is_nan(), SparseComplexMatrix::any_element_is_nan(), octave_scalar::bool_array_value(), octave_float_complex::bool_array_value(), octave_float_scalar::bool_array_value(), octave_complex::bool_array_value(), octave_scalar::bool_value(), octave_float_complex::bool_value(), octave_float_scalar::bool_value(), octave_complex::bool_value(), SparseMatrix::bsolve(), SparseComplexMatrix::bsolve(), check_limit_vals(), FloatMatrix::column_max(), FloatComplexMatrix::column_max(), Matrix::column_max(), ComplexMatrix::column_max(), FloatMatrix::column_min(), FloatComplexMatrix::column_min(), Matrix::column_min(), ComplexMatrix::column_min(), FloatNDArray::concat(), NDArray::concat(), charNDArray::concat(), convert_cdata_2(), octave_int_base< T >::convert_real(), octave_scalar::convert_to_str_internal(), octave_sparse_matrix::convert_to_str_internal(), octave_matrix::convert_to_str_internal(), octave_float_matrix::convert_to_str_internal(), octave_float_scalar::convert_to_str_internal(), DEFUN(), DEFUN_DLD(), DEFUNOP(), SparseMatrix::determinant(), SparseComplexMatrix::determinant(), do_fft(), do_fft2(), do_fftn(), do_rand(), octave_rand::do_scalar(), drawcn(), SparseMatrix::factorize(), SparseComplexMatrix::factorize(), octave_rand::fill(), FloatMatrix::fsolve(), FloatComplexMatrix::fsolve(), SparseMatrix::fsolve(), Matrix::fsolve(), SparseComplexMatrix::fsolve(), ComplexMatrix::fsolve(), Array< float >::is_sorted(), Array< double >::is_sorted(), octave_base_scalar< ST >::is_true(), jcobi(), FloatMatrix::ltsolve(), FloatComplexMatrix::ltsolve(), SparseMatrix::ltsolve(), Matrix::ltsolve(), SparseComplexMatrix::ltsolve(), ComplexMatrix::ltsolve(), make_graphics_object(), octave_scalar::map(), octave_sparse_matrix::map(), octave_float_complex::map(), octave_float_scalar::map(), octave_sparse_complex_matrix::map(), octave_complex::map(), SparseMatrix::max(), SparseComplexMatrix::max(), max_axes_scale(), SparseMatrix::min(), SparseComplexMatrix::min(), mx_inline_any_nan(), nan_ascending_compare(), nan_descending_compare(), octave_base_value::nint_value(), octave_is_NaN_or_NA(), pr_any_float(), pr_max_internal(), pr_min_internal(), rational_approx(), rc_lgamma(), FloatMatrix::row_max(), FloatComplexMatrix::row_max(), Matrix::row_max(), ComplexMatrix::row_max(), FloatMatrix::row_min(), FloatComplexMatrix::row_min(), Matrix::row_min(), ComplexMatrix::row_min(), safe_comparator(), save_mat5_array_length(), set_format(), signum(), SparseComplexLU::SparseComplexLU(), SparseLU::SparseLU(), FloatComplexNDArray::too_large_for_float(), FloatComplexMatrix::too_large_for_float(), ComplexNDArray::too_large_for_float(), ComplexMatrix::too_large_for_float(), FloatMatrix::utsolve(), FloatComplexMatrix::utsolve(), SparseMatrix::utsolve(), Matrix::utsolve(), SparseComplexMatrix::utsolve(), ComplexMatrix::utsolve(), X_NINT(), xgamma(), xis_int_or_inf_or_nan(), xis_true(), xisnan(), xlgamma(), xmax(), xmin(), and xtoo_large_for_float().

double xlog2 ( double  x,
int exp 
)

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

float xlog2 ( float  x,
int exp 
)

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

OCTAVE_API FloatComplex xlog2 ( const Complex x  ) 

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

OCTAVE_API FloatComplex xlog2 ( const Complex x,
int exp 
)

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

References abs(), and xlog2().

float xlog2 ( float  x  ) 

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

double xlog2 ( double  x  ) 
OCTAVE_API FloatComplex xmax ( const Complex x,
const Complex y 
)

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

References abs(), and xisnan().

Referenced by max(), max_axes_scale(), and opengl_renderer::opengl_renderer().

OCTAVE_API FloatComplex xmin ( const Complex x,
const Complex y 
)

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

References abs(), and xisnan().

Referenced by DEFUN_DLD(), min(), normalized_aspectratios(), and opengl_renderer::opengl_renderer().

bool xnegative_sign ( float  x  ) 

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

References __lo_ieee_float_signbit().

bool xnegative_sign ( double  x  ) 
float xround ( float  x  ) 

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

double xround ( double  x  ) 
double xroundb ( double  x  ) 
float xroundb ( float  x  ) 

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

References xround(), and xtrunc().

float xtrunc ( float  x  ) 

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

double xtrunc ( double  x  ) 

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

Referenced by fix(), xrem(), and xroundb().

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines