GNU Octave  4.4.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
CMatrix.h File Reference
#include "octave-config.h"
#include "CNDArray.h"
#include "DET.h"
#include "MArray.h"
#include "MDiagArray2.h"
#include "MatrixType.h"
#include "mx-defs.h"
#include "mx-op-decl.h"
#include "oct-cmplx.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

◆ conj()

OCTAVE_API ComplexMatrix conj ( const ComplexMatrix a)

Definition at line 674 of file CMatrix.cc.

References a.

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

◆ Givens()

OCTAVE_API ComplexMatrix Givens ( const Complex ,
const Complex  
)

◆ linspace()

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

Definition at line 3797 of file CMatrix.cc.

References current_liboctave_error_handler, i, Array< T >::numel(), and retval.

◆ max() [1/3]

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

◆ max() [2/3]

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

Definition at line 3742 of file CMatrix.cc.

References c, and max().

◆ max() [3/3]

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

◆ min() [1/3]

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

◆ min() [2/3]

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

Definition at line 3670 of file CMatrix.cc.

References c, and min().

◆ min() [3/3]

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

◆ mx_el_and() [1/3]

OCTAVE_API boolMatrix mx_el_and ( const ComplexMatrix ,
const Complex  
)

Definition at line 3835 of file CMatrix.cc.

◆ mx_el_and() [2/3]

OCTAVE_API boolMatrix mx_el_and ( const Complex ,
const ComplexMatrix  
)

Definition at line 3838 of file CMatrix.cc.

◆ mx_el_and() [3/3]

OCTAVE_API boolMatrix mx_el_and ( const ComplexMatrix ,
const ComplexMatrix  
)

Definition at line 3841 of file CMatrix.cc.

◆ mx_el_eq() [1/3]

OCTAVE_API boolMatrix mx_el_eq ( const ComplexMatrix ,
const Complex  
)

Definition at line 3834 of file CMatrix.cc.

◆ mx_el_eq() [2/3]

OCTAVE_API boolMatrix mx_el_eq ( const Complex ,
const ComplexMatrix  
)

Definition at line 3837 of file CMatrix.cc.

◆ mx_el_eq() [3/3]

OCTAVE_API boolMatrix mx_el_eq ( const ComplexMatrix ,
const ComplexMatrix  
)

Definition at line 3840 of file CMatrix.cc.

◆ mx_el_ge() [1/3]

OCTAVE_API boolMatrix mx_el_ge ( const ComplexMatrix ,
const Complex  
)

Definition at line 3834 of file CMatrix.cc.

◆ mx_el_ge() [2/3]

OCTAVE_API boolMatrix mx_el_ge ( const Complex ,
const ComplexMatrix  
)

Definition at line 3837 of file CMatrix.cc.

◆ mx_el_ge() [3/3]

OCTAVE_API boolMatrix mx_el_ge ( const ComplexMatrix ,
const ComplexMatrix  
)

Definition at line 3840 of file CMatrix.cc.

◆ mx_el_gt() [1/3]

OCTAVE_API boolMatrix mx_el_gt ( const ComplexMatrix ,
const Complex  
)

Definition at line 3834 of file CMatrix.cc.

◆ mx_el_gt() [2/3]

OCTAVE_API boolMatrix mx_el_gt ( const Complex ,
const ComplexMatrix  
)

Definition at line 3837 of file CMatrix.cc.

◆ mx_el_gt() [3/3]

OCTAVE_API boolMatrix mx_el_gt ( const ComplexMatrix ,
const ComplexMatrix  
)

Definition at line 3840 of file CMatrix.cc.

◆ mx_el_le() [1/3]

OCTAVE_API boolMatrix mx_el_le ( const ComplexMatrix ,
const Complex  
)

Definition at line 3834 of file CMatrix.cc.

◆ mx_el_le() [2/3]

OCTAVE_API boolMatrix mx_el_le ( const Complex ,
const ComplexMatrix  
)

Definition at line 3837 of file CMatrix.cc.

◆ mx_el_le() [3/3]

OCTAVE_API boolMatrix mx_el_le ( const ComplexMatrix ,
const ComplexMatrix  
)

Definition at line 3840 of file CMatrix.cc.

◆ mx_el_lt() [1/3]

OCTAVE_API boolMatrix mx_el_lt ( const ComplexMatrix ,
const Complex  
)

Definition at line 3834 of file CMatrix.cc.

◆ mx_el_lt() [2/3]

OCTAVE_API boolMatrix mx_el_lt ( const Complex ,
const ComplexMatrix  
)

Definition at line 3837 of file CMatrix.cc.

