GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#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"
Go to the source code of this file.
Definition at line 177 of file lo-mappers.cc.
References imag(), real(), and x.
Referenced by install_mappers_fcns(), octave_sparse_complex_matrix::map(), octave_sparse_matrix::map(), octave_float_complex_matrix::map(), octave_complex_matrix::map(), octave_float_complex::map(), octave_complex::map(), octave_float_matrix::map(), octave_matrix::map(), octave_scalar::map(), octave_float_scalar::map(), and rc_acos().
FloatComplex acos | ( | const FloatComplex & | 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.
Definition at line 204 of file lo-mappers.cc.
References imag(), real(), and x.
Referenced by ellipj(), install_mappers_fcns(), octave_sparse_complex_matrix::map(), octave_sparse_matrix::map(), octave_float_complex_matrix::map(), octave_complex_matrix::map(), octave_float_complex::map(), octave_complex::map(), octave_float_matrix::map(), octave_matrix::map(), octave_scalar::map(), octave_float_scalar::map(), and rc_asin().
FloatComplex asin | ( | const FloatComplex & | 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.
Definition at line 231 of file lo-mappers.cc.
Referenced by cbknu(), cunhj(), Fpi(), Fquadcc(), install_mappers_fcns(), octave_sparse_complex_matrix::map(), octave_sparse_matrix::map(), octave_float_complex_matrix::map(), octave_complex_matrix::map(), octave_float_complex::map(), octave_complex::map(), octave_float_matrix::map(), octave_matrix::map(), octave_scalar::map(), octave_float_scalar::map(), and axes::properties::update_camera().
FloatComplex atan | ( | const FloatComplex & | x | ) |
Definition at line 468 of file lo-mappers.cc.
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.
Definition at line 657 of file lo-mappers.cc.
Referenced by 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(), convert_to_valid_int(), do_fft(), Fusleep(), get_size(), and printf_value_cache::int_value().
octave_idx_type NINTbig | ( | double | x | ) |
Definition at line 635 of file lo-mappers.cc.
Referenced by Range::all_elements_are_ints(), charNDArray::concat(), FloatNDArray::concat(), NDArray::concat(), do_fft(), do_fft2(), do_fftn(), DASPK::do_integrate(), do_rand(), and Fcolloc().
octave_idx_type NINTbig | ( | float | x | ) |
Definition at line 646 of file lo-mappers.cc.
Definition at line 167 of file lo-mappers.cc.
References lo_ieee_is_NA.
Referenced by octave_sparse_complex_matrix::map(), octave_sparse_matrix::map(), octave_float_complex_matrix::map(), octave_complex_matrix::map(), octave_float_complex::map(), octave_complex::map(), octave_float_matrix::map(), octave_matrix::map(), octave_scalar::map(), octave_float_scalar::map(), octave_is_NA(), and pr_any_float().
Definition at line 247 of file lo-mappers.cc.
References imag(), octave_is_NA(), and real().
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().
Definition at line 253 of file lo-mappers.cc.
bool octave_is_NaN_or_NA | ( | const FloatComplex & | x | ) |
Definition at line 490 of file lo-mappers.cc.
Definition at line 512 of file lo-mappers.cc.
References acos().
Referenced by octave_sparse_matrix::map(), octave_float_matrix::map(), octave_matrix::map(), octave_scalar::map(), and octave_float_scalar::map().
FloatComplex rc_acos | ( | float | x | ) |
Definition at line 518 of file lo-mappers.cc.
References acos().
Definition at line 524 of file lo-mappers.cc.
References acosh().
Referenced by octave_sparse_matrix::map(), octave_float_matrix::map(), octave_matrix::map(), octave_scalar::map(), and octave_float_scalar::map().
FloatComplex rc_acosh | ( | float | x | ) |
Definition at line 530 of file lo-mappers.cc.
Definition at line 536 of file lo-mappers.cc.
References asin().
Referenced by octave_sparse_matrix::map(), octave_float_matrix::map(), octave_matrix::map(), octave_scalar::map(), and octave_float_scalar::map().
FloatComplex rc_asin | ( | float | x | ) |
Definition at line 542 of file lo-mappers.cc.
References asin().
Definition at line 548 of file lo-mappers.cc.
References atanh().
Referenced by octave_sparse_matrix::map(), octave_float_matrix::map(), octave_matrix::map(), octave_scalar::map(), and octave_float_scalar::map().
FloatComplex rc_atanh | ( | float | x | ) |
Definition at line 554 of file lo-mappers.cc.
Definition at line 561 of file lo-mappers.cc.
Referenced by octave_sparse_matrix::map(), octave_float_matrix::map(), octave_matrix::map(), octave_scalar::map(), and octave_float_scalar::map().
FloatComplex rc_log | ( | float | x | ) |
Definition at line 568 of file lo-mappers.cc.
References f.
Definition at line 591 of file lo-mappers.cc.
Referenced by octave_sparse_matrix::map(), octave_float_matrix::map(), octave_matrix::map(), octave_scalar::map(), and octave_float_scalar::map().
FloatComplex rc_log10 | ( | float | x | ) |
Definition at line 598 of file lo-mappers.cc.
Definition at line 577 of file lo-mappers.cc.
References xlog2().
Referenced by octave_sparse_matrix::map(), octave_float_matrix::map(), octave_matrix::map(), octave_scalar::map(), and octave_float_scalar::map().
FloatComplex rc_log2 | ( | float | x | ) |
Definition at line 584 of file lo-mappers.cc.
References xlog2().
Definition at line 606 of file lo-mappers.cc.
Referenced by octave_float_diag_matrix::map(), octave_diag_matrix::map(), octave_sparse_matrix::map(), octave_float_matrix::map(), octave_matrix::map(), octave_scalar::map(), and octave_float_scalar::map().
FloatComplex rc_sqrt | ( | float | x | ) |
Definition at line 612 of file lo-mappers.cc.
References f.
Definition at line 80 of file lo-mappers.cc.
References octave_NaN, and xisnan().
Referenced by cbrt(), cbrtf(), do_erfinv(), elem_dual_p(), octave_sparse_complex_matrix::map(), octave_sparse_matrix::map(), octave_float_complex_matrix::map(), octave_complex_matrix::map(), octave_float_complex::map(), octave_complex::map(), octave_float_matrix::map(), octave_matrix::map(), octave_scalar::map(), octave_float_scalar::map(), axes::properties::update_camera(), axes::properties::update_xlabel_position(), axes::properties::update_ylabel_position(), and axes::properties::update_zlabel_position().
Definition at line 315 of file lo-mappers.cc.
References octave_Float_NaN, and xisnan().
Definition at line 52 of file lo-mappers.cc.
Definition at line 287 of file lo-mappers.cc.
Definition at line 111 of file lo-mappers.cc.
Referenced by base_det< T >::base_det().
Definition at line 346 of file lo-mappers.cc.
Definition at line 152 of file lo-mappers.cc.
References lo_ieee_finite.
Referenced by cbrt(), cbrtf(), check_limit_vals(), octave_rand::do_float_scalar(), octave_rand::do_scalar(), double2uint32(), octave_rand::fill(), Fquadcc(), octave_sparse_complex_matrix::map(), octave_sparse_matrix::map(), octave_float_complex::map(), octave_complex::map(), octave_scalar::map(), octave_float_scalar::map(), max_axes_scale(), mx_inline_all_finite(), pr_max_internal(), pr_min_internal(), Range::Range(), save_mat5_array_length(), set_format(), hggroup::update_axis_limits(), X_NINT(), xfinite(), xisinteger(), and xtoo_large_for_float().
Definition at line 389 of file lo-mappers.cc.
References lo_ieee_finite.
Definition at line 292 of file lo-mappers.cc.
Definition at line 160 of file lo-mappers.cc.
References lo_ieee_isinf.
Referenced by SparseMatrix::any_element_is_inf_or_nan(), SparseComplexMatrix::any_element_is_inf_or_nan(), axes::properties::calc_ticks_and_lims(), Feps(), Ffind(), Fpause(), Fquad(), Fquadcc(), G__glpk__(), Gaudioread(), get_array_limits(), axes::properties::get_axis_limits(), get_size(), octave_sparse_complex_matrix::map(), octave_sparse_matrix::map(), octave_float_complex::map(), octave_complex::map(), octave_scalar::map(), octave_float_scalar::map(), operator*(), pr_any_float(), rational_approx(), rc_lgamma(), set_format(), octave_stream::skipl(), axes::properties::update_aspectratios(), axes::properties::update_xlabel_position(), axes::properties::update_ylabel_position(), axes::properties::update_zlabel_position(), xabs(), xgamma(), xisinf(), and xlgamma().
Definition at line 397 of file lo-mappers.cc.
References lo_ieee_isinf.
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().
Definition at line 381 of file lo-mappers.cc.
References lo_ieee_isnan.
Definition at line 93 of file lo-mappers.cc.
Referenced by base_det< T >::base_det(), Array< T >::lookup(), Matrix::lssolve(), FloatMatrix::lssolve(), ComplexMatrix::lssolve(), FloatComplexMatrix::lssolve(), octave_sparse_complex_matrix::map(), octave_float_complex_matrix::map(), octave_complex_matrix::map(), octave_float_complex::map(), octave_complex::map(), map_2_xlog2(), base_det< T >::operator*=(), rc_log2(), idx_vector::idx_vector_rep::sort_idx(), idx_vector::idx_vector_rep::sort_uniq_clone(), and xlog2().
Definition at line 99 of file lo-mappers.cc.
Definition at line 127 of file lo-mappers.cc.
Definition at line 133 of file lo-mappers.cc.
Definition at line 328 of file lo-mappers.cc.
FloatComplex xlog2 | ( | const FloatComplex & | x | ) |
Definition at line 334 of file lo-mappers.cc.
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.
Definition at line 269 of file lo-mappers.cc.
References abs(), and xisnan().
Referenced by ft_render::compute_bbox(), axes::properties::get_axis_limits(), max(), max_axes_scale(), ft_render::process_character(), and ft_render::visit().
FloatComplex xmax | ( | const FloatComplex & | x, |
const FloatComplex & | y | ||
) |
Definition at line 506 of file lo-mappers.cc.
Definition at line 263 of file lo-mappers.cc.
References abs(), and xisnan().
Referenced by G__glpk__(), axes::properties::get_axis_limits(), min(), normalized_aspectratios(), and axes::properties::update_aspectratios().
FloatComplex xmin | ( | const FloatComplex & | x, |
const FloatComplex & | y | ||
) |
Definition at line 500 of file lo-mappers.cc.
Definition at line 618 of file lo-mappers.cc.
References __lo_ieee_signbit().
Referenced by FloatNDArray::any_element_is_negative(), NDArray::any_element_is_negative(), xgamma(), and xpositive_sign().
Definition at line 624 of file lo-mappers.cc.
References __lo_ieee_float_signbit().
Definition at line 63 of file lo-mappers.cc.
Referenced by QtHandles::borderWidthFromProperties(), QtHandles::boundingBoxToRect(), octave_int_base< T >::compute_threshold(), convert_cdata_2(), octave_int_base< T >::convert_real(), Ffind(), QtHandles::BaseControl::init(), isargout1(), QtHandles::ListBoxControl::ListBoxControl(), QtHandles::Utils::makeImageFromCData(), octave_sparse_complex_matrix::map(), octave_sparse_matrix::map(), octave_float_complex_matrix::map(), octave_complex_matrix::map(), octave_float_complex::map(), octave_complex::map(), octave_float_matrix::map(), octave_matrix::map(), octave_scalar::map(), octave_float_scalar::map(), ok_for_signed_int_conv(), ok_for_unsigned_int_conv(), operator*(), operator/(), QtHandles::Panel::Panel(), pow(), powf(), rational_approx(), QtHandles::Container::resizeEvent(), QtHandles::SliderControl::SliderControl(), QtHandles::SliderControl::update(), QtHandles::BaseControl::update(), QtHandles::Panel::update(), QtHandles::ContextMenu::update(), axes::properties::update_axes_layout(), QtHandles::Panel::updateLayout(), QtHandles::updateSelection(), QtHandles::SliderControl::valueChanged(), xisinteger(), xround(), and xroundb().
Definition at line 298 of file lo-mappers.cc.
Definition at line 69 of file lo-mappers.cc.
References xround(), and xtrunc().
Referenced by octave_sparse_complex_matrix::map(), octave_sparse_matrix::map(), octave_float_complex_matrix::map(), octave_complex_matrix::map(), octave_float_complex::map(), octave_complex::map(), octave_float_matrix::map(), octave_matrix::map(), octave_scalar::map(), octave_float_scalar::map(), and xroundb().
Definition at line 304 of file lo-mappers.cc.
Definition at line 46 of file lo-mappers.cc.
Definition at line 281 of file lo-mappers.cc.