GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
chNDArray.cc File Reference
#include <string>
#include "Array-util.h"
#include "chNDArray.h"
#include "mx-base.h"
#include "lo-ieee.h"
#include "lo-mappers.h"
#include "mx-op-defs.h"
#include "str-vec.h"
#include "bsxfun-defs.cc"
Include dependency graph for chNDArray.cc:

Go to the source code of this file.

Functions

boolNDArray bsxfun_eq (const charNDArray &x, const charNDArray &y)
 
boolNDArray bsxfun_ge (const charNDArray &x, const charNDArray &y)
 
boolNDArray bsxfun_gt (const charNDArray &x, const charNDArray &y)
 
boolNDArray bsxfun_le (const charNDArray &x, const charNDArray &y)
 
boolNDArray bsxfun_lt (const charNDArray &x, const charNDArray &y)
 
boolNDArray bsxfun_ne (const charNDArray &x, const charNDArray &y)
 
charNDArray max (char d, const charNDArray &m)
 
charNDArray max (const charNDArray &a, const charNDArray &b)
 
charNDArray max (const charNDArray &m, char d)
 
charNDArray min (char d, const charNDArray &m)
 
charNDArray min (const charNDArray &a, const charNDArray &b)
 
charNDArray min (const charNDArray &m, char d)
 
boolNDArray mx_el_and (const char &s, const charNDArray &m)
 
boolNDArray mx_el_and (const charNDArray &m, const char &s)
 
boolNDArray mx_el_and (const charNDArray &m1, const charNDArray &m2)
 
boolNDArray mx_el_and_not (const char &s, const charNDArray &m)
 
boolNDArray mx_el_and_not (const charNDArray &m, const char &s)
 
boolNDArray mx_el_and_not (const charNDArray &m1, const charNDArray &m2)
 
boolNDArray mx_el_eq (const char &s, const charNDArray &m)
 
boolNDArray mx_el_eq (const charNDArray &m, const char &s)
 
boolNDArray mx_el_eq (const charNDArray &m1, const charNDArray &m2)
 
boolNDArray mx_el_ge (const char &s, const charNDArray &m)
 
boolNDArray mx_el_ge (const charNDArray &m, const char &s)
 
boolNDArray mx_el_ge (const charNDArray &m1, const charNDArray &m2)
 
boolNDArray mx_el_gt (const char &s, const charNDArray &m)
 
boolNDArray mx_el_gt (const charNDArray &m, const char &s)
 
boolNDArray mx_el_gt (const charNDArray &m1, const charNDArray &m2)
 
boolNDArray mx_el_le (const char &s, const charNDArray &m)
 
boolNDArray mx_el_le (const charNDArray &m, const char &s)
 
boolNDArray mx_el_le (const charNDArray &m1, const charNDArray &m2)
 
boolNDArray mx_el_lt (const char &s, const charNDArray &m)
 
boolNDArray mx_el_lt (const charNDArray &m, const char &s)
 
boolNDArray mx_el_lt (const charNDArray &m1, const charNDArray &m2)
 
boolNDArray mx_el_ne (const char &s, const charNDArray &m)
 
boolNDArray mx_el_ne (const charNDArray &m, const char &s)
 
boolNDArray mx_el_ne (const charNDArray &m1, const charNDArray &m2)
 
boolNDArray mx_el_not_and (const char &s, const charNDArray &m)
 
boolNDArray mx_el_not_and (const charNDArray &m, const char &s)
 
boolNDArray mx_el_not_and (const charNDArray &m1, const charNDArray &m2)
 
boolNDArray mx_el_not_or (const char &s, const charNDArray &m)
 
boolNDArray mx_el_not_or (const charNDArray &m, const char &s)
 
boolNDArray mx_el_not_or (const charNDArray &m1, const charNDArray &m2)
 
boolNDArray mx_el_or (const char &s, const charNDArray &m)
 
boolNDArray mx_el_or (const charNDArray &m, const char &s)
 
boolNDArray mx_el_or (const charNDArray &m1, const charNDArray &m2)
 
boolNDArray mx_el_or_not (const char &s, const charNDArray &m)
 
boolNDArray mx_el_or_not (const charNDArray &m, const char &s)
 
boolNDArray mx_el_or_not (const charNDArray &m1, const charNDArray &m2)
 

Function Documentation

◆ bsxfun_eq()

boolNDArray bsxfun_eq ( const charNDArray x,
const charNDArray y 
)

Definition at line 261 of file chNDArray.cc.

Referenced by maybe_fill_table().

◆ bsxfun_ge()

boolNDArray bsxfun_ge ( const charNDArray x,
const charNDArray y 
)

Definition at line 261 of file chNDArray.cc.

Referenced by maybe_fill_table().

◆ bsxfun_gt()

boolNDArray bsxfun_gt ( const charNDArray x,
const charNDArray y 
)

Definition at line 261 of file chNDArray.cc.

Referenced by maybe_fill_table().

◆ bsxfun_le()

boolNDArray bsxfun_le ( const charNDArray x,
const charNDArray y 
)

Definition at line 261 of file chNDArray.cc.

Referenced by maybe_fill_table().

◆ bsxfun_lt()

boolNDArray bsxfun_lt ( const charNDArray x,
const charNDArray y 
)

Definition at line 261 of file chNDArray.cc.

Referenced by maybe_fill_table().

◆ bsxfun_ne()

boolNDArray bsxfun_ne ( const charNDArray x,
const charNDArray y 
)

Definition at line 261 of file chNDArray.cc.

Referenced by maybe_fill_table().

◆ max() [1/3]

charNDArray max ( char  d,
const charNDArray m 
)

Definition at line 230 of file chNDArray.cc.

References d, do_sm_binary_op(), m, and mx_inline_xmax().

Referenced by octave::math::svd< T >::svd(), norm_accumulator_inf< R >::accum(), albeta(), basename(), bisearch(), QtHandles::Canvas::canvasMouseReleaseEvent(), Array< T >::cat(), octave_base_int_helper< T, false, true >::char_value_out_of_range(), check_hdf5_id_value(), charNDArray::concat(), octave_float_scalar::convert_to_str_internal(), octave_float_matrix::convert_to_str_internal(), octave_matrix::convert_to_str_internal(), octave_sparse_matrix::convert_to_str_internal(), octave_scalar::convert_to_str_internal(), convolve(), ddaini(), ddajac(), ddaspk(), ddassl(), ddastp(), ddstp(), dgamlm(), dim_vector::dim_max(), dlbeta(), dmatd(), do_bsxfun_op(), do_cellslices_nda(), do_dbstack(), do_inplace_bsxfun_op(), do_mat2cell(), do_mat2cell_nd(), do_minmax_bin_op(), do_minmax_bin_op< charNDArray >(), do_num2cell_helper(), do_numeric_lookup(), octave::textscan::do_scan(), do_tril(), do_triu(), dorth(), dpchim(), dpsifn(), octave::opengl_renderer::draw_axes(), octave::opengl_renderer::draw_line(), octave_int_cmp_op::emulate_mop(), idx_vector::idx_range_rep::extent(), idx_vector::idx_scalar_rep::extent(), idx_vector::idx_vector_rep::extent(), idx_vector::idx_mask_rep::extent(), F__betainc__(), F__gammainc__(), F__glpk__(), Faudiowrite(), Fcell2struct(), Fcellslices(), Fdblist(), Fdbtype(), Fdlmread(), Fevalc(), Fhistory_size(), octave::find_fcn_by_line(), Fintmax(), Fjit_startcnt(), qr< T >::form(), Fquadcc(), Frealmax(), Fsave_precision(), Fstruct_levels_to_print(), Fsymbfact(), gamlim(), genbet(), svd< T >::gesdd(), svd< T >::gesvd(), get_dim_vector(), axes::properties::get_extent(), get_mapper_fun_options(), octave::get_size(), QtHandles::qt_graphics_toolkit::get_text_extent(), MArray< T >::idx_add_nd(), img_float2uint(), qr< T >::init(), qrp< T >::init(), octave::printf_value_cache::int_value(), octave_struct::load_ascii(), octave::opengl_renderer::make_marker_list(), octave_int< T >::max(), octave_int_base< T >::max_val(), octave::set_path_dialog::move_dir_down(), octave::set_path_dialog::move_dir_up(), octave::next_power_of_2(), octave::math::nint(), octave::math::nint_big(), Array< T >::nth_element(), Range::numel_internal(), octave_qhull_dims_ok(), octave_read_fp_value(), octave::ok_for_signed_int_conv(), octave::ok_for_unsigned_int_conv(), operator-(), octave::textscan::parse_options(), pchim(), pr_min_internal(), psifn(), octave::variable_editor_view::range_selected(), rational_approx(), octave::stream::read(), read_images(), octave::opengl_renderer::render_ticktexts(), Sparse< T >::resize1(), axes::properties::rotate3d(), roundupsize(), save_mat5_array_length(), save_mat5_binary_element(), octave::textscan::scan_string(), octave::opengl_renderer::setup_opengl_transformation(), slsode(), sprepj(), sstode(), octave::string::strncmp(), octave::string::strncmpi(), octave::jit_operation::to_idx(), octave::ft_text_renderer::visit(), xclange(), xermsg(), xerprn(), xisint(), octave::xisint(), xtoo_large_for_float(), and xzlange().

◆ max() [2/3]

charNDArray max ( const charNDArray a,
const charNDArray b 
)

Definition at line 244 of file chNDArray.cc.

References do_mm_binary_op(), and mx_inline_xmax().

◆ max() [3/3]

charNDArray max ( const charNDArray m,
char  d 
)

Definition at line 237 of file chNDArray.cc.

References d, do_ms_binary_op(), m, and mx_inline_xmax().

◆ min() [1/3]

charNDArray min ( char  d,
const charNDArray m 
)

Definition at line 207 of file chNDArray.cc.

References d, do_sm_binary_op(), m, and mx_inline_xmin().

Referenced by DiagArray2< T >::DiagArray2(), octave::math::svd< T >::svd(), norm_accumulator_minf< R >::accum(), albeta(), Array< octave_value * >::assign(), octave::type_info::assign_ops_map(), octave::type_info::assignany_ops_map(), octave::type_info::binary_ops_map(), bisearch(), rec_permute_helper::blk_trans(), QtHandles::Canvas::canvasMouseReleaseEvent(), Sparse< T >::SparseRep::change_length(), MArray< double >::changesign(), check_lu_dims(), octave::type_info::compound_binary_ops_map(), d9lgmc(), ddaini(), ddajac(), ddasid(), ddasik(), ddaspk(), ddastp(), ddstp(), Array< T >::diag(), dlbeta(), dmdm_div_impl(), dmdm_leftdiv_impl(), dnedd(), dnedk(), do_leftdiv_dm_sm(), do_minmax_bin_op(), do_minmax_bin_op< charNDArray >(), do_numeric_lookup(), do_regexp_ptn_string_escapes(), do_regexp_rep_string_escapes(), do_rightdiv_sm_dm(), octave::textscan::do_scan(), octave::do_string_escapes(), do_tril(), do_triu(), dpchim(), dpsifn(), octave::opengl_renderer::draw_line(), octave::opengl_renderer::draw_surface(), octave_int_cmp_op::emulate_mop(), eps(), DiagArray2< T >::extract_diag(), Faudiowrite(), Fdbtype(), Fformat(), find_nonzero_elem_idx(), Fintmin(), octave::float_identity_matrix(), qr< T >::form(), Frealmin(), genbet(), svd< T >::gesdd(), axes::properties::get_extent(), identity_matrix(), octave::identity_matrix(), MArray< T >::idx_add(), octave::sys::strptime::init(), inner_do_add_sm_dm(), qr< T >::insert_col(), qr< T >::insert_row(), is_valid_bsxfun(), make_complex_format(), make_complex_matrix_format(), make_range_format(), make_real_format(), make_real_matrix_format(), octave_int< T >::min(), octave_int_base< T >::min_val(), octave::set_path_dialog::move_dir_down(), octave::set_path_dialog::move_dir_up(), octave::math::nint(), octave::math::nint_big(), octave::type_info::non_const_unary_ops_map(), Array< T >::nth_element(), operator-(), parse_range_spec(), octave::sys::env::pathname_backup(), pchim(), psifn(), qs_search(), r9lgmc(), octave::variable_editor_view::range_selected(), rational_approx(), octave::math::lu< T >::regular(), octave::math::qr< T >::regular(), DiagArray2< T >::resize(), Sparse< T >::resize(), Array< T >::resize1(), Array< T >::resize2(), axes::properties::rotate3d(), octave::opengl_selector::select(), octave::variable_editor_view::selected_command_requested(), octave::opengl_renderer::setup_opengl_transformation(), octave_value_list::slice(), slsode(), sprepj(), sstode(), octave::string::strncmp(), octave::string::strncmpi(), octave::type_info::unary_ops_map(), octave::load_save_system::write_header(), xclange(), xermsg(), xerprn(), xisint(), octave::xisint(), and xzlange().