◆ mx_el_lt() [3/3]

OCTAVE_API boolMatrix mx_el_lt ( const ComplexMatrix ,
const ComplexMatrix  
)

Definition at line 3840 of file CMatrix.cc.

◆ mx_el_ne() [1/3]

OCTAVE_API boolMatrix mx_el_ne ( const ComplexMatrix ,
const Complex  
)

Definition at line 3834 of file CMatrix.cc.

◆ mx_el_ne() [2/3]

OCTAVE_API boolMatrix mx_el_ne ( const Complex ,
const ComplexMatrix  
)

Definition at line 3837 of file CMatrix.cc.

◆ mx_el_ne() [3/3]

OCTAVE_API boolMatrix mx_el_ne ( const ComplexMatrix ,
const ComplexMatrix  
)

Definition at line 3840 of file CMatrix.cc.

◆ mx_el_or() [1/3]

OCTAVE_API boolMatrix mx_el_or ( const ComplexMatrix ,
const Complex  
)

Definition at line 3835 of file CMatrix.cc.

◆ mx_el_or() [2/3]

OCTAVE_API boolMatrix mx_el_or ( const Complex ,
const ComplexMatrix  
)

Definition at line 3838 of file CMatrix.cc.

◆ mx_el_or() [3/3]

OCTAVE_API boolMatrix mx_el_or ( const ComplexMatrix ,
const ComplexMatrix  
)

Definition at line 3841 of file CMatrix.cc.

◆ operator*() [1/8]

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

Definition at line 2792 of file CMatrix.cc.

References a, and tmp.

◆ operator*() [2/8]

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

Definition at line 2799 of file CMatrix.cc.

References a, b, and tmp.

◆ operator*() [3/8]

◆ operator*() [4/8]

OCTAVE_API ComplexMatrix operator* ( const Matrix ,
const ComplexMatrix  
)

Definition at line 3475 of file CMatrix.cc.

References a, ComplexMatrix::ComplexMatrix(), imag(), min(), real(), and Array< T >::rows().

◆ operator*() [5/8]

OCTAVE_API ComplexMatrix operator* ( const ComplexMatrix ,
const Matrix  
)

◆ operator*() [6/8]

OCTAVE_API ComplexMatrix operator* ( const ComplexMatrix ,
const ComplexMatrix  
)

Definition at line 3638 of file CMatrix.cc.

References a, b, and xgemm().

◆ operator*() [7/8]

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

Definition at line 473 of file CMatrix.h.

◆ operator*() [8/8]

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

Definition at line 473 of file CMatrix.h.

◆ operator*=()

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

Definition at line 473 of file CMatrix.h.

◆ operator+() [1/4]

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

Definition at line 473 of file CMatrix.h.

◆ operator+() [2/4]

ComplexMatrix operator+ ( const ComplexMatrix x)
inline

Definition at line 473 of file CMatrix.h.

◆ operator+() [3/4]

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

Definition at line 473 of file CMatrix.h.

◆ operator+() [4/4]

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

Definition at line 473 of file CMatrix.h.

◆ operator+=() [1/2]

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

Definition at line 473 of file CMatrix.h.

◆ operator+=() [2/2]

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

Definition at line 473 of file CMatrix.h.

◆ operator-() [1/4]

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

Definition at line 473 of file CMatrix.h.

◆ operator-() [2/4]

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

Definition at line 473 of file CMatrix.h.

◆ operator-() [3/4]

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

Definition at line 473 of file CMatrix.h.

◆ operator-() [4/4]

ComplexMatrix operator- ( const ComplexMatrix x)
inline

Definition at line 473 of file CMatrix.h.

◆ operator-=() [1/2]

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

Definition at line 473 of file CMatrix.h.

◆ operator-=() [2/2]

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

Definition at line 473 of file CMatrix.h.

◆ operator/() [1/2]

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

Definition at line 473 of file CMatrix.h.

◆ operator/() [2/2]

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

Definition at line 473 of file CMatrix.h.

◆ operator/=()

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

Definition at line 473 of file CMatrix.h.

◆ product()

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

Definition at line 473 of file CMatrix.h.

◆ product_eq()

ComplexMatrix product_eq ( ComplexMatrix x,
const ComplexMatrix y 
)
inline

Definition at line 473 of file CMatrix.h.

◆ quotient()

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

Definition at line 473 of file CMatrix.h.

◆ quotient_eq()

ComplexMatrix quotient_eq ( ComplexMatrix x,
const ComplexMatrix y 
)
inline

Definition at line 473 of file CMatrix.h.

◆ Sylvester()

◆ xgemm()