#include "CSparse.h"
Definition at line 46 of file CSparse.h.
typedef void(* SparseComplexMatrix::solve_singularity_handler)(double rcond) |
SparseComplexMatrix::SparseComplexMatrix | ( | void | ) | [inline] |
SparseComplexMatrix::SparseComplexMatrix | ( | octave_idx_type | r, | |
octave_idx_type | c | |||
) | [inline] |
SparseComplexMatrix::SparseComplexMatrix | ( | const dim_vector & | dv, | |
octave_idx_type | nz = 0 | |||
) | [inline] |
SparseComplexMatrix::SparseComplexMatrix | ( | octave_idx_type | r, | |
octave_idx_type | c, | |||
Complex | val | |||
) | [inline, explicit] |
SparseComplexMatrix::SparseComplexMatrix | ( | octave_idx_type | r, | |
octave_idx_type | c, | |||
double | val | |||
) | [inline] |
SparseComplexMatrix::SparseComplexMatrix | ( | const SparseComplexMatrix & | a | ) | [inline] |
SparseComplexMatrix::SparseComplexMatrix | ( | const SparseComplexMatrix & | a, | |
const dim_vector & | dv | |||
) | [inline] |
SparseComplexMatrix::SparseComplexMatrix | ( | const ComplexMatrix & | a | ) | [inline, explicit] |
SparseComplexMatrix::SparseComplexMatrix | ( | const ComplexNDArray & | a | ) | [inline, explicit] |
SparseComplexMatrix::SparseComplexMatrix | ( | const Array< Complex > & | a, | |
const idx_vector & | r, | |||
const idx_vector & | c, | |||
octave_idx_type | nr = -1 , |
|||
octave_idx_type | nc = -1 , |
|||
bool | sum_terms = true , |
|||
octave_idx_type | nzm = -1 | |||
) | [inline] |
F77_RET_T const octave_idx_type double Complex Complex const octave_idx_type octave_idx_type &F77_RET_T const octave_idx_type Complex Complex Complex Complex const octave_idx_type octave_idx_type & SparseComplexMatrix::SparseComplexMatrix | ( | const SparseMatrix & | a | ) | [explicit] |
Definition at line 139 of file CSparse.cc.
SparseComplexMatrix::SparseComplexMatrix | ( | const SparseBoolMatrix & | a | ) | [explicit] |
Definition at line 144 of file CSparse.cc.
References Sparse< T >::cidx(), Sparse< Complex >::cidx(), Sparse< Complex >::cols(), Sparse< T >::data(), Sparse< Complex >::data(), Sparse< T >::nnz(), Sparse< T >::ridx(), and Sparse< Complex >::ridx().
SparseComplexMatrix::SparseComplexMatrix | ( | const ComplexDiagMatrix & | a | ) | [explicit] |
Definition at line 160 of file CSparse.cc.
References Sparse< Complex >::cidx(), DiagArray2< T >::cols(), Sparse< Complex >::data(), DiagArray2< T >::length(), and Sparse< Complex >::ridx().
SparseComplexMatrix::SparseComplexMatrix | ( | octave_idx_type | r, | |
octave_idx_type | c, | |||
octave_idx_type | num_nz | |||
) | [inline] |
SparseMatrix SparseComplexMatrix::abs | ( | void | ) | const |
Definition at line 7384 of file CSparse.cc.
References Sparse< Complex >::cidx(), Sparse< T >::cidx(), Sparse< Complex >::cols(), Sparse< Complex >::data(), Sparse< T >::data(), Sparse< Complex >::nnz(), Sparse< Complex >::ridx(), Sparse< T >::ridx(), and Sparse< Complex >::rows().
Referenced by dinverse(), dsolve(), ltsolve(), max(), min(), and utsolve().
SparseBoolMatrix SparseComplexMatrix::all | ( | int | dim = -1 |
) | const |
Definition at line 7325 of file CSparse.cc.
References SPARSE_ALL_OP.
bool SparseComplexMatrix::all_elements_are_real | ( | void | ) | const |
Definition at line 7253 of file CSparse.cc.
References Sparse< Complex >::data(), mx_inline_all_real(), and Sparse< Complex >::nnz().
Referenced by octave_sparse_complex_matrix::sparse_bool_matrix_value(), and octave_sparse_complex_matrix::try_narrowing_conversion().
Definition at line 7263 of file CSparse.cc.
References D_NINT(), Sparse< Complex >::data(), imag(), Sparse< Complex >::nnz(), and real.
Referenced by octave_sparse_complex_matrix::save_binary().
SparseBoolMatrix SparseComplexMatrix::any | ( | int | dim = -1 |
) | const |
Definition at line 7331 of file CSparse.cc.
References SPARSE_ANY_OP.
bool SparseComplexMatrix::any_element_is_inf_or_nan | ( | void | ) | const |
Definition at line 7236 of file CSparse.cc.
References Sparse< Complex >::data(), Sparse< Complex >::nnz(), xisinf(), and xisnan().
bool SparseComplexMatrix::any_element_is_nan | ( | void | ) | const |
Definition at line 7221 of file CSparse.cc.
References Sparse< Complex >::data(), Sparse< Complex >::nnz(), and xisnan().
Referenced by operator!(), and octave_sparse_complex_matrix::sparse_bool_matrix_value().
Referenced by matrix_value().
void Sparse< Complex >::assign | ( | const idx_vector & | i, | |
const Sparse< Complex > & | rhs | |||
) | [inherited] |
void Sparse< Complex >::assign | ( | const idx_vector & | i, | |
const idx_vector & | j, | |||
const Sparse< Complex > & | rhs | |||
) | [inherited] |
ComplexMatrix SparseComplexMatrix::bsolve | ( | MatrixType & | typ, | |
const ComplexMatrix & | b, | |||
octave_idx_type & | info, | |||
double & | rcond, | |||
solve_singularity_handler | sing_handler, | |||
bool | calc_cond = false | |||
) | const [private] |
Definition at line 4913 of file CSparse.cc.
References abs(), ComplexMatrix::abs(), MatrixType::Banded, MatrixType::Banded_Hermitian, Sparse< Complex >::cidx(), Array< T >::cols(), Sparse< Complex >::cols(), ComplexColumnVector::ComplexMatrix, current_liboctave_error_handler, Sparse< Complex >::data(), F77_CHAR_ARG_LEN, F77_CONST_CHAR_ARG2, F77_XFCN, Array< T >::fortran_vec(), MatrixType::info(), MatrixType::is_dense(), MatrixType::mark_as_rectangular(), MatrixType::mark_as_unsymmetric(), RowVector::max(), MatrixType::nlower(), MatrixType::nupper(), Sparse< Complex >::ridx(), Matrix::row(), Array< T >::rows(), Sparse< Complex >::rows(), Matrix::sum(), MatrixType::type(), and xisnan().
SparseComplexMatrix SparseComplexMatrix::bsolve | ( | MatrixType & | typ, | |
const SparseMatrix & | b, | |||
octave_idx_type & | info, | |||
double & | rcond, | |||
solve_singularity_handler | sing_handler, | |||
bool | calc_cond = false | |||
) | const [private] |
Definition at line 4595 of file CSparse.cc.
References abs(), ComplexMatrix::abs(), MatrixType::Banded, MatrixType::Banded_Hermitian, Sparse< T >::change_capacity(), Sparse< T >::cidx(), Sparse< Complex >::cidx(), Sparse< T >::cols(), Sparse< Complex >::cols(), current_liboctave_error_handler, Sparse< T >::data(), Sparse< Complex >::data(), Sparse< T >::elem(), F77_CHAR_ARG_LEN, F77_CONST_CHAR_ARG2, F77_XFCN, Array< T >::fortran_vec(), MatrixType::info(), MatrixType::is_dense(), MatrixType::mark_as_rectangular(), MatrixType::mark_as_unsymmetric(), RowVector::max(), Sparse< T >::maybe_compress(), MatrixType::nlower(), Sparse< T >::nnz(), MatrixType::nupper(), OCTAVE_LOCAL_BUFFER, Sparse< T >::ridx(), Sparse< Complex >::ridx(), Matrix::row(), Sparse< T >::rows(), Sparse< Complex >::rows(), SparseComplexMatrix(), Matrix::sum(), MatrixType::type(), Sparse< T >::xcidx(), Sparse< T >::xdata(), xisnan(), and Sparse< T >::xridx().
ComplexMatrix SparseComplexMatrix::bsolve | ( | MatrixType & | typ, | |
const Matrix & | b, | |||
octave_idx_type & | info, | |||
double & | rcond, | |||
solve_singularity_handler | sing_handler, | |||
bool | calc_cond = false | |||
) | const [private] |
Definition at line 4347 of file CSparse.cc.
References abs(), ComplexMatrix::abs(), MatrixType::Banded, MatrixType::Banded_Hermitian, Sparse< Complex >::cidx(), Array< T >::cols(), Sparse< Complex >::cols(), ComplexColumnVector::ComplexMatrix, current_liboctave_error_handler, Sparse< Complex >::data(), F77_CHAR_ARG_LEN, F77_CONST_CHAR_ARG2, F77_XFCN, Array< T >::fortran_vec(), MatrixType::info(), MatrixType::is_dense(), MatrixType::mark_as_rectangular(), MatrixType::mark_as_unsymmetric(), RowVector::max(), MatrixType::nlower(), MatrixType::nupper(), Sparse< Complex >::ridx(), Matrix::row(), Array< T >::rows(), Sparse< Complex >::rows(), Matrix::sum(), MatrixType::type(), and xisnan().
Referenced by solve().
SparseComplexMatrix SparseComplexMatrix::bsolve | ( | MatrixType & | typ, | |
const SparseComplexMatrix & | b, | |||
octave_idx_type & | info, | |||
double & | rcond, | |||
solve_singularity_handler | sing_handler, | |||
bool | calc_cond = false | |||
) | const [private] |
Definition at line 5159 of file CSparse.cc.
References abs(), ComplexMatrix::abs(), MatrixType::Banded, MatrixType::Banded_Hermitian, Sparse< T >::change_capacity(), Sparse< T >::cidx(), Sparse< Complex >::cidx(), Sparse< T >::cols(), Sparse< Complex >::cols(), current_liboctave_error_handler, Sparse< T >::data(), Sparse< Complex >::data(), F77_CHAR_ARG_LEN, F77_CONST_CHAR_ARG2, F77_XFCN, Array< T >::fortran_vec(), MatrixType::info(), MatrixType::is_dense(), MatrixType::mark_as_rectangular(), MatrixType::mark_as_unsymmetric(), RowVector::max(), Sparse< T >::maybe_compress(), MatrixType::nlower(), Sparse< T >::nnz(), MatrixType::nupper(), OCTAVE_LOCAL_BUFFER, Sparse< T >::ridx(), Sparse< Complex >::ridx(), Matrix::row(), Sparse< T >::rows(), Sparse< Complex >::rows(), SparseComplexMatrix(), Matrix::sum(), MatrixType::type(), Sparse< T >::xcidx(), Sparse< T >::xdata(), xisnan(), and Sparse< T >::xridx().
octave_idx_type Sparse< Complex >::capacity | ( | void | ) | const [inline, inherited] |
static Sparse<Complex > Sparse< Complex >::cat | ( | int | dim, | |
octave_idx_type | n, | |||
const Sparse< Complex > * | sparse_list | |||
) | [static, inherited] |
void Sparse< Complex >::change_capacity | ( | octave_idx_type | nz | ) | [inline, inherited] |
Complex & Sparse< Complex >::checkelem | ( | octave_idx_type | n | ) | [inline, inherited] |
Complex & Sparse< Complex >::checkelem | ( | octave_idx_type | i, | |
octave_idx_type | j | |||
) | [inline, inherited] |
Complex & Sparse< Complex >::checkelem | ( | const Array< octave_idx_type > & | ra_idx | ) | [inline, inherited] |
Complex Sparse< Complex >::checkelem | ( | octave_idx_type | n | ) | const [inline, inherited] |
Complex Sparse< Complex >::checkelem | ( | octave_idx_type | i, | |
octave_idx_type | j | |||
) | const [inline, inherited] |
Complex Sparse< Complex >::checkelem | ( | const Array< octave_idx_type > & | ra_idx | ) | const [inline, inherited] |
octave_idx_type& Sparse< Complex >::cidx | ( | octave_idx_type | i | ) | [inline, inherited] |
octave_idx_type Sparse< Complex >::cidx | ( | octave_idx_type | i | ) | const [inline, inherited] |
octave_idx_type* Sparse< Complex >::cidx | ( | void | ) | const [inline, inherited] |
octave_idx_type* Sparse< Complex >::cidx | ( | void | ) | [inline, inherited] |
Definition at line 479 of file Sparse.h.
Referenced by abs(), bsolve(), column(), determinant(), dsolve(), factorize(), fsolve(), hermitian(), is_hermitian(), ltsolve(), max(), min(), operator!(), operator==(), prod(), row(), SparseComplexMatrix(), tinverse(), trisolve(), and utsolve().
octave_idx_type Sparse< Complex >::cols | ( | void | ) | const [inline, inherited] |
Definition at line 263 of file Sparse.h.
Referenced by abs(), bsolve(), determinant(), dinverse(), dsolve(), factorize(), fsolve(), hermitian(), is_hermitian(), ltsolve(), operator!(), operator==(), SparseComplexMatrix(), tinverse(), trisolve(), and utsolve().
ComplexColumnVector SparseComplexMatrix::column | ( | octave_idx_type | i | ) | const |
Definition at line 579 of file CSparse.cc.
References Sparse< Complex >::cidx(), Sparse< Complex >::data(), Sparse< Complex >::ridx(), and Sparse< Complex >::rows().
octave_idx_type Sparse< Complex >::columns | ( | void | ) | const [inline, inherited] |
octave_idx_type Sparse< Complex >::compute_index | ( | const Array< octave_idx_type > & | ra_idx | ) | const [inherited] |
SparseComplexMatrix SparseComplexMatrix::concat | ( | const SparseComplexMatrix & | rb, | |
const Array< octave_idx_type > & | ra_idx | |||
) |
Definition at line 621 of file CSparse.cc.
References Sparse< T >::cols(), insert(), and Sparse< T >::rows().
SparseComplexMatrix SparseComplexMatrix::concat | ( | const SparseMatrix & | rb, | |
const Array< octave_idx_type > & | ra_idx | |||
) |
Definition at line 631 of file CSparse.cc.
References Sparse< T >::cols(), insert(), and Sparse< T >::rows().
SparseComplexMatrix SparseComplexMatrix::cumprod | ( | int | dim = -1 |
) | const |
Definition at line 7337 of file CSparse.cc.
References SPARSE_CUMPROD.
SparseComplexMatrix SparseComplexMatrix::cumsum | ( | int | dim = -1 |
) | const |
Definition at line 7343 of file CSparse.cc.
References SPARSE_CUMSUM.
Definition at line 461 of file Sparse.h.
Referenced by abs(), all_elements_are_real(), all_integers(), any_element_is_inf_or_nan(), any_element_is_nan(), bsolve(), column(), determinant(), dsolve(), factorize(), fsolve(), hermitian(), is_hermitian(), ltsolve(), max(), min(), MDiagArray2< Complex >::nnz(), operator==(), row(), SparseComplexMatrix(), tinverse(), too_large_for_float(), trisolve(), and utsolve().
Complex & Sparse< Complex >::data | ( | octave_idx_type | i | ) | [inline, inherited] |
Complex Sparse< Complex >::data | ( | octave_idx_type | i | ) | const [inline, inherited] |
void Sparse< Complex >::delete_elements | ( | const idx_vector & | i | ) | [inherited] |
void Sparse< Complex >::delete_elements | ( | const idx_vector & | i, | |
const idx_vector & | j | |||
) | [inherited] |
void Sparse< Complex >::delete_elements | ( | int | dim, | |
const idx_vector & | i | |||
) | [inherited] |
ComplexDET SparseComplexMatrix::determinant | ( | void | ) | const |
Definition at line 1120 of file CSparse.cc.
Referenced by DEFUN_DLD(), and determinant().
ComplexDET SparseComplexMatrix::determinant | ( | octave_idx_type & | info | ) | const |
Definition at line 1128 of file CSparse.cc.
References determinant().
ComplexDET SparseComplexMatrix::determinant | ( | octave_idx_type & | info, | |
double & | rcond, | |||
int | calc_cond = 1 | |||
) | const |
Definition at line 1135 of file CSparse.cc.
References Sparse< Complex >::cidx(), Sparse< Complex >::cols(), Sparse< Complex >::data(), Array< T >::fortran_vec(), octave_sparse_params::get_key(), Sparse< Complex >::ridx(), Sparse< Complex >::rows(), UMFPACK_ZNAME, and xisnan().
SparseComplexMatrix SparseComplexMatrix::diag | ( | octave_idx_type | k = 0 |
) | const |
Reimplemented from MSparse< Complex >.
Definition at line 7404 of file CSparse.cc.
octave_idx_type Sparse< Complex >::dim1 | ( | void | ) | const [inline, inherited] |
octave_idx_type Sparse< Complex >::dim2 | ( | void | ) | const [inline, inherited] |
dim_vector Sparse< Complex >::dims | ( | void | ) | const [inline, inherited] |
SparseComplexMatrix SparseComplexMatrix::dinverse | ( | MatrixType & | mattyp, | |
octave_idx_type & | info, | |||
double & | rcond, | |||
const bool | force = false , |
|||
const bool | calccond = true | |||
) | const [private] |
Definition at line 724 of file CSparse.cc.
References abs(), Sparse< Complex >::cols(), current_liboctave_error_handler, Sparse< T >::data(), MatrixType::Diagonal, MatrixType::info(), octave_Inf, MatrixType::Permuted_Diagonal, Sparse< Complex >::rows(), transpose(), and MatrixType::type().
Referenced by inverse().
SparseComplexMatrix SparseComplexMatrix::dsolve | ( | MatrixType & | typ, | |
const SparseComplexMatrix & | b, | |||
octave_idx_type & | info, | |||
double & | rcond, | |||
solve_singularity_handler | sing_handler, | |||
bool | calc_cond = false | |||
) | const [private] |
Definition at line 1469 of file CSparse.cc.
References abs(), Sparse< Complex >::cidx(), Sparse< T >::cidx(), Sparse< T >::cols(), Sparse< Complex >::cols(), current_liboctave_error_handler, Sparse< Complex >::data(), Sparse< T >::data(), MatrixType::Diagonal, MatrixType::info(), Sparse< T >::nnz(), octave_Inf, MatrixType::Permuted_Diagonal, Sparse< Complex >::ridx(), Sparse< T >::ridx(), Sparse< T >::rows(), Sparse< Complex >::rows(), SparseComplexMatrix(), MatrixType::type(), Sparse< T >::xcidx(), Sparse< T >::xdata(), and Sparse< T >::xridx().
ComplexMatrix SparseComplexMatrix::dsolve | ( | MatrixType & | typ, | |
const Matrix & | b, | |||
octave_idx_type & | info, | |||
double & | rcond, | |||
solve_singularity_handler | sing_handler, | |||
bool | calc_cond = false | |||
) | const [private] |
Definition at line 1257 of file CSparse.cc.
References abs(), Sparse< Complex >::cidx(), Array< T >::cols(), Sparse< Complex >::cols(), current_liboctave_error_handler, Sparse< Complex >::data(), MatrixType::Diagonal, MatrixType::info(), octave_Inf, MatrixType::Permuted_Diagonal, ComplexMatrix::resize(), Sparse< Complex >::ridx(), Array< T >::rows(), Sparse< Complex >::rows(), and MatrixType::type().
Referenced by solve().
ComplexMatrix SparseComplexMatrix::dsolve | ( | MatrixType & | typ, | |
const ComplexMatrix & | b, | |||
octave_idx_type & | info, | |||
double & | rcond, | |||
solve_singularity_handler | sing_handler, | |||
bool | calc_cond = false | |||
) | const [private] |
Definition at line 1408 of file CSparse.cc.
References abs(), Sparse< Complex >::cidx(), Array< T >::cols(), Sparse< Complex >::cols(), current_liboctave_error_handler, Sparse< Complex >::data(), MatrixType::Diagonal, MatrixType::info(), octave_Inf, MatrixType::Permuted_Diagonal, ComplexMatrix::resize(), Sparse< Complex >::ridx(), Array< T >::rows(), Sparse< Complex >::rows(), and MatrixType::type().
SparseComplexMatrix SparseComplexMatrix::dsolve | ( | MatrixType & | typ, | |
const SparseMatrix & | b, | |||
octave_idx_type & | info, | |||
double & | rcond, | |||
solve_singularity_handler | sing_handler, | |||
bool | calc_cond = false | |||
) | const [private] |
Definition at line 1317 of file CSparse.cc.
References abs(), Sparse< Complex >::cidx(), Sparse< T >::cidx(), Sparse< T >::cols(), Sparse< Complex >::cols(), current_liboctave_error_handler, Sparse< Complex >::data(), Sparse< T >::data(), MatrixType::Diagonal, MatrixType::info(), Sparse< T >::nnz(), octave_Inf, MatrixType::Permuted_Diagonal, Sparse< Complex >::ridx(), Sparse< T >::ridx(), Sparse< T >::rows(), Sparse< Complex >::rows(), SparseComplexMatrix(), MatrixType::type(), Sparse< T >::xcidx(), Sparse< T >::xdata(), and Sparse< T >::xridx().
Complex & Sparse< Complex >::elem | ( | octave_idx_type | n | ) | [inline, inherited] |
Complex & Sparse< Complex >::elem | ( | octave_idx_type | i, | |
octave_idx_type | j | |||
) | [inline, inherited] |
Complex & Sparse< Complex >::elem | ( | const Array< octave_idx_type > & | ra_idx | ) | [inline, inherited] |
Complex Sparse< Complex >::elem | ( | octave_idx_type | n | ) | const [inline, inherited] |
Complex Sparse< Complex >::elem | ( | octave_idx_type | i, | |
octave_idx_type | j | |||
) | const [inline, inherited] |
Complex Sparse< Complex >::elem | ( | const Array< octave_idx_type > & | ra_idx | ) | const [inline, inherited] |
void * SparseComplexMatrix::factorize | ( | octave_idx_type & | err, | |
double & | rcond, | |||
Matrix & | Control, | |||
Matrix & | Info, | |||
solve_singularity_handler | sing_handler, | |||
bool | calc_cond | |||
) | const [private] |
Definition at line 5486 of file CSparse.cc.
References Sparse< Complex >::cidx(), Sparse< Complex >::cols(), current_liboctave_error_handler, Sparse< Complex >::data(), Array< T >::fortran_vec(), octave_sparse_params::get_key(), Sparse< Complex >::ridx(), Sparse< Complex >::rows(), UMFPACK_ZNAME, and xisnan().
Referenced by fsolve().
ComplexMatrix SparseComplexMatrix::fsolve | ( | MatrixType & | typ, | |
const Matrix & | b, | |||
octave_idx_type & | info, | |||
double & | rcond, | |||
solve_singularity_handler | sing_handler, | |||
bool | calc_cond = false | |||
) | const [private] |
Definition at line 5602 of file CSparse.cc.
References A, B, Sparse< Complex >::cidx(), Array< T >::cols(), Sparse< Complex >::cols(), current_liboctave_error_handler, Sparse< Complex >::data(), Array< T >::elem(), factorize(), Array< T >::fortran_vec(), MatrixType::Full, octave_sparse_params::get_key(), MatrixType::Hermitian, MatrixType::info(), MatrixType::mark_as_rectangular(), MatrixType::mark_as_unsymmetric(), Sparse< Complex >::nnz(), OCTAVE_LOCAL_BUFFER, ComplexMatrix::resize(), Sparse< Complex >::ridx(), Array< T >::rows(), Sparse< Complex >::rows(), solve(), MatrixType::type(), UMFPACK_ZNAME, Array< T >::xelem(), and xisnan().
Referenced by solve().
ComplexMatrix SparseComplexMatrix::fsolve | ( | MatrixType & | typ, | |
const ComplexMatrix & | b, | |||
octave_idx_type & | info, | |||
double & | rcond, | |||
solve_singularity_handler | sing_handler, | |||
bool | calc_cond = false | |||
) | const [private] |
Definition at line 6136 of file CSparse.cc.
References A, B, Sparse< Complex >::cidx(), Array< T >::cols(), Sparse< Complex >::cols(), current_liboctave_error_handler, Sparse< Complex >::data(), factorize(), Array< T >::fortran_vec(), MatrixType::Full, octave_sparse_params::get_key(), MatrixType::Hermitian, MatrixType::info(), MatrixType::mark_as_rectangular(), MatrixType::mark_as_unsymmetric(), Sparse< Complex >::nnz(), ComplexMatrix::resize(), Sparse< Complex >::ridx(), Array< T >::rows(), Sparse< Complex >::rows(), solve(), MatrixType::type(), UMFPACK_ZNAME, Array< T >::xelem(), and xisnan().
SparseComplexMatrix SparseComplexMatrix::fsolve | ( | MatrixType & | typ, | |
const SparseMatrix & | b, | |||
octave_idx_type & | info, | |||
double & | rcond, | |||
solve_singularity_handler | sing_handler, | |||
bool | calc_cond = false | |||
) | const [private] |
Definition at line 5845 of file CSparse.cc.
References A, B, Sparse< T >::change_capacity(), Sparse< T >::cidx(), Sparse< Complex >::cidx(), Sparse< T >::cols(), Sparse< Complex >::cols(), current_liboctave_error_handler, Sparse< T >::data(), Sparse< Complex >::data(), Sparse< T >::elem(), factorize(), Array< T >::fortran_vec(), MatrixType::Full, octave_sparse_params::get_key(), MatrixType::Hermitian, MatrixType::info(), MatrixType::mark_as_rectangular(), MatrixType::mark_as_unsymmetric(), Sparse< T >::maybe_compress(), Sparse< T >::nnz(), Sparse< Complex >::nnz(), OCTAVE_LOCAL_BUFFER, Sparse< T >::ridx(), Sparse< Complex >::ridx(), Sparse< T >::rows(), Sparse< Complex >::rows(), solve(), SparseComplexMatrix(), MatrixType::type(), UMFPACK_ZNAME, Sparse< T >::xcidx(), Sparse< T >::xdata(), xisnan(), and Sparse< T >::xridx().
SparseComplexMatrix SparseComplexMatrix::fsolve | ( | MatrixType & | typ, | |
const SparseComplexMatrix & | b, | |||
octave_idx_type & | info, | |||
double & | rcond, | |||
solve_singularity_handler | sing_handler, | |||
bool | calc_cond = false | |||
) | const [private] |
Definition at line 6358 of file CSparse.cc.
References A, B, Sparse< T >::change_capacity(), Sparse< T >::cidx(), Sparse< Complex >::cidx(), Sparse< T >::cols(), Sparse< Complex >::cols(), current_liboctave_error_handler, Sparse< T >::data(), Sparse< Complex >::data(), factorize(), Array< T >::fortran_vec(), MatrixType::Full, octave_sparse_params::get_key(), MatrixType::Hermitian, MatrixType::info(), MatrixType::mark_as_rectangular(), MatrixType::mark_as_unsymmetric(), Sparse< T >::maybe_compress(), Sparse< T >::nnz(), Sparse< Complex >::nnz(), OCTAVE_LOCAL_BUFFER, Sparse< T >::ridx(), Sparse< Complex >::ridx(), Sparse< T >::rows(), Sparse< Complex >::rows(), solve(), SparseComplexMatrix(), MatrixType::type(), UMFPACK_ZNAME, Sparse< T >::xcidx(), Sparse< T >::xdata(), xisnan(), and Sparse< T >::xridx().
octave_idx_type Sparse< Complex >::get_col_index | ( | octave_idx_type | k | ) | [inline, inherited] |
octave_idx_type Sparse< Complex >::get_row_index | ( | octave_idx_type | k | ) | [inline, inherited] |
SparseComplexMatrix SparseComplexMatrix::hermitian | ( | void | ) | const |
Definition at line 646 of file CSparse.cc.
References Sparse< Complex >::cidx(), Sparse< Complex >::cols(), conj, Sparse< Complex >::data(), Sparse< Complex >::nnz(), Sparse< Complex >::ridx(), Sparse< Complex >::rows(), Sparse< T >::xcidx(), Sparse< T >::xdata(), and Sparse< T >::xridx().
Referenced by inverse(), qrsolve(), sparse_base_chol< SparseComplexMatrix, Complex, SparseMatrix >::R(), and xdiv().
Sparse<Complex > Sparse< Complex >::index | ( | const idx_vector & | i, | |
bool | resize_ok = false | |||
) | const [inherited] |
Sparse<Complex > Sparse< Complex >::index | ( | const idx_vector & | i, | |
const idx_vector & | j, | |||
bool | resize_ok = false | |||
) | const [inherited] |
SparseComplexMatrix & SparseComplexMatrix::insert | ( | const SparseMatrix & | a, | |
octave_idx_type | r, | |||
octave_idx_type | c | |||
) |
Definition at line 593 of file CSparse.cc.
References insert().
SparseComplexMatrix & SparseComplexMatrix::insert | ( | const SparseComplexMatrix & | a, | |
const Array< octave_idx_type > & | indx | |||
) |
Definition at line 614 of file CSparse.cc.
References insert().
SparseComplexMatrix & SparseComplexMatrix::insert | ( | const SparseMatrix & | a, | |
const Array< octave_idx_type > & | indx | |||
) |
Definition at line 607 of file CSparse.cc.
References insert().
SparseComplexMatrix & SparseComplexMatrix::insert | ( | const SparseComplexMatrix & | a, | |
octave_idx_type | r, | |||
octave_idx_type | c | |||
) |
Definition at line 600 of file CSparse.cc.
Referenced by SparseMatrix::concat(), concat(), and insert().
MSparse<Complex >& MSparse< Complex >::insert | ( | const Sparse< Complex > & | a, | |
octave_idx_type | r, | |||
octave_idx_type | c | |||
) | [inline, inherited] |
Reimplemented from Sparse< Complex >.
Definition at line 80 of file MSparse.h.
References Sparse< T >::insert().
MSparse<Complex >& MSparse< Complex >::insert | ( | const Sparse< Complex > & | a, | |
const Array< octave_idx_type > & | indx | |||
) | [inline, inherited] |
Reimplemented from Sparse< Complex >.
Definition at line 86 of file MSparse.h.
References Sparse< T >::insert().
SparseComplexMatrix SparseComplexMatrix::inverse | ( | MatrixType & | mattype, | |
octave_idx_type & | info, | |||
double & | rcond, | |||
int | force = 0 , |
|||
int | calc_cond = 1 | |||
) | const |
Definition at line 1056 of file CSparse.cc.
References MatrixType::Diagonal, dinverse(), hermitian(), MatrixType::is_hermitian(), sparse_base_lu< lu_type, lu_elt_type, p_type, p_elt_type >::L(), SparseComplexCHOL::L(), MatrixType::Lower, MatrixType::mark_as_unsymmetric(), sparse_base_lu< lu_type, lu_elt_type, p_type, p_elt_type >::Pc(), MatrixType::Permuted_Diagonal, MatrixType::Permuted_Lower, MatrixType::Permuted_Upper, sparse_base_lu< lu_type, lu_elt_type, p_type, p_elt_type >::Pr(), SparseComplexCHOL::Q(), Q, sparse_base_lu< lu_type, lu_elt_type, p_type, p_elt_type >::rcond(), SparseComplexCHOL::rcond(), Sparse< Complex >::rows(), tinverse(), SparseMatrix::transpose(), MatrixType::transpose(), transpose(), MatrixType::type(), sparse_base_lu< lu_type, lu_elt_type, p_type, p_elt_type >::U(), MatrixType::Unknown, and MatrixType::Upper.
SparseComplexMatrix SparseComplexMatrix::inverse | ( | void | ) | const |
Definition at line 700 of file CSparse.cc.
Referenced by chol2inv(), DEFUN_DLD(), inverse(), and xpow().
SparseComplexMatrix SparseComplexMatrix::inverse | ( | MatrixType & | mattype | ) | const |
Definition at line 709 of file CSparse.cc.
References inverse().
SparseComplexMatrix SparseComplexMatrix::inverse | ( | MatrixType & | mattype, | |
octave_idx_type & | info | |||
) | const |
Definition at line 717 of file CSparse.cc.
References inverse().
SparseComplexMatrix SparseComplexMatrix::ipermute | ( | const Array< octave_idx_type > & | vec | ) | const |
Reimplemented from MSparse< Complex >.
Definition at line 7213 of file CSparse.cc.
bool SparseComplexMatrix::is_hermitian | ( | void | ) | const |
Definition at line 208 of file CSparse.cc.
References Sparse< Complex >::cidx(), Sparse< Complex >::cols(), conj, Sparse< Complex >::data(), Sparse< Complex >::ridx(), and Sparse< Complex >::rows().
octave_idx_type Sparse< Complex >::length | ( | void | ) | const [inline, inherited] |
Definition at line 257 of file Sparse.h.
Referenced by MDiagArray2< Complex >::nnz().
ComplexMatrix SparseComplexMatrix::ltsolve | ( | MatrixType & | typ, | |
const Matrix & | b, | |||
octave_idx_type & | info, | |||
double & | rcond, | |||
solve_singularity_handler | sing_handler, | |||
bool | calc_cond = false | |||
) | const [private] |
Definition at line 2607 of file CSparse.cc.
References abs(), abs(), Sparse< Complex >::cidx(), Array< T >::cols(), Sparse< Complex >::cols(), current_liboctave_error_handler, Sparse< Complex >::data(), MatrixType::info(), MatrixType::Lower, MatrixType::mark_as_rectangular(), OCTAVE_LOCAL_BUFFER, MatrixType::Permuted_Lower, ComplexMatrix::resize(), Sparse< Complex >::ridx(), Array< T >::rows(), Sparse< Complex >::rows(), MatrixType::triangular_perm(), MatrixType::type(), Array< T >::xelem(), and xisnan().
Referenced by solve().
ComplexMatrix SparseComplexMatrix::ltsolve | ( | MatrixType & | typ, | |
const ComplexMatrix & | b, | |||
octave_idx_type & | info, | |||
double & | rcond, | |||
solve_singularity_handler | sing_handler, | |||
bool | calc_cond = false | |||
) | const [private] |
Definition at line 3171 of file CSparse.cc.
References abs(), abs(), Sparse< Complex >::cidx(), Array< T >::cols(), Sparse< Complex >::cols(), current_liboctave_error_handler, Sparse< Complex >::data(), MatrixType::info(), MatrixType::Lower, MatrixType::mark_as_rectangular(), OCTAVE_LOCAL_BUFFER, MatrixType::Permuted_Lower, ComplexMatrix::resize(), Sparse< Complex >::ridx(), Array< T >::rows(), Sparse< Complex >::rows(), MatrixType::triangular_perm(), MatrixType::type(), Array< T >::xelem(), and xisnan().
SparseComplexMatrix SparseComplexMatrix::ltsolve | ( | MatrixType & | typ, | |
const SparseMatrix & | b, | |||
octave_idx_type & | info, | |||
double & | rcond, | |||
solve_singularity_handler | sing_handler, | |||
bool | calc_cond = false | |||
) | const [private] |
Definition at line 2863 of file CSparse.cc.
References abs(), abs(), Sparse< T >::change_capacity(), Sparse< T >::cidx(), Sparse< Complex >::cidx(), Sparse< T >::cols(), Sparse< Complex >::cols(), current_liboctave_error_handler, Sparse< T >::data(), Sparse< Complex >::data(), MatrixType::info(), MatrixType::Lower, MatrixType::mark_as_rectangular(), Sparse< T >::maybe_compress(), Sparse< T >::nnz(), OCTAVE_LOCAL_BUFFER, MatrixType::Permuted_Lower, Sparse< Complex >::ridx(), Sparse< T >::ridx(), Sparse< T >::rows(), Sparse< Complex >::rows(), SparseComplexMatrix(), MatrixType::triangular_perm(), MatrixType::type(), Sparse< T >::xcidx(), Sparse< T >::xdata(), xisnan(), and Sparse< T >::xridx().
SparseComplexMatrix SparseComplexMatrix::ltsolve | ( | MatrixType & | typ, | |
const SparseComplexMatrix & | b, | |||
octave_idx_type & | info, | |||
double & | rcond, | |||
solve_singularity_handler | sing_handler, | |||
bool | calc_cond = false | |||
) | const [private] |
Definition at line 3431 of file CSparse.cc.
References abs(), abs(), Sparse< T >::change_capacity(), Sparse< T >::cidx(), Sparse< Complex >::cidx(), Sparse< T >::cols(), Sparse< Complex >::cols(), current_liboctave_error_handler, Sparse< T >::data(), Sparse< Complex >::data(), MatrixType::info(), MatrixType::Lower, MatrixType::mark_as_rectangular(), Sparse< T >::maybe_compress(), Sparse< T >::nnz(), OCTAVE_LOCAL_BUFFER, MatrixType::Permuted_Lower, Sparse< Complex >::ridx(), Sparse< T >::ridx(), Sparse< T >::rows(), Sparse< Complex >::rows(), SparseComplexMatrix(), MatrixType::triangular_perm(), MatrixType::type(), Sparse< T >::xcidx(), Sparse< T >::xdata(), xisnan(), and Sparse< T >::xridx().
Reimplemented from Sparse< Complex >.
Reimplemented from Sparse< Complex >.
ComplexMatrix SparseComplexMatrix::matrix_value | ( | void | ) | const |
Definition at line 640 of file CSparse.cc.
References Sparse< Complex >::array_value().
Referenced by octave_sparse_complex_matrix::complex_array_value(), octave_sparse_complex_matrix::complex_matrix_value(), octave_sparse_complex_matrix::matrix_value(), and octave_sparse_complex_matrix::try_narrowing_conversion().
SparseComplexMatrix SparseComplexMatrix::max | ( | int | dim = -1 |
) | const |
Definition at line 250 of file CSparse.cc.
SparseComplexMatrix SparseComplexMatrix::max | ( | Array< octave_idx_type > & | index, | |
int | dim = -1 | |||
) | const |
Definition at line 257 of file CSparse.cc.
References abs(), abs(), Sparse< Complex >::cidx(), Array< T >::clear(), Sparse< Complex >::data(), Sparse< Complex >::dims(), Sparse< Complex >::elem(), Array< T >::elem(), dim_vector::first_non_singleton(), dim_vector::length(), dim_vector::numel(), octave_NaN, Array< T >::resize(), Sparse< Complex >::ridx(), SparseComplexMatrix(), Sparse< T >::xcidx(), Sparse< T >::xdata(), xisnan(), and Sparse< T >::xridx().
octave_idx_type* Sparse< Complex >::mex_get_ir | ( | void | ) | const [inline, inherited] |
octave_idx_type* Sparse< Complex >::mex_get_jc | ( | void | ) | const [inline, inherited] |
SparseComplexMatrix SparseComplexMatrix::min | ( | Array< octave_idx_type > & | index, | |
int | dim = -1 | |||
) | const |
Definition at line 412 of file CSparse.cc.
References abs(), abs(), Sparse< Complex >::cidx(), Array< T >::clear(), Sparse< Complex >::data(), Sparse< Complex >::dims(), Sparse< Complex >::elem(), Array< T >::elem(), dim_vector::first_non_singleton(), dim_vector::length(), dim_vector::numel(), octave_NaN, Array< T >::resize(), Sparse< Complex >::ridx(), SparseComplexMatrix(), Sparse< T >::xcidx(), Sparse< T >::xdata(), xisnan(), and Sparse< T >::xridx().
SparseComplexMatrix SparseComplexMatrix::min | ( | int | dim = -1 |
) | const |
Definition at line 405 of file CSparse.cc.
octave_idx_type Sparse< Complex >::ndims | ( | void | ) | const [inline, inherited] |
octave_idx_type Sparse< Complex >::nelem | ( | void | ) | const [inline, inherited] |
octave_idx_type Sparse< Complex >::nnz | ( | void | ) | const [inline, inherited] |
Definition at line 247 of file Sparse.h.
Referenced by abs(), all_elements_are_real(), all_integers(), any_element_is_inf_or_nan(), any_element_is_nan(), fsolve(), hermitian(), operator!(), operator==(), tinverse(), and too_large_for_float().
octave_idx_type Sparse< Complex >::numel | ( | void | ) | const [inline, inherited] |
octave_idx_type Sparse< Complex >::nzmax | ( | void | ) | const [inline, inherited] |
SparseBoolMatrix SparseComplexMatrix::operator! | ( | void | ) | const |
Definition at line 7161 of file CSparse.cc.
References any_element_is_nan(), Sparse< Complex >::cidx(), Sparse< T >::cidx(), Sparse< Complex >::cols(), Sparse< T >::data(), gripe_nan_to_logical_conversion(), Sparse< Complex >::nnz(), Sparse< T >::ridx(), Sparse< Complex >::ridx(), and Sparse< Complex >::rows().
bool SparseComplexMatrix::operator!= | ( | const SparseComplexMatrix & | a | ) | const |
Definition at line 202 of file CSparse.cc.
Complex & Sparse< Complex >::operator() | ( | octave_idx_type | n | ) | [inline, inherited] |
Complex & Sparse< Complex >::operator() | ( | const Array< octave_idx_type > & | ra_idx | ) | [inline, inherited] |
Complex Sparse< Complex >::operator() | ( | octave_idx_type | n | ) | const [inline, inherited] |
Complex & Sparse< Complex >::operator() | ( | octave_idx_type | i, | |
octave_idx_type | j | |||
) | [inline, inherited] |
Complex Sparse< Complex >::operator() | ( | const Array< octave_idx_type > & | ra_idx | ) | const [inline, inherited] |
Complex Sparse< Complex >::operator() | ( | octave_idx_type | i, | |
octave_idx_type | j | |||
) | const [inline, inherited] |
SparseComplexMatrix& SparseComplexMatrix::operator= | ( | const SparseComplexMatrix & | a | ) | [inline] |
Definition at line 98 of file CSparse.h.
References MSparse< T >::operator=().
bool SparseComplexMatrix::operator== | ( | const SparseComplexMatrix & | a | ) | const |
Definition at line 178 of file CSparse.cc.
References Sparse< T >::cidx(), Sparse< Complex >::cidx(), Sparse< T >::cols(), Sparse< Complex >::cols(), Sparse< T >::data(), Sparse< Complex >::data(), Sparse< T >::nnz(), Sparse< Complex >::nnz(), Sparse< T >::ridx(), Sparse< Complex >::ridx(), Sparse< T >::rows(), and Sparse< Complex >::rows().
SparseComplexMatrix SparseComplexMatrix::permute | ( | const Array< octave_idx_type > & | vec, | |
bool | inv = false | |||
) | const |
Reimplemented from MSparse< Complex >.
Definition at line 7207 of file CSparse.cc.
void Sparse< Complex >::print_info | ( | std::ostream & | os, | |
const std::string & | prefix | |||
) | const [inherited] |
SparseComplexMatrix SparseComplexMatrix::prod | ( | int | dim = -1 |
) | const |
Definition at line 7349 of file CSparse.cc.
References Sparse< Complex >::cidx(), Sparse< Complex >::rows(), SPARSE_REDUCTION_OP, and transpose().
Complex Sparse< Complex >::range_error | ( | const char * | fcn, | |
octave_idx_type | n | |||
) | const [inherited] |
Complex Sparse< Complex >::range_error | ( | const char * | fcn, | |
const Array< octave_idx_type > & | ra_idx | |||
) | const [inherited] |
Complex & Sparse< Complex >::range_error | ( | const char * | fcn, | |
octave_idx_type | n | |||
) | [inherited] |
Complex Sparse< Complex >::range_error | ( | const char * | fcn, | |
octave_idx_type | i, | |||
octave_idx_type | j | |||
) | const [inherited] |
Complex & Sparse< Complex >::range_error | ( | const char * | fcn, | |
octave_idx_type | i, | |||
octave_idx_type | j | |||
) | [inherited] |
Complex & Sparse< Complex >::range_error | ( | const char * | fcn, | |
const Array< octave_idx_type > & | ra_idx | |||
) | [inherited] |
SparseComplexMatrix SparseComplexMatrix::reshape | ( | const dim_vector & | new_dims | ) | const |
Reimplemented from MSparse< Complex >.
Definition at line 7201 of file CSparse.cc.
void Sparse< Complex >::resize | ( | octave_idx_type | r, | |
octave_idx_type | c | |||
) | [inherited] |
void Sparse< Complex >::resize | ( | const dim_vector & | dv | ) | [inherited] |
void Sparse< Complex >::resize1 | ( | octave_idx_type | n | ) | [inherited] |
octave_idx_type& Sparse< Complex >::ridx | ( | octave_idx_type | i | ) | [inline, inherited] |
octave_idx_type* Sparse< Complex >::ridx | ( | void | ) | [inline, inherited] |
Definition at line 470 of file Sparse.h.
Referenced by abs(), bsolve(), column(), determinant(), dsolve(), factorize(), fsolve(), hermitian(), is_hermitian(), ltsolve(), max(), min(), operator!(), operator==(), row(), SparseComplexMatrix(), tinverse(), trisolve(), and utsolve().
octave_idx_type Sparse< Complex >::ridx | ( | octave_idx_type | i | ) | const [inline, inherited] |
octave_idx_type* Sparse< Complex >::ridx | ( | void | ) | const [inline, inherited] |
ComplexRowVector SparseComplexMatrix::row | ( | octave_idx_type | i | ) | const |
Definition at line 560 of file CSparse.cc.
References Sparse< Complex >::cidx(), Sparse< Complex >::columns(), Sparse< Complex >::data(), and Sparse< Complex >::ridx().
octave_idx_type Sparse< Complex >::rows | ( | void | ) | const [inline, inherited] |
Definition at line 262 of file Sparse.h.
Referenced by abs(), bsolve(), column(), determinant(), dinverse(), dsolve(), factorize(), fsolve(), hermitian(), inverse(), is_hermitian(), ltsolve(), operator!(), operator==(), prod(), tinverse(), trisolve(), and utsolve().
ComplexColumnVector SparseComplexMatrix::solve | ( | MatrixType & | typ, | |
const ComplexColumnVector & | b | |||
) | const |
Definition at line 6948 of file CSparse.cc.
References solve().
ComplexColumnVector SparseComplexMatrix::solve | ( | MatrixType & | typ, | |
const ComplexColumnVector & | b, | |||
octave_idx_type & | info, | |||
double & | rcond | |||
) | const |
Definition at line 6965 of file CSparse.cc.
References solve().
ComplexColumnVector SparseComplexMatrix::solve | ( | const ComplexColumnVector & | b, | |
octave_idx_type & | info, | |||
double & | rcond, | |||
solve_singularity_handler | sing_handler | |||
) | const |
Definition at line 7151 of file CSparse.cc.
References ComplexMatrix::column(), and solve().
ComplexMatrix SparseComplexMatrix::solve | ( | const Matrix & | b, | |
octave_idx_type & | info | |||
) | const |
Definition at line 6989 of file CSparse.cc.
References solve().
ComplexMatrix SparseComplexMatrix::solve | ( | const ComplexMatrix & | b, | |
octave_idx_type & | info, | |||
double & | rcond, | |||
solve_singularity_handler | sing_handler | |||
) | const |
Definition at line 7059 of file CSparse.cc.
References solve().
SparseComplexMatrix SparseComplexMatrix::solve | ( | MatrixType & | typ, | |
const SparseComplexMatrix & | b | |||
) | const |
Definition at line 6848 of file CSparse.cc.
References solve().
SparseComplexMatrix SparseComplexMatrix::solve | ( | const SparseComplexMatrix & | b, | |
octave_idx_type & | info, | |||
double & | rcond, | |||
solve_singularity_handler | sing_handler | |||
) | const |
Definition at line 7091 of file CSparse.cc.
References solve().
ComplexColumnVector SparseComplexMatrix::solve | ( | MatrixType & | typ, | |
const ComplexColumnVector & | b, | |||
octave_idx_type & | info, | |||
double & | rcond, | |||
solve_singularity_handler | sing_handler | |||
) | const |
Definition at line 6972 of file CSparse.cc.
References ComplexMatrix::column(), and solve().
ComplexMatrix SparseComplexMatrix::solve | ( | const ComplexMatrix & | b | ) | const |
SparseComplexMatrix SparseComplexMatrix::solve | ( | MatrixType & | typ, | |
const SparseComplexMatrix & | b, | |||
octave_idx_type & | info, | |||
double & | rcond | |||
) | const |
Definition at line 6865 of file CSparse.cc.
References solve().
ComplexColumnVector SparseComplexMatrix::solve | ( | const ColumnVector & | b, | |
octave_idx_type & | info, | |||
double & | rcond | |||
) | const |
Definition at line 7114 of file CSparse.cc.
References solve().
ComplexColumnVector SparseComplexMatrix::solve | ( | const ColumnVector & | b, | |
octave_idx_type & | info, | |||
double & | rcond, | |||
solve_singularity_handler | sing_handler | |||
) | const |
Definition at line 7121 of file CSparse.cc.
References ComplexMatrix::column(), and solve().
SparseComplexMatrix SparseComplexMatrix::solve | ( | const SparseMatrix & | b, | |
octave_idx_type & | info, | |||
double & | rcond, | |||
solve_singularity_handler | sing_handler | |||
) | const |
Definition at line 7035 of file CSparse.cc.
References solve().
SparseComplexMatrix SparseComplexMatrix::solve | ( | const SparseComplexMatrix & | b, | |
octave_idx_type & | info, | |||
double & | rcond | |||
) | const |
Definition at line 7084 of file CSparse.cc.
References solve().
ComplexColumnVector SparseComplexMatrix::solve | ( | MatrixType & | typ, | |
const ComplexColumnVector & | b, | |||
octave_idx_type & | info | |||
) | const |
Definition at line 6957 of file CSparse.cc.
References solve().
SparseComplexMatrix SparseComplexMatrix::solve | ( | MatrixType & | typ, | |
const SparseMatrix & | b | |||
) | const |
Definition at line 6712 of file CSparse.cc.
References solve().
ComplexColumnVector SparseComplexMatrix::solve | ( | MatrixType & | typ, | |
const ColumnVector & | b | |||
) | const |
Definition at line 6917 of file CSparse.cc.
References solve().
SparseComplexMatrix SparseComplexMatrix::solve | ( | MatrixType & | typ, | |
const SparseMatrix & | b, | |||
octave_idx_type & | info, | |||
double & | rcond | |||
) | const |
Definition at line 6728 of file CSparse.cc.
References solve().
ComplexMatrix SparseComplexMatrix::solve | ( | const Matrix & | b, | |
octave_idx_type & | info, | |||
double & | rcond, | |||
solve_singularity_handler | sing_handler | |||
) | const |
Definition at line 7003 of file CSparse.cc.
References solve().
ComplexColumnVector SparseComplexMatrix::solve | ( | MatrixType & | typ, | |
const ColumnVector & | b, | |||
octave_idx_type & | info | |||
) | const |
Definition at line 6924 of file CSparse.cc.
References solve().
ComplexMatrix SparseComplexMatrix::solve | ( | MatrixType & | typ, | |
const Matrix & | b, | |||
octave_idx_type & | info, | |||
double & | rcond, | |||
solve_singularity_handler | sing_handler, | |||
bool | singular_fallback = true | |||
) | const |
Definition at line 6667 of file CSparse.cc.
References MatrixType::Banded, MatrixType::Banded_Hermitian, bsolve(), ComplexColumnVector::ComplexMatrix, MatrixType::Diagonal, dmsolve(), dsolve(), fsolve(), MatrixType::Full, MatrixType::Hermitian, MatrixType::Lower, ltsolve(), MatrixType::Permuted_Diagonal, MatrixType::Permuted_Lower, MatrixType::Permuted_Upper, qrsolve(), MatrixType::Rectangular, MatrixType::Tridiagonal, MatrixType::Tridiagonal_Hermitian, trisolve(), MatrixType::type(), MatrixType::Unknown, MatrixType::Upper, and utsolve().
SparseComplexMatrix SparseComplexMatrix::solve | ( | MatrixType & | typ, | |
const SparseMatrix & | b, | |||
octave_idx_type & | info, | |||
double & | rcond, | |||
solve_singularity_handler | sing_handler, | |||
bool | singular_fallback = true | |||
) | const |
Definition at line 6735 of file CSparse.cc.
References MatrixType::Banded, MatrixType::Banded_Hermitian, bsolve(), MatrixType::Diagonal, dmsolve(), dsolve(), fsolve(), MatrixType::Full, MatrixType::Hermitian, MatrixType::Lower, ltsolve(), MatrixType::Permuted_Diagonal, MatrixType::Permuted_Lower, MatrixType::Permuted_Upper, qrsolve(), MatrixType::Rectangular, SparseComplexMatrix(), MatrixType::Tridiagonal, MatrixType::Tridiagonal_Hermitian, trisolve(), MatrixType::type(), MatrixType::Unknown, MatrixType::Upper, and utsolve().
ComplexMatrix SparseComplexMatrix::solve | ( | MatrixType & | typ, | |
const Matrix & | b, | |||
octave_idx_type & | info | |||
) | const |
Definition at line 6652 of file CSparse.cc.
References solve().
ComplexMatrix SparseComplexMatrix::solve | ( | const Matrix & | b | ) | const |
Definition at line 6981 of file CSparse.cc.
References solve().
ComplexMatrix SparseComplexMatrix::solve | ( | const ComplexMatrix & | b, | |
octave_idx_type & | info | |||
) | const |
Definition at line 7044 of file CSparse.cc.
References solve().
ComplexColumnVector SparseComplexMatrix::solve | ( | const ComplexColumnVector & | b, | |
octave_idx_type & | info | |||
) | const |
Definition at line 7137 of file CSparse.cc.
References solve().
ComplexColumnVector SparseComplexMatrix::solve | ( | const ColumnVector & | b | ) | const |
Definition at line 7100 of file CSparse.cc.
References solve().
SparseComplexMatrix SparseComplexMatrix::solve | ( | MatrixType & | typ, | |
const SparseMatrix & | b, | |||
octave_idx_type & | info | |||
) | const |
Definition at line 6720 of file CSparse.cc.
References solve().
ComplexMatrix SparseComplexMatrix::solve | ( | const ComplexMatrix & | b, | |
octave_idx_type & | info, | |||
double & | rcond | |||
) | const |
Definition at line 7052 of file CSparse.cc.
References solve().
SparseComplexMatrix SparseComplexMatrix::solve | ( | const SparseMatrix & | b | ) | const |
Definition at line 7012 of file CSparse.cc.
References solve().
ComplexMatrix SparseComplexMatrix::solve | ( | const Matrix & | b, | |
octave_idx_type & | info, | |||
double & | rcond | |||
) | const |
Definition at line 6996 of file CSparse.cc.
References solve().
SparseComplexMatrix SparseComplexMatrix::solve | ( | const SparseMatrix & | b, | |
octave_idx_type & | info, | |||
double & | rcond | |||
) | const |
Definition at line 7028 of file CSparse.cc.
References solve().
SparseComplexMatrix SparseComplexMatrix::solve | ( | MatrixType & | typ, | |
const SparseComplexMatrix & | b, | |||
octave_idx_type & | info, | |||
double & | rcond, | |||
solve_singularity_handler | sing_handler, | |||
bool | singular_fallback = true | |||
) | const |
Definition at line 6872 of file CSparse.cc.
References MatrixType::Banded, MatrixType::Banded_Hermitian, bsolve(), MatrixType::Diagonal, dmsolve(), dsolve(), fsolve(), MatrixType::Full, MatrixType::Hermitian, MatrixType::Lower, ltsolve(), MatrixType::Permuted_Diagonal, MatrixType::Permuted_Lower, MatrixType::Permuted_Upper, qrsolve(), MatrixType::Rectangular, SparseComplexMatrix(), MatrixType::Tridiagonal, MatrixType::Tridiagonal_Hermitian, trisolve(), MatrixType::type(), MatrixType::Unknown, MatrixType::Upper, and utsolve().
ComplexMatrix SparseComplexMatrix::solve | ( | MatrixType & | typ, | |
const ComplexMatrix & | b, | |||
octave_idx_type & | info | |||
) | const |
Definition at line 6788 of file CSparse.cc.
References solve().
SparseComplexMatrix SparseComplexMatrix::solve | ( | MatrixType & | typ, | |
const SparseComplexMatrix & | b, | |||
octave_idx_type & | info | |||
) | const |
Definition at line 6857 of file CSparse.cc.
References solve().
ComplexMatrix SparseComplexMatrix::solve | ( | MatrixType & | typ, | |
const ComplexMatrix & | b, | |||
octave_idx_type & | info, | |||
double & | rcond | |||
) | const |
Definition at line 6796 of file CSparse.cc.
References solve().
ComplexColumnVector SparseComplexMatrix::solve | ( | const ComplexColumnVector & | b | ) | const |
Definition at line 7129 of file CSparse.cc.
References solve().
SparseComplexMatrix SparseComplexMatrix::solve | ( | const SparseComplexMatrix & | b | ) | const |
Definition at line 7068 of file CSparse.cc.
References solve().
ComplexColumnVector SparseComplexMatrix::solve | ( | MatrixType & | typ, | |
const ColumnVector & | b, | |||
octave_idx_type & | info, | |||
double & | rcond, | |||
solve_singularity_handler | sing_handler | |||
) | const |
Definition at line 6939 of file CSparse.cc.
References ComplexMatrix::column(), and solve().
SparseComplexMatrix SparseComplexMatrix::solve | ( | const SparseMatrix & | b, | |
octave_idx_type & | info | |||
) | const |
Definition at line 7020 of file CSparse.cc.
References solve().
ComplexMatrix SparseComplexMatrix::solve | ( | MatrixType & | typ, | |
const Matrix & | b | |||
) | const |
Definition at line 6644 of file CSparse.cc.
Referenced by fsolve(), solve(), xdiv(), and xleftdiv().
ComplexColumnVector SparseComplexMatrix::solve | ( | const ColumnVector & | b, | |
octave_idx_type & | info | |||
) | const |
Definition at line 7107 of file CSparse.cc.
References solve().
ComplexColumnVector SparseComplexMatrix::solve | ( | MatrixType & | typ, | |
const ColumnVector & | b, | |||
octave_idx_type & | info, | |||
double & | rcond | |||
) | const |
Definition at line 6932 of file CSparse.cc.
References solve().
ComplexMatrix SparseComplexMatrix::solve | ( | MatrixType & | typ, | |
const Matrix & | b, | |||
octave_idx_type & | info, | |||
double & | rcond | |||
) | const |
Definition at line 6660 of file CSparse.cc.
References solve().
ComplexMatrix SparseComplexMatrix::solve | ( | MatrixType & | typ, | |
const ComplexMatrix & | b | |||
) | const |
Definition at line 6780 of file CSparse.cc.
References solve().
SparseComplexMatrix SparseComplexMatrix::solve | ( | const SparseComplexMatrix & | b, | |
octave_idx_type & | info | |||
) | const |
Definition at line 7076 of file CSparse.cc.
References solve().
ComplexColumnVector SparseComplexMatrix::solve | ( | const ComplexColumnVector & | b, | |
octave_idx_type & | info, | |||
double & | rcond | |||
) | const |
Definition at line 7144 of file CSparse.cc.
References solve().
ComplexMatrix SparseComplexMatrix::solve | ( | MatrixType & | typ, | |
const ComplexMatrix & | b, | |||
octave_idx_type & | info, | |||
double & | rcond, | |||
solve_singularity_handler | sing_handler, | |||
bool | singular_fallback = true | |||
) | const |
Definition at line 6803 of file CSparse.cc.
References MatrixType::Banded, MatrixType::Banded_Hermitian, bsolve(), ComplexColumnVector::ComplexMatrix, MatrixType::Diagonal, dmsolve(), dsolve(), fsolve(), MatrixType::Full, MatrixType::Hermitian, MatrixType::Lower, ltsolve(), MatrixType::Permuted_Diagonal, MatrixType::Permuted_Lower, MatrixType::Permuted_Upper, qrsolve(), MatrixType::Rectangular, MatrixType::Tridiagonal, MatrixType::Tridiagonal_Hermitian, trisolve(), MatrixType::type(), MatrixType::Unknown, MatrixType::Upper, and utsolve().
Sparse<Complex > Sparse< Complex >::sort | ( | Array< octave_idx_type > & | sidx, | |
octave_idx_type | dim = 0 , |
|||
sortmode | mode = ASCENDING | |||
) | const [inherited] |
Sparse<Complex > Sparse< Complex >::sort | ( | octave_idx_type | dim = 0 , |
|
sortmode | mode = ASCENDING | |||
) | const [inherited] |
SparseComplexMatrix SparseComplexMatrix::squeeze | ( | void | ) | const |
Reimplemented from MSparse< Complex >.
Definition at line 7195 of file CSparse.cc.
SparseComplexMatrix SparseComplexMatrix::sum | ( | int | dim = -1 |
) | const |
SparseComplexMatrix SparseComplexMatrix::sumsq | ( | int | dim = -1 |
) | const |
Definition at line 7367 of file CSparse.cc.
References COL_EXPR, ROW_EXPR, and SPARSE_BASE_REDUCTION_OP.
SparseComplexMatrix SparseComplexMatrix::tinverse | ( | MatrixType & | mattyp, | |
octave_idx_type & | info, | |||
double & | rcond, | |||
const bool | force = false , |
|||
const bool | calccond = true | |||
) | const [private] |
Definition at line 778 of file CSparse.cc.
References abs(), Sparse< T >::change_capacity(), Sparse< T >::cidx(), Sparse< Complex >::cidx(), Sparse< Complex >::cols(), current_liboctave_error_handler, Sparse< T >::data(), Sparse< Complex >::data(), MatrixType::info(), MatrixType::Lower, Sparse< T >::maybe_compress(), Sparse< Complex >::nnz(), OCTAVE_LOCAL_BUFFER, MatrixType::Permuted_Lower, MatrixType::Permuted_Upper, Sparse< Complex >::ridx(), Sparse< Complex >::rows(), SparseComplexMatrix(), MatrixType::triangular_perm(), MatrixType::type(), MatrixType::Upper, Sparse< T >::xcidx(), Sparse< T >::xdata(), and Sparse< T >::xridx().
Referenced by inverse().
bool SparseComplexMatrix::too_large_for_float | ( | void | ) | const |
Definition at line 7300 of file CSparse.cc.
References Sparse< Complex >::data(), imag(), Sparse< Complex >::nnz(), and real.
Referenced by octave_sparse_complex_matrix::save_binary().
SparseComplexMatrix SparseComplexMatrix::transpose | ( | void | ) | const [inline] |
Reimplemented from MSparse< Complex >.
Definition at line 127 of file CSparse.h.
References MSparse< T >::transpose().
Referenced by chol2inv(), dinverse(), inverse(), prod(), read_mat_binary_data(), and SparseComplexLU::SparseComplexLU().
ComplexMatrix SparseComplexMatrix::trisolve | ( | MatrixType & | typ, | |
const ComplexMatrix & | b, | |||
octave_idx_type & | info, | |||
double & | rcond, | |||
solve_singularity_handler | sing_handler, | |||
bool | calc_cond = false | |||
) | const [private] |
Definition at line 4036 of file CSparse.cc.
References Sparse< Complex >::cidx(), Array< T >::cols(), Sparse< Complex >::cols(), ComplexColumnVector::ComplexMatrix, current_liboctave_error_handler, Sparse< Complex >::data(), F77_XFCN, Array< T >::fortran_vec(), MatrixType::info(), MatrixType::is_dense(), MatrixType::mark_as_rectangular(), MatrixType::mark_as_unsymmetric(), OCTAVE_LOCAL_BUFFER, real, Sparse< Complex >::ridx(), Array< T >::rows(), Sparse< Complex >::rows(), MatrixType::Tridiagonal, MatrixType::Tridiagonal_Hermitian, and MatrixType::type().
ComplexMatrix SparseComplexMatrix::trisolve | ( | MatrixType & | typ, | |
const Matrix & | b, | |||
octave_idx_type & | info, | |||
double & | rcond, | |||
solve_singularity_handler | sing_handler, | |||
bool | calc_cond = false | |||
) | const [private] |
Definition at line 3738 of file CSparse.cc.
References Sparse< Complex >::cidx(), Array< T >::cols(), Sparse< Complex >::cols(), ComplexColumnVector::ComplexMatrix, current_liboctave_error_handler, Sparse< Complex >::data(), F77_XFCN, Array< T >::fortran_vec(), MatrixType::info(), MatrixType::is_dense(), MatrixType::mark_as_rectangular(), MatrixType::mark_as_unsymmetric(), OCTAVE_LOCAL_BUFFER, real, Sparse< Complex >::ridx(), Array< T >::rows(), Sparse< Complex >::rows(), MatrixType::Tridiagonal, MatrixType::Tridiagonal_Hermitian, and MatrixType::type().
Referenced by solve().
SparseComplexMatrix SparseComplexMatrix::trisolve | ( | MatrixType & | typ, | |
const SparseComplexMatrix & | b, | |||
octave_idx_type & | info, | |||
double & | rcond, | |||
solve_singularity_handler | sing_handler, | |||
bool | calc_cond = false | |||
) | const [private] |
Definition at line 4188 of file CSparse.cc.
References Sparse< T >::change_capacity(), Sparse< Complex >::cidx(), Sparse< T >::cols(), Sparse< Complex >::cols(), current_liboctave_error_handler, Sparse< Complex >::data(), F77_CHAR_ARG_LEN, F77_CONST_CHAR_ARG2, F77_XFCN, Array< T >::fortran_vec(), MatrixType::info(), MatrixType::is_dense(), MatrixType::mark_as_rectangular(), Sparse< T >::maybe_compress(), Sparse< T >::nnz(), OCTAVE_LOCAL_BUFFER, Sparse< Complex >::ridx(), Sparse< T >::rows(), Sparse< Complex >::rows(), SparseComplexMatrix(), MatrixType::Tridiagonal, MatrixType::Tridiagonal_Hermitian, MatrixType::type(), Sparse< T >::xcidx(), Sparse< T >::xdata(), and Sparse< T >::xridx().
SparseComplexMatrix SparseComplexMatrix::trisolve | ( | MatrixType & | typ, | |
const SparseMatrix & | b, | |||
octave_idx_type & | info, | |||
double & | rcond, | |||
solve_singularity_handler | sing_handler, | |||
bool | calc_cond = false | |||
) | const [private] |
Definition at line 3889 of file CSparse.cc.
References Sparse< T >::change_capacity(), Sparse< T >::cidx(), Sparse< Complex >::cidx(), Sparse< T >::cols(), Sparse< Complex >::cols(), current_liboctave_error_handler, Sparse< T >::data(), Sparse< Complex >::data(), F77_CHAR_ARG_LEN, F77_CONST_CHAR_ARG2, F77_XFCN, Array< T >::fortran_vec(), MatrixType::info(), MatrixType::is_dense(), MatrixType::mark_as_rectangular(), Sparse< T >::maybe_compress(), Sparse< T >::nnz(), OCTAVE_LOCAL_BUFFER, Sparse< T >::ridx(), Sparse< Complex >::ridx(), Sparse< T >::rows(), Sparse< Complex >::rows(), SparseComplexMatrix(), MatrixType::Tridiagonal, MatrixType::Tridiagonal_Hermitian, MatrixType::type(), Sparse< T >::xcidx(), Sparse< T >::xdata(), and Sparse< T >::xridx().
ComplexMatrix SparseComplexMatrix::utsolve | ( | MatrixType & | typ, | |
const ComplexMatrix & | b, | |||
octave_idx_type & | info, | |||
double & | rcond, | |||
solve_singularity_handler | sing_handler, | |||
bool | calc_cond = false | |||
) | const [private] |
Definition at line 2083 of file CSparse.cc.
References abs(), abs(), Sparse< Complex >::cidx(), Array< T >::cols(), Sparse< Complex >::cols(), current_liboctave_error_handler, Sparse< Complex >::data(), MatrixType::info(), MatrixType::mark_as_rectangular(), OCTAVE_LOCAL_BUFFER, MatrixType::Permuted_Upper, ComplexMatrix::resize(), Sparse< Complex >::ridx(), Array< T >::rows(), Sparse< Complex >::rows(), MatrixType::triangular_perm(), MatrixType::type(), MatrixType::Upper, Array< T >::xelem(), and xisnan().
SparseComplexMatrix SparseComplexMatrix::utsolve | ( | MatrixType & | typ, | |
const SparseComplexMatrix & | b, | |||
octave_idx_type & | info, | |||
double & | rcond, | |||
solve_singularity_handler | sing_handler, | |||
bool | calc_cond = false | |||
) | const [private] |
Definition at line 2319 of file CSparse.cc.
References abs(), abs(), Sparse< T >::change_capacity(), Sparse< T >::cidx(), Sparse< Complex >::cidx(), Sparse< T >::cols(), Sparse< Complex >::cols(), current_liboctave_error_handler, Sparse< T >::data(), Sparse< Complex >::data(), MatrixType::info(), MatrixType::mark_as_rectangular(), Sparse< T >::maybe_compress(), Sparse< T >::nnz(), OCTAVE_LOCAL_BUFFER, MatrixType::Permuted_Upper, Sparse< Complex >::ridx(), Sparse< T >::ridx(), Sparse< T >::rows(), Sparse< Complex >::rows(), SparseComplexMatrix(), MatrixType::triangular_perm(), MatrixType::type(), MatrixType::Upper, Sparse< T >::xcidx(), Sparse< T >::xdata(), xisnan(), and Sparse< T >::xridx().
SparseComplexMatrix SparseComplexMatrix::utsolve | ( | MatrixType & | typ, | |
const SparseMatrix & | b, | |||
octave_idx_type & | info, | |||
double & | rcond, | |||
solve_singularity_handler | sing_handler, | |||
bool | calc_cond = false | |||
) | const [private] |
Definition at line 1796 of file CSparse.cc.
References abs(), abs(), Sparse< T >::change_capacity(), Sparse< T >::cidx(), Sparse< Complex >::cidx(), Sparse< T >::cols(), Sparse< Complex >::cols(), current_liboctave_error_handler, Sparse< T >::data(), Sparse< Complex >::data(), MatrixType::info(), MatrixType::mark_as_rectangular(), Sparse< T >::maybe_compress(), Sparse< T >::nnz(), OCTAVE_LOCAL_BUFFER, MatrixType::Permuted_Upper, Sparse< Complex >::ridx(), Sparse< T >::ridx(), Sparse< T >::rows(), Sparse< Complex >::rows(), SparseComplexMatrix(), MatrixType::triangular_perm(), MatrixType::type(), MatrixType::Upper, Sparse< T >::xcidx(), Sparse< T >::xdata(), xisnan(), and Sparse< T >::xridx().
ComplexMatrix SparseComplexMatrix::utsolve | ( | MatrixType & | typ, | |
const Matrix & | b, | |||
octave_idx_type & | info, | |||
double & | rcond, | |||
solve_singularity_handler | sing_handler, | |||
bool | calc_cond = false | |||
) | const [private] |
Definition at line 1560 of file CSparse.cc.
References abs(), abs(), Sparse< Complex >::cidx(), Array< T >::cols(), Sparse< Complex >::cols(), current_liboctave_error_handler, Sparse< Complex >::data(), MatrixType::info(), MatrixType::mark_as_rectangular(), OCTAVE_LOCAL_BUFFER, MatrixType::Permuted_Upper, ComplexMatrix::resize(), Sparse< Complex >::ridx(), Array< T >::rows(), Sparse< Complex >::rows(), MatrixType::triangular_perm(), MatrixType::type(), MatrixType::Upper, Array< T >::xelem(), and xisnan().
Referenced by solve().
octave_idx_type& Sparse< Complex >::xcidx | ( | octave_idx_type | i | ) | [inline, inherited] |
octave_idx_type* Sparse< Complex >::xcidx | ( | void | ) | [inline, inherited] |
Complex & Sparse< Complex >::xdata | ( | octave_idx_type | i | ) | [inline, inherited] |
Complex & Sparse< Complex >::xelem | ( | octave_idx_type | n | ) | [inline, inherited] |
Complex Sparse< Complex >::xelem | ( | octave_idx_type | n | ) | const [inline, inherited] |
Complex Sparse< Complex >::xelem | ( | const Array< octave_idx_type > & | ra_idx | ) | const [inline, inherited] |
Complex Sparse< Complex >::xelem | ( | octave_idx_type | i, | |
octave_idx_type | j | |||
) | const [inline, inherited] |
Complex & Sparse< Complex >::xelem | ( | const Array< octave_idx_type > & | ra_idx | ) | [inline, inherited] |
Complex & Sparse< Complex >::xelem | ( | octave_idx_type | i, | |
octave_idx_type | j | |||
) | [inline, inherited] |
octave_idx_type& Sparse< Complex >::xridx | ( | octave_idx_type | i | ) | [inline, inherited] |
octave_idx_type* Sparse< Complex >::xridx | ( | void | ) | [inline, inherited] |
SparseComplexMatrix conj | ( | const SparseComplexMatrix & | a | ) | [friend] |
Definition at line 680 of file CSparse.cc.
Referenced by hermitian(), and is_hermitian().
OCTAVE_API std::ostream& operator<< | ( | std::ostream & | os, | |
const SparseComplexMatrix & | a | |||
) | [friend] |
Definition at line 7410 of file CSparse.cc.
OCTAVE_API std::istream& operator>> | ( | std::istream & | is, | |
SparseComplexMatrix & | a | |||
) | [friend] |
Definition at line 7431 of file CSparse.cc.
dim_vector Sparse< Complex >::dimensions [inherited] |