GNU Octave  4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions
dMatrix.h File Reference
#include "dNDArray.h"
#include "MArray.h"
#include "MDiagArray2.h"
#include "MatrixType.h"
#include "mx-defs.h"
#include "mx-op-decl.h"
#include "DET.h"
Include dependency graph for dMatrix.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Matrix
 

Functions

OCTAVE_API Matrix Givens (double, double)
 
OCTAVE_API Matrix imag (const ComplexMatrix &a)
 
OCTAVE_API Matrix linspace (const ColumnVector &x1, const ColumnVector &x2, octave_idx_type n)
 
OCTAVE_API Matrix max (double d, const Matrix &m)
 
OCTAVE_API Matrix max (const Matrix &m, double d)
 
OCTAVE_API Matrix max (const Matrix &a, const Matrix &b)
 
OCTAVE_API Matrix min (double d, const Matrix &m)
 
OCTAVE_API Matrix min (const Matrix &m, double d)
 
OCTAVE_API Matrix min (const Matrix &a, const Matrix &b)
 
OCTAVE_API boolMatrix mx_el_and (const Matrix &, const double &)
 
OCTAVE_API boolMatrix mx_el_and (const double &, const Matrix &)
 
OCTAVE_API boolMatrix mx_el_and (const Matrix &, const Matrix &)
 
OCTAVE_API boolMatrix mx_el_eq (const Matrix &, const double &)
 
OCTAVE_API boolMatrix mx_el_eq (const double &, const Matrix &)
 
OCTAVE_API boolMatrix mx_el_eq (const Matrix &, const Matrix &)
 
OCTAVE_API boolMatrix mx_el_ge (const Matrix &, const double &)
 
OCTAVE_API boolMatrix mx_el_ge (const double &, const Matrix &)
 
OCTAVE_API boolMatrix mx_el_ge (const Matrix &, const Matrix &)
 
OCTAVE_API boolMatrix mx_el_gt (const Matrix &, const double &)
 
OCTAVE_API boolMatrix mx_el_gt (const double &, const Matrix &)
 
OCTAVE_API boolMatrix mx_el_gt (const Matrix &, const Matrix &)
 
OCTAVE_API boolMatrix mx_el_le (const Matrix &, const double &)
 
OCTAVE_API boolMatrix mx_el_le (const double &, const Matrix &)
 
OCTAVE_API boolMatrix mx_el_le (const Matrix &, const Matrix &)
 
OCTAVE_API boolMatrix mx_el_lt (const Matrix &, const double &)
 
OCTAVE_API boolMatrix mx_el_lt (const double &, const Matrix &)
 
OCTAVE_API boolMatrix mx_el_lt (const Matrix &, const Matrix &)
 
OCTAVE_API boolMatrix mx_el_ne (const Matrix &, const double &)
 
OCTAVE_API boolMatrix mx_el_ne (const double &, const Matrix &)
 
OCTAVE_API boolMatrix mx_el_ne (const Matrix &, const Matrix &)
 
OCTAVE_API boolMatrix mx_el_or (const Matrix &, const double &)
 
OCTAVE_API boolMatrix mx_el_or (const double &, const Matrix &)
 
OCTAVE_API boolMatrix mx_el_or (const Matrix &, const Matrix &)
 
OCTAVE_API Matrix operator* (const ColumnVector &a, const RowVector &b)
 
OCTAVE_API Matrix operator* (const Matrix &a, const Matrix &b)
 
Matrix operator* (const Matrix &x, const double &y)
 
Matrix operator* (const double &x, const Matrix &y)
 
Matrix operator*= (Matrix &x, const double &y)
 
Matrix operator+ (const double &x, const Matrix &y)
 
Matrix operator+ (const Matrix &x)
 
Matrix operator+ (const Matrix &x, const double &y)
 
Matrix operator+ (const Matrix &x, const Matrix &y)
 
Matrix operator+= (Matrix &x, const double &y)
 
Matrix operator+= (Matrix &x, const Matrix &y)
 
Matrix operator- (const Matrix &x, const double &y)
 
Matrix operator- (const double &x, const Matrix &y)
 
Matrix operator- (const Matrix &x)
 
Matrix operator- (const Matrix &x, const Matrix &y)
 
Matrix operator-= (Matrix &x, const Matrix &y)
 
Matrix operator-= (Matrix &x, const double &y)
 
Matrix operator/ (const Matrix &x, const double &y)
 
Matrix operator/ (const double &x, const Matrix &y)
 
Matrix operator/= (Matrix &x, const double &y)
 
Matrix product (const Matrix &x, const Matrix &y)
 
Matrix product_eq (Matrix &x, const Matrix &y)
 
Matrix quotient (const Matrix &x, const Matrix &y)
 
Matrix quotient_eq (Matrix &x, const Matrix &y)
 
template<class T >
void read_int (std::istream &is, bool swap_bytes, T &val)
 
OCTAVE_API Matrix real (const ComplexMatrix &a)
 
OCTAVE_API Matrix Sylvester (const Matrix &, const Matrix &, const Matrix &)
 
OCTAVE_API Matrix xgemm (const Matrix &a, const Matrix &b, blas_trans_type transa=blas_no_trans, blas_trans_type transb=blas_no_trans)
 

Function Documentation

OCTAVE_API Matrix Givens ( double  ,
double   
)

Definition at line 2995 of file dMatrix.cc.

References Array< T >::elem(), F77_FUNC(), and x.

OCTAVE_API Matrix imag ( const ComplexMatrix a)

Definition at line 614 of file dMatrix.cc.

References mx_inline_imag().

Referenced by stack_complex_matrix().

OCTAVE_API Matrix linspace ( const ColumnVector x1,
const ColumnVector x2,
octave_idx_type  n 
)

Definition at line 3328 of file dMatrix.cc.

References current_liboctave_error_handler, and Array< T >::length().

OCTAVE_API Matrix max ( double  d,
const Matrix m 
)

Definition at line 3262 of file dMatrix.cc.

References Array< T >::columns(), EMPTY_RETURN_CHECK, Array< T >::rows(), and xmax().

OCTAVE_API Matrix max ( const Matrix m,
double  d 
)

Definition at line 3282 of file dMatrix.cc.

References Array< T >::columns(), EMPTY_RETURN_CHECK, Array< T >::rows(), and xmax().

OCTAVE_API Matrix max ( const Matrix a,
const Matrix b 
)

Definition at line 3302 of file dMatrix.cc.

References Array< T >::columns(), EMPTY_RETURN_CHECK, Array< T >::rows(), and xmax().

OCTAVE_API Matrix min ( double  d,
const Matrix m 
)

Definition at line 3195 of file dMatrix.cc.

References Array< T >::columns(), EMPTY_RETURN_CHECK, Array< T >::rows(), and xmin().

OCTAVE_API Matrix min ( const Matrix m,
double  d 
)

Definition at line 3215 of file dMatrix.cc.

References Array< T >::columns(), EMPTY_RETURN_CHECK, Array< T >::rows(), and xmin().

OCTAVE_API Matrix min ( const Matrix a,
const Matrix b 
)

Definition at line 3235 of file dMatrix.cc.

References Array< T >::columns(), EMPTY_RETURN_CHECK, Array< T >::rows(), and xmin().

OCTAVE_API boolMatrix mx_el_and ( const Matrix ,
const double  
)

Definition at line 3363 of file dMatrix.cc.

OCTAVE_API boolMatrix mx_el_and ( const double ,
const Matrix  
)

Definition at line 3366 of file dMatrix.cc.

OCTAVE_API boolMatrix mx_el_and ( const Matrix ,
const Matrix  
)

Definition at line 3369 of file dMatrix.cc.

OCTAVE_API boolMatrix mx_el_eq ( const Matrix ,
const double  
)

Definition at line 3362 of file dMatrix.cc.

OCTAVE_API boolMatrix mx_el_eq ( const double ,
const Matrix  
)

Definition at line 3365 of file dMatrix.cc.

OCTAVE_API boolMatrix mx_el_eq ( const Matrix ,
const Matrix  
)

Definition at line 3368 of file dMatrix.cc.

OCTAVE_API boolMatrix mx_el_ge ( const Matrix ,
const double  
)

Definition at line 3362 of file dMatrix.cc.

OCTAVE_API boolMatrix mx_el_ge ( const double ,
const Matrix  
)

Definition at line 3365 of file dMatrix.cc.

OCTAVE_API boolMatrix mx_el_ge ( const Matrix ,
const Matrix  
)

Definition at line 3368 of file dMatrix.cc.

OCTAVE_API boolMatrix mx_el_gt ( const Matrix ,
const double  
)

Definition at line 3362 of file dMatrix.cc.

OCTAVE_API boolMatrix mx_el_gt ( const double ,
const Matrix  
)

Definition at line 3365 of file dMatrix.cc.

OCTAVE_API boolMatrix mx_el_gt ( const Matrix ,
const Matrix  
)

Definition at line 3368 of file dMatrix.cc.

OCTAVE_API boolMatrix mx_el_le ( const Matrix ,
const double  
)

Definition at line 3362 of file dMatrix.cc.

OCTAVE_API boolMatrix mx_el_le ( const double ,
const Matrix  
)

Definition at line 3365 of file dMatrix.cc.

OCTAVE_API boolMatrix mx_el_le ( const Matrix ,
const Matrix  
)

Definition at line 3368 of file dMatrix.cc.

