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
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.

Macros

#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 (dgebak, DGEBAK)(F77_CONST_CHAR_ARG_DECL
F77_RET_T F77_FUNC (dgemm, DGEMM)(F77_CONST_CHAR_ARG_DECL
F77_RET_T F77_FUNC (dgemv, DGEMV)(F77_CONST_CHAR_ARG_DECL
F77_RET_T F77_FUNC (xddot, XDDOT)(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 F77_FUNC (dgetrf, DGETRF)(const octave_idx_type &
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 (dgetri, DGETRI)(const octave_idx_type &
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 (dgelsy, DGELSY)(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 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
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 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 (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 F77_FUNC (xdlange, XDLANGE)(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 (double d, const Matrix &m)
Matrix max (const Matrix &m, double d)
Matrix max (const Matrix &a, const Matrix &b)
Matrix min (double d, const Matrix &m)
Matrix min (const Matrix &m, double d)
Matrix min (const Matrix &a, const Matrix &b)
Matrix operator* (const ColumnVector &v, const RowVector &a)
Matrix operator* (const Matrix &a, const Matrix &b)
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

Macro Definition Documentation

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

Definition at line 3276 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 ( dgebak  ,
DGEBAK   
)
F77_RET_T F77_FUNC ( dgemm  ,
DGEMM   
)
F77_RET_T F77_FUNC ( dgemv  ,
DGEMV   
)
F77_RET_T F77_FUNC ( xddot  ,
XDDOT   
) 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 ( dgetrf  ,
DGETRF   
) const
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 ( dgetri  ,
DGETRI   
) const
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 ( dgelsy  ,
DGELSY   
) const
F77_RET_T F77_FUNC ( dpocon  ,
DPOCON   
)
F77_RET_T F77_FUNC ( dpotrs  ,
DPOTRS   
)
F77_RET_T F77_FUNC ( dtrtri  ,
DTRTRI   
)
F77_RET_T F77_FUNC ( dtrcon  ,
DTRCON   
)
F77_RET_T F77_FUNC ( dtrtrs  ,
DTRTRS   
)
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 F77_FUNC ( xdlange  ,
XDLANGE   
)
static char get_blas_trans_arg ( bool  trans)
inlinestatic

Definition at line 3176 of file dMatrix.cc.

Referenced by xgemm().

Matrix Givens ( double  x,
double  y 
)

Definition at line 3084 of file dMatrix.cc.

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

Matrix imag ( const ComplexMatrix a)

Definition at line 598 of file dMatrix.cc.

References mx_inline_imag().

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

Definition at line 3414 of file dMatrix.cc.

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

Matrix max ( double  d,
const Matrix m 
)

Definition at line 3348 of file dMatrix.cc.

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

Matrix max ( const Matrix m,
double  d 
)

Definition at line 3368 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 3388 of file dMatrix.cc.

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

Matrix min ( double  d,
const Matrix m 
)

Definition at line 3281 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 3301 of file dMatrix.cc.

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

Matrix min ( const Matrix a,
const Matrix b 
)

Definition at line 3321 of file dMatrix.cc.

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

Matrix operator* ( const ColumnVector v,
const RowVector a 
)
Matrix operator* ( const Matrix a,
const Matrix b 
)

Definition at line 3269 of file dMatrix.cc.

References xgemm().

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

Definition at line 3059 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.

References mx_inline_real().

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

F77_RET_T const octave_idx_type const octave_idx_type const double const octave_idx_type double double& F77_CHAR_ARG_LEN_DECL

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.