GNU Octave
3.8.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.
OCTAVE_API FloatComplex acos | ( | const Complex & | x | ) |
Definition at line 193 of file lo-mappers.cc.
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().
OCTAVE_API FloatComplex acosh | ( | const Complex & | x | ) |
Definition at line 201 of file lo-mappers.cc.
OCTAVE_API FloatComplex asin | ( | const Complex & | x | ) |
Definition at line 207 of file lo-mappers.cc.
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().
OCTAVE_API FloatComplex asinh | ( | const Complex & | x | ) |
Definition at line 215 of file lo-mappers.cc.
OCTAVE_API FloatComplex atan | ( | const Complex & | x | ) |
Definition at line 221 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().
OCTAVE_API FloatComplex atanh | ( | const Complex & | x | ) |
Definition at line 229 of file lo-mappers.cc.
Definition at line 638 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 616 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 627 of file lo-mappers.cc.
Definition at line 177 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 237 of file lo-mappers.cc.
References imag(), octave_is_NA(), and real.
Definition at line 406 of file lo-mappers.cc.
References lo_ieee_is_NA.
Definition at line 183 of file lo-mappers.cc.
References lo_ieee_isnan.
Definition at line 243 of file lo-mappers.cc.
Definition at line 412 of file lo-mappers.cc.
References lo_ieee_isnan.
Definition at line 495 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 501 of file lo-mappers.cc.
References acos().
Definition at line 507 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 513 of file lo-mappers.cc.
Definition at line 519 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 525 of file lo-mappers.cc.
References asin().
Definition at line 531 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 537 of file lo-mappers.cc.
Definition at line 544 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 551 of file lo-mappers.cc.
Definition at line 572 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 579 of file lo-mappers.cc.
Definition at line 558 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 565 of file lo-mappers.cc.
References xlog2().
Definition at line 587 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 593 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 305 of file lo-mappers.cc.
References octave_Float_NaN, and xisnan().
Definition at line 52 of file lo-mappers.cc.
Definition at line 277 of file lo-mappers.cc.
Definition at line 121 of file lo-mappers.cc.
Referenced by base_det< T >::base_det().
Definition at line 348 of file lo-mappers.cc.
Definition at line 162 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 391 of file lo-mappers.cc.
References lo_ieee_finite.
Definition at line 282 of file lo-mappers.cc.
Definition at line 170 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(), DEFUN_DLD(), octave_base_stream::do_printf(), Feps(), Ffind(), Fpause(), Fquad(), Fquadcc(), get_array_limits(), axes::properties::get_axis_limits(), get_size(), opengl_renderer::is_nan_or_inf(), 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 399 of file lo-mappers.cc.
References lo_ieee_isinf.
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().
Definition at line 383 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(), 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().
OCTAVE_API FloatComplex xlog2 | ( | const Complex & | x | ) |
Definition at line 109 of file lo-mappers.cc.
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.
Definition at line 318 of file lo-mappers.cc.
Definition at line 366 of file lo-mappers.cc.
OCTAVE_API FloatComplex xmax | ( | const Complex & | x, |
const Complex & | y | ||
) |
Definition at line 259 of file lo-mappers.cc.
References abs(), and xisnan().
Referenced by acosh(), alngam(), asinh(), opengl_renderer::clip_code(), ft_render::compute_bbox(), d9lgmc(), dacosh(), dasinh(), derfc(), dgamlm(), dgamma(), dlngam(), erfc(), gamlim(), gamma(), axes::properties::get_axis_limits(), max(), max_axes_scale(), onecov(), ft_render::process_character(), r9lgmc(), stat(), and ft_render::visit().
OCTAVE_API FloatComplex xmin | ( | const Complex & | x, |
const Complex & | y | ||
) |
Definition at line 253 of file lo-mappers.cc.
References abs(), and xisnan().
Referenced by alnrel(), opengl_renderer::clip_code(), DEFUN_DLD(), dgamlm(), dgamma(), dlnrel(), gamlim(), gamma(), axes::properties::get_axis_limits(), min(), normalized_aspectratios(), onecov(), stat(), and axes::properties::update_aspectratios().
Definition at line 599 of file lo-mappers.cc.
References __lo_ieee_signbit().
Referenced by FloatNDArray::any_element_is_negative(), NDArray::any_element_is_negative(), Matrix::any_element_is_negative(), FloatMatrix::any_element_is_negative(), xgamma(), and xpositive_sign().
Definition at line 605 of file lo-mappers.cc.
References __lo_ieee_float_signbit().
Definition at line 63 of file lo-mappers.cc.
Referenced by octave_int_base< T >::compute_threshold(), convert_cdata_2(), octave_int_base< T >::convert_real(), Ffind(), isargout1(), 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(), operator*(), operator/(), pow(), powf(), rational_approx(), axes::properties::update_axes_layout(), xisinteger(), xround(), and xroundb().
Definition at line 288 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 294 of file lo-mappers.cc.
Definition at line 46 of file lo-mappers.cc.
Definition at line 271 of file lo-mappers.cc.