GNU Octave  3.8.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)
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 (const Complex &x)
bool octave_is_NA (float x)
bool octave_is_NaN_or_NA (double x)
bool octave_is_NaN_or_NA (const Complex &x)
bool octave_is_NaN_or_NA (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)
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)
float xlog2 (float x, int &exp)
Complex xmax (const Complex &x, const Complex &y)
Complex xmin (const Complex &x, const Complex &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

OCTAVE_API FloatComplex acos ( const Complex x)
OCTAVE_API FloatComplex acosh ( const Complex x)

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

OCTAVE_API FloatComplex asin ( const Complex x)
OCTAVE_API FloatComplex asinh ( const Complex x)

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

OCTAVE_API FloatComplex atan ( const Complex x)
OCTAVE_API FloatComplex atanh ( const Complex x)

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

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

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

References max(), and min().

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

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

References max(), and min().

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

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

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

bool octave_is_NA ( float  x)

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

References lo_ieee_is_NA.

bool octave_is_NaN_or_NA ( double  x)

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

References lo_ieee_isnan.

OCTAVE_API bool octave_is_NaN_or_NA ( const Complex x)

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

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

bool octave_is_NaN_or_NA ( float  x)

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

References lo_ieee_isnan.

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

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

References acos().

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

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

References acosh(), and acoshf().

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

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

References asin().

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

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

References atanh(), and atanhf().

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

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

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

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

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

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

References xlog2().

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

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

References f.

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

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

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

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

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

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

References lo_ieee_isinf.

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_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_int_base< T >::convert_real(), 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(), opengl_renderer::is_nan_or_inf(), 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(), 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(), Matrix::utsolve(), FloatMatrix::utsolve(), SparseMatrix::utsolve(), SparseComplexMatrix::utsolve(), ComplexMatrix::utsolve(), FloatComplexMatrix::utsolve(), xgamma(), xis_int_or_inf_or_nan(), xis_true(), xisnan(), xlgamma(), xmax(), and xmin().

bool xisnan ( float  x)

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

References lo_ieee_isnan.

double xlog2 ( double  x)
OCTAVE_API FloatComplex xlog2 ( const Complex x)

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

double xlog2 ( double  x,
int exp 
)

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

OCTAVE_API FloatComplex xlog2 ( const Complex x,
int exp 
)

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

References abs(), and xlog2().

float xlog2 ( float  x)

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

float xlog2 ( float  x,
int exp 
)

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

OCTAVE_API FloatComplex xmax ( const Complex x,
const Complex y 
)
OCTAVE_API FloatComplex xmin ( const Complex x,
const Complex y 
)
bool xnegative_sign ( double  x)
bool xnegative_sign ( float  x)

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

References __lo_ieee_float_signbit().

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

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

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

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