GNU Octave  8.1.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 gsvd< T >::gsvd(), rec_index_helper::rec_index_helper(), svd< T >::svd(), norm_accumulator_inf< R >::accum(), albeta(), octave_base_int_matrix< intNDArray< octave_uint64 > >::as_int64(), basename(), bisearch(), Canvas::canvasMouseReleaseEvent(), Array< T, Alloc >::cat(), check_hdf5_id_value(), ft_text_renderer::compute_bbox(), charNDArray::concat(), octave_float_scalar::convert_to_str_internal(), octave_float_matrix::convert_to_str_internal(), octave_base_magic_int< T >::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(), dlsode(), 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(), textscan::do_scan(), do_tril(), do_trilu(), do_triu(), dorth(), dpchim(), dprepj(), dpsifn(), opengl_renderer::draw_axes(), opengl_renderer::draw_axes_x_grid(), opengl_renderer::draw_axes_y_grid(), opengl_renderer::draw_line(), dstode(), 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(), find_fcn_by_line(), Fintmax(), qr< T >::form(), Fquadcc(), Frealmax(), from_size_t(), from_suitesparse_long(), Fsave_precision(), Fstruct_levels_to_print(), Fsymbfact(), gamlim(), genbet(), svd< T >::gesdd(), svd< T >::gesvd(), get_dim_vector(), get_mapper_fun_options(), get_size(), qt_graphics_toolkit::get_text_extent(), base_lexer::handle_number(), MArray< T >::idx_add_nd(), img_float2uint(), qr< T >::init(), qrp< T >::init(), printf_value_cache::int_value(), octave_struct::load_ascii(), opengl_renderer::make_marker_list(), octave_int< T >::max(), max_axes_scale(), octave_int_base< T >::max_val(), set_path_dialog::move_dir_down(), set_path_dialog::move_dir_up(), mx_inline_xmax(), next_power_of_2(), nint(), nint_big(), Array< T, Alloc >::nth_element(), Range::numel_internal(), oct_unop_unsigned_uminus(), octave_qhull_dims_ok(), ok_for_signed_int_conv(), ok_for_unsigned_int_conv(), operator-(), gejsv_lwork< T >::optimal(), textscan::parse_options(), pchim(), pr_min_internal(), ft_text_renderer::process_character(), psifn(), variable_editor_view::range_selected(), rational_approx(), stream::read(), read_fp_value(), read_images(), delimited_stream::remaining(), opengl_renderer::render_ticktexts(), Sparse< T, Alloc >::resize1(), roundupsize(), save_mat5_array_length(), save_mat5_binary_element(), textscan::scan_string(), opengl_renderer::setup_opengl_transformation(), slsode(), sprepj(), sstode(), too_large_for_float(), ft_text_renderer::visit(), xclange(), xermsg(), xerprn(), xinit(), xisint(), xnumel_internal(), 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(), svd< T >::svd(), norm_accumulator_minf< R >::accum(), albeta(), type_info::assign_ops_map(), type_info::assignany_ops_map(), type_info::binary_ops_map(), bisearch(), rec_permute_helper::blk_trans(), Canvas::canvasMouseReleaseEvent(), check_lu_dims(), type_info::compound_binary_ops_map(), d9lgmc(), ddaini(), ddajac(), ddasid(), ddasik(), ddaspk(), ddastp(), ddstp(), Array< T, Alloc >::diag(), dlbeta(), dlsode(), dmdm_div_impl(), dmdm_leftdiv_impl(), dnedd(), dnedk(), do_dbstack(), 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(), textscan::do_scan(), do_string_escapes(), do_tril(), do_trilu(), do_triu(), dpchim(), dprepj(), dpsifn(), opengl_renderer::draw_axes_x_grid(), opengl_renderer::draw_axes_y_grid(), opengl_renderer::draw_line(), opengl_renderer::draw_surface(), dstode(), octave_int_cmp_op::emulate_mop(), eps(), DiagArray2< T >::extract_diag(), Faudiowrite(), Fdbtype(), Fformat(), find_nonzero_elem_idx(), Fintmin(), float_identity_matrix(), qr< T >::form(), Frealmin(), from_suitesparse_long(), genbet(), svd< T >::gesdd(), Array< octave_value * >::hermitian(), identity_matrix(), MArray< T >::idx_add(), MArray< T >::idx_max(), strptime::init(), init_mersenne_twister(), 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(), set_path_dialog::move_dir_down(), set_path_dialog::move_dir_up(), mx_inline_xmin(), nint(), nint_big(), type_info::non_const_unary_ops_map(), normalized_aspectratios(), Array< T, Alloc >::nth_element(), oct_unop_unsigned_uminus(), operator-(), parse_range_spec(), env::pathname_backup(), pchim(), ft_text_renderer::process_character(), psifn(), qs_search(), r9lgmc(), variable_editor_view::range_selected(), rational_approx(), delimited_stream::refresh_buf(), lu< T >::regular(), qr< T >::regular(), DiagArray2< T >::resize(), Sparse< T, Alloc >::resize(), Array< T, Alloc >::resize2(), opengl_selector::select(), variable_editor_view::selected_command_requested(), octave_value_list::slice(), slsode(), sprepj(), sstode(), type_info::unary_ops_map(), load_save_system::write_header(), xclange(), xermsg(), xerprn(), 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.