◆ min() [2/3]

charNDArray min ( const charNDArray a,
const charNDArray b 
)

Definition at line 221 of file chNDArray.cc.

References do_mm_binary_op(), and mx_inline_xmin().

◆ min() [3/3]

charNDArray min ( const charNDArray m,
char  d 
)

Definition at line 214 of file chNDArray.cc.

References d, do_ms_binary_op(), m, and mx_inline_xmin().

◆ mx_el_and() [1/3]

boolNDArray mx_el_and ( const char &  s,
const charNDArray m 
)

Definition at line 256 of file chNDArray.cc.

◆ mx_el_and() [2/3]

boolNDArray mx_el_and ( const charNDArray m,
const char &  s 
)

Definition at line 253 of file chNDArray.cc.

◆ mx_el_and() [3/3]

boolNDArray mx_el_and ( const charNDArray m1,
const charNDArray m2 
)

Definition at line 259 of file chNDArray.cc.

◆ mx_el_and_not() [1/3]

boolNDArray mx_el_and_not ( const char &  s,
const charNDArray m 
)

Definition at line 256 of file chNDArray.cc.

◆ mx_el_and_not() [2/3]

boolNDArray mx_el_and_not ( const charNDArray m,
const char &  s 
)

Definition at line 253 of file chNDArray.cc.

◆ mx_el_and_not() [3/3]

boolNDArray mx_el_and_not ( const charNDArray m1,
const charNDArray m2 
)

Definition at line 259 of file chNDArray.cc.

◆ mx_el_eq() [1/3]

boolNDArray mx_el_eq ( const char &  s,
const charNDArray m 
)

Definition at line 255 of file chNDArray.cc.

◆ mx_el_eq() [2/3]

boolNDArray mx_el_eq ( const charNDArray m,
const char &  s 
)

Definition at line 252 of file chNDArray.cc.

◆ mx_el_eq() [3/3]

boolNDArray mx_el_eq ( const charNDArray m1,
const charNDArray m2 
)

Definition at line 258 of file chNDArray.cc.

◆ mx_el_ge() [1/3]

boolNDArray mx_el_ge ( const char &  s,
const charNDArray m 
)

Definition at line 255 of file chNDArray.cc.

◆ mx_el_ge() [2/3]

boolNDArray mx_el_ge ( const charNDArray m,
const char &  s 
)

Definition at line 252 of file chNDArray.cc.

◆ mx_el_ge() [3/3]

boolNDArray mx_el_ge ( const charNDArray m1,
const charNDArray m2 
)

Definition at line 258 of file chNDArray.cc.

◆ mx_el_gt() [1/3]

boolNDArray mx_el_gt ( const char &  s,
const charNDArray m 
)

Definition at line 255 of file chNDArray.cc.

◆ mx_el_gt() [2/3]

boolNDArray mx_el_gt ( const charNDArray m,
const char &  s 
)

Definition at line 252 of file chNDArray.cc.

◆ mx_el_gt() [3/3]

boolNDArray mx_el_gt ( const charNDArray m1,
const charNDArray m2 
)

Definition at line 258 of file chNDArray.cc.

◆ mx_el_le() [1/3]

boolNDArray mx_el_le ( const char &  s,
const charNDArray m 
)

Definition at line 255 of file chNDArray.cc.

◆ mx_el_le() [2/3]

boolNDArray mx_el_le ( const charNDArray m,
const char &  s 
)

Definition at line 252 of file chNDArray.cc.

◆ mx_el_le() [3/3]

boolNDArray mx_el_le ( const charNDArray m1,
const charNDArray m2 
)

Definition at line 258 of file chNDArray.cc.

◆ mx_el_lt() [1/3]

boolNDArray mx_el_lt ( const char &  s,
const charNDArray m 
)

Definition at line 255 of file chNDArray.cc.

◆ mx_el_lt() [2/3]

boolNDArray mx_el_lt ( const charNDArray m,
const char &  s 
)

Definition at line 252 of file chNDArray.cc.

◆ mx_el_lt() [3/3]

boolNDArray mx_el_lt ( const charNDArray m1,
const charNDArray m2 
)

Definition at line 258 of file chNDArray.cc.

◆ mx_el_ne() [1/3]

boolNDArray mx_el_ne ( const char &  s,
const charNDArray m 
)

Definition at line 255 of file chNDArray.cc.

◆ mx_el_ne() [2/3]

boolNDArray mx_el_ne ( const charNDArray m,
const char &  s 
)

Definition at line 252 of file chNDArray.cc.

◆ mx_el_ne() [3/3]

boolNDArray mx_el_ne ( const charNDArray m1,
const charNDArray m2 
)

Definition at line 258 of file chNDArray.cc.

◆ mx_el_not_and() [1/3]

boolNDArray mx_el_not_and ( const char &  s,
const charNDArray m 
)

Definition at line 256 of file chNDArray.cc.

◆ mx_el_not_and() [2/3]

boolNDArray mx_el_not_and ( const charNDArray m,
const char &  s 
)

Definition at line 253 of file chNDArray.cc.

◆ mx_el_not_and() [3/3]

boolNDArray mx_el_not_and ( const charNDArray m1,
const charNDArray m2 
)

Definition at line 259 of file chNDArray.cc.

◆ mx_el_not_or() [1/3]

boolNDArray mx_el_not_or ( const char &  s,
const charNDArray m 
)

Definition at line 256 of file chNDArray.cc.

◆ mx_el_not_or() [2/3]

boolNDArray mx_el_not_or ( const charNDArray m,
const char &  s 
)

Definition at line 253 of file chNDArray.cc.

◆ mx_el_not_or() [3/3]

boolNDArray mx_el_not_or ( const charNDArray m1,
const charNDArray m2 
)

Definition at line 259 of file chNDArray.cc.

◆ mx_el_or() [1/3]

boolNDArray mx_el_or ( const char &  s,
const charNDArray m 
)

Definition at line 256 of file chNDArray.cc.

◆ mx_el_or() [2/3]

boolNDArray mx_el_or ( const charNDArray m,
const char &  s 
)

Definition at line 253 of file chNDArray.cc.

◆ mx_el_or() [3/3]

boolNDArray mx_el_or ( const charNDArray m1,
const charNDArray m2 
)

Definition at line 259 of file chNDArray.cc.

◆ mx_el_or_not() [1/3]

boolNDArray mx_el_or_not ( const char &  s,
const charNDArray m 
)

Definition at line 256 of file chNDArray.cc.

◆ mx_el_or_not() [2/3]

boolNDArray mx_el_or_not ( const charNDArray m,
const char &  s 
)

Definition at line 253 of file chNDArray.cc.

◆ mx_el_or_not() [3/3]

boolNDArray mx_el_or_not ( const charNDArray m1,
const charNDArray m2 
)

Definition at line 259 of file chNDArray.cc.