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
CMatrix.h File Reference
#include "MArray.h"
#include "MDiagArray2.h"
#include "MatrixType.h"
#include "CNDArray.h"
#include "mx-defs.h"
#include "mx-op-decl.h"
#include "oct-cmplx.h"
#include "DET.h"
Include dependency graph for CMatrix.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ComplexMatrix
 

Functions

OCTAVE_API ComplexMatrix conj (const ComplexMatrix &a)
 
OCTAVE_API ComplexMatrix Givens (const Complex &, const Complex &)
 
OCTAVE_API ComplexMatrix linspace (const ComplexColumnVector &x1, const ComplexColumnVector &x2, octave_idx_type n)
 
OCTAVE_API ComplexMatrix max (const Complex &c, const ComplexMatrix &m)
 
OCTAVE_API ComplexMatrix max (const ComplexMatrix &m, const Complex &c)
 
OCTAVE_API ComplexMatrix max (const ComplexMatrix &a, const ComplexMatrix &b)
 
OCTAVE_API ComplexMatrix min (const Complex &c, const ComplexMatrix &m)
 
OCTAVE_API ComplexMatrix min (const ComplexMatrix &m, const Complex &c)
 
OCTAVE_API ComplexMatrix min (const ComplexMatrix &a, const ComplexMatrix &b)
 
OCTAVE_API boolMatrix mx_el_and (const ComplexMatrix &, const Complex &)
 
OCTAVE_API boolMatrix mx_el_and (const Complex &, const ComplexMatrix &)
 
OCTAVE_API boolMatrix mx_el_and (const ComplexMatrix &, const ComplexMatrix &)
 
OCTAVE_API boolMatrix mx_el_eq (const ComplexMatrix &, const Complex &)
 
OCTAVE_API boolMatrix mx_el_eq (const Complex &, const ComplexMatrix &)
 
OCTAVE_API boolMatrix mx_el_eq (const ComplexMatrix &, const ComplexMatrix &)
 
OCTAVE_API boolMatrix mx_el_ge (const ComplexMatrix &, const Complex &)
 
OCTAVE_API boolMatrix mx_el_ge (const Complex &, const ComplexMatrix &)
 
OCTAVE_API boolMatrix mx_el_ge (const ComplexMatrix &, const ComplexMatrix &)
 
OCTAVE_API boolMatrix mx_el_gt (const ComplexMatrix &, const Complex &)
 
OCTAVE_API boolMatrix mx_el_gt (const Complex &, const ComplexMatrix &)
 
OCTAVE_API boolMatrix mx_el_gt (const ComplexMatrix &, const ComplexMatrix &)
 
OCTAVE_API boolMatrix mx_el_le (const ComplexMatrix &, const Complex &)
 
OCTAVE_API boolMatrix mx_el_le (const Complex &, const ComplexMatrix &)
 
OCTAVE_API boolMatrix mx_el_le (const ComplexMatrix &, const ComplexMatrix &)
 
OCTAVE_API boolMatrix mx_el_lt (const ComplexMatrix &, const Complex &)
 
OCTAVE_API boolMatrix mx_el_lt (const Complex &, const ComplexMatrix &)
 
OCTAVE_API boolMatrix mx_el_lt (const ComplexMatrix &, const ComplexMatrix &)
 
OCTAVE_API boolMatrix mx_el_ne (const ComplexMatrix &, const Complex &)
 
OCTAVE_API boolMatrix mx_el_ne (const Complex &, const ComplexMatrix &)
 
OCTAVE_API boolMatrix mx_el_ne (const ComplexMatrix &, const ComplexMatrix &)
 
OCTAVE_API boolMatrix mx_el_or (const ComplexMatrix &, const Complex &)
 
OCTAVE_API boolMatrix mx_el_or (const Complex &, const ComplexMatrix &)
 
OCTAVE_API boolMatrix mx_el_or (const ComplexMatrix &, const ComplexMatrix &)
 
