GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
CNDArray.cc File Reference
#include <complex>
#include <istream>
#include <ostream>
#include "Array-util.h"
#include "CNDArray.h"
#include "f77-fcn.h"
#include "lo-ieee.h"
#include "lo-mappers.h"
#include "mx-base.h"
#include "mx-cnda-s.h"
#include "mx-op-defs.h"
#include "oct-fftw.h"
#include "oct-locbuf.h"
#include "bsxfun-defs.cc"
Include dependency graph for CNDArray.cc:

Go to the source code of this file.

Functions

ComplexNDArray bsxfun_add (const ComplexNDArray &x, const ComplexNDArray &y)
 
ComplexNDArray bsxfun_div (const ComplexNDArray &x, const ComplexNDArray &y)
 
boolNDArray bsxfun_eq (const ComplexNDArray &x, const ComplexNDArray &y)
 
boolNDArray bsxfun_ge (const ComplexNDArray &x, const ComplexNDArray &y)
 
boolNDArray bsxfun_gt (const ComplexNDArray &x, const ComplexNDArray &y)
 
boolNDArray bsxfun_le (const ComplexNDArray &x, const ComplexNDArray &y)
 
boolNDArray bsxfun_lt (const ComplexNDArray &x, const ComplexNDArray &y)
 
ComplexNDArray bsxfun_max (const ComplexNDArray &x, const ComplexNDArray &y)
 
ComplexNDArray bsxfun_min (const ComplexNDArray &x, const ComplexNDArray &y)
 
ComplexNDArray bsxfun_mul (const ComplexNDArray &x, const ComplexNDArray &y)
 
boolNDArray bsxfun_ne (const ComplexNDArray &x, const ComplexNDArray &y)
 
ComplexNDArray bsxfun_pow (const ComplexNDArray &x, const ComplexNDArray &y)
 
ComplexNDArray bsxfun_sub (const ComplexNDArray &x, const ComplexNDArray &y)
 
static const Complex Complex_NaN_result (octave::numeric_limits< double >::NaN(), octave::numeric_limits< double >::NaN())
 
ComplexNDArray concat (NDArray &ra, ComplexNDArray &rb, const Array< octave_idx_type > &ra_idx)
 
ComplexNDArray conj (const ComplexNDArray &a)
 
ComplexNDArray max (Complex d, const ComplexNDArray &m)
 
ComplexNDArray max (const ComplexNDArray &a, const ComplexNDArray &b)
 
ComplexNDArray max (const ComplexNDArray &m, Complex d)
 
ComplexNDArray min (Complex d, const ComplexNDArray &m)
 
ComplexNDArray min (const ComplexNDArray &a, const ComplexNDArray &b)
 
ComplexNDArray min (const ComplexNDArray &m, Complex d)
 
boolNDArray mx_el_and (const Complex &s, const ComplexNDArray &m)
 
boolNDArray mx_el_and (const ComplexNDArray &m, const Complex &s)
 
boolNDArray mx_el_and (const ComplexNDArray &m1, const ComplexNDArray &m2)
 
boolNDArray mx_el_and_not (const Complex &s, const ComplexNDArray &m)
 
boolNDArray mx_el_and_not (const ComplexNDArray &m, const Complex &s)
 
boolNDArray mx_el_and_not (const ComplexNDArray &m1, const ComplexNDArray &m2)
 
boolNDArray mx_el_eq (const Complex &s, const ComplexNDArray &m)
 
boolNDArray mx_el_eq (const ComplexNDArray &m, const Complex &s)
 
boolNDArray mx_el_eq (const ComplexNDArray &m1, const ComplexNDArray &m2)
 
boolNDArray mx_el_ge (const Complex &s, const ComplexNDArray &m)
 
boolNDArray mx_el_ge (const ComplexNDArray &m, const Complex &s)
 
boolNDArray mx_el_ge (const ComplexNDArray &m1, const ComplexNDArray &m2)
 
boolNDArray mx_el_gt (const Complex &s, const ComplexNDArray &m)
 
boolNDArray mx_el_gt (const ComplexNDArray &m, const Complex &s)
 
boolNDArray mx_el_gt (const ComplexNDArray &m1, const ComplexNDArray &m2)
 
boolNDArray mx_el_le (const Complex &s, const ComplexNDArray &m)
 
boolNDArray mx_el_le (const ComplexNDArray &m, const Complex &s)
 
boolNDArray mx_el_le (const ComplexNDArray &m1, const ComplexNDArray &m2)
 
boolNDArray mx_el_lt (const Complex &s, const ComplexNDArray &m)
 
boolNDArray mx_el_lt (const ComplexNDArray &m, const Complex &s)
 
boolNDArray mx_el_lt (const ComplexNDArray &m1, const ComplexNDArray &m2)
 
boolNDArray mx_el_ne (const Complex &s, const ComplexNDArray &m)
 
boolNDArray mx_el_ne (const ComplexNDArray &m, const Complex &s)
 
boolNDArray mx_el_ne (const ComplexNDArray &m1, const ComplexNDArray &m2)
 
boolNDArray mx_el_not_and (const Complex &s, const ComplexNDArray &m)
 
boolNDArray mx_el_not_and (const ComplexNDArray &m, const Complex &s)
 
boolNDArray mx_el_not_and (const ComplexNDArray &m1, const ComplexNDArray &m2)
 
boolNDArray mx_el_not_or (const Complex &s, const ComplexNDArray &m)
 
boolNDArray mx_el_not_or (const ComplexNDArray &m, const Complex &s)
 
boolNDArray mx_el_not_or (const ComplexNDArray &m1, const ComplexNDArray &m2)
 
boolNDArray mx_el_or (const Complex &s, const ComplexNDArray &m)
 
boolNDArray mx_el_or (const ComplexNDArray &m, const Complex &s)
 
boolNDArray mx_el_or (const ComplexNDArray &m1, const ComplexNDArray &m2)
 
boolNDArray mx_el_or_not (const Complex &s, const ComplexNDArray &m)
 
boolNDArray mx_el_or_not (const ComplexNDArray &m, const Complex &s)
 
boolNDArray mx_el_or_not (const ComplexNDArray &m1, const ComplexNDArray &m2)
 
ComplexNDArrayoperator*= (ComplexNDArray &a, double s)
 
ComplexNDArrayoperator/= (ComplexNDArray &a, double s)
 
std::ostream & operator<< (std::ostream &os, const ComplexNDArray &a)
 
std::istream & operator>> (std::istream &is, ComplexNDArray &a)
 

Function Documentation

◆ bsxfun_add()

ComplexNDArray bsxfun_add ( const ComplexNDArray x,
const ComplexNDArray y 
)

Definition at line 660 of file CNDArray.cc.

◆ bsxfun_div()

ComplexNDArray bsxfun_div ( const ComplexNDArray x,
const ComplexNDArray y 
)

Definition at line 660 of file CNDArray.cc.

◆ bsxfun_eq()

boolNDArray bsxfun_eq ( const ComplexNDArray x,
const ComplexNDArray y 
)

Definition at line 661 of file CNDArray.cc.

◆ bsxfun_ge()

boolNDArray bsxfun_ge ( const ComplexNDArray x,
const ComplexNDArray y 
)

Definition at line 661 of file CNDArray.cc.

◆ bsxfun_gt()

boolNDArray bsxfun_gt ( const ComplexNDArray x,
const ComplexNDArray y 
)

Definition at line 661 of file CNDArray.cc.

◆ bsxfun_le()

boolNDArray bsxfun_le ( const ComplexNDArray x,
const ComplexNDArray y 
)

Definition at line 661 of file CNDArray.cc.

◆ bsxfun_lt()

boolNDArray bsxfun_lt ( const ComplexNDArray x,
const ComplexNDArray y 
)

Definition at line 661 of file CNDArray.cc.

◆ bsxfun_max()

ComplexNDArray bsxfun_max ( const ComplexNDArray x,
const ComplexNDArray y 
)

Definition at line 660 of file CNDArray.cc.

◆ bsxfun_min()

ComplexNDArray bsxfun_min ( const ComplexNDArray x,
const ComplexNDArray y 
)

Definition at line 660 of file CNDArray.cc.

◆ bsxfun_mul()

ComplexNDArray bsxfun_mul ( const ComplexNDArray x,
const ComplexNDArray y 
)

Definition at line 660 of file CNDArray.cc.

◆ bsxfun_ne()

boolNDArray bsxfun_ne ( const ComplexNDArray x,
const ComplexNDArray y 
)

Definition at line 661 of file CNDArray.cc.

◆ bsxfun_pow()

OCTAVE_API ComplexNDArray bsxfun_pow ( const ComplexNDArray x,
const ComplexNDArray y 
)

Definition at line 663 of file CNDArray.cc.

Referenced by do_bsxfun_real_pow(), elem_xpow(), and maybe_fill_table().

◆ bsxfun_sub()

