GNU Octave  4.2.1
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
dMatrix.cc File Reference
#include <cfloat>
#include <iostream>
#include <vector>
#include "Array-util.h"
#include "byte-swap.h"
#include "boolMatrix.h"
#include "chMatrix.h"
#include "chol.h"
#include "dMatrix.h"
#include "dDiagMatrix.h"
#include "CMatrix.h"
#include "dColVector.h"
#include "dRowVector.h"
#include "CColVector.h"
#include "PermMatrix.h"
#include "DET.h"
#include "schur.h"
#include "svd.h"
#include "functor.h"
#include "lo-blas-proto.h"
#include "lo-error.h"
#include "lo-ieee.h"
#include "lo-lapack-proto.h"
#include "lo-mappers.h"
#include "lo-utils.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-locbuf.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

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)
 
boolMatrix mx_el_and (const Matrix &m, const double &s)
 
boolMatrix mx_el_and (const double &s, const Matrix &m)
 
boolMatrix mx_el_and (const Matrix &m1, const Matrix &m2)
 
boolMatrix mx_el_eq (const Matrix &m, const double &s)
 
boolMatrix mx_el_eq (const double &s, const Matrix &m)
 
boolMatrix mx_el_eq (const Matrix &m1, const Matrix &m2)
 
boolMatrix mx_el_ge (const Matrix &m, const double &s)
 
boolMatrix mx_el_ge (const double &s, const Matrix &m)
 
boolMatrix mx_el_ge (const Matrix &m1, const Matrix &m2)
 
boolMatrix mx_el_gt (const Matrix &m, const double &s)
 
boolMatrix mx_el_gt (const double &s, const Matrix &m)
 
boolMatrix mx_el_gt (const Matrix &m1, const Matrix &m2)
 
boolMatrix mx_el_le (const Matrix &m, const double &s)
 
boolMatrix mx_el_le (const double &s, const Matrix &m)
 
boolMatrix mx_el_le (const Matrix &m1, const Matrix &m2)
 
boolMatrix mx_el_lt (const Matrix &m, const double &s)
 
boolMatrix mx_el_lt (const double &s, const Matrix &m)
 
boolMatrix mx_el_lt (const Matrix &m1, const Matrix &m2)
 
boolMatrix mx_el_ne (const Matrix &m, const double &s)
 
boolMatrix mx_el_ne (const double &s, const Matrix &m)
 
boolMatrix mx_el_ne (const Matrix &m1, const Matrix &m2)
 
boolMatrix mx_el_or (const Matrix &m, const double &s)
 
boolMatrix mx_el_or (const double &s, const Matrix &m)
 
boolMatrix mx_el_or (const Matrix &m1, const Matrix &m2)
 
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)
 

Macro Definition Documentation

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

Definition at line 2943 of file dMatrix.cc.

Referenced by max(), and min().

Function Documentation

static char get_blas_trans_arg ( bool  trans)
inlinestatic

Definition at line 2842 of file dMatrix.cc.

Referenced by xgemm().

Matrix Givens ( double  x,
double  y 
)

Definition at line 2751 of file dMatrix.cc.

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

Matrix imag ( const ComplexMatrix a)

Definition at line 392 of file dMatrix.cc.

References a, and mx_inline_imag().

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

Definition at line 3075 of file dMatrix.cc.

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

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 
)
boolMatrix mx_el_and ( const Matrix m,
const double s 
)

Definition at line 3114 of file dMatrix.cc.

boolMatrix mx_el_and ( const double s,
const Matrix m 
)

Definition at line 3117 of file dMatrix.cc.

boolMatrix mx_el_and ( const Matrix m1,
const Matrix m2 
)

Definition at line 3120 of file dMatrix.cc.

boolMatrix mx_el_eq ( const Matrix m,
const double s 
)

Definition at line 3113 of file dMatrix.cc.

boolMatrix mx_el_eq ( const double s,
const Matrix m 
)

Definition at line 3116 of file dMatrix.cc.

boolMatrix mx_el_eq ( const Matrix m1,
const Matrix m2 
)

Definition at line 3119 of file dMatrix.cc.

boolMatrix mx_el_ge ( const Matrix m,
const double s 
)

Definition at line 3113 of file dMatrix.cc.

boolMatrix mx_el_ge ( const double s,
const Matrix m 
)

Definition at line 3116 of file dMatrix.cc.

boolMatrix mx_el_ge ( const Matrix m1,
const Matrix m2 
)

Definition at line 3119 of file dMatrix.cc.

boolMatrix mx_el_gt ( const Matrix m,
const double s 
)

Definition at line 3113 of file dMatrix.cc.

boolMatrix mx_el_gt ( const double s,
const Matrix m 
)

Definition at line 3116 of file dMatrix.cc.

boolMatrix mx_el_gt ( const Matrix m1,
const Matrix m2 
)

Definition at line 3119 of file dMatrix.cc.

boolMatrix mx_el_le ( const Matrix m,
const double s 
)

Definition at line 3113 of file dMatrix.cc.

boolMatrix mx_el_le ( const double s,
const Matrix m 
)

Definition at line 3116 of file dMatrix.cc.

boolMatrix mx_el_le ( const Matrix m1,
const Matrix m2 
)

Definition at line 3119 of file dMatrix.cc.

boolMatrix mx_el_lt ( const Matrix m,
const double s 
)

Definition at line 3113 of file dMatrix.cc.

boolMatrix mx_el_lt ( const double s,
const Matrix m 
)

Definition at line 3116 of file dMatrix.cc.

boolMatrix mx_el_lt ( const Matrix m1,
const Matrix m2 
)

Definition at line 3119 of file dMatrix.cc.

boolMatrix mx_el_ne ( const Matrix m,
const double s 
)

Definition at line 3113 of file dMatrix.cc.

boolMatrix mx_el_ne ( const double s,
const Matrix m 
)

Definition at line 3116 of file dMatrix.cc.

boolMatrix mx_el_ne ( const Matrix m1,
const Matrix m2 
)

Definition at line 3119 of file dMatrix.cc.

boolMatrix mx_el_or ( const Matrix m,
const double s 
)

Definition at line 3114 of file dMatrix.cc.

boolMatrix mx_el_or ( const double s,
const Matrix m 
)

Definition at line 3117 of file dMatrix.cc.

boolMatrix mx_el_or ( const Matrix m1,
const Matrix m2 
)

Definition at line 3120 of file dMatrix.cc.

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

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

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

Matrix real ( const ComplexMatrix a)

Definition at line 386 of file dMatrix.cc.

References a, and 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 
)