OCTAVE_API boolMatrix mx_el_lt ( const Matrix ,
const double  
)

Definition at line 3362 of file dMatrix.cc.

OCTAVE_API boolMatrix mx_el_lt ( const double ,
const Matrix  
)

Definition at line 3365 of file dMatrix.cc.

OCTAVE_API boolMatrix mx_el_lt ( const Matrix ,
const Matrix  
)

Definition at line 3368 of file dMatrix.cc.

OCTAVE_API boolMatrix mx_el_ne ( const Matrix ,
const double  
)

Definition at line 3362 of file dMatrix.cc.

OCTAVE_API boolMatrix mx_el_ne ( const double ,
const Matrix  
)

Definition at line 3365 of file dMatrix.cc.

OCTAVE_API boolMatrix mx_el_ne ( const Matrix ,
const Matrix  
)

Definition at line 3368 of file dMatrix.cc.

OCTAVE_API boolMatrix mx_el_or ( const Matrix ,
const double  
)

Definition at line 3363 of file dMatrix.cc.

OCTAVE_API boolMatrix mx_el_or ( const double ,
const Matrix  
)

Definition at line 3366 of file dMatrix.cc.

OCTAVE_API boolMatrix mx_el_or ( const Matrix ,
const Matrix  
)

Definition at line 3369 of file dMatrix.cc.

OCTAVE_API Matrix operator* ( const ColumnVector a,
const RowVector b 
)
OCTAVE_API Matrix operator* ( const Matrix a,
const Matrix b 
)

Definition at line 3183 of file dMatrix.cc.

References xgemm().

Matrix operator* ( const Matrix x,
const double y 
)
inline

Definition at line 384 of file dMatrix.h.

Matrix operator* ( const double x,
const Matrix y 
)
inline

Definition at line 384 of file dMatrix.h.

Matrix operator*= ( Matrix x,
const double y 
)
inline

Definition at line 384 of file dMatrix.h.

Matrix operator+ ( const double x,
const Matrix y 
)
inline

Definition at line 384 of file dMatrix.h.

Matrix operator+ ( const Matrix x)
inline

Definition at line 384 of file dMatrix.h.

Matrix operator+ ( const Matrix x,
const double y 
)
inline

Definition at line 384 of file dMatrix.h.

Matrix operator+ ( const Matrix x,
const Matrix y 
)
inline

Definition at line 384 of file dMatrix.h.

Matrix operator+= ( Matrix x,
const double y 
)
inline

Definition at line 384 of file dMatrix.h.

Matrix operator+= ( Matrix x,
const Matrix y 
)
inline

Definition at line 384 of file dMatrix.h.

Matrix operator- ( const Matrix x,
const double y 
)
inline

Definition at line 384 of file dMatrix.h.

Matrix operator- ( const double x,
const Matrix y 
)
inline

Definition at line 384 of file dMatrix.h.

Matrix operator- ( const Matrix x)
inline

Definition at line 384 of file dMatrix.h.

Matrix operator- ( const Matrix x,
const Matrix y 
)
inline

Definition at line 384 of file dMatrix.h.

Matrix operator-= ( Matrix x,
const Matrix y 
)
inline

Definition at line 384 of file dMatrix.h.

Matrix operator-= ( Matrix x,
const double y 
)
inline

Definition at line 384 of file dMatrix.h.

Matrix operator/ ( const Matrix x,
const double y 
)
inline

Definition at line 384 of file dMatrix.h.

Matrix operator/ ( const double x,
const Matrix y 
)
inline

Definition at line 384 of file dMatrix.h.

Matrix operator/= ( Matrix x,
const double y 
)
inline

Definition at line 384 of file dMatrix.h.

Matrix product ( const Matrix x,
const Matrix y 
)
inline

Definition at line 384 of file dMatrix.h.

Matrix product_eq ( Matrix x,
const Matrix y 
)
inline

Definition at line 384 of file dMatrix.h.

Matrix quotient ( const Matrix x,
const Matrix y 
)
inline

Definition at line 384 of file dMatrix.h.

Matrix quotient_eq ( Matrix x,
const Matrix y 
)
inline

Definition at line 384 of file dMatrix.h.

template<class T >
void read_int ( std::istream &  is,
bool  swap_bytes,
T &  val 
)
OCTAVE_API Matrix real ( const ComplexMatrix a)

Definition at line 608 of file dMatrix.cc.

References mx_inline_real().

Referenced by stack_complex_matrix().

OCTAVE_API Matrix Sylvester ( const Matrix ,
const Matrix ,
const Matrix  
)
OCTAVE_API Matrix xgemm ( const Matrix a,
const Matrix b,
blas_trans_type  transa = blas_no_trans,
blas_trans_type  transb = blas_no_trans 
)