Defines | Functions | Variables

dMatrix.cc File Reference

#include <cfloat>
#include <iostream>
#include <vector>
#include "Array-util.h"
#include "byte-swap.h"
#include "dMatrix.h"
#include "dbleAEPBAL.h"
#include "DET.h"
#include "dbleSCHUR.h"
#include "dbleSVD.h"
#include "dbleCHOL.h"
#include "f77-fcn.h"
#include "functor.h"
#include "lo-error.h"
#include "oct-locbuf.h"
#include "lo-ieee.h"
#include "lo-mappers.h"
#include "lo-utils.h"
#include "mx-base.h"
#include "mx-m-dm.h"
#include "mx-dm-m.h"
#include "mx-inlines.cc"
#include "mx-op-defs.h"
#include "oct-cmplx.h"
#include "oct-fftw.h"
#include "oct-norm.h"
#include "quit.h"
Include dependency graph for dMatrix.cc:

Go to the source code of this file.

Defines

#define EMPTY_RETURN_CHECK(T)

Functions

F77_RET_T F77_FUNC (xilaenv, XILAENV)(const octave_idx_type &
F77_RET_T F77_FUNC (dgebal, DGEBAL)(F77_CONST_CHAR_ARG_DECL
F77_RET_T F77_FUNC (dgemm, DGEMM)(F77_CONST_CHAR_ARG_DECL
F77_RET_T F77_FUNC (dgetrf, DGETRF)(const octave_idx_type &
F77_RET_T F77_FUNC (dpotrs, DPOTRS)(F77_CONST_CHAR_ARG_DECL
F77_RET_T F77_FUNC (dtrtri, DTRTRI)(F77_CONST_CHAR_ARG_DECL
F77_RET_T const
octave_idx_type double const
octave_idx_type
octave_idx_type
octave_idx_type &F77_RET_T 
F77_FUNC (dgetrs, DGETRS)(F77_CONST_CHAR_ARG_DECL
F77_RET_T F77_FUNC (dtrcon, DTRCON)(F77_CONST_CHAR_ARG_DECL
F77_RET_T F77_FUNC (dtrtrs, DTRTRS)(F77_CONST_CHAR_ARG_DECL
F77_RET_T F77_FUNC (dgemv, DGEMV)(F77_CONST_CHAR_ARG_DECL
F77_RET_T F77_FUNC (dgetri, DGETRI)(const octave_idx_type &
F77_RET_T F77_FUNC (dlartg, DLARTG)(const double &
F77_RET_T const double double
double double &F77_RET_T 
F77_FUNC (dtrsyl, DTRSYL)(F77_CONST_CHAR_ARG_DECL
F77_RET_T double const
octave_idx_type const
octave_idx_type double const
octave_idx_type
octave_idx_type &F77_RET_T 
F77_FUNC (dgecon, DGECON)(F77_CONST_CHAR_ARG_DECL
F77_RET_T F77_FUNC (xdlange, XDLANGE)(F77_CONST_CHAR_ARG_DECL
F77_RET_T F77_FUNC (dgebak, DGEBAK)(F77_CONST_CHAR_ARG_DECL
F77_RET_T F77_FUNC (xddot, XDDOT)(const octave_idx_type &
F77_RET_T F77_FUNC (dgelsy, DGELSY)(const octave_idx_type &
F77_RET_T Complex *F77_RET_T
Complex Complex *F77_RET_T 
F77_FUNC (zfftb, ZFFTB)(const octave_idx_type &
F77_RET_T F77_FUNC (zffti, ZFFTI)(const octave_idx_type &
F77_RET_T const
octave_idx_type const
octave_idx_type double const
octave_idx_type double const
octave_idx_type
octave_idx_type double
octave_idx_type double const
octave_idx_type
octave_idx_type &F77_RET_T 
F77_FUNC (dgelsd, DGELSD)(const octave_idx_type &
F77_RET_T Complex *F77_RET_T F77_FUNC (zfftf, ZFFTF)(const octave_idx_type &
F77_RET_T const double const
octave_idx_type const double
const octave_idx_type double
&F77_RET_T 
F77_FUNC (dsyrk, DSYRK)(F77_CONST_CHAR_ARG_DECL
F77_RET_T const
octave_idx_type const
octave_idx_type double const
octave_idx_type double const
octave_idx_type
octave_idx_type double
octave_idx_type double const
octave_idx_type
octave_idx_type &F77_RET_T
const octave_idx_type const
octave_idx_type double const
octave_idx_type double const
octave_idx_type double double
octave_idx_type double const
octave_idx_type
octave_idx_type
octave_idx_type &F77_RET_T 
F77_FUNC (dpotrf, DPOTRF)(F77_CONST_CHAR_ARG_DECL
F77_RET_T F77_FUNC (dpocon, DPOCON)(F77_CONST_CHAR_ARG_DECL
static char get_blas_trans_arg (bool trans)
Matrix Givens (double x, double y)
Matrix imag (const ComplexMatrix &a)
Matrix linspace (const ColumnVector &x1, const ColumnVector &x2, octave_idx_type n)
Matrix max (const Matrix &m, double d)
Matrix max (double d, const Matrix &m)
Matrix max (const Matrix &a, const Matrix &b)
Matrix min (const Matrix &a, const Matrix &b)
Matrix min (double d, const Matrix &m)
Matrix min (const Matrix &m, double d)
Matrix operator* (const Matrix &a, const Matrix &b)
Matrix operator* (const ColumnVector &v, const RowVector &a)
std::ostream & operator<< (std::ostream &os, const Matrix &a)
std::istream & operator>> (std::istream &is, Matrix &a)
Matrix real (const ComplexMatrix &a)
static Matrix stack_complex_matrix (const ComplexMatrix &cm)
Matrix Sylvester (const Matrix &a, const Matrix &b, const Matrix &c)
static ComplexMatrix unstack_complex_matrix (const Matrix &sm)
Matrix xgemm (const Matrix &a, const Matrix &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

Define Documentation

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

Definition at line 3248 of file dMatrix.cc.

Referenced by max(), and min().


Function Documentation

F77_RET_T F77_FUNC ( xilaenv  ,
XILAENV   
) const
F77_RET_T F77_FUNC ( dgebal  ,
DGEBAL   
)
F77_RET_T F77_FUNC ( dgemm  ,
DGEMM   
)
F77_RET_T F77_FUNC ( dgetrf  ,
DGETRF   
) const
F77_RET_T F77_FUNC ( dpotrs  ,
DPOTRS   
)
F77_RET_T F77_FUNC ( dtrtri  ,
DTRTRI   
)
F77_RET_T const octave_idx_type double const octave_idx_type octave_idx_type octave_idx_type& F77_RET_T F77_FUNC ( dgetrs  ,
DGETRS   
)
F77_RET_T F77_FUNC ( dtrcon  ,
DTRCON   
)
F77_RET_T F77_FUNC ( dtrtrs  ,
DTRTRS   
)
F77_RET_T F77_FUNC ( dgemv  ,
DGEMV   
)
F77_RET_T F77_FUNC ( dgetri  ,
DGETRI   
) const
F77_RET_T F77_FUNC ( dlartg  ,
DLARTG   
) const
F77_RET_T const double double double double& F77_RET_T F77_FUNC ( dtrsyl  ,
DTRSYL   
)
F77_RET_T double const octave_idx_type const octave_idx_type double const octave_idx_type octave_idx_type& F77_RET_T F77_FUNC ( dgecon  ,
DGECON   
)
F77_RET_T F77_FUNC ( xdlange  ,
XDLANGE   
)
F77_RET_T F77_FUNC ( dgebak  ,
DGEBAK   
)
F77_RET_T F77_FUNC ( xddot  ,
XDDOT   
) const
F77_RET_T F77_FUNC ( dgelsy  ,
DGELSY   
) const
F77_RET_T Complex* F77_RET_T Complex Complex* F77_RET_T F77_FUNC ( zfftb  ,
ZFFTB   
) const
F77_RET_T F77_FUNC ( zffti  ,
ZFFTI   
) const
F77_RET_T const octave_idx_type const octave_idx_type double const octave_idx_type double const octave_idx_type octave_idx_type double octave_idx_type double const octave_idx_type octave_idx_type& F77_RET_T F77_FUNC ( dgelsd  ,
DGELSD   
) const
F77_RET_T Complex* F77_RET_T F77_FUNC ( zfftf  ,
ZFFTF   
) const
F77_RET_T const double const octave_idx_type const double const octave_idx_type double& F77_RET_T F77_FUNC ( dsyrk  ,
DSYRK   
)
F77_RET_T F77_FUNC ( dpocon  ,
DPOCON   
)
static char get_blas_trans_arg ( bool  trans  )  [inline, static]

Definition at line 3147 of file dMatrix.cc.

Referenced by xgemm().

Matrix Givens ( double  x,
double  y 
)

Definition at line 3055 of file dMatrix.cc.

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

Matrix imag ( const ComplexMatrix a  ) 

Definition at line 598 of file dMatrix.cc.

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

Definition at line 3386 of file dMatrix.cc.

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

Matrix max ( const Matrix m,
double  d 
)

Definition at line 3340 of file dMatrix.cc.

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

Matrix max ( double  d,
const Matrix m 
)

Definition at line 3320 of file dMatrix.cc.

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

Matrix max ( const Matrix a,
const Matrix b 
)

Definition at line 3360 of file dMatrix.cc.

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

Matrix min ( const Matrix a,
const Matrix b 
)

Definition at line 3293 of file dMatrix.cc.

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

Matrix min ( double  d,
const Matrix m 
)

Definition at line 3253 of file dMatrix.cc.

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

Matrix min ( const Matrix m,
double  d 
)

Definition at line 3273 of file dMatrix.cc.

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

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

Definition at line 3240 of file dMatrix.cc.

References xgemm().

Matrix operator* ( const ColumnVector v,
const RowVector a 
)
std::ostream& operator<< ( std::ostream &  os,
const Matrix a 
)
std::istream& operator>> ( std::istream &  is,
Matrix a 
)

Definition at line 3030 of file dMatrix.cc.

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

Matrix real ( const ComplexMatrix a  ) 

Definition at line 592 of file dMatrix.cc.

static Matrix stack_complex_matrix ( const ComplexMatrix cm  )  [static]
Matrix Sylvester ( const Matrix a,
const Matrix b,
const Matrix c 
)
static ComplexMatrix unstack_complex_matrix ( const Matrix sm  )  [static]
Matrix xgemm ( const Matrix a,
const Matrix b,
blas_trans_type  transa,
blas_trans_type  transb 
)

Variable Documentation

Definition at line 66 of file dMatrix.cc.

F77_RET_T const double double double double& F77_RET_T F77_CONST_CHAR_ARG_DECL

Definition at line 66 of file dMatrix.cc.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines