GNU Octave  4.4.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
dNDArray.cc File Reference
#include <iostream>
#include <limits>
#include "Array-util.h"
#include "dNDArray.h"
#include "f77-fcn.h"
#include "functor.h"
#include "lo-error.h"
#include "lo-ieee.h"
#include "lo-mappers.h"
#include "mx-base.h"
#include "mx-op-defs.h"
#include "oct-fftw.h"
#include "oct-locbuf.h"
#include "bsxfun-defs.cc"
Include dependency graph for dNDArray.cc:

Go to the source code of this file.

Functions

NDArray bsxfun_add (const NDArray &x, const NDArray &y)
 
NDArray bsxfun_div (const NDArray &x, const NDArray &y)
 
boolNDArray bsxfun_eq (const NDArray &x, const NDArray &y)
 
boolNDArray bsxfun_ge (const NDArray &x, const NDArray &y)
 
boolNDArray bsxfun_gt (const NDArray &x, const NDArray &y)
 
boolNDArray bsxfun_le (const NDArray &x, const NDArray &y)
 
boolNDArray bsxfun_lt (const NDArray &x, const NDArray &y)
 
NDArray bsxfun_max (const NDArray &x, const NDArray &y)
 
NDArray bsxfun_min (const NDArray &x, const NDArray &y)
 
NDArray bsxfun_mul (const NDArray &x, const NDArray &y)
 
boolNDArray bsxfun_ne (const NDArray &x, const NDArray &y)
 
NDArray bsxfun_pow (const NDArray &x, const NDArray &y)
 
ComplexNDArray bsxfun_pow (const ComplexNDArray &x, const NDArray &y)
 
ComplexNDArray bsxfun_pow (const NDArray &x, const ComplexNDArray &y)
 
NDArray bsxfun_sub (const NDArray &x, const NDArray &y)
 
NDArray imag (const ComplexNDArray &a)
 
NDArray max (const NDArray &m, double d)
 
NDArray max (double d, const NDArray &m)
 
NDArray max (const NDArray &a, const NDArray &b)
 
NDArray min (double d, const NDArray &m)
 
NDArray min (const NDArray &m, double d)
 
NDArray min (const NDArray &a, const NDArray &b)
 
boolNDArray mx_el_and (const NDArray &m, const double &s)
 
boolNDArray mx_el_and (const double &s, const NDArray &m)
 
boolNDArray mx_el_and (const NDArray &m1, const NDArray &m2)
 
boolNDArray mx_el_and_not (const NDArray &m, const double &s)
 
boolNDArray mx_el_and_not (const double &s, const NDArray &m)
 
boolNDArray mx_el_and_not (const NDArray &m1, const NDArray &m2)
 
boolNDArray mx_el_eq (const NDArray &m, const double &s)
 
boolNDArray mx_el_eq (const double &s, const NDArray &m)
 
boolNDArray mx_el_eq (const NDArray &m1, const NDArray &m2)
 
boolNDArray mx_el_ge (const NDArray &m, const double &s)
 
boolNDArray mx_el_ge (const double &s, const NDArray &m)
 
boolNDArray mx_el_ge (const NDArray &m1, const NDArray &m2)
 
boolNDArray mx_el_gt (const NDArray &m, const double &s)
 
boolNDArray mx_el_gt (const double &s, const NDArray &m)
 
boolNDArray mx_el_gt (const NDArray &m1, const NDArray &m2)
 
boolNDArray mx_el_le (const NDArray &m, const double &s)
 
boolNDArray mx_el_le (const double &s, const NDArray &m)
 
boolNDArray mx_el_le (const NDArray &m1, const NDArray &m2)
 
boolNDArray mx_el_lt (const NDArray &m, const double &s)
 
boolNDArray mx_el_lt (const double &s, const NDArray &m)
 
boolNDArray mx_el_lt (const NDArray &m1, const NDArray &m2)
 
boolNDArray mx_el_ne (const NDArray &m, const double &s)
 
boolNDArray mx_el_ne (const double &s, const NDArray &m)
 
boolNDArray mx_el_ne (const NDArray &m1, const NDArray &m2)
 
boolNDArray mx_el_not_and (const NDArray &m, const double &s)
 
boolNDArray mx_el_not_and (const double &s, const NDArray &m)
 
boolNDArray mx_el_not_and (const NDArray &m1, const NDArray &m2)
 
boolNDArray mx_el_not_or (const NDArray &m, const double &s)
 
boolNDArray mx_el_not_or (const double &s, const NDArray &m)
 
boolNDArray mx_el_not_or (const NDArray &m1, const NDArray &m2)
 
boolNDArray mx_el_or (const NDArray &m, const double &s)
 
boolNDArray mx_el_or (const double &s, const NDArray &m)
 
boolNDArray mx_el_or (const NDArray &m1, const NDArray &m2)
 
boolNDArray mx_el_or_not (const NDArray &m, const double &s)
 
boolNDArray mx_el_or_not (const double &s, const NDArray &m)
 
boolNDArray mx_el_or_not (const NDArray &m1, const NDArray &m2)
 
std::ostream & operator<< (std::ostream &os, const NDArray &a)
 
std::istream & operator>> (std::istream &is, NDArray &a)
 
NDArray real (const ComplexNDArray &a)
 

Function Documentation

◆ bsxfun_add()

NDArray bsxfun_add ( const NDArray x,
const NDArray y 
)

Definition at line 902 of file dNDArray.cc.

◆ bsxfun_div()

NDArray bsxfun_div ( const NDArray x,
const NDArray y 
)

Definition at line 902 of file dNDArray.cc.

◆ bsxfun_eq()

boolNDArray bsxfun_eq ( const NDArray x,
const NDArray y 
)

Definition at line 903 of file dNDArray.cc.

◆ bsxfun_ge()

boolNDArray bsxfun_ge ( const NDArray x,
const NDArray y 
)

Definition at line 903 of file dNDArray.cc.

◆ bsxfun_gt()

boolNDArray bsxfun_gt ( const NDArray x,
const NDArray y 
)

Definition at line 903 of file dNDArray.cc.

◆ bsxfun_le()

boolNDArray bsxfun_le ( const NDArray x,
const NDArray y 
)

Definition at line 903 of file dNDArray.cc.

◆ bsxfun_lt()

boolNDArray bsxfun_lt ( const NDArray x,
const NDArray y 
)

Definition at line 903 of file dNDArray.cc.

◆ bsxfun_max()

NDArray bsxfun_max ( const NDArray x,
const NDArray y 
)

Definition at line 902 of file dNDArray.cc.

◆ bsxfun_min()

NDArray bsxfun_min ( const NDArray x,
const NDArray y 
)

Definition at line 902 of file dNDArray.cc.

◆ bsxfun_mul()

NDArray bsxfun_mul ( const NDArray x,
const NDArray y 
)

Definition at line 902 of file dNDArray.cc.

◆ bsxfun_ne()

boolNDArray bsxfun_ne ( const NDArray x,
const NDArray y 
)

Definition at line 903 of file dNDArray.cc.

◆ bsxfun_pow() [1/3]

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

Definition at line 905 of file dNDArray.cc.

◆ bsxfun_pow() [2/3]

ComplexNDArray bsxfun_pow ( const ComplexNDArray x,
const NDArray y 
)

Definition at line 907 of file dNDArray.cc.

◆ bsxfun_pow() [3/3]

ComplexNDArray bsxfun_pow ( const NDArray x,
const ComplexNDArray y 
)

Definition at line 909 of file dNDArray.cc.

◆ bsxfun_sub()

NDArray bsxfun_sub ( const NDArray x,
const NDArray y 
)

Definition at line 902 of file dNDArray.cc.

◆ imag()

NDArray imag ( const ComplexNDArray a)

Definition at line 785 of file dNDArray.cc.

References a, and mx_inline_imag().

◆ max() [1/3]

NDArray max ( const NDArray m,
double  d 
)

Definition at line 891 of file dNDArray.cc.

◆ max() [2/3]

NDArray max ( double  d,
const NDArray m 
)

Definition at line 891 of file dNDArray.cc.

Referenced by NDArray::concat().

◆ max() [3/3]

NDArray max ( const NDArray a,
const NDArray b 
)

Definition at line 891 of file dNDArray.cc.

◆ min() [1/3]

NDArray min ( double  d,
const NDArray m 
)

Definition at line 891 of file dNDArray.cc.

◆ min() [2/3]

NDArray min ( const NDArray m,
double  d 
)

Definition at line 891 of file dNDArray.cc.

◆ min() [3/3]

NDArray min ( const NDArray a,
const NDArray b 
)

Definition at line 891 of file dNDArray.cc.

◆ mx_el_and() [1/3]

boolNDArray mx_el_and ( const NDArray m,
const double s 
)

Definition at line 894 of file dNDArray.cc.

◆ mx_el_and() [2/3]

boolNDArray mx_el_and ( const double s,
const NDArray m 
)

Definition at line 897 of file dNDArray.cc.

◆ mx_el_and() [3/3]

boolNDArray mx_el_and ( const NDArray m1,
const NDArray m2 
)

Definition at line 900 of file dNDArray.cc.

◆ mx_el_and_not() [1/3]

boolNDArray mx_el_and_not ( const NDArray m,
const double s 
)

Definition at line 894 of file dNDArray.cc.

◆ mx_el_and_not() [2/3]

boolNDArray mx_el_and_not ( const double s,
const NDArray m 
)

Definition at line 897 of file dNDArray.cc.

◆ mx_el_and_not() [3/3]

boolNDArray mx_el_and_not ( const NDArray m1,
const NDArray m2 
)

Definition at line 900 of file dNDArray.cc.

◆ mx_el_eq() [1/3]

boolNDArray mx_el_eq ( const NDArray m,
const double s 
)

Definition at line 893 of file dNDArray.cc.

◆ mx_el_eq() [2/3]

boolNDArray mx_el_eq ( const double s,
const NDArray m 
)

Definition at line 896 of file dNDArray.cc.

◆ mx_el_eq() [3/3]

boolNDArray mx_el_eq ( const NDArray m1,
const NDArray m2 
)

Definition at line 899 of file dNDArray.cc.

◆ mx_el_ge() [1/3]

boolNDArray mx_el_ge ( const NDArray m,
const double s 
)

Definition at line 893 of file dNDArray.cc.

◆ mx_el_ge() [2/3]

boolNDArray mx_el_ge ( const double s,
const NDArray m 
)

Definition at line 896 of file dNDArray.cc.

◆ mx_el_ge() [3/3]

boolNDArray mx_el_ge ( const NDArray m1,
const NDArray m2 
)

Definition at line 899 of file dNDArray.cc.

◆ mx_el_gt() [1/3]

boolNDArray mx_el_gt ( const NDArray m,
const double s 
)

Definition at line 893 of file dNDArray.cc.

◆ mx_el_gt() [2/3]

boolNDArray mx_el_gt ( const double s,
const NDArray m 
)

Definition at line 896 of file dNDArray.cc.

◆ mx_el_gt() [3/3]

boolNDArray mx_el_gt ( const NDArray m1,
const NDArray m2 
)

Definition at line 899 of file dNDArray.cc.

◆ mx_el_le() [1/3]

boolNDArray mx_el_le ( const NDArray m,
const double s 
)

Definition at line 893 of file dNDArray.cc.

◆ mx_el_le() [2/3]

boolNDArray mx_el_le ( const double s,
const NDArray m 
)

Definition at line 896 of file dNDArray.cc.

◆ mx_el_le() [3/3]

boolNDArray mx_el_le ( const NDArray m1,
const NDArray m2 
)

Definition at line 899 of file dNDArray.cc.

◆ mx_el_lt() [1/3]

boolNDArray mx_el_lt ( const NDArray m,
const double s 
)

Definition at line 893 of file dNDArray.cc.

◆ mx_el_lt() [2/3]

boolNDArray mx_el_lt ( const double s,
const NDArray m 
)

Definition at line 896 of file dNDArray.cc.

◆ mx_el_lt() [3/3]

boolNDArray mx_el_lt ( const NDArray m1,
const NDArray m2 
)

Definition at line 899 of file dNDArray.cc.

◆ mx_el_ne() [1/3]

boolNDArray mx_el_ne ( const NDArray m,
const double s 
)

Definition at line 893 of file dNDArray.cc.

◆ mx_el_ne() [2/3]

boolNDArray mx_el_ne ( const double s,
const NDArray m 
)

Definition at line 896 of file dNDArray.cc.

◆ mx_el_ne() [3/3]

boolNDArray mx_el_ne ( const NDArray m1,
const NDArray m2 
)

Definition at line 899 of file dNDArray.cc.

◆ mx_el_not_and() [1/3]

boolNDArray mx_el_not_and ( const NDArray m,
const double s 
)

Definition at line 894 of file dNDArray.cc.

◆ mx_el_not_and() [2/3]

boolNDArray mx_el_not_and ( const double s,
const NDArray m 
)

Definition at line 897 of file dNDArray.cc.

◆ mx_el_not_and() [3/3]

boolNDArray mx_el_not_and ( const NDArray m1,
const NDArray m2 
)

Definition at line 900 of file dNDArray.cc.

◆ mx_el_not_or() [1/3]

boolNDArray mx_el_not_or ( const NDArray m,
const double s 
)

Definition at line 894 of file dNDArray.cc.

◆ mx_el_not_or() [2/3]

boolNDArray mx_el_not_or ( const double s,
const NDArray m 
)

Definition at line 897 of file dNDArray.cc.

◆ mx_el_not_or() [3/3]

boolNDArray mx_el_not_or ( const NDArray m1,
const NDArray m2 
)

Definition at line 900 of file dNDArray.cc.

◆ mx_el_or() [1/3]

boolNDArray mx_el_or ( const NDArray m,
const double s 
)

Definition at line 894 of file dNDArray.cc.

◆ mx_el_or() [2/3]

boolNDArray mx_el_or ( const double s,
const NDArray m 
)

Definition at line 897 of file dNDArray.cc.

◆ mx_el_or() [3/3]

boolNDArray mx_el_or ( const NDArray m1,
const NDArray m2 
)

Definition at line 900 of file dNDArray.cc.

◆ mx_el_or_not() [1/3]

boolNDArray mx_el_or_not ( const NDArray m,
const double s 
)

Definition at line 894 of file dNDArray.cc.

◆ mx_el_or_not() [2/3]

boolNDArray mx_el_or_not ( const double s,
const NDArray m 
)

Definition at line 897 of file dNDArray.cc.

◆ mx_el_or_not() [3/3]

boolNDArray mx_el_or_not ( const NDArray m1,
const NDArray m2 
)

Definition at line 900 of file dNDArray.cc.

◆ operator<<()

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

Definition at line 857 of file dNDArray.cc.

References a, i, octave_write_double(), and os.

◆ operator>>()

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

Definition at line 871 of file dNDArray.cc.

References a, i, is, and tmp.

◆ real()

NDArray real ( const ComplexNDArray a)

Definition at line 779 of file dNDArray.cc.

References a, and mx_inline_real().