#include <algorithm>#include <cmath>#include <istream>#include <limits>#include <ostream>#include "Array-util.h"#include "CColVector.h"#include "CMatrix.h"#include "DET.h"#include "PermMatrix.h"#include "blas-proto.h"#include "boolMatrix.h"#include "byte-swap.h"#include "chMatrix.h"#include "chol.h"#include "dColVector.h"#include "dDiagMatrix.h"#include "dMatrix.h"#include "dRowVector.h"#include "lapack-proto.h"#include "lo-ieee.h"#include "lo-utils.h"#include "mappers.h"#include "mx-dm-m.h"#include "mx-inlines.cc"#include "mx-m-dm.h"#include "mx-op-defs.h"#include "oct-cmplx.h"#include "oct-error.h"#include "oct-fftw.h"#include "oct-locbuf.h"#include "oct-norm.h"#include "quit.h"#include "schur.h"#include "svd.h"Go to the source code of this file.
Macros | |
| #define | EMPTY_RETURN_CHECK(T) |
Functions | |
| 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 &a, const Matrix &b) |
| Matrix | max (const Matrix &a, const Matrix &b, const bool nanflag) |
| Matrix | max (const Matrix &a, const Matrix &b, const bool nanflag, const bool realabs) |
| Matrix | max (const Matrix &m, double d) |
| Matrix | max (const Matrix &m, double d, const bool nanflag) |
| Matrix | max (const Matrix &m, double d, const bool nanflag, const bool realabs) |
| Matrix | max (double d, const Matrix &m) |
| Matrix | max (double d, const Matrix &m, const bool nanflag) |
| Matrix | max (double d, const Matrix &m, const bool nanflag, const bool realabs) |
| Matrix | min (const Matrix &a, const Matrix &b) |
| Matrix | min (const Matrix &a, const Matrix &b, const bool nanflag) |
| Matrix | min (const Matrix &a, const Matrix &b, const bool nanflag, const bool realabs) |
| Matrix | min (const Matrix &m, double d) |
| Matrix | min (const Matrix &m, double d, const bool nanflag) |
| Matrix | min (const Matrix &m, double d, const bool nanflag, const bool realabs) |
| Matrix | min (double d, const Matrix &m) |
| Matrix | min (double d, const Matrix &m, const bool nanflag) |
| Matrix | min (double d, const Matrix &m, const bool nanflag, const bool realabs) |
| boolMatrix | mx_el_and (const double &s, const Matrix &m) |
| boolMatrix | mx_el_and (const Matrix &m, const double &s) |
| boolMatrix | mx_el_and (const Matrix &m1, const Matrix &m2) |
| boolMatrix | mx_el_eq (const double &s, const Matrix &m) |
| boolMatrix | mx_el_eq (const Matrix &m, const double &s) |
| boolMatrix | mx_el_eq (const Matrix &m1, const Matrix &m2) |
| boolMatrix | mx_el_ge (const double &s, const Matrix &m) |
| boolMatrix | mx_el_ge (const Matrix &m, const double &s) |
| boolMatrix | mx_el_ge (const Matrix &m1, const Matrix &m2) |
| boolMatrix | mx_el_gt (const double &s, const Matrix &m) |
| boolMatrix | mx_el_gt (const Matrix &m, const double &s) |
| boolMatrix | mx_el_gt (const Matrix &m1, const Matrix &m2) |
| boolMatrix | mx_el_le (const double &s, const Matrix &m) |
| boolMatrix | mx_el_le (const Matrix &m, const double &s) |
| boolMatrix | mx_el_le (const Matrix &m1, const Matrix &m2) |
| boolMatrix | mx_el_lt (const double &s, const Matrix &m) |
| boolMatrix | mx_el_lt (const Matrix &m, const double &s) |
| boolMatrix | mx_el_lt (const Matrix &m1, const Matrix &m2) |
| boolMatrix | mx_el_ne (const double &s, const Matrix &m) |
| boolMatrix | mx_el_ne (const Matrix &m, const double &s) |
| boolMatrix | mx_el_ne (const Matrix &m1, const Matrix &m2) |
| boolMatrix | mx_el_or (const double &s, const Matrix &m) |
| boolMatrix | mx_el_or (const Matrix &m, const double &s) |
| 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) |
| Matrix | Sylvester (const Matrix &a, const Matrix &b, const Matrix &c) |
| Matrix | xgemm (const Matrix &a, const Matrix &b, blas_trans_type transa, blas_trans_type transb) |
| #define EMPTY_RETURN_CHECK | ( | T | ) |
Definition at line 2885 of file dMatrix.cc.
Definition at line 2693 of file dMatrix.cc.
References Array< T, Alloc >::elem(), F77_FUNC(), and x.
| Matrix imag | ( | const ComplexMatrix & | a | ) |
Definition at line 392 of file dMatrix.cc.
| Matrix linspace | ( | const ColumnVector & | x1, |
| const ColumnVector & | x2, | ||
| octave_idx_type | n | ||
| ) |
Definition at line 3080 of file dMatrix.cc.
References Array< T, Alloc >::clear(), linspace(), and Array< T, Alloc >::numel().
Referenced by linspace().
Definition at line 3041 of file dMatrix.cc.
References max().
Definition at line 3049 of file dMatrix.cc.
References max().
Definition at line 3056 of file dMatrix.cc.
References Array< T, Alloc >::columns(), EMPTY_RETURN_CHECK, and Array< T, Alloc >::rows().
Definition at line 3020 of file dMatrix.cc.
Definition at line 3028 of file dMatrix.cc.
Definition at line 3035 of file dMatrix.cc.
Definition at line 2993 of file dMatrix.cc.
Definition at line 3000 of file dMatrix.cc.
References Array< T, Alloc >::columns(), d, EMPTY_RETURN_CHECK, and Array< T, Alloc >::rows().
Definition at line 2946 of file dMatrix.cc.
References min().
Definition at line 2954 of file dMatrix.cc.
References min().
Definition at line 2961 of file dMatrix.cc.
References Array< T, Alloc >::columns(), EMPTY_RETURN_CHECK, and Array< T, Alloc >::rows().
Definition at line 2925 of file dMatrix.cc.
Definition at line 2933 of file dMatrix.cc.
Definition at line 2940 of file dMatrix.cc.
Definition at line 2898 of file dMatrix.cc.
Definition at line 2905 of file dMatrix.cc.
References Array< T, Alloc >::columns(), d, EMPTY_RETURN_CHECK, and Array< T, Alloc >::rows().
| boolMatrix mx_el_and | ( | const double & | s, |
| const Matrix & | m | ||
| ) |
Definition at line 3110 of file dMatrix.cc.
| boolMatrix mx_el_and | ( | const Matrix & | m, |
| const double & | s | ||
| ) |
Definition at line 3107 of file dMatrix.cc.
| boolMatrix mx_el_and | ( | const Matrix & | m1, |
| const Matrix & | m2 | ||
| ) |
Definition at line 3113 of file dMatrix.cc.
| boolMatrix mx_el_eq | ( | const double & | s, |
| const Matrix & | m | ||
| ) |
Definition at line 3109 of file dMatrix.cc.
| boolMatrix mx_el_eq | ( | const Matrix & | m, |
| const double & | s | ||
| ) |
Definition at line 3106 of file dMatrix.cc.
| boolMatrix mx_el_eq | ( | const Matrix & | m1, |
| const Matrix & | m2 | ||
| ) |
Definition at line 3112 of file dMatrix.cc.
| boolMatrix mx_el_ge | ( | const double & | s, |
| const Matrix & | m | ||
| ) |
Definition at line 3109 of file dMatrix.cc.
| boolMatrix mx_el_ge | ( | const Matrix & | m, |
| const double & | s | ||
| ) |
Definition at line 3106 of file dMatrix.cc.
| boolMatrix mx_el_ge | ( | const Matrix & | m1, |
| const Matrix & | m2 | ||
| ) |
Definition at line 3112 of file dMatrix.cc.
| boolMatrix mx_el_gt | ( | const double & | s, |
| const Matrix & | m | ||
| ) |
Definition at line 3109 of file dMatrix.cc.
| boolMatrix mx_el_gt | ( | const Matrix & | m, |
| const double & | s | ||
| ) |
Definition at line 3106 of file dMatrix.cc.
| boolMatrix mx_el_gt | ( | const Matrix & | m1, |
| const Matrix & | m2 | ||
| ) |
Definition at line 3112 of file dMatrix.cc.
| boolMatrix mx_el_le | ( | const double & | s, |
| const Matrix & | m | ||
| ) |
Definition at line 3109 of file dMatrix.cc.
| boolMatrix mx_el_le | ( | const Matrix & | m, |
| const double & | s | ||
| ) |
Definition at line 3106 of file dMatrix.cc.
| boolMatrix mx_el_le | ( | const Matrix & | m1, |
| const Matrix & | m2 | ||
| ) |
Definition at line 3112 of file dMatrix.cc.
| boolMatrix mx_el_lt | ( | const double & | s, |
| const Matrix & | m | ||
| ) |
Definition at line 3109 of file dMatrix.cc.
| boolMatrix mx_el_lt | ( | const Matrix & | m, |
| const double & | s | ||
| ) |
Definition at line 3106 of file dMatrix.cc.
| boolMatrix mx_el_lt | ( | const Matrix & | m1, |
| const Matrix & | m2 | ||
| ) |
Definition at line 3112 of file dMatrix.cc.
| boolMatrix mx_el_ne | ( | const double & | s, |
| const Matrix & | m | ||
| ) |
Definition at line 3109 of file dMatrix.cc.
| boolMatrix mx_el_ne | ( | const Matrix & | m, |
| const double & | s | ||
| ) |
Definition at line 3106 of file dMatrix.cc.
| boolMatrix mx_el_ne | ( | const Matrix & | m1, |
| const Matrix & | m2 | ||
| ) |
Definition at line 3112 of file dMatrix.cc.
| boolMatrix mx_el_or | ( | const double & | s, |
| const Matrix & | m | ||
| ) |
Definition at line 3110 of file dMatrix.cc.
| boolMatrix mx_el_or | ( | const Matrix & | m, |
| const double & | s | ||
| ) |
Definition at line 3107 of file dMatrix.cc.
| boolMatrix mx_el_or | ( | const Matrix & | m1, |
| const Matrix & | m2 | ||
| ) |
Definition at line 3113 of file dMatrix.cc.
| Matrix operator* | ( | const ColumnVector & | v, |
| const RowVector & | a | ||
| ) |
Definition at line 2330 of file dMatrix.cc.
References Array< T, Alloc >::data(), F77_XFCN, len, Array< T, Alloc >::numel(), and Array< T, Alloc >::rwdata().
Definition at line 2878 of file dMatrix.cc.
References xgemm().
| std::ostream & operator<< | ( | std::ostream & | os, |
| const Matrix & | a | ||
| ) |
Definition at line 2654 of file dMatrix.cc.
| std::istream & operator>> | ( | std::istream & | is, |
| Matrix & | a | ||
| ) |
Definition at line 2670 of file dMatrix.cc.
| Matrix real | ( | const ComplexMatrix & | a | ) |
Definition at line 386 of file dMatrix.cc.
Definition at line 2710 of file dMatrix.cc.
References F77_XFCN, Array< T, Alloc >::rows(), Array< T, Alloc >::rwdata(), scale(), and Matrix::transpose().
| Matrix xgemm | ( | const Matrix & | a, |
| const Matrix & | b, | ||
| blas_trans_type | transa, | ||
| blas_trans_type | transb | ||
| ) |
Definition at line 2792 of file dMatrix.cc.
References blas_no_trans, Array< T, Alloc >::cols(), Array< T, Alloc >::data(), F77_FUNC(), F77_XFCN, Array< T, Alloc >::rows(), Array< T, Alloc >::rwdata(), xddot(), and Array< T, Alloc >::xelem().
Referenced by operator*().