ComplexNDArray bsxfun_sub ( const ComplexNDArray x,
const ComplexNDArray y 
)

Definition at line 660 of file CNDArray.cc.

◆ Complex_NaN_result()

static const Complex Complex_NaN_result ( octave::numeric_limits< double >  ::NaN(),
octave::numeric_limits< double >  ::NaN() 
)
static

◆ concat()

◆ conj()

ComplexNDArray conj ( const ComplexNDArray a)

Definition at line 502 of file CNDArray.cc.

◆ max() [1/3]

ComplexNDArray max ( Complex  d,
const ComplexNDArray m 
)

Definition at line 631 of file CNDArray.cc.

◆ max() [2/3]

ComplexNDArray max ( const ComplexNDArray a,
const ComplexNDArray b 
)

Definition at line 631 of file CNDArray.cc.

◆ max() [3/3]

ComplexNDArray max ( const ComplexNDArray m,
Complex  d 
)

Definition at line 631 of file CNDArray.cc.

◆ min() [1/3]

ComplexNDArray min ( Complex  d,
const ComplexNDArray m 
)

Definition at line 631 of file CNDArray.cc.

◆ min() [2/3]

ComplexNDArray min ( const ComplexNDArray a,
const ComplexNDArray b 
)

Definition at line 631 of file CNDArray.cc.

◆ min() [3/3]

ComplexNDArray min ( const ComplexNDArray m,
Complex  d 
)

Definition at line 631 of file CNDArray.cc.

◆ mx_el_and() [1/3]

boolNDArray mx_el_and ( const Complex s,
const ComplexNDArray m 
)

Definition at line 637 of file CNDArray.cc.

◆ mx_el_and() [2/3]

boolNDArray mx_el_and ( const ComplexNDArray m,
const Complex s 
)

Definition at line 634 of file CNDArray.cc.

◆ mx_el_and() [3/3]

boolNDArray mx_el_and ( const ComplexNDArray m1,
const ComplexNDArray m2 
)

Definition at line 640 of file CNDArray.cc.

◆ mx_el_and_not() [1/3]

boolNDArray mx_el_and_not ( const Complex s,
const ComplexNDArray m 
)

Definition at line 637 of file CNDArray.cc.

◆ mx_el_and_not() [2/3]

boolNDArray mx_el_and_not ( const ComplexNDArray m,
const Complex s 
)

Definition at line 634 of file CNDArray.cc.

◆ mx_el_and_not() [3/3]

boolNDArray mx_el_and_not ( const ComplexNDArray m1,
const ComplexNDArray m2 
)

Definition at line 640 of file CNDArray.cc.

◆ mx_el_eq() [1/3]

boolNDArray mx_el_eq ( const Complex s,
const ComplexNDArray m 
)

Definition at line 636 of file CNDArray.cc.

◆ mx_el_eq() [2/3]

boolNDArray mx_el_eq ( const ComplexNDArray m,
const Complex s 
)

Definition at line 633 of file CNDArray.cc.

◆ mx_el_eq() [3/3]

boolNDArray mx_el_eq ( const ComplexNDArray m1,
const ComplexNDArray m2 
)

Definition at line 639 of file CNDArray.cc.

◆ mx_el_ge() [1/3]

boolNDArray mx_el_ge ( const Complex s,
const ComplexNDArray m 
)

Definition at line 636 of file CNDArray.cc.

◆ mx_el_ge() [2/3]

boolNDArray mx_el_ge ( const ComplexNDArray m,
const Complex s 
)

Definition at line 633 of file CNDArray.cc.

◆ mx_el_ge() [3/3]

boolNDArray mx_el_ge ( const ComplexNDArray m1,
const ComplexNDArray m2 
)

Definition at line 639 of file CNDArray.cc.

◆ mx_el_gt() [1/3]

boolNDArray mx_el_gt ( const Complex s,
const ComplexNDArray m 
)

Definition at line 636 of file CNDArray.cc.

◆ mx_el_gt() [2/3]

boolNDArray mx_el_gt ( const ComplexNDArray m,
const Complex s 
)

Definition at line 633 of file CNDArray.cc.

◆ mx_el_gt() [3/3]

boolNDArray mx_el_gt ( const ComplexNDArray m1,
const ComplexNDArray m2 
)

Definition at line 639 of file CNDArray.cc.

◆ mx_el_le() [1/3]

boolNDArray mx_el_le ( const Complex s,
const ComplexNDArray m 
)

Definition at line 636 of file CNDArray.cc.

◆ mx_el_le() [2/3]