OCTAVE_API ComplexMatrix operator* (const ColumnVector &a, const ComplexRowVector &b)
 
OCTAVE_API ComplexMatrix operator* (const ComplexColumnVector &a, const RowVector &b)
 
OCTAVE_API ComplexMatrix operator* (const ComplexColumnVector &a, const ComplexRowVector &b)
 
OCTAVE_API ComplexMatrix operator* (const Matrix &, const ComplexMatrix &)
 
OCTAVE_API ComplexMatrix operator* (const ComplexMatrix &, const Matrix &)
 
OCTAVE_API ComplexMatrix operator* (const ComplexMatrix &, const ComplexMatrix &)
 
ComplexMatrix operator* (const Complex &x, const ComplexMatrix &y)
 
ComplexMatrix operator* (const ComplexMatrix &x, const Complex &y)
 
ComplexMatrix operator*= (ComplexMatrix &x, const Complex &y)
 
ComplexMatrix operator+ (const ComplexMatrix &x, const Complex &y)
 
ComplexMatrix operator+ (const ComplexMatrix &x)
 
ComplexMatrix operator+ (const Complex &x, const ComplexMatrix &y)
 
ComplexMatrix operator+ (const ComplexMatrix &x, const ComplexMatrix &y)
 
ComplexMatrix operator+= (ComplexMatrix &x, const Complex &y)
 
ComplexMatrix operator+= (ComplexMatrix &x, const ComplexMatrix &y)
 
ComplexMatrix operator- (const ComplexMatrix &x, const ComplexMatrix &y)
 
ComplexMatrix operator- (const Complex &x, const ComplexMatrix &y)
 
ComplexMatrix operator- (const ComplexMatrix &x, const Complex &y)
 
ComplexMatrix operator- (const ComplexMatrix &x)
 
ComplexMatrix operator-= (ComplexMatrix &x, const Complex &y)
 
ComplexMatrix operator-= (ComplexMatrix &x, const ComplexMatrix &y)
 
ComplexMatrix operator/ (const Complex &x, const ComplexMatrix &y)
 
ComplexMatrix operator/ (const ComplexMatrix &x, const Complex &y)
 
ComplexMatrix operator/= (ComplexMatrix &x, const Complex &y)
 
ComplexMatrix product (const ComplexMatrix &x, const ComplexMatrix &y)
 
ComplexMatrix product_eq (ComplexMatrix &x, const ComplexMatrix &y)
 
ComplexMatrix quotient (const ComplexMatrix &x, const ComplexMatrix &y)
 
ComplexMatrix quotient_eq (ComplexMatrix &x, const ComplexMatrix &y)
 
OCTAVE_API ComplexMatrix Sylvester (const ComplexMatrix &, const ComplexMatrix &, const ComplexMatrix &)
 
OCTAVE_API ComplexMatrix xgemm (const ComplexMatrix &a, const ComplexMatrix &b, blas_trans_type transa=blas_no_trans, blas_trans_type transb=blas_no_trans)
 

Function Documentation

OCTAVE_API ComplexMatrix conj ( const ComplexMatrix a)

Definition at line 963 of file CMatrix.cc.

Referenced by Givens(), ComplexMatrix::hermitian(), and xgemm().

OCTAVE_API ComplexMatrix Givens ( const Complex ,
const Complex  
)

Definition at line 3570 of file CMatrix.cc.

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

Referenced by Fgivens().

OCTAVE_API ComplexMatrix linspace ( const ComplexColumnVector x1,
const ComplexColumnVector x2,
octave_idx_type  n 
)

Definition at line 3997 of file CMatrix.cc.

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

Referenced by do_linspace(), and install_data_fcns().

OCTAVE_API ComplexMatrix max ( const Complex c,
const ComplexMatrix m 
)

Definition at line 3907 of file CMatrix.cc.

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

Referenced by ComplexMatrix::lssolve().

OCTAVE_API ComplexMatrix max ( const ComplexMatrix m,
const Complex c 
)

Definition at line 3927 of file CMatrix.cc.

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

OCTAVE_API ComplexMatrix max ( const ComplexMatrix a,
const ComplexMatrix b 
)
OCTAVE_API ComplexMatrix min ( const Complex c,
const ComplexMatrix m 
)

Definition at line 3819 of file CMatrix.cc.

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

Referenced by operator*().

OCTAVE_API ComplexMatrix min ( const ComplexMatrix m,
const Complex c 
)

Definition at line 3839 of file CMatrix.cc.

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

OCTAVE_API ComplexMatrix min ( const ComplexMatrix a,
const ComplexMatrix b 
)
OCTAVE_API boolMatrix mx_el_and ( const ComplexMatrix ,
const Complex  
)

Definition at line 4032 of file CMatrix.cc.

OCTAVE_API boolMatrix mx_el_and ( const Complex ,
const ComplexMatrix  
)

Definition at line 4035 of file CMatrix.cc.

OCTAVE_API boolMatrix mx_el_and ( const ComplexMatrix ,
const ComplexMatrix  
)

Definition at line 4038 of file CMatrix.cc.

OCTAVE_API boolMatrix mx_el_eq ( const ComplexMatrix ,
const Complex  
)

Definition at line 4031 of file CMatrix.cc.

OCTAVE_API boolMatrix mx_el_eq ( const Complex ,
const ComplexMatrix  
)

Definition at line 4034 of file CMatrix.cc.

OCTAVE_API boolMatrix mx_el_eq ( const ComplexMatrix ,
const ComplexMatrix  
)

Definition at line 4037 of file CMatrix.cc.

OCTAVE_API boolMatrix mx_el_ge ( const ComplexMatrix ,
const Complex  
)

Definition at line 4031 of file CMatrix.cc.

OCTAVE_API boolMatrix mx_el_ge ( const Complex ,
const ComplexMatrix  
)

Definition at line 4034 of file CMatrix.cc.

OCTAVE_API boolMatrix mx_el_ge ( const ComplexMatrix ,
const ComplexMatrix  
)

Definition at line 4037 of file CMatrix.cc.

OCTAVE_API boolMatrix mx_el_gt ( const ComplexMatrix ,
const Complex  
)

Definition at line 4031 of file CMatrix.cc.

OCTAVE_API boolMatrix mx_el_gt ( const Complex ,
const ComplexMatrix  
)

Definition at line 4034 of file CMatrix.cc.

OCTAVE_API boolMatrix mx_el_gt ( const ComplexMatrix ,
const ComplexMatrix  
)

Definition at line 4037 of file CMatrix.cc.

OCTAVE_API boolMatrix mx_el_le ( const ComplexMatrix ,
const Complex  
)

Definition at line 4031 of file CMatrix.cc.

OCTAVE_API boolMatrix mx_el_le ( const Complex ,
const ComplexMatrix  
)

Definition at line 4034 of file CMatrix.cc.

OCTAVE_API boolMatrix mx_el_le ( const ComplexMatrix ,
const ComplexMatrix  
)

Definition at line 4037 of file CMatrix.cc.

OCTAVE_API boolMatrix mx_el_lt ( const ComplexMatrix ,
const Complex  
)

Definition at line 4031 of file CMatrix.cc.

OCTAVE_API boolMatrix mx_el_lt ( const Complex ,
const ComplexMatrix  
)

Definition at line 4034 of file CMatrix.cc.

OCTAVE_API boolMatrix mx_el_lt ( const ComplexMatrix ,
const ComplexMatrix  
)

Definition at line 4037 of file CMatrix.cc.

OCTAVE_API boolMatrix mx_el_ne ( const ComplexMatrix ,
const Complex  
)

Definition at line 4031 of file CMatrix.cc.

OCTAVE_API boolMatrix mx_el_ne ( const Complex ,
const ComplexMatrix  
)

Definition at line 4034 of file CMatrix.cc.

OCTAVE_API boolMatrix mx_el_ne ( const ComplexMatrix ,
const ComplexMatrix  
)

