#include "dMatrix.h"
Public Types | |
typedef ColumnVector | column_vector_type |
typedef bool(* | compare_fcn_type) (typename ref_param< double >::type, typename ref_param< double >::type) |
typedef ComplexDiagMatrix | complex_diag_matrix_type |
typedef Complex | complex_elt_type |
typedef ComplexMatrix | complex_matrix_type |
typedef ref_param< double >::type | crefT |
typedef double | element_type |
typedef ColumnVector | real_column_vector_type |
typedef DiagMatrix | real_diag_matrix_type |
typedef double | real_elt_type |
typedef Matrix | real_matrix_type |
typedef RowVector | real_row_vector_type |
typedef RowVector | row_vector_type |
typedef octave_idx_type | size_type |
Used for operator(), and returned by numel() and size() (beware: signed integer) More... | |
typedef void(* | solve_singularity_handler) (double rcon) |
typedef double | value_type |
Static Public Member Functions | |
static octave_idx_type | compute_index (Array< octave_idx_type > &ra_idx, const dim_vector &dimensions) |
static void | increment_index (Array< octave_idx_type > &ra_idx, const dim_vector &dimensions, int start_dimension=0) |
Protected Attributes | |
dim_vector | dimensions |
Array< double >::ArrayRep * | rep |
double * | slice_data |
octave_idx_type | slice_len |
Static Private Member Functions | |
static Array< double >::ArrayRep * | nil_rep (void) |
Friends | |
class | ComplexMatrix |
OCTAVE_API Matrix | imag (const ComplexMatrix &a) |
OCTAVE_API std::ostream & | operator<< (std::ostream &os, const Matrix &a) |
OCTAVE_API std::istream & | operator>> (std::istream &is, Matrix &a) |
OCTAVE_API Matrix | real (const ComplexMatrix &a) |
Third dimension | |
Array< double > & | insert (const Array< double > &a, const Array< octave_idx_type > &idx) |
Insert an array into another at a specified position. More... | |
Array< double > & | insert (const Array< double > &a, octave_idx_type r, octave_idx_type c) |
This is just a special case for idx = [r c 0 ...]. More... | |
octave_idx_type | compute_index (octave_idx_type i, octave_idx_type j) const |
Size of the specified dimension. More... | |
octave_idx_type | compute_index (octave_idx_type i, octave_idx_type j, octave_idx_type k) const |
Size of the specified dimension. More... | |
octave_idx_type | compute_index (const Array< octave_idx_type > &ra_idx) const |
Size of the specified dimension. More... | |
Array< double > | reshape (octave_idx_type nr, octave_idx_type nc) const |
Size of the specified dimension. More... | |
Array< double > | hermitian (double(*fcn)(const double &)=nullptr) const |
Size of the specified dimension. More... | |
octave_idx_type | dim3 (void) const |
Size of the specified dimension. More... | |
octave_idx_type | pages (void) const |
Size of the specified dimension. More... | |
size_type | size (const size_type d) const |
Size of the specified dimension. More... | |
size_t | byte_size (void) const |
Size of the specified dimension. More... | |
const dim_vector & | dims (void) const |
Return a const-reference so that dims ()(i) works efficiently. More... | |
octave_idx_type | compute_index_unchecked (const Array< octave_idx_type > &ra_idx) const |
Size of the specified dimension. More... | |
double & | xelem (octave_idx_type n) |
Size of the specified dimension. More... | |
crefT | xelem (octave_idx_type n) const |
Size of the specified dimension. More... | |
double & | xelem (octave_idx_type i, octave_idx_type j) |
Size of the specified dimension. More... | |
crefT | xelem (octave_idx_type i, octave_idx_type j) const |
Size of the specified dimension. More... | |
double & | xelem (octave_idx_type i, octave_idx_type j, octave_idx_type k) |
Size of the specified dimension. More... | |
crefT | xelem (octave_idx_type i, octave_idx_type j, octave_idx_type k) const |
Size of the specified dimension. More... | |
double & | xelem (const Array< octave_idx_type > &ra_idx) |
Size of the specified dimension. More... | |
crefT | xelem (const Array< octave_idx_type > &ra_idx) const |
Size of the specified dimension. More... | |
double & | checkelem (octave_idx_type n) |
Size of the specified dimension. More... | |
double & | checkelem (octave_idx_type i, octave_idx_type j) |
Size of the specified dimension. More... | |
double & | checkelem (octave_idx_type i, octave_idx_type j, octave_idx_type k) |
Size of the specified dimension. More... | |
double & | checkelem (const Array< octave_idx_type > &ra_idx) |
Size of the specified dimension. More... | |
crefT | checkelem (octave_idx_type n) const |
Size of the specified dimension. More... | |
crefT | checkelem (octave_idx_type i, octave_idx_type j) const |
Size of the specified dimension. More... | |
crefT | checkelem (octave_idx_type i, octave_idx_type j, octave_idx_type k) const |
Size of the specified dimension. More... | |
crefT | checkelem (const Array< octave_idx_type > &ra_idx) const |
Size of the specified dimension. More... | |
double & | elem (octave_idx_type n) |
Size of the specified dimension. More... | |
double & | elem (octave_idx_type i, octave_idx_type j) |
Size of the specified dimension. More... | |
double & | elem (octave_idx_type i, octave_idx_type j, octave_idx_type k) |
Size of the specified dimension. More... | |
double & | elem (const Array< octave_idx_type > &ra_idx) |
Size of the specified dimension. More... | |
crefT | elem (octave_idx_type n) const |
Size of the specified dimension. More... | |
crefT | elem (octave_idx_type i, octave_idx_type j) const |
Size of the specified dimension. More... | |
crefT | elem (octave_idx_type i, octave_idx_type j, octave_idx_type k) const |
Size of the specified dimension. More... | |
crefT | elem (const Array< octave_idx_type > &ra_idx) const |
Size of the specified dimension. More... | |
double & | operator() (octave_idx_type n) |
Size of the specified dimension. More... | |
double & | operator() (octave_idx_type i, octave_idx_type j) |
Size of the specified dimension. More... | |
double & | operator() (octave_idx_type i, octave_idx_type j, octave_idx_type k) |
Size of the specified dimension. More... | |
double & | operator() (const Array< octave_idx_type > &ra_idx) |
Size of the specified dimension. More... | |
crefT | operator() (octave_idx_type n) const |
Size of the specified dimension. More... | |
crefT | operator() (octave_idx_type i, octave_idx_type j) const |
Size of the specified dimension. More... | |
crefT | operator() (octave_idx_type i, octave_idx_type j, octave_idx_type k) const |
Size of the specified dimension. More... | |
crefT | operator() (const Array< octave_idx_type > &ra_idx) const |
Size of the specified dimension. More... | |
Array< double > | page (octave_idx_type k) const |
Extract page: A(:,:,k+1). More... | |
Array< double > | linear_slice (octave_idx_type lo, octave_idx_type up) const |
Extract a slice from this array as a column vector: A(:)(lo+1:up). More... | |
bool | issquare (void) const |
Size of the specified dimension. More... | |
bool | isempty (void) const |
Size of the specified dimension. More... | |
bool | isvector (void) const |
Size of the specified dimension. More... | |
bool | is_nd_vector (void) const |
Size of the specified dimension. More... | |
const double * | data (void) const |
Size of the specified dimension. More... | |
const double * | fortran_vec (void) const |
Size of the specified dimension. More... | |
double * | fortran_vec (void) |
Size of the specified dimension. More... | |
bool | is_shared (void) |
Size of the specified dimension. More... | |
int | ndims (void) const |
Size of the specified dimension. More... | |
Array< double > | index (const idx_vector &i) const |
Indexing without resizing. More... | |
Array< double > | index (const idx_vector &i, const idx_vector &j) const |
Size of the specified dimension. More... | |
Array< double > | index (const Array< idx_vector > &ia) const |
Size of the specified dimension. More... | |
Array< double > | index (const idx_vector &i, bool resize_ok, const double &rfv) const |
Indexing with possible resizing and fill. More... | |
Array< double > | index (const idx_vector &i, bool resize_ok) const |
Size of the specified dimension. More... | |
Array< double > | index (const idx_vector &i, const idx_vector &j, bool resize_ok, const double &rfv) const |
Size of the specified dimension. More... | |
Array< double > | index (const idx_vector &i, const idx_vector &j, bool resize_ok) const |
Size of the specified dimension. More... | |
Array< double > | index (const Array< idx_vector > &ia, bool resize_ok, const double &rfv) const |
Size of the specified dimension. More... | |
Array< double > | index (const Array< idx_vector > &ia, bool resize_ok) const |
Size of the specified dimension. More... | |
virtual double | resize_fill_value (void) const |
Size of the specified dimension. More... | |
void | resize2 (octave_idx_type nr, octave_idx_type nc, const double &rfv) |
Resizing (with fill). More... | |
void | resize2 (octave_idx_type nr, octave_idx_type nc) |
Size of the specified dimension. More... | |
void | resize1 (octave_idx_type n, const double &rfv) |
Size of the specified dimension. More... | |
void | resize1 (octave_idx_type n) |
Size of the specified dimension. More... | |
void | resize (const dim_vector &dv, const double &rfv) |
Size of the specified dimension. More... | |
void | resize (const dim_vector &dv) |
Size of the specified dimension. More... | |
void | assign (const idx_vector &i, const Array< double > &rhs, const double &rfv) |
Indexed assignment (always with resize & fill). More... | |
void | assign (const idx_vector &i, const Array< double > &rhs) |
Size of the specified dimension. More... | |
void | assign (const idx_vector &i, const idx_vector &j, const Array< double > &rhs, const double &rfv) |
Size of the specified dimension. More... | |
void | assign (const idx_vector &i, const idx_vector &j, const Array< double > &rhs) |
Size of the specified dimension. More... | |
void | assign (const Array< idx_vector > &ia, const Array< double > &rhs, const double &rfv) |
Size of the specified dimension. More... | |
void | assign (const Array< idx_vector > &ia, const Array< double > &rhs) |
Size of the specified dimension. More... | |
void | delete_elements (const idx_vector &i) |
Deleting elements. More... | |
void | delete_elements (int dim, const idx_vector &i) |
A(:,...,I,...,:) = [] (>= 2 subscripts, one of them is non-colon) More... | |
void | delete_elements (const Array< idx_vector > &ia) |
Dispatcher to the above two. More... | |
void | maybe_economize (void) |
Size of the specified dimension. More... | |
void | print_info (std::ostream &os, const std::string &prefix) const |
Size of the specified dimension. More... | |
void * | mex_get_data (void) const |
Give a pointer to the data in mex format. More... | |
Array< double > | sort (int dim=0, sortmode mode=ASCENDING) const |
Size of the specified dimension. More... | |
Array< double > | sort (Array< octave_idx_type > &sidx, int dim=0, sortmode mode=ASCENDING) const |
Size of the specified dimension. More... | |
sortmode | issorted (sortmode mode=UNSORTED) const |
Ordering is auto-detected or can be specified. More... | |
Array< octave_idx_type > | sort_rows_idx (sortmode mode=ASCENDING) const |
Sort by rows returns only indices. More... | |
sortmode | is_sorted_rows (sortmode mode=UNSORTED) const |
Ordering is auto-detected or can be specified. More... | |
octave_idx_type | lookup (const double &value, sortmode mode=UNSORTED) const |
Do a binary lookup in a sorted array. More... | |
Array< octave_idx_type > | lookup (const Array< double > &values, sortmode mode=UNSORTED) const |
Ditto, but for an array of values, specializing on the case when values are sorted. More... | |
octave_idx_type | nnz (void) const |
Count nonzero elements. More... | |
Array< octave_idx_type > | find (octave_idx_type n=-1, bool backward=false) const |
Find indices of (at most n) nonzero elements. More... | |
Array< double > | nth_element (const idx_vector &n, int dim=0) const |
Returns the n-th element in increasing order, using the same ordering as used for sort. More... | |
Array< U > | map (F fcn) const |
Apply function fcn to each element of the Array<T>. More... | |
Array< U > | map (U(&fcn)(double)) const |
Overloads for function references. More... | |
Array< U > | map (U(&fcn)(const double &)) const |
Size of the specified dimension. More... | |
bool | test (F fcn) const |
Generic any/all test functionality with arbitrary predicate. More... | |
bool | test_any (F fcn) const |
Simpler calls. More... | |
bool | test_any (bool(&fcn)(double)) const |
Overloads for function references. More... | |
bool | test_any (bool(&fcn)(const double &)) const |
Size of the specified dimension. More... | |
bool | test_all (F fcn) const |
Size of the specified dimension. More... | |
bool | test_all (bool(&fcn)(double)) const |
Size of the specified dimension. More... | |
bool | test_all (bool(&fcn)(const double &)) const |
Size of the specified dimension. More... | |
bool | optimize_dimensions (const dim_vector &dv) |
Returns true if this->dims () == dv, and if so, replaces this->dimensions by a shallow copy of dv. More... | |
int | jit_ref_count (void) |
WARNING: Only call these functions from jit. More... | |
double * | jit_slice_data (void) const |
Size of the specified dimension. More... | |
octave_idx_type * | jit_dimensions (void) const |
Size of the specified dimension. More... | |
void * | jit_array_rep (void) const |
Size of the specified dimension. More... | |
static Array< double > | cat (int dim, octave_idx_type n, const Array< double > *array_list) |
Concatenation along a specified (0-based) dimension, equivalent to cat(). More... | |
static void | instantiation_guard () |
Size of the specified dimension. More... | |
typedef Complex Matrix::complex_elt_type |
|
inherited |
typedef double Matrix::real_elt_type |
typedef Matrix Matrix::real_matrix_type |
typedef RowVector Matrix::row_vector_type |
|
inherited |
typedef void(* Matrix::solve_singularity_handler) (double rcon) |
|
inherited |
|
default |
Referenced by inverse(), lssolve(), ltsolve(), pseudo_inverse(), and utsolve().
|
default |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
explicit |
Definition at line 68 of file dMatrix.cc.
|
explicit |
Definition at line 72 of file dMatrix.cc.
|
explicit |
Definition at line 76 of file dMatrix.cc.
References Array< double >::elem(), DiagArray2< T >::elem(), and DiagArray2< T >::length().
|
explicit |
Definition at line 83 of file dMatrix.cc.
References Array< double >::elem(), DiagArray2< T >::elem(), and DiagArray2< T >::length().
|
explicit |
Definition at line 90 of file dMatrix.cc.
References Array< double >::elem(), DiagArray2< T >::elem(), and DiagArray2< T >::length().
|
explicit |
Definition at line 97 of file dMatrix.cc.
References PermMatrix::col_perm_vec(), Array< double >::elem(), len, and PermMatrix::rows().
|
explicit |
Definition at line 108 of file dMatrix.cc.
|
explicit |
Definition at line 112 of file dMatrix.cc.
References Array< T >::cols(), Array< T >::elem(), Array< double >::elem(), and Array< T >::rows().
Matrix Matrix::abs | ( | void | ) | const |
Definition at line 2385 of file dMatrix.cc.
References NDArray::abs().
Referenced by SparseMatrix::bsolve(), and norm1().
boolMatrix Matrix::all | ( | int | dim = -1 | ) | const |
Definition at line 2343 of file dMatrix.cc.
References NDArray::all().
Referenced by octave_range::is_true().
|
inherited |
Definition at line 342 of file dNDArray.cc.
References Array< double >::test_all(), and xis_int_or_inf_or_nan().
|
inherited |
Definition at line 336 of file dNDArray.cc.
References Array< double >::test_all(), and xis_zero().
|
inherited |
Definition at line 351 of file dNDArray.cc.
References Array< double >::elem(), octave::math::isinteger(), and Array< double >::numel().
Referenced by elem_xpow().
|
inherited |
Definition at line 381 of file dNDArray.cc.
References octave::math::isinteger(), and Array< double >::test_all().
boolMatrix Matrix::any | ( | int | dim = -1 | ) | const |
Definition at line 2349 of file dMatrix.cc.
References NDArray::any().
|
inherited |
Definition at line 324 of file dNDArray.cc.
References mx_inline_all_finite().
Referenced by Fgsvd(), Fsvd(), and EIG::init().
|
inherited |
Definition at line 318 of file dNDArray.cc.
References mx_inline_any_nan().
Referenced by octave_matrix::bool_array_value(), NDArray::operator!(), and parse_range_spec().
|
inherited |
Definition at line 304 of file dNDArray.cc.
References mx_inline_any_negative(), octave::math::negative_sign(), and Array< double >::test_all().
Referenced by elem_xpow().
|
inherited |
Definition at line 311 of file dNDArray.cc.
References mx_inline_any_positive(), octave::math::positive_sign(), and Array< double >::test_all().
|
inherited |
Definition at line 330 of file dNDArray.cc.
References Array< double >::test_all(), and xis_one_or_zero().
Referenced by octave_matrix::bool_array_value().
Matrix Matrix::append | ( | const ColumnVector & | a | ) | const |
Definition at line 295 of file dMatrix.cc.
References Array< double >::cols(), Array< T >::insert(), Array< T >::numel(), retval, and Array< double >::rows().
Matrix Matrix::append | ( | const DiagMatrix & | a | ) | const |
Definition at line 310 of file dMatrix.cc.
References Array< double >::cols(), DiagArray2< T >::cols(), Array< T >::insert(), retval, Array< double >::rows(), and DiagArray2< T >::rows().
Definition at line 265 of file dMatrix.cc.
References Array< T >::cols(), Array< double >::cols(), Array< T >::insert(), retval, Array< T >::rows(), and Array< double >::rows().
Referenced by add_point(), and end_contour().
Definition at line 280 of file dMatrix.cc.
References Array< double >::cols(), Array< T >::insert(), Array< T >::numel(), retval, and Array< double >::rows().
|
inlineinherited |
|
inherited |
|
inlineinherited |
|
inherited |
|
inlineinherited |
|
inherited |
|
inlineinherited |
|
staticinherited |
|
inlineinherited |
Definition at line 163 of file dNDArray.h.
References MArray< T >::changesign().
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inlineinherited |
|
inlineinherited |
ColumnVector Matrix::column | ( | octave_idx_type | i | ) | const |
Definition at line 422 of file dMatrix.cc.
References idx_vector::colon, and Array< double >::index().
Referenced by qr< T >::insert_col(), QtHandles::Table::itemSelectionChanged(), qp(), solve(), SparseMatrix::solve(), lu< T >::update(), qr< T >::update(), and lu< T >::update_piv().
RowVector Matrix::column_max | ( | Array< octave_idx_type > & | index | ) | const |
Definition at line 2585 of file dMatrix.cc.
References Array< double >::cols(), Array< T >::elem(), Array< double >::elem(), octave::math::isnan(), NaN, Array< T >::resize(), RowVector::resize(), and Array< double >::rows().
RowVector Matrix::column_max | ( | void | ) | const |
Definition at line 2578 of file dMatrix.cc.
RowVector Matrix::column_min | ( | Array< octave_idx_type > & | index | ) | const |
Definition at line 2530 of file dMatrix.cc.
References Array< double >::cols(), Array< T >::elem(), Array< double >::elem(), octave::math::isnan(), NaN, Array< T >::resize(), RowVector::resize(), and Array< double >::rows().
RowVector Matrix::column_min | ( | void | ) | const |
Definition at line 2523 of file dMatrix.cc.
|
inlineinherited |
|
staticinherited |
Definition at line 602 of file dNDArray.cc.
References compute_index(), Array< double >::dimensions, and ra_idx.
|
inherited |
|
inherited |
|
inherited |
|
inlineinherited |
|
inherited |
Definition at line 514 of file dNDArray.cc.
References d, Array< double >::dims(), Array< T >::elem(), Array< double >::elem(), Array< T >::insert(), Array< T >::isempty(), octave::math::isnan(), max(), octave::math::nint_big(), Array< double >::numel(), ra_idx, and retval.
|
inherited |
Definition at line 505 of file dNDArray.cc.
References Array< T >::insert(), Array< T >::numel(), ra_idx, and retval.
|
inherited |
Definition at line 497 of file dNDArray.cc.
References NDArray::insert(), Array< T >::numel(), and ra_idx.
|
inherited |
Definition at line 473 of file dNDArray.cc.
References mx_inline_cummax().
|
inherited |
Definition at line 467 of file dNDArray.cc.
References mx_inline_cummax().
|
inherited |
Definition at line 485 of file dNDArray.cc.
References mx_inline_cummin().
|
inherited |
Definition at line 479 of file dNDArray.cc.
References mx_inline_cummin().
Matrix Matrix::cumprod | ( | int | dim = -1 | ) | const |
Definition at line 2355 of file dMatrix.cc.
References NDArray::cumprod().
Matrix Matrix::cumsum | ( | int | dim = -1 | ) | const |
Definition at line 2361 of file dMatrix.cc.
References NDArray::cumsum().
|
inlineinherited |
|
inherited |
|
inherited |
|
inherited |
DET Matrix::determinant | ( | MatrixType & | mattype, |
octave_idx_type & | info, | ||
double & | rcon, | ||
bool | calc_cond = true |
||
) | const |
Definition at line 862 of file dMatrix.cc.
References Array< double >::cols(), Array< double >::elem(), F77_XFCN, Array< T >::fortran_vec(), MatrixType::Full, MatrixType::Hermitian, MatrixType::Lower, MatrixType::mark_as_unsymmetric(), norm1(), MatrixType::Rectangular, retval, Array< double >::rows(), MatrixType::type(), MatrixType::Unknown, and MatrixType::Upper.
DET Matrix::determinant | ( | octave_idx_type & | info | ) | const |
Definition at line 848 of file dMatrix.cc.
References determinant().
DET Matrix::determinant | ( | octave_idx_type & | info, |
double & | rcon, | ||
bool | calc_cond = true |
||
) | const |
Definition at line 855 of file dMatrix.cc.
References determinant().
DET Matrix::determinant | ( | void | ) | const |
Definition at line 840 of file dMatrix.cc.
Referenced by determinant().
Matrix Matrix::diag | ( | octave_idx_type | k = 0 | ) | const |
Definition at line 2391 of file dMatrix.cc.
References NDArray::diag().
Referenced by Range::diag(), octave_range::diag(), and octave_matrix::diag().
DiagMatrix Matrix::diag | ( | octave_idx_type | m, |
octave_idx_type | n | ||
) | const |
Definition at line 2397 of file dMatrix.cc.
References Array< double >::cols(), current_liboctave_error_handler, m, n, retval, and Array< double >::rows().
|
inherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Matrix Matrix::extract | ( | octave_idx_type | r1, |
octave_idx_type | c1, | ||
octave_idx_type | r2, | ||
octave_idx_type | c2 | ||
) | const |
Definition at line 397 of file dMatrix.cc.
References Array< double >::index().
Referenced by octave::ft_text_renderer::compute_bbox(), Fdlmread(), pseudo_inverse(), save_three_d(), streameuler2d_internal(), and streameuler3d_internal().
Matrix Matrix::extract_n | ( | octave_idx_type | r1, |
octave_idx_type | c1, | ||
octave_idx_type | nr, | ||
octave_idx_type | nc | ||
) | const |
Definition at line 407 of file dMatrix.cc.
References Array< double >::index().
Referenced by convert_label_position(), convert_text_position(), end_contour(), axes::properties::get_boundingbox(), uicontrol::properties::get_boundingbox(), uibuttongroup::properties::get_boundingbox(), uipanel::properties::get_boundingbox(), uitable::properties::get_boundingbox(), figure::properties::map_from_boundingbox(), figure::properties::map_to_boundingbox(), qp(), screen_size_pixels(), axes::properties::update_units(), and uicontrol::properties::update_units().
Matrix & Matrix::fill | ( | double | val | ) |
Definition at line 221 of file dMatrix.cc.
References Array< double >::cols(), Array< double >::make_unique(), Array< double >::rows(), and Array< double >::xelem().
Referenced by insert().
Matrix & Matrix::fill | ( | double | val, |
octave_idx_type | r1, | ||
octave_idx_type | c1, | ||
octave_idx_type | r2, | ||
octave_idx_type | c2 | ||
) |
Definition at line 239 of file dMatrix.cc.
References Array< double >::cols(), Array< double >::make_unique(), Array< double >::rows(), and Array< double >::xelem().
|
inherited |
|
inherited |
Definition at line 42 of file Array-idx-vec.cc.
|
private |
Definition at line 550 of file dMatrix.cc.
References Array< double >::cols(), F77_XFCN, Array< T >::fortran_vec(), MatrixType::mark_as_rectangular(), norm1(), Array< T >::resize(), retval, and Array< double >::rows().
Referenced by inverse().
|
inherited |
|
inlineinherited |
|
inherited |
Definition at line 100 of file dNDArray.cc.
References NDArray::ComplexNDArray, Array< double >::dims(), octave::fftw::fft(), Array< T >::fortran_vec(), Array< double >::fortran_vec(), n, dim_vector::ndims(), Array< double >::numel(), and retval.
Referenced by do_fft().
ComplexMatrix Matrix::fourier | ( | void | ) | const |
Definition at line 716 of file dMatrix.cc.
References Array< double >::cols(), octave::fftw::fft(), Array< T >::fortran_vec(), Array< double >::fortran_vec(), retval, and Array< double >::rows().
ComplexMatrix Matrix::fourier2d | ( | void | ) | const |
Definition at line 775 of file dMatrix.cc.
References Array< double >::cols(), octave::fftw::fftNd(), Array< T >::fortran_vec(), Array< double >::fortran_vec(), retval, and Array< double >::rows().
|
inherited |
Definition at line 200 of file dNDArray.cc.
References Array< double >::dims(), octave::fftw::fftNd(), Array< T >::fortran_vec(), Array< double >::fortran_vec(), dim_vector::ndims(), and retval.
Referenced by do_fftn().
|
private |
Definition at line 1375 of file dMatrix.cc.
References Array< T >::cols(), Array< double >::cols(), F77_XFCN, Array< T >::fortran_vec(), MatrixType::Full, MatrixType::Hermitian, octave::math::isnan(), MatrixType::mark_as_rectangular(), MatrixType::mark_as_unsymmetric(), norm1(), retval, Array< T >::rows(), Array< double >::rows(), MatrixType::type(), and octave::warn_singular_matrix().
Referenced by solve().
|
inline |
Definition at line 134 of file dMatrix.h.
References MArray< T >::transpose().
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
Definition at line 131 of file dNDArray.cc.
References NDArray::ComplexNDArray, Array< double >::dims(), and dim_vector::ndims().
Referenced by do_fft().
ComplexMatrix Matrix::ifourier | ( | void | ) | const |
Definition at line 745 of file dMatrix.cc.
References Array< double >::cols(), Array< T >::fortran_vec(), octave::fftw::ifft(), retval, and Array< double >::rows().
ComplexMatrix Matrix::ifourier2d | ( | void | ) | const |
Definition at line 787 of file dMatrix.cc.
References Array< double >::cols(), Array< T >::fortran_vec(), octave::fftw::ifftNd(), retval, and Array< double >::rows().
|
inherited |
Definition at line 215 of file dNDArray.cc.
References Array< double >::dims(), Array< T >::fortran_vec(), octave::fftw::ifftNd(), dim_vector::ndims(), and retval.
Referenced by do_fftn().
|
staticinherited |
Definition at line 594 of file dNDArray.cc.
References Array< double >::dimensions, and ra_idx.
|
inherited |
|
inlineinherited |
|
inherited |
|
inherited |
|
inlineinherited |
|
inherited |
|
inherited |
|
inlineinherited |
|
inherited |
|
inherited |
|
inherited |
Matrix & Matrix::insert | ( | const ColumnVector & | a, |
octave_idx_type | r, | ||
octave_idx_type | c | ||
) |
Definition at line 178 of file dMatrix.cc.
References Array< double >::cols(), Array< T >::elem(), Array< double >::make_unique(), Array< T >::numel(), r, Array< double >::rows(), and Array< double >::xelem().
Matrix & Matrix::insert | ( | const DiagMatrix & | a, |
octave_idx_type | r, | ||
octave_idx_type | c | ||
) |
Definition at line 197 of file dMatrix.cc.
References Array< double >::cols(), DiagArray2< T >::cols(), DiagArray2< T >::elem(), fill(), DiagArray2< T >::length(), Array< double >::make_unique(), r, Array< double >::rows(), DiagArray2< T >::rows(), and Array< double >::xelem().
Matrix & Matrix::insert | ( | const Matrix & | a, |
octave_idx_type | r, | ||
octave_idx_type | c | ||
) |
Definition at line 152 of file dMatrix.cc.
References Array< T >::insert(), and r.
|
inherited |
Definition at line 563 of file dNDArray.cc.
References Array< T >::insert(), and ra_idx.
|
inherited |
Definition at line 556 of file dNDArray.cc.
References Array< T >::insert(), and r.
Referenced by NDArray::concat().
Matrix & Matrix::insert | ( | const RowVector & | a, |
octave_idx_type | r, | ||
octave_idx_type | c | ||
) |
Definition at line 159 of file dMatrix.cc.
References Array< double >::cols(), Array< T >::elem(), Array< double >::make_unique(), Array< T >::numel(), r, Array< double >::rows(), and Array< double >::xelem().
Definition at line 97 of file Array-C.cc.
|
privateinherited |
Definition at line 168 of file Array-f.cc.
|
privateinherited |
Definition at line 97 of file Array-fC.cc.
|
privateinherited |
Definition at line 53 of file Array-i.cc.
|
privateinherited |
Definition at line 63 of file Array-i.cc.
|
privateinherited |
Definition at line 64 of file Array-i.cc.
|
privateinherited |
Definition at line 65 of file Array-i.cc.
|
privateinherited |
Definition at line 66 of file Array-i.cc.
|
privateinherited |
Definition at line 73 of file Array-i.cc.
|
privateinherited |
Definition at line 74 of file Array-i.cc.
|
privateinherited |
Definition at line 75 of file Array-i.cc.
|
privateinherited |
Definition at line 76 of file Array-i.cc.
|
privateinherited |
Definition at line 44 of file Array-idx-vec.cc.
|
privateinherited |
Definition at line 47 of file Array-s.cc.
|
staticprivateinherited |
Matrix Matrix::inverse | ( | MatrixType & | mattype | ) | const |
Definition at line 476 of file dMatrix.cc.
References inverse().
Matrix Matrix::inverse | ( | MatrixType & | mattype, |
octave_idx_type & | info | ||
) | const |
Definition at line 484 of file dMatrix.cc.
References inverse().
Matrix Matrix::inverse | ( | MatrixType & | mattype, |
octave_idx_type & | info, | ||
double & | rcon, | ||
bool | force = false , |
||
bool | calc_cond = true |
||
) | const |
Definition at line 634 of file dMatrix.cc.
References Matrix(), Array< double >::columns(), finverse(), Inf, MatrixType::ishermitian(), MatrixType::Lower, MatrixType::mark_as_unsymmetric(), Array< double >::numel(), Array< double >::rows(), tinverse(), MatrixType::type(), MatrixType::Unknown, and MatrixType::Upper.
Matrix Matrix::inverse | ( | octave_idx_type & | info | ) | const |
Definition at line 460 of file dMatrix.cc.
References inverse().
Matrix Matrix::inverse | ( | octave_idx_type & | info, |
double & | rcon, | ||
bool | force = false , |
||
bool | calc_cond = true |
||
) | const |
Definition at line 468 of file dMatrix.cc.
References inverse().
Matrix Matrix::inverse | ( | void | ) | const |
Definition at line 451 of file dMatrix.cc.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inherited |
Definition at line 42 of file Array-idx-vec.cc.
|
inlineinherited |
|
inherited |
Definition at line 588 of file dNDArray.cc.
|
inherited |
Definition at line 582 of file dNDArray.cc.
|
inherited |
Definition at line 576 of file dNDArray.cc.
Definition at line 100 of file Array-f.cc.
|
inherited |
Definition at line 42 of file Array-idx-vec.cc.
|
inlineinherited |
bool Matrix::issymmetric | ( | void | ) | const |
Definition at line 136 of file dMatrix.cc.
References Array< double >::cols(), Array< double >::elem(), Array< double >::issquare(), and Array< double >::rows().
Referenced by F__eigs__(), and EIG::init().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inherited |
|
inherited |
Definition at line 42 of file Array-idx-vec.cc.
|
inherited |
|
inherited |
Definition at line 42 of file Array-idx-vec.cc.
ColumnVector Matrix::lssolve | ( | const ColumnVector & | b | ) | const |
Definition at line 2108 of file dMatrix.cc.
References lssolve().
ColumnVector Matrix::lssolve | ( | const ColumnVector & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 2117 of file dMatrix.cc.
References lssolve().
ColumnVector Matrix::lssolve | ( | const ColumnVector & | b, |
octave_idx_type & | info, | ||
octave_idx_type & | rank | ||
) | const |
Definition at line 2125 of file dMatrix.cc.
References lssolve().
ColumnVector Matrix::lssolve | ( | const ColumnVector & | b, |
octave_idx_type & | info, | ||
octave_idx_type & | rank, | ||
double & | rcon | ||
) | const |
Definition at line 2133 of file dMatrix.cc.
References Array< double >::cols(), Array< T >::elem(), F77_FUNC(), F77_XFCN, Array< T >::fortran_vec(), octave::math::log2(), m, n, Array< T >::numel(), Array< T >::resize(), retval, Array< double >::rows(), and xilaenv().
ComplexColumnVector Matrix::lssolve | ( | const ComplexColumnVector & | b | ) | const |
Definition at line 2238 of file dMatrix.cc.
References ComplexMatrix::lssolve().
ComplexColumnVector Matrix::lssolve | ( | const ComplexColumnVector & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 2248 of file dMatrix.cc.
References ComplexMatrix::lssolve().
ComplexColumnVector Matrix::lssolve | ( | const ComplexColumnVector & | b, |
octave_idx_type & | info, | ||
octave_idx_type & | rank | ||
) | const |
Definition at line 2257 of file dMatrix.cc.
References ComplexMatrix::lssolve().
ComplexColumnVector Matrix::lssolve | ( | const ComplexColumnVector & | b, |
octave_idx_type & | info, | ||
octave_idx_type & | rank, | ||
double & | rcon | ||
) | const |
Definition at line 2266 of file dMatrix.cc.
References ComplexMatrix::lssolve().
ComplexMatrix Matrix::lssolve | ( | const ComplexMatrix & | b | ) | const |
Definition at line 2072 of file dMatrix.cc.
References ComplexMatrix::lssolve().
ComplexMatrix Matrix::lssolve | ( | const ComplexMatrix & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 2082 of file dMatrix.cc.
References ComplexMatrix::lssolve().
ComplexMatrix Matrix::lssolve | ( | const ComplexMatrix & | b, |
octave_idx_type & | info, | ||
octave_idx_type & | rank | ||
) | const |
Definition at line 2091 of file dMatrix.cc.
References ComplexMatrix::lssolve().
ComplexMatrix Matrix::lssolve | ( | const ComplexMatrix & | b, |
octave_idx_type & | info, | ||
octave_idx_type & | rank, | ||
double & | rcon | ||
) | const |
Definition at line 2100 of file dMatrix.cc.
References ComplexMatrix::lssolve().
Definition at line 1886 of file dMatrix.cc.
Matrix Matrix::lssolve | ( | const Matrix & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 1895 of file dMatrix.cc.
References lssolve().
Matrix Matrix::lssolve | ( | const Matrix & | b, |
octave_idx_type & | info, | ||
octave_idx_type & | rank | ||
) | const |
Definition at line 1903 of file dMatrix.cc.
References lssolve().
Matrix Matrix::lssolve | ( | const Matrix & | b, |
octave_idx_type & | info, | ||
octave_idx_type & | rank, | ||
double & | rcon | ||
) | const |
Definition at line 1911 of file dMatrix.cc.
References Matrix(), Array< T >::cols(), Array< double >::cols(), Array< T >::elem(), F77_FUNC(), F77_XFCN, Array< T >::fortran_vec(), octave::math::isinf(), octave::math::isnan(), octave::math::log2(), m, n, NaN, norm1(), Array< T >::resize(), retval, Array< T >::rows(), Array< double >::rows(), and xilaenv().
|
private |
Definition at line 1278 of file dMatrix.cc.
References Matrix(), Array< T >::cols(), Array< double >::cols(), F77_XFCN, Array< double >::fortran_vec(), Array< T >::fortran_vec(), get_blas_char(), octave::math::isnan(), MatrixType::Lower, norm(), MatrixType::Permuted_Lower, retval, Array< double >::rows(), Array< T >::rows(), MatrixType::type(), and octave::warn_singular_matrix().
Referenced by solve().
|
inherited |
Definition at line 449 of file dNDArray.cc.
References mx_inline_max().
|
inherited |
Definition at line 443 of file dNDArray.cc.
References mx_inline_max().
|
inlineinherited |
|
inlineinherited |
|
inherited |
Definition at line 461 of file dNDArray.cc.
References mx_inline_min().
|
inherited |
Definition at line 455 of file dNDArray.cc.
References mx_inline_min().
|
inlineinherited |
|
inherited |
Definition at line 42 of file Array-idx-vec.cc.
|
inherited |
|
inherited |
Definition at line 42 of file Array-idx-vec.cc.
|
inherited |
|
inlineinherited |
|
inherited |
Definition at line 295 of file dNDArray.cc.
References NDArray::any_element_is_nan(), octave::err_nan_to_logical_conversion(), and mx_inline_not().
bool Matrix::operator!= | ( | const Matrix & | a | ) | const |
Definition at line 130 of file dMatrix.cc.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Matrix & Matrix::operator+= | ( | const DiagMatrix & | a | ) |
Definition at line 2274 of file dMatrix.cc.
References Array< double >::cols(), DiagArray2< T >::cols(), Array< double >::elem(), DiagArray2< T >::elem(), octave::err_nonconformant(), DiagArray2< T >::length(), Array< double >::rows(), and DiagArray2< T >::rows().
Matrix & Matrix::operator-= | ( | const DiagMatrix & | a | ) |
Definition at line 2292 of file dMatrix.cc.
References Array< double >::cols(), DiagArray2< T >::cols(), Array< double >::elem(), DiagArray2< T >::elem(), octave::err_nonconformant(), DiagArray2< T >::length(), Array< double >::rows(), and DiagArray2< T >::rows().
bool Matrix::operator== | ( | const Matrix & | a | ) | const |
Definition at line 121 of file dMatrix.cc.
References Array< T >::cols(), Array< double >::cols(), Array< double >::data(), Array< T >::data(), mx_inline_equal(), Array< double >::numel(), Array< T >::rows(), and Array< double >::rows().
|
inherited |
|
inherited |
|
inlineinherited |
|
inlineinherited |
|
inherited |
Matrix Matrix::prod | ( | int | dim = -1 | ) | const |
Definition at line 2367 of file dMatrix.cc.
References NDArray::prod().
Matrix Matrix::pseudo_inverse | ( | double | tol = 0.0 | ) | const |
Definition at line 675 of file dMatrix.cc.
References Matrix(), Array< double >::cols(), Array< T >::elem(), extract(), ColumnVector::extract(), DiagMatrix::extract_diag(), DiagMatrix::inverse(), octave::math::svd< T >::left_singular_matrix(), max(), min(), Array< T >::numel(), r, octave::math::svd< T >::right_singular_matrix(), Array< double >::rows(), octave::math::svd< T >::singular_values(), transpose(), and V.
Referenced by qp().
double Matrix::rcond | ( | MatrixType & | mattype | ) | const |
Definition at line 1018 of file dMatrix.cc.
References Array< double >::cols(), F77_XFCN, Array< T >::fortran_vec(), Array< double >::fortran_vec(), MatrixType::Full, MatrixType::Hermitian, Inf, MatrixType::Lower, MatrixType::mark_as_rectangular(), MatrixType::mark_as_unsymmetric(), NaN, norm(), norm1(), MatrixType::Permuted_Lower, MatrixType::Permuted_Upper, Array< double >::rows(), MatrixType::type(), MatrixType::Unknown, and MatrixType::Upper.
double Matrix::rcond | ( | void | ) | const |
Definition at line 1011 of file dMatrix.cc.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inherited |
|
inline |
Definition at line 151 of file dMatrix.h.
References Array< T >::resize().
Referenced by Range::clear_cache(), octave::opengl_renderer::patch_tessellator::combine(), coplanar_partition(), octave::base_stream::do_scanf(), octave::do_scanf_conv(), octave::opengl_renderer::draw_patch(), EigsRealSymmetricFunc(), EigsRealSymmetricMatrix(), EigsRealSymmetricMatrixShift(), F__contourc__(), Fconvhulln(), Fdlmread(), find_nonzero_elem_idx(), Flu(), qr< T >::init(), qrp< T >::init(), CollocWt::init(), DASRT::integrate(), DASPK::integrate(), DASSL::integrate(), octave::regexp::match(), Range::matrix_value(), qp(), start_contour(), axes::update_axis_limits(), and hggroup::update_axis_limits().
|
inlineinherited |
|
inherited |
|
inlineinherited |
|
inherited |
|
virtualinherited |
RowVector Matrix::row | ( | octave_idx_type | i | ) | const |
Definition at line 416 of file dMatrix.cc.
References idx_vector::colon, and Array< double >::index().
Referenced by SparseComplexMatrix::bsolve(), SparseMatrix::bsolve(), QtHandles::Table::itemSelectionChanged(), norm1(), qp(), and QtHandles::ListBoxControl::sendSelectionChange().
ColumnVector Matrix::row_max | ( | Array< octave_idx_type > & | index | ) | const |
Definition at line 2475 of file dMatrix.cc.
References Array< double >::cols(), Array< T >::elem(), Array< double >::elem(), octave::math::isnan(), NaN, Array< T >::resize(), ColumnVector::resize(), and Array< double >::rows().
ColumnVector Matrix::row_max | ( | void | ) | const |
Definition at line 2468 of file dMatrix.cc.
Referenced by axes::properties::update_camera().
ColumnVector Matrix::row_min | ( | Array< octave_idx_type > & | index | ) | const |
Definition at line 2420 of file dMatrix.cc.
References Array< double >::cols(), Array< T >::elem(), Array< double >::elem(), octave::math::isnan(), NaN, Array< T >::resize(), ColumnVector::resize(), and Array< double >::rows().
ColumnVector Matrix::row_min | ( | void | ) | const |
Definition at line 2413 of file dMatrix.cc.
Referenced by axes::properties::update_camera().
|
inlineinherited |
ColumnVector Matrix::solve | ( | const ColumnVector & | b | ) | const |
Definition at line 1825 of file dMatrix.cc.
References solve().
ColumnVector Matrix::solve | ( | const ColumnVector & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 1832 of file dMatrix.cc.
References solve().
ColumnVector Matrix::solve | ( | const ColumnVector & | b, |
octave_idx_type & | info, | ||
double & | rcon | ||
) | const |
Definition at line 1839 of file dMatrix.cc.
References solve().
ColumnVector Matrix::solve | ( | const ColumnVector & | b, |
octave_idx_type & | info, | ||
double & | rcon, | ||
solve_singularity_handler | sing_handler, | ||
blas_trans_type | transt = blas_no_trans |
||
) | const |
Definition at line 1845 of file dMatrix.cc.
References solve().
ComplexColumnVector Matrix::solve | ( | const ComplexColumnVector & | b | ) | const |
Definition at line 1854 of file dMatrix.cc.
References ComplexMatrix::solve().
ComplexColumnVector Matrix::solve | ( | const ComplexColumnVector & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 1861 of file dMatrix.cc.
References ComplexMatrix::solve().
ComplexColumnVector Matrix::solve | ( | const ComplexColumnVector & | b, |
octave_idx_type & | info, | ||
double & | rcon | ||
) | const |
Definition at line 1868 of file dMatrix.cc.
References ComplexMatrix::solve().
ComplexColumnVector Matrix::solve | ( | const ComplexColumnVector & | b, |
octave_idx_type & | info, | ||
double & | rcon, | ||
solve_singularity_handler | sing_handler, | ||
blas_trans_type | transt = blas_no_trans |
||
) | const |
Definition at line 1876 of file dMatrix.cc.
References ComplexMatrix::solve().
ComplexMatrix Matrix::solve | ( | const ComplexMatrix & | b | ) | const |
Definition at line 1794 of file dMatrix.cc.
References ComplexMatrix::solve().
ComplexMatrix Matrix::solve | ( | const ComplexMatrix & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 1801 of file dMatrix.cc.
References ComplexMatrix::solve().
ComplexMatrix Matrix::solve | ( | const ComplexMatrix & | b, |
octave_idx_type & | info, | ||
double & | rcon | ||
) | const |
Definition at line 1808 of file dMatrix.cc.
References ComplexMatrix::solve().
ComplexMatrix Matrix::solve | ( | const ComplexMatrix & | b, |
octave_idx_type & | info, | ||
double & | rcon, | ||
solve_singularity_handler | sing_handler, | ||
blas_trans_type | transt = blas_no_trans |
||
) | const |
Definition at line 1816 of file dMatrix.cc.
References ComplexMatrix::solve().
Definition at line 1764 of file dMatrix.cc.
References solve().
Matrix Matrix::solve | ( | const Matrix & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 1772 of file dMatrix.cc.
References solve().
Matrix Matrix::solve | ( | const Matrix & | b, |
octave_idx_type & | info, | ||
double & | rcon | ||
) | const |
Definition at line 1779 of file dMatrix.cc.
References solve().
Matrix Matrix::solve | ( | const Matrix & | b, |
octave_idx_type & | info, | ||
double & | rcon, | ||
solve_singularity_handler | sing_handler, | ||
blas_trans_type | transt = blas_no_trans |
||
) | const |
Definition at line 1785 of file dMatrix.cc.
References solve().
ColumnVector Matrix::solve | ( | MatrixType & | mattype, |
const ColumnVector & | b | ||
) | const |
Definition at line 1698 of file dMatrix.cc.
References solve().
ColumnVector Matrix::solve | ( | MatrixType & | mattype, |
const ColumnVector & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 1705 of file dMatrix.cc.
References solve().
ColumnVector Matrix::solve | ( | MatrixType & | mattype, |
const ColumnVector & | b, | ||
octave_idx_type & | info, | ||
double & | rcon | ||
) | const |
Definition at line 1713 of file dMatrix.cc.
References solve().
ColumnVector Matrix::solve | ( | MatrixType & | mattype, |
const ColumnVector & | b, | ||
octave_idx_type & | info, | ||
double & | rcon, | ||
solve_singularity_handler | sing_handler, | ||
blas_trans_type | transt = blas_no_trans |
||
) | const |
Definition at line 1720 of file dMatrix.cc.
ComplexColumnVector Matrix::solve | ( | MatrixType & | mattype, |
const ComplexColumnVector & | b | ||
) | const |
Definition at line 1731 of file dMatrix.cc.
References ComplexMatrix::solve().
ComplexColumnVector Matrix::solve | ( | MatrixType & | mattype, |
const ComplexColumnVector & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 1738 of file dMatrix.cc.
References ComplexMatrix::solve().
ComplexColumnVector Matrix::solve | ( | MatrixType & | mattype, |
const ComplexColumnVector & | b, | ||
octave_idx_type & | info, | ||
double & | rcon | ||
) | const |
Definition at line 1746 of file dMatrix.cc.
References ComplexMatrix::solve().
ComplexColumnVector Matrix::solve | ( | MatrixType & | mattype, |
const ComplexColumnVector & | b, | ||
octave_idx_type & | info, | ||
double & | rcon, | ||
solve_singularity_handler | sing_handler, | ||
blas_trans_type | transt = blas_no_trans |
||
) | const |
Definition at line 1754 of file dMatrix.cc.
References ComplexMatrix::solve().
ComplexMatrix Matrix::solve | ( | MatrixType & | mattype, |
const ComplexMatrix & | b | ||
) | const |
Definition at line 1632 of file dMatrix.cc.
References solve().
ComplexMatrix Matrix::solve | ( | MatrixType & | mattype, |
const ComplexMatrix & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 1640 of file dMatrix.cc.
References solve().
ComplexMatrix Matrix::solve | ( | MatrixType & | mattype, |
const ComplexMatrix & | b, | ||
octave_idx_type & | info, | ||
double & | rcon | ||
) | const |
Definition at line 1648 of file dMatrix.cc.
References solve().
ComplexMatrix Matrix::solve | ( | MatrixType & | mattype, |
const ComplexMatrix & | b, | ||
octave_idx_type & | info, | ||
double & | rcon, | ||
solve_singularity_handler | sing_handler, | ||
bool | singular_fallback = true , |
||
blas_trans_type | transt = blas_no_trans |
||
) | const |
Definition at line 1686 of file dMatrix.cc.
References solve(), stack_complex_matrix(), and unstack_complex_matrix().
Matrix Matrix::solve | ( | MatrixType & | mattype, |
const Matrix & | b | ||
) | const |
Definition at line 1575 of file dMatrix.cc.
Referenced by solve(), xdiv(), and xleftdiv().
Matrix Matrix::solve | ( | MatrixType & | mattype, |
const Matrix & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 1583 of file dMatrix.cc.
References solve().
Matrix Matrix::solve | ( | MatrixType & | mattype, |
const Matrix & | b, | ||
octave_idx_type & | info, | ||
double & | rcon | ||
) | const |
Definition at line 1591 of file dMatrix.cc.
References solve().
Matrix Matrix::solve | ( | MatrixType & | mattype, |
const Matrix & | b, | ||
octave_idx_type & | info, | ||
double & | rcon, | ||
solve_singularity_handler | sing_handler, | ||
bool | singular_fallback = true , |
||
blas_trans_type | transt = blas_no_trans |
||
) | const |
Definition at line 1598 of file dMatrix.cc.
References blas_conj_trans, blas_trans, fsolve(), MatrixType::Full, MatrixType::Hermitian, MatrixType::Lower, lssolve(), ltsolve(), MatrixType::Permuted_Lower, MatrixType::Permuted_Upper, MatrixType::Rectangular, retval, solve(), transpose(), MatrixType::type(), MatrixType::Unknown, MatrixType::Upper, and utsolve().
|
inherited |
Definition at line 42 of file Array-idx-vec.cc.
|
inherited |
Definition at line 42 of file Array-idx-vec.cc.
|
inherited |
|
inherited |
Definition at line 42 of file Array-idx-vec.cc.
|
inlineinherited |
Definition at line 144 of file dNDArray.h.
References MArray< T >::squeeze().
Referenced by octave_matrix::squeeze().
Matrix Matrix::stack | ( | const ColumnVector & | a | ) | const |
Definition at line 355 of file dMatrix.cc.
References Array< double >::cols(), Array< T >::insert(), Array< T >::numel(), retval, and Array< double >::rows().
Matrix Matrix::stack | ( | const DiagMatrix & | a | ) | const |
Definition at line 370 of file dMatrix.cc.
References Array< double >::cols(), DiagArray2< T >::cols(), Array< T >::insert(), retval, Array< double >::rows(), and DiagArray2< T >::rows().
Definition at line 325 of file dMatrix.cc.
References Array< T >::cols(), Array< double >::cols(), Array< T >::insert(), retval, Array< T >::rows(), and Array< double >::rows().
Referenced by children_property::do_set(), and qp().
Definition at line 340 of file dMatrix.cc.
References Array< double >::cols(), Array< T >::insert(), Array< T >::numel(), retval, and Array< double >::rows().
Matrix Matrix::sum | ( | int | dim = -1 | ) | const |
Definition at line 2373 of file dMatrix.cc.
References NDArray::sum().
Referenced by SparseComplexMatrix::bsolve(), SparseMatrix::bsolve(), and norm1().
Matrix Matrix::sumsq | ( | int | dim = -1 | ) | const |
Definition at line 2379 of file dMatrix.cc.
References NDArray::sumsq().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
private |
Definition at line 491 of file dMatrix.cc.
References Array< double >::cols(), F77_XFCN, Array< T >::fortran_vec(), MatrixType::Lower, OCTAVE_LOCAL_BUFFER, retval, Array< double >::rows(), and MatrixType::type().
Referenced by inverse().
|
inherited |
Definition at line 387 of file dNDArray.cc.
References Array< double >::test_any(), and xtoo_large_for_float().
|
inline |
Definition at line 135 of file dMatrix.h.
References MArray< T >::transpose().
Referenced by coplanar_partition(), do_fftn(), F__delaunayn__(), F__voronoi__(), Faudiowrite(), Fconvhulln(), LuAminusSigmaB(), make_cholb(), oct_unop_transpose(), pseudo_inverse(), octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::Q(), qp(), read_mat_binary_data(), solve(), Sylvester(), and xdiv().
|
private |
Definition at line 1180 of file dMatrix.cc.
References Matrix(), Array< T >::cols(), Array< double >::cols(), F77_XFCN, Array< double >::fortran_vec(), Array< T >::fortran_vec(), get_blas_char(), octave::math::isnan(), norm(), MatrixType::Permuted_Upper, retval, Array< double >::rows(), Array< T >::rows(), MatrixType::type(), MatrixType::Upper, and octave::warn_singular_matrix().
Referenced by solve().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inherited |
|
friend |
|
friend |
Definition at line 391 of file dMatrix.cc.
|
friend |
Definition at line 2632 of file dMatrix.cc.
|
friend |
Definition at line 2648 of file dMatrix.cc.
|
friend |
Definition at line 385 of file dMatrix.cc.
|
protectedinherited |
|
protectedinherited |