GNU Octave  3.8.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 "fCMatrix.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-base.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 (octave_Float_NaN, octave_Float_NaN)
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)
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 3918 of file fCMatrix.cc.

Referenced by max(), and min().

Function Documentation

Definition at line 936 of file fCMatrix.cc.

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 ( octave_Float_NaN  ,
octave_Float_NaN   
)
static
static char get_blas_trans_arg ( bool  trans,
bool  conj 
)
static

Definition at line 3785 of file fCMatrix.cc.

Referenced by xgemm().

FloatComplexMatrix Givens ( const FloatComplex x,
const FloatComplex y 
)

Definition at line 3675 of file fCMatrix.cc.

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

Definition at line 4101 of file fCMatrix.cc.

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

FloatComplexMatrix max ( const FloatComplex c,
const FloatComplexMatrix m 
)

Definition at line 4011 of file fCMatrix.cc.

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

FloatComplexMatrix max ( const FloatComplexMatrix m,
const FloatComplex c 
)

Definition at line 4031 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 3923 of file fCMatrix.cc.

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

FloatComplexMatrix min ( const FloatComplexMatrix m,
const FloatComplex c 
)

Definition at line 3943 of file fCMatrix.cc.

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

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

Definition at line 2950 of file fCMatrix.cc.

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

Definition at line 2957 of file fCMatrix.cc.

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

Definition at line 3744 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 3753 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 3910 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 3650 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 67 of file fCMatrix.cc.

Definition at line 67 of file fCMatrix.cc.