Definition at line 4037 of file CMatrix.cc.

OCTAVE_API boolMatrix mx_el_or ( const ComplexMatrix ,
const Complex  
)

Definition at line 4032 of file CMatrix.cc.

OCTAVE_API boolMatrix mx_el_or ( const Complex ,
const ComplexMatrix  
)

Definition at line 4035 of file CMatrix.cc.

OCTAVE_API boolMatrix mx_el_or ( const ComplexMatrix ,
const ComplexMatrix  
)

Definition at line 4038 of file CMatrix.cc.

OCTAVE_API ComplexMatrix operator* ( const ColumnVector a,
const ComplexRowVector b 
)

Definition at line 2942 of file CMatrix.cc.

OCTAVE_API ComplexMatrix operator* ( const ComplexColumnVector a,
const RowVector b 
)

Definition at line 2949 of file CMatrix.cc.

OCTAVE_API ComplexMatrix operator* ( const ComplexColumnVector a,
const ComplexRowVector b 
)
OCTAVE_API ComplexMatrix operator* ( const Matrix ,
const ComplexMatrix  
)
OCTAVE_API ComplexMatrix operator* ( const ComplexMatrix ,
const Matrix  
)
OCTAVE_API ComplexMatrix operator* ( const ComplexMatrix ,
const ComplexMatrix  
)

Definition at line 3807 of file CMatrix.cc.

References xgemm().

ComplexMatrix operator* ( const Complex x,
const ComplexMatrix y 
)
inline

Definition at line 456 of file CMatrix.h.

ComplexMatrix operator* ( const ComplexMatrix x,
const Complex y 
)
inline

Definition at line 456 of file CMatrix.h.

ComplexMatrix operator*= ( ComplexMatrix x,
const Complex y 
)
inline

Definition at line 456 of file CMatrix.h.

ComplexMatrix operator+ ( const ComplexMatrix x,
const Complex y 
)
inline

Definition at line 456 of file CMatrix.h.

ComplexMatrix operator+ ( const ComplexMatrix x)
inline

Definition at line 456 of file CMatrix.h.

ComplexMatrix operator+ ( const Complex x,
const ComplexMatrix y 
)
inline

Definition at line 456 of file CMatrix.h.

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

Definition at line 456 of file CMatrix.h.

ComplexMatrix operator+= ( ComplexMatrix x,
const Complex y 
)
inline

Definition at line 456 of file CMatrix.h.

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

Definition at line 456 of file CMatrix.h.

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

Definition at line 456 of file CMatrix.h.

ComplexMatrix operator- ( const Complex x,
const ComplexMatrix y 
)
inline

Definition at line 456 of file CMatrix.h.

ComplexMatrix operator- ( const ComplexMatrix x,
const Complex y 
)
inline

Definition at line 456 of file CMatrix.h.

ComplexMatrix operator- ( const ComplexMatrix x)
inline

Definition at line 456 of file CMatrix.h.

ComplexMatrix operator-= ( ComplexMatrix x,
const Complex y 
)
inline

Definition at line 456 of file CMatrix.h.

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

Definition at line 456 of file CMatrix.h.

ComplexMatrix operator/ ( const Complex x,
const ComplexMatrix y 
)
inline

Definition at line 456 of file CMatrix.h.

ComplexMatrix operator/ ( const ComplexMatrix x,
const Complex y 
)
inline

Definition at line 456 of file CMatrix.h.

ComplexMatrix operator/= ( ComplexMatrix x,
const Complex y 
)
inline

Definition at line 456 of file CMatrix.h.

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

Definition at line 456 of file CMatrix.h.

ComplexMatrix product_eq ( ComplexMatrix x,
const ComplexMatrix y 
)
inline

Definition at line 456 of file CMatrix.h.

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

Definition at line 456 of file CMatrix.h.

ComplexMatrix quotient_eq ( ComplexMatrix x,
const ComplexMatrix y 
)
inline

Definition at line 456 of file CMatrix.h.

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