GNU Octave  9.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"

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.

◆ bsxfun_ge()

boolNDArray bsxfun_ge ( const charNDArray x,
const charNDArray y 
)

Definition at line 261 of file chNDArray.cc.

◆ bsxfun_gt()

boolNDArray bsxfun_gt ( const charNDArray x,
const charNDArray y 
)

Definition at line 261 of file chNDArray.cc.

◆ bsxfun_le()

boolNDArray bsxfun_le ( const charNDArray x,
const charNDArray y 
)

Definition at line 261 of file chNDArray.cc.

◆ bsxfun_lt()

boolNDArray bsxfun_lt ( const charNDArray x,
const charNDArray y 
)

Definition at line 261 of file chNDArray.cc.

◆ bsxfun_ne()

boolNDArray bsxfun_ne ( const charNDArray x,
const charNDArray y 
)

Definition at line 261 of file chNDArray.cc.

◆ 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 svd< T >::svd(), albeta(), octave_base_int_matrix< intNDArray< octave_uint64 > >::as_int64(), Array< T, Alloc >::cat(), 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(), ov_range< T >::could_be_trivial_range(), ddaini(), ddajac(), ddaspk(), ddassl(), ddastp(), ddstp(), dgamlm(), dim_vector::dim_max(), dlbeta(), dlsode(), dmatd(), do_bsxfun_op(), do_inplace_bsxfun_op(), do_minmax_bin_op< charNDArray >(), dorth(), dpchim(), dprepj(), dpsifn(), opengl_renderer::draw_axes(), opengl_renderer::draw_line(), dstode(), octave_int_cmp_op::emulate_mop(), F__betainc__(), F__gammainc__(), F__glpk__(), Fdblist(), octave::Fevalc(), octave::Fhistory_size(), Fintmax(), from_size_t(), from_suitesparse_long(), Fsymrcm(), octave::Furlread(), gamlim(), genbet(), axes::properties::get_extent(), text::properties::get_extent_matrix(), axes::properties::get_x_max(), axes::properties::get_y_max(), axes::properties::get_z_max(), MArray< T >::idx_add_nd(), octave_struct::load_ascii(), octave_int< T >::max(), octave_int_base< T >::max_val(), mx_inline_xmax(), nint(), nint_big(), operator-(), pchim(), psifn(), rational_approx(), read_fp_value(), octave::read_images(), opengl_renderer::render_ticktexts(), Sparse< T, Alloc >::resize1(), axes::properties::rotate3d(), octave_sparse_bool_matrix::save_binary(), save_mat5_array_length(), save_mat5_binary_element(), opengl_renderer::setup_opengl_transformation(), slsode(), sprepj(), sstode(), too_large_for_float(), xclange(), xermsg(), xerprn(), xinit(), 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(), albeta(), type_info::assign_ops_map(), type_info::assignany_ops_map(), type_info::binary_ops_map(), type_info::compound_binary_ops_map(), ov_range< T >::could_be_trivial_range(), d9lgmc(), ddaini(), ddajac(), ddasid(), ddasik(), ddaspk(), ddastp(), ddstp(), Array< T, Alloc >::diag(), dlbeta(), dlsode(), dmdm_div_impl(), dmdm_leftdiv_impl(), dnedd(), dnedk(), do_leftdiv_dm_sm(), do_minmax_bin_op< charNDArray >(), do_rightdiv_sm_dm(), octave::do_string_escapes(), dpchim(), dprepj(), dpsifn(), opengl_renderer::draw_line(), opengl_renderer::draw_surface(), dstode(), octave_int_cmp_op::emulate_mop(), eps(), DiagArray2< T >::extract_diag(), Fformat(), find_nonzero_elem_idx(), Fintmin(), octave::float_identity_matrix(), from_suitesparse_long(), octave::Furlread(), genbet(), axes::properties::get_extent(), text::properties::get_extent_matrix(), axes::properties::get_x_min(), axes::properties::get_y_min(), axes::properties::get_z_min(), Array< octave_value * >::hermitian(), identity_matrix(), octave::identity_matrix(), MArray< T >::idx_add(), MArray< T >::idx_max(), init_mersenne_twister(), inner_do_add_sm_dm(), qr< T >::insert_col(), qr< T >::insert_row(), is_valid_bsxfun(), octave_int< T >::min(), octave_int_base< T >::min_val(), mx_inline_xmin(), nint(), nint_big(), type_info::non_const_unary_ops_map(), operator-(), pchim(), psifn(), r9lgmc(), rational_approx(), lu< T >::regular(), qr< T >::regular(), DiagArray2< T >::resize(), Sparse< T, Alloc >::resize(), Array< T, Alloc >::resize2(), axes::properties::rotate3d(), octave_value_list::slice(), slsode(), sprepj(), sstode(), type_info::unary_ops_map(), xclange(), xermsg(), xerprn(), 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.