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
Macros | Functions | Variables
fCMatrix.cc File Reference
#include <cfloat>
#include <iostream>
#include <vector>
#include <sys/types.h>
#include "Array-util.h"
#include "DET.h"
#include "f77-fcn.h"
#include "boolMatrix.h"
#include "chMatrix.h"
#include "fCMatrix.h"
#include "fCNDArray.h"
#include "fCDiagMatrix.h"
#include "fCColVector.h"
#include "fCRowVector.h"
#include "fCmplxCHOL.h"
#include "fCmplxSCHUR.h"
#include "fCmplxSVD.h"
#include "functor.h"
#include "lo-error.h"
#include "lo-ieee.h"
#include "lo-mappers.h"
#include "lo-utils.h"
#include "mx-fcm-fdm.h"
#include "mx-fcm-fs.h"
#include "mx-fdm-fcm.h"
#include "mx-inlines.cc"
#include "mx-op-defs.h"
#include "oct-cmplx.h"
#include "oct-fftw.h"
#include "oct-locbuf.h"
#include "oct-norm.h"
Include dependency graph for fCMatrix.cc:

Go to the source code of this file.

Macros

#define EMPTY_RETURN_CHECK(T)
 

Functions

FloatComplexMatrix conj (const FloatComplexMatrix &a)
 