boolNDArray mx_el_le ( const ComplexNDArray m,
const Complex s 
)

Definition at line 633 of file CNDArray.cc.

◆ mx_el_le() [3/3]

boolNDArray mx_el_le ( const ComplexNDArray m1,
const ComplexNDArray m2 
)

Definition at line 639 of file CNDArray.cc.

◆ mx_el_lt() [1/3]

boolNDArray mx_el_lt ( const Complex s,
const ComplexNDArray m 
)

Definition at line 636 of file CNDArray.cc.

◆ mx_el_lt() [2/3]

boolNDArray mx_el_lt ( const ComplexNDArray m,
const Complex s 
)

Definition at line 633 of file CNDArray.cc.

◆ mx_el_lt() [3/3]

boolNDArray mx_el_lt ( const ComplexNDArray m1,
const ComplexNDArray m2 
)

Definition at line 639 of file CNDArray.cc.

◆ mx_el_ne() [1/3]

boolNDArray mx_el_ne ( const Complex s,
const ComplexNDArray m 
)

Definition at line 636 of file CNDArray.cc.

◆ mx_el_ne() [2/3]

boolNDArray mx_el_ne ( const ComplexNDArray m,
const Complex s 
)

Definition at line 633 of file CNDArray.cc.

◆ mx_el_ne() [3/3]

boolNDArray mx_el_ne ( const ComplexNDArray m1,
const ComplexNDArray m2 
)

Definition at line 639 of file CNDArray.cc.

◆ mx_el_not_and() [1/3]

boolNDArray mx_el_not_and ( const Complex s,
const ComplexNDArray m 
)

Definition at line 637 of file CNDArray.cc.

◆ mx_el_not_and() [2/3]

boolNDArray mx_el_not_and ( const ComplexNDArray m,
const Complex s 
)

Definition at line 634 of file CNDArray.cc.

◆ mx_el_not_and() [3/3]

boolNDArray mx_el_not_and ( const ComplexNDArray m1,
const ComplexNDArray m2 
)

Definition at line 640 of file CNDArray.cc.

◆ mx_el_not_or() [1/3]

boolNDArray mx_el_not_or ( const Complex s,
const ComplexNDArray m 
)

Definition at line 637 of file CNDArray.cc.

◆ mx_el_not_or() [2/3]

boolNDArray mx_el_not_or ( const ComplexNDArray m,
const Complex s 
)

Definition at line 634 of file CNDArray.cc.

◆ mx_el_not_or() [3/3]

boolNDArray mx_el_not_or ( const ComplexNDArray m1,
const ComplexNDArray m2 
)

Definition at line 640 of file CNDArray.cc.

◆ mx_el_or() [1/3]

boolNDArray mx_el_or ( const Complex s,
const ComplexNDArray m 
)

Definition at line 637 of file CNDArray.cc.

◆ mx_el_or() [2/3]

boolNDArray mx_el_or ( const ComplexNDArray m,
const Complex s 
)

Definition at line 634 of file CNDArray.cc.

◆ mx_el_or() [3/3]

boolNDArray mx_el_or ( const ComplexNDArray m1,
const ComplexNDArray m2 
)

Definition at line 640 of file CNDArray.cc.

◆ mx_el_or_not() [1/3]

boolNDArray mx_el_or_not ( const Complex s,
const ComplexNDArray m 
)

Definition at line 637 of file CNDArray.cc.

◆ mx_el_or_not() [2/3]

boolNDArray mx_el_or_not ( const ComplexNDArray m,
const Complex s 
)

Definition at line 634 of file CNDArray.cc.

◆ mx_el_or_not() [3/3]

boolNDArray mx_el_or_not ( const ComplexNDArray m1,
const ComplexNDArray m2 
)

Definition at line 640 of file CNDArray.cc.

◆ operator*=()

ComplexNDArray& operator*= ( ComplexNDArray a,
double  s 
)

Definition at line 642 of file CNDArray.cc.

References mx_inline_mul2().

◆ operator/=()

ComplexNDArray& operator/= ( ComplexNDArray a,
double  s 
)

Definition at line 651 of file CNDArray.cc.

References Array< T >::is_shared(), and mx_inline_div2().

◆ operator<<()

std::ostream& operator<< ( std::ostream &  os,
const ComplexNDArray a 
)

Definition at line 596 of file CNDArray.cc.

◆ operator>>()

std::istream& operator>> ( std::istream &  is,
ComplexNDArray a 
)

Definition at line 611 of file CNDArray.cc.