GNU Octave  4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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)
 
FloatComplex acos (const FloatComplex &x)
 
Complex acosh (const Complex &x)
 
FloatComplex acosh (const FloatComplex &x)
 
Complex asin (const Complex &x)
 
FloatComplex asin (const FloatComplex &x)
 
Complex asinh (const Complex &x)
 
FloatComplex asinh (const FloatComplex &x)
 
Complex atan (const Complex &x)
 
FloatComplex atan (const FloatComplex &x)
 
Complex atanh (const Complex &x)
 
FloatComplex atanh (const FloatComplex &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 (const Complex &x)
 
bool octave_is_NA (float x)
 
bool octave_is_NA (const FloatComplex &x)
 
bool octave_is_NaN_or_NA (const Complex &x)
 
bool octave_is_NaN_or_NA (const FloatComplex &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)
 
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)
 
float xfloor (float x)
 
bool xisinf (double x)
 
bool xisinf (float x)
 
bool xisnan (double x)
 
bool xisnan (float x)
 
double xlog2 (double x)
 
Complex xlog2 (const Complex &x)
 
double xlog2 (double x, int &exp)
 
Complex xlog2 (const Complex &x, int &exp)
 
float xlog2 (float x)
 
FloatComplex xlog2 (const FloatComplex &x)
 
float xlog2 (float x, int &exp)
 
FloatComplex xlog2 (const FloatComplex &x, int &exp)
 
Complex xmax (const Complex &x, const Complex &y)
 
FloatComplex xmax (const FloatComplex &x, const FloatComplex &y)
 
Complex xmin (const Complex &x, const Complex &y)
 
FloatComplex xmin (const FloatComplex &x, const FloatComplex &y)
 
bool xnegative_sign (double x)
 
bool xnegative_sign (float x)
 
double xround (double x)
 
float xround (float x)
 
double xroundb (double x)
 
float xroundb (float x)
 
double xtrunc (double x)
 
float xtrunc (float x)
 

Function Documentation

Complex acos ( const Complex x)
FloatComplex acos ( const FloatComplex x)

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

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

Complex acosh ( const Complex x)

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

Referenced by rc_acosh().

FloatComplex acosh ( const FloatComplex x)

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

References f.

Complex asin ( const Complex x)
FloatComplex asin ( const FloatComplex x)

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

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

Complex asinh ( const Complex x)

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

FloatComplex asinh ( const FloatComplex x)

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

References f.

Complex atan ( const Complex x)
FloatComplex atan ( const FloatComplex x)

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

Complex atanh ( const Complex x)

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

Referenced by rc_atanh().

FloatComplex atanh ( const FloatComplex x)

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

References f.

int NINT ( double  x)
int NINT ( float  x)

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

References max(), and min().

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

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

References max(), and min().

bool octave_is_NA ( double  x)
bool octave_is_NA ( const Complex x)

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

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

bool octave_is_NA ( float  x)

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

References lo_ieee_is_NA.

bool octave_is_NA ( const FloatComplex x)

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

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

bool octave_is_NaN_or_NA ( const Complex x)

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

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

bool octave_is_NaN_or_NA ( const FloatComplex x)

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

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

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

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

References acos().

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

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

References acosh(), and acoshf().

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

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

References asin().

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

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

References atanh(), and atanhf().

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

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

References f.

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

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

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

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

References xlog2().

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

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

References f.

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

Definition at line 315 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 287 of file lo-mappers.cc.

double xexp2 ( double  x)

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

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

float xexp2 ( float  x)

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

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

Definition at line 389 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().

float xfloor ( float  x)

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

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

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

References lo_ieee_isinf.

bool xisnan ( double  x)

Definition at line 144 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_float_complex::bool_array_value(), octave_complex::bool_array_value(), octave_scalar::bool_array_value(), octave_float_scalar::bool_array_value(), octave_float_complex::bool_value(), octave_complex::bool_value(), octave_scalar::bool_value(), octave_float_scalar::bool_value(), SparseMatrix::bsolve(), SparseComplexMatrix::bsolve(), Matrix::column_max(), FloatMatrix::column_max(), ComplexMatrix::column_max(), FloatComplexMatrix::column_max(), Matrix::column_min(), FloatMatrix::column_min(), ComplexMatrix::column_min(), FloatComplexMatrix::column_min(), charNDArray::concat(), FloatNDArray::concat(), NDArray::concat(), convert_cdata_2(), octave_sparse_matrix::convert_to_str_internal(), octave_float_matrix::convert_to_str_internal(), octave_matrix::convert_to_str_internal(), octave_scalar::convert_to_str_internal(), octave_float_scalar::convert_to_str_internal(), SparseMatrix::determinant(), SparseComplexMatrix::determinant(), do_fft(), do_fft2(), do_fftn(), ch_manager::do_lookup(), gh_manager::do_lookup(), do_rand(), handle_property::do_set(), drawcn(), EigsComplexNonSymmetricFunc(), EigsComplexNonSymmetricMatrix(), EigsComplexNonSymmetricMatrixShift(), EigsRealNonSymmetricFunc(), EigsRealNonSymmetricMatrix(), EigsRealNonSymmetricMatrixShift(), EigsRealSymmetricFunc(), EigsRealSymmetricMatrix(), EigsRealSymmetricMatrixShift(), F__go_figure__(), SparseMatrix::factorize(), SparseComplexMatrix::factorize(), Fcolloc(), Feps(), Fpause(), Fsleep(), Matrix::fsolve(), FloatMatrix::fsolve(), ComplexMatrix::fsolve(), FloatComplexMatrix::fsolve(), SparseMatrix::fsolve(), SparseComplexMatrix::fsolve(), Fspparms(), Fusleep(), Array< double >::is_sorted(), Array< float >::is_sorted(), octave_base_scalar< ST >::is_true(), jcobi(), Matrix::ltsolve(), FloatMatrix::ltsolve(), SparseMatrix::ltsolve(), SparseComplexMatrix::ltsolve(), ComplexMatrix::ltsolve(), FloatComplexMatrix::ltsolve(), LuAminusSigmaB(), make_graphics_object(), QtHandles::Utils::makeImageFromCData(), octave_sparse_complex_matrix::map(), octave_sparse_matrix::map(), octave_float_complex::map(), octave_complex::map(), octave_scalar::map(), octave_float_scalar::map(), SparseMatrix::max(), SparseComplexMatrix::max(), SparseMatrix::min(), SparseComplexMatrix::min(), mx_inline_any_nan(), nan_ascending_compare(), nan_descending_compare(), octave_base_value::nint_value(), oct_unop_not(), octave_is_NaN_or_NA(), octave_handle::ok(), operator*(), pr_any_float(), rational_approx(), rc_lgamma(), Matrix::row_max(), FloatMatrix::row_max(), ComplexMatrix::row_max(), FloatComplexMatrix::row_max(), Matrix::row_min(), FloatMatrix::row_min(), ComplexMatrix::row_min(), FloatComplexMatrix::row_min(), safe_comparator(), root_figure::properties::set_callbackobject(), figure::properties::set_currentaxes(), root_figure::properties::set_currentfigure(), set_format(), signum(), sort_isnan< Complex >(), sort_isnan< double >(), sort_isnan< float >(), sort_isnan< FloatComplex >(), sparse_ascending_compare< Complex >(), sparse_ascending_compare< double >(), sparse_descending_compare< Complex >(), sparse_descending_compare< double >(), SparseComplexLU::SparseComplexLU(), SparseLU::SparseLU(), patch::properties::update_data(), Matrix::utsolve(), FloatMatrix::utsolve(), SparseMatrix::utsolve(), SparseComplexMatrix::utsolve(), ComplexMatrix::utsolve(), FloatComplexMatrix::utsolve(), xgamma(), xis_int_or_inf_or_nan(), xis_true(), xlgamma(), xmax(), and xmin().

bool xisnan ( float  x)

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

References lo_ieee_isnan.

double xlog2 ( double  x)
Complex xlog2 ( const Complex x)

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

double xlog2 ( double  x,
int exp 
)

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

Complex xlog2 ( const Complex x,
int exp 
)

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

References abs(), and xlog2().

float xlog2 ( float  x)

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

FloatComplex xlog2 ( const FloatComplex x)

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

float xlog2 ( float  x,
int exp 
)

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

FloatComplex xlog2 ( const FloatComplex x,
int exp 
)

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

References abs(), and xlog2().

Complex xmax ( const Complex x,
const Complex y 
)
FloatComplex xmax ( const FloatComplex x,
const FloatComplex y 
)

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

References abs(), and xisnan().

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

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

References abs(), and xisnan().

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

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

References __lo_ieee_float_signbit().

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

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

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

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

References xround(), and xtrunc().

double xtrunc ( double  x)

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

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

float xtrunc ( float  x)

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