F77_RET_T F77_FUNC (xilaenv, XILAENV)(const octave_idx_type &
 
F77_RET_T F77_FUNC (cgebal, CGEBAL)(F77_CONST_CHAR_ARG_DECL
 
F77_RET_T F77_FUNC (sgebak, SGEBAK)(F77_CONST_CHAR_ARG_DECL
 
F77_RET_T F77_FUNC (cgemm, CGEMM)(F77_CONST_CHAR_ARG_DECL
 
F77_RET_T F77_FUNC (cgemv, CGEMV)(F77_CONST_CHAR_ARG_DECL
 
F77_RET_T F77_FUNC (xcdotu, XCDOTU)(const octave_idx_type &
 
F77_RET_T const FloatComplex
const octave_idx_type const
FloatComplex const
octave_idx_type FloatComplex
&F77_RET_T 
F77_FUNC (xcdotc, XCDOTC)(const octave_idx_type &
 
F77_RET_T const FloatComplex
const octave_idx_type const
FloatComplex const
octave_idx_type FloatComplex
&F77_RET_T const FloatComplex
const octave_idx_type const
FloatComplex const
octave_idx_type FloatComplex
&F77_RET_T 
F77_FUNC (csyrk, CSYRK)(F77_CONST_CHAR_ARG_DECL
 
F77_RET_T F77_FUNC (cherk, CHERK)(F77_CONST_CHAR_ARG_DECL
 
F77_RET_T F77_FUNC (cgetrf, CGETRF)(const octave_idx_type &
 
F77_RET_T const
octave_idx_type FloatComplex
const octave_idx_type
octave_idx_type
octave_idx_type &F77_RET_T 
F77_FUNC (cgetrs, CGETRS)(F77_CONST_CHAR_ARG_DECL
 
F77_RET_T F77_FUNC (cgetri, CGETRI)(const octave_idx_type &
 
F77_RET_T FloatComplex const
octave_idx_type const
octave_idx_type FloatComplex
const octave_idx_type
octave_idx_type &F77_RET_T 
F77_FUNC (cgecon, CGECON)(F77_CONST_CHAR_ARG_DECL
 
F77_RET_T F77_FUNC (cgelsy, CGELSY)(const octave_idx_type &
 
F77_RET_T const
octave_idx_type const
octave_idx_type FloatComplex
const octave_idx_type
FloatComplex const
octave_idx_type
octave_idx_type float
octave_idx_type FloatComplex
const octave_idx_type float
octave_idx_type &F77_RET_T 
F77_FUNC (cgelsd, CGELSD)(const octave_idx_type &
 
F77_RET_T const
octave_idx_type const
octave_idx_type FloatComplex
const octave_idx_type
FloatComplex const
octave_idx_type
octave_idx_type float
octave_idx_type FloatComplex
const octave_idx_type float
octave_idx_type &F77_RET_T
const octave_idx_type const
octave_idx_type FloatComplex
const octave_idx_type
FloatComplex const
octave_idx_type float float
octave_idx_type FloatComplex
const octave_idx_type float
octave_idx_type
octave_idx_type &F77_RET_T 
F77_FUNC (cpotrf, CPOTRF)(F77_CONST_CHAR_ARG_DECL
 
F77_RET_T F77_FUNC (cpocon, CPOCON)(F77_CONST_CHAR_ARG_DECL
 
F77_RET_T F77_FUNC (cpotrs, CPOTRS)(F77_CONST_CHAR_ARG_DECL
 
F77_RET_T F77_FUNC (ctrtri, CTRTRI)(F77_CONST_CHAR_ARG_DECL
 
F77_RET_T F77_FUNC (ctrcon, CTRCON)(F77_CONST_CHAR_ARG_DECL
 
F77_RET_T F77_FUNC (ctrtrs, CTRTRS)(F77_CONST_CHAR_ARG_DECL
 
F77_RET_T F77_FUNC (clartg, CLARTG)(const FloatComplex &
 
F77_RET_T const FloatComplex
float FloatComplex
FloatComplex &F77_RET_T 
F77_FUNC (ctrsyl, CTRSYL)(F77_CONST_CHAR_ARG_DECL
 
F77_RET_T F77_FUNC (xclange, XCLANGE)(F77_CONST_CHAR_ARG_DECL
 
static const FloatComplex FloatComplex_NaN_result ((lo_ieee_float_nan_value()),(lo_ieee_float_nan_value()))
 
static char get_blas_trans_arg (bool trans, bool conj)
 
FloatComplexMatrix Givens (const FloatComplex &x, const FloatComplex &y)
 
FloatComplexMatrix linspace (const FloatComplexColumnVector &x1, const FloatComplexColumnVector &x2, octave_idx_type n)
 
FloatComplexMatrix max (const FloatComplex &c, const FloatComplexMatrix &m)
 
FloatComplexMatrix max (const FloatComplexMatrix &m, const FloatComplex &c)
 
FloatComplexMatrix max (const FloatComplexMatrix &a, const FloatComplexMatrix &b)
 
FloatComplexMatrix min (const FloatComplex &c, const FloatComplexMatrix &m)
 
FloatComplexMatrix min (const FloatComplexMatrix &m, const FloatComplex &c)
 
FloatComplexMatrix min (const FloatComplexMatrix &a, const FloatComplexMatrix &b)
 
boolMatrix mx_el_and (const FloatComplexMatrix &m, const FloatComplex &s)
 
boolMatrix mx_el_and (const FloatComplex &s, const FloatComplexMatrix &m)
 
boolMatrix mx_el_and (const FloatComplexMatrix &m1, const FloatComplexMatrix &m2)
 
boolMatrix mx_el_eq (const FloatComplexMatrix &m, const FloatComplex &s)
 
boolMatrix mx_el_eq (const FloatComplex &s, const FloatComplexMatrix &m)
 
boolMatrix mx_el_eq (const FloatComplexMatrix &m1, const FloatComplexMatrix &m2)
 
boolMatrix mx_el_ge (const FloatComplexMatrix &m, const FloatComplex &s)
 
boolMatrix mx_el_ge (const FloatComplex &s, const FloatComplexMatrix &m)
 
boolMatrix mx_el_ge (const FloatComplexMatrix &m1, const FloatComplexMatrix &m2)
 
boolMatrix mx_el_gt (const FloatComplexMatrix &m, const FloatComplex &s)
 
boolMatrix mx_el_gt (const FloatComplex &s, const FloatComplexMatrix &m)
 
boolMatrix mx_el_gt (const FloatComplexMatrix &m1, const FloatComplexMatrix &m2)
 
boolMatrix mx_el_le (const FloatComplexMatrix &m, const FloatComplex &s)
 
boolMatrix mx_el_le (const FloatComplex &s, const FloatComplexMatrix &m)
 
boolMatrix mx_el_le (const FloatComplexMatrix &m1, const FloatComplexMatrix &m2)
 
boolMatrix mx_el_lt (const FloatComplexMatrix &m, const FloatComplex &s)
 
boolMatrix mx_el_lt (const FloatComplex &s, const FloatComplexMatrix &m)
 
boolMatrix mx_el_lt (const FloatComplexMatrix &m1, const FloatComplexMatrix &m2)
 
boolMatrix mx_el_ne (const FloatComplexMatrix &m, const FloatComplex &s)
 
boolMatrix mx_el_ne (const FloatComplex &s, const FloatComplexMatrix &m)
 
boolMatrix mx_el_ne (const FloatComplexMatrix &m1, const FloatComplexMatrix &m2)
 
boolMatrix mx_el_or (const FloatComplexMatrix &m, const FloatComplex &s)
 
boolMatrix mx_el_or (const FloatComplex &s, const FloatComplexMatrix &m)
 
boolMatrix mx_el_or (const FloatComplexMatrix &m1, const FloatComplexMatrix &m2)
 
FloatComplexMatrix operator* (const FloatColumnVector &v, const FloatComplexRowVector &a)
 
FloatComplexMatrix operator* (const FloatComplexColumnVector &a, const FloatRowVector &b)
 
FloatComplexMatrix operator* (const FloatComplexColumnVector &v, const FloatComplexRowVector &a)
 
FloatComplexMatrix operator* (const FloatComplexMatrix &m, const FloatMatrix &a)
 
FloatComplexMatrix operator* (const FloatMatrix &m, const FloatComplexMatrix &a)
 
FloatComplexMatrix operator* (const FloatComplexMatrix &a, const FloatComplexMatrix &b)
 
std::ostream & operator<< (std::ostream &os, const FloatComplexMatrix &a)
 
std::istream & operator>> (std::istream &is, FloatComplexMatrix &a)
 
FloatComplexMatrix Sylvester (const FloatComplexMatrix &a, const FloatComplexMatrix &b, const FloatComplexMatrix &c)
 
FloatComplexMatrix xgemm (const FloatComplexMatrix &a, const FloatComplexMatrix &b, blas_trans_type transa, blas_trans_type transb)
 

Variables

F77_RET_T const
octave_idx_type const
octave_idx_type const
octave_idx_type const
octave_idx_type
octave_idx_type
&F77_CHAR_ARG_LEN_DECL 
F77_CHAR_ARG_LEN_DECL
 
F77_RET_T F77_CONST_CHAR_ARG_DECL
 

Macro Definition Documentation

#define EMPTY_RETURN_CHECK (   T)
Value:
if (nr == 0 || nc == 0) \
return T (nr, nc);

Definition at line 3834 of file fCMatrix.cc.

Referenced by max(), and min().

Function Documentation

Definition at line 969 of file fCMatrix.cc.

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

F77_RET_T F77_FUNC ( xilaenv  ,
XILAENV   
) const
F77_RET_T F77_FUNC ( cgebal  ,
CGEBAL   
)
F77_RET_T F77_FUNC ( sgebak  ,
SGEBAK   
)
F77_RET_T F77_FUNC ( cgemm  ,
CGEMM   
)
F77_RET_T F77_FUNC ( cgemv  ,
CGEMV   
)
F77_RET_T F77_FUNC ( xcdotu  ,
XCDOTU   
) const
F77_RET_T const FloatComplex const octave_idx_type const FloatComplex const octave_idx_type FloatComplex& F77_RET_T F77_FUNC ( xcdotc  ,
XCDOTC   
) const
F77_RET_T F77_FUNC ( cherk  ,
CHERK   
)
F77_RET_T F77_FUNC ( cgetrf  ,
CGETRF   
) const
F77_RET_T F77_FUNC ( cgetri  ,
CGETRI   
) const
F77_RET_T F77_FUNC ( cgelsy  ,
CGELSY   
) const
F77_RET_T F77_FUNC ( cpocon  ,
CPOCON   
)
F77_RET_T F77_FUNC ( cpotrs  ,
CPOTRS   
)
F77_RET_T F77_FUNC ( ctrtri  ,
CTRTRI   
)
F77_RET_T F77_FUNC ( ctrcon  ,
CTRCON   
)
F77_RET_T F77_FUNC ( ctrtrs  ,
CTRTRS   
)
F77_RET_T F77_FUNC ( clartg  ,
CLARTG   
) const
F77_RET_T const FloatComplex float FloatComplex FloatComplex& F77_RET_T F77_FUNC ( ctrsyl  ,
CTRSYL   
)
F77_RET_T F77_FUNC ( xclange  ,
XCLANGE   
)
static const FloatComplex FloatComplex_NaN_result ( (lo_ieee_float_nan_value())  ,
(lo_ieee_float_nan_value())   
)
static
static char get_blas_trans_arg ( bool  trans,
bool  conj 
)
static

Definition at line 3697 of file fCMatrix.cc.

Referenced by xgemm().

FloatComplexMatrix Givens ( const FloatComplex x,
const FloatComplex y 
)

Definition at line 3587 of file fCMatrix.cc.

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

Definition at line 4017 of file fCMatrix.cc.

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

FloatComplexMatrix max ( const FloatComplex c,
const FloatComplexMatrix m 
)
FloatComplexMatrix max ( const FloatComplexMatrix m,
const FloatComplex c 
)

Definition at line 3947 of file fCMatrix.cc.

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

FloatComplexMatrix max ( const FloatComplexMatrix a,
const FloatComplexMatrix b 
)
FloatComplexMatrix min ( const FloatComplex c,
const FloatComplexMatrix m 
)

Definition at line 3839 of file fCMatrix.cc.

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

Referenced by operator*().

FloatComplexMatrix min ( const FloatComplexMatrix m,
const FloatComplex c 
)

Definition at line 3859 of file fCMatrix.cc.

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

FloatComplexMatrix min ( const FloatComplexMatrix a,
const FloatComplexMatrix b 
)
boolMatrix mx_el_and ( const FloatComplexMatrix m,
const FloatComplex s 
)

Definition at line 4052 of file fCMatrix.cc.

boolMatrix mx_el_and ( const FloatComplex s,
const FloatComplexMatrix m 
)

Definition at line 4055 of file fCMatrix.cc.

boolMatrix mx_el_and ( const FloatComplexMatrix m1,
const FloatComplexMatrix m2 
)

Definition at line 4058 of file fCMatrix.cc.

boolMatrix mx_el_eq ( const FloatComplexMatrix m,
const FloatComplex s 
)

Definition at line 4051 of file fCMatrix.cc.

boolMatrix mx_el_eq ( const FloatComplex s,
const FloatComplexMatrix m 
)

Definition at line 4054 of file fCMatrix.cc.

boolMatrix mx_el_eq ( const FloatComplexMatrix m1,
const FloatComplexMatrix m2 
)

Definition at line 4057 of file fCMatrix.cc.

boolMatrix mx_el_ge ( const FloatComplexMatrix m,
const FloatComplex s 
)

Definition at line 4051 of file fCMatrix.cc.

boolMatrix mx_el_ge ( const FloatComplex s,
const FloatComplexMatrix m 
)

Definition at line 4054 of file fCMatrix.cc.

boolMatrix mx_el_ge ( const FloatComplexMatrix m1,
const FloatComplexMatrix m2 
)

Definition at line 4057 of file fCMatrix.cc.

boolMatrix mx_el_gt ( const FloatComplexMatrix m,
const FloatComplex s 
)

Definition at line 4051 of file fCMatrix.cc.

boolMatrix mx_el_gt ( const FloatComplex s,
const FloatComplexMatrix m 
)

Definition at line 4054 of file fCMatrix.cc.

boolMatrix mx_el_gt ( const FloatComplexMatrix m1,
const FloatComplexMatrix m2 
)

Definition at line 4057 of file fCMatrix.cc.

boolMatrix mx_el_le ( const FloatComplexMatrix m,
const FloatComplex s 
)

Definition at line 4051 of file fCMatrix.cc.

boolMatrix mx_el_le ( const FloatComplex s,
const FloatComplexMatrix m 
)

Definition at line 4054 of file fCMatrix.cc.

boolMatrix mx_el_le ( const FloatComplexMatrix m1,
const FloatComplexMatrix m2 
)

Definition at line 4057 of file fCMatrix.cc.

boolMatrix mx_el_lt ( const FloatComplexMatrix m,
const FloatComplex s 
)

Definition at line 4051 of file fCMatrix.cc.

boolMatrix mx_el_lt ( const FloatComplex s,
const FloatComplexMatrix m 
)

Definition at line 4054 of file fCMatrix.cc.

boolMatrix mx_el_lt ( const FloatComplexMatrix m1,
const FloatComplexMatrix m2 
)

Definition at line 4057 of file fCMatrix.cc.

boolMatrix mx_el_ne ( const FloatComplexMatrix m,
const FloatComplex s 
)

Definition at line 4051 of file fCMatrix.cc.

boolMatrix mx_el_ne ( const FloatComplex s,
const FloatComplexMatrix m 
)

Definition at line 4054 of file fCMatrix.cc.

boolMatrix mx_el_ne ( const FloatComplexMatrix m1,
const FloatComplexMatrix m2 
)

Definition at line 4057 of file fCMatrix.cc.

boolMatrix mx_el_or ( const FloatComplexMatrix m,
const FloatComplex s 
)

Definition at line 4052 of file fCMatrix.cc.

boolMatrix mx_el_or ( const FloatComplex s,
const FloatComplexMatrix m 
)

Definition at line 4055 of file fCMatrix.cc.

boolMatrix mx_el_or ( const FloatComplexMatrix m1,
const FloatComplexMatrix m2 
)

Definition at line 4058 of file fCMatrix.cc.

FloatComplexMatrix operator* ( const FloatColumnVector v,
const FloatComplexRowVector a 
)

Definition at line 2960 of file fCMatrix.cc.

FloatComplexMatrix operator* ( const FloatComplexColumnVector a,
const FloatRowVector b 
)

Definition at line 2967 of file fCMatrix.cc.

FloatComplexMatrix operator* ( const FloatComplexColumnVector v,
const FloatComplexRowVector a 
)
FloatComplexMatrix operator* ( const FloatComplexMatrix m,
const FloatMatrix a 
)

Definition at line 3656 of file fCMatrix.cc.

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

FloatComplexMatrix operator* ( const FloatMatrix m,
const FloatComplexMatrix a 
)

Definition at line 3665 of file fCMatrix.cc.

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

FloatComplexMatrix operator* ( const FloatComplexMatrix a,
const FloatComplexMatrix b 
)

Definition at line 3826 of file fCMatrix.cc.

References xgemm().

std::ostream& operator<< ( std::ostream &  os,
const FloatComplexMatrix a 
)
std::istream& operator>> ( std::istream &  is,
FloatComplexMatrix a 
)

Definition at line 3562 of file fCMatrix.cc.

References Array< T >::cols(), Array< T >::elem(), and Array< T >::rows().

FloatComplexMatrix Sylvester ( const FloatComplexMatrix a,
const FloatComplexMatrix b,
const FloatComplexMatrix c 
)
FloatComplexMatrix xgemm ( const FloatComplexMatrix a,
const FloatComplexMatrix b,
blas_trans_type  transa,
blas_trans_type  transb 
)

Variable Documentation

F77_RET_T const octave_idx_type const octave_idx_type const FloatComplex const octave_idx_type float float& F77_CHAR_ARG_LEN_DECL

Definition at line 72 of file fCMatrix.cc.

Definition at line 72 of file fCMatrix.cc.