GNU Octave
4.2.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
Public Member Functions | |
sparse_qr_rep (const SPARSE_T &a, int order) | |
template<> | |
sparse_qr_rep (const SparseMatrix &a, int order) | |
template<> | |
sparse_qr_rep (const SparseComplexMatrix &a, int order) | |
~sparse_qr_rep (void) | |
template<> | |
~sparse_qr_rep (void) | |
template<> | |
~sparse_qr_rep (void) | |
SPARSE_T::dense_matrix_type | C (const typename SPARSE_T::dense_matrix_type &b) const |
template<> | |
Matrix | C (const Matrix &b) const |
template<> | |
ComplexMatrix | C (const ComplexMatrix &b) const |
bool | ok (void) const |
ColumnVector | P (void) const |
ColumnVector | Pinv (void) const |
SPARSE_T::dense_matrix_type | Q (void) const |
template<> | |
Matrix | Q (void) const |
template<> | |
ComplexMatrix | Q (void) const |
SPARSE_T | R (bool econ) const |
template<> | |
SparseMatrix | R (bool econ) const |
template<> | |
SparseComplexMatrix | R (bool econ) const |
template<typename RHS_T , typename RET_T > | |
RET_T | tall_solve (const RHS_T &b, octave_idx_type &info) const |
template<> | |
Matrix | tall_solve (const MArray< double > &b, octave_idx_type &info) const |
template<> | |
SparseMatrix | tall_solve (const SparseMatrix &b, octave_idx_type &info) const |
template<> | |
ComplexMatrix | tall_solve (const MArray< Complex > &b, octave_idx_type &info) const |
template<> | |
SparseComplexMatrix | tall_solve (const SparseComplexMatrix &b, octave_idx_type &info) const |
template<> | |
ComplexMatrix | tall_solve (const MArray< double > &b, octave_idx_type &info) const |
template<> | |
SparseComplexMatrix | tall_solve (const SparseMatrix &b, octave_idx_type &info) const |
template<> | |
ComplexMatrix | tall_solve (const MArray< Complex > &b, octave_idx_type &info) const |
template<> | |
SparseComplexMatrix | tall_solve (const SparseComplexMatrix &b, octave_idx_type &info) const |
SPARSE_T | V (void) const |
template<> | |
SparseMatrix | V (void) const |
template<> | |
SparseComplexMatrix | V (void) const |
template<typename RHS_T , typename RET_T > | |
RET_T | wide_solve (const RHS_T &b, octave_idx_type &info) const |
template<> | |
Matrix | wide_solve (const MArray< double > &b, octave_idx_type &info) const |
template<> | |
SparseMatrix | wide_solve (const SparseMatrix &b, octave_idx_type &info) const |
template<> | |
ComplexMatrix | wide_solve (const MArray< Complex > &b, octave_idx_type &info) const |
template<> | |
SparseComplexMatrix | wide_solve (const SparseComplexMatrix &b, octave_idx_type &info) const |
template<> | |
ComplexMatrix | wide_solve (const MArray< double > &b, octave_idx_type &info) const |
template<> | |
SparseComplexMatrix | wide_solve (const SparseMatrix &b, octave_idx_type &info) const |
template<> | |
ComplexMatrix | wide_solve (const MArray< Complex > &b, octave_idx_type &info) const |
template<> | |
SparseComplexMatrix | wide_solve (const SparseComplexMatrix &b, octave_idx_type &info) const |
Public Attributes | |
octave_refcount< int > | count |
cxsparse_types< SPARSE_T > ::numeric_type * | N |
octave_idx_type | ncols |
octave_idx_type | nrows |
cxsparse_types< SPARSE_T > ::symbolic_type * | S |
Private Member Functions | |
sparse_qr_rep (const sparse_qr_rep &) | |
sparse_qr_rep & | operator= (const sparse_qr_rep &) |
Definition at line 72 of file sparse-qr.cc.
octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::sparse_qr_rep | ( | const SPARSE_T & | a, |
int | order | ||
) |
octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::~sparse_qr_rep | ( | void | ) |
|
private |
octave::math::sparse_qr::sparse_qr_rep< SparseMatrix >::sparse_qr_rep | ( | const SparseMatrix & | a, |
int | order | ||
) |
Definition at line 174 of file sparse-qr.cc.
References A, BEGIN_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, Sparse< T >::cidx(), CXSPARSE_DNAME, Sparse< T >::data(), END_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, N, Sparse< T >::nnz(), and Sparse< T >::ridx().
octave::math::sparse_qr::sparse_qr_rep< SparseMatrix >::~sparse_qr_rep | ( | void | ) |
Definition at line 216 of file sparse-qr.cc.
References CXSPARSE_DNAME, and N.
octave::math::sparse_qr::sparse_qr_rep< SparseComplexMatrix >::sparse_qr_rep | ( | const SparseComplexMatrix & | a, |
int | order | ||
) |
Definition at line 940 of file sparse-qr.cc.
References A, BEGIN_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, Sparse< T >::cidx(), CXSPARSE_ZNAME, Sparse< T >::data(), END_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, N, Sparse< T >::nnz(), and Sparse< T >::ridx().
octave::math::sparse_qr::sparse_qr_rep< SparseComplexMatrix >::~sparse_qr_rep | ( | void | ) |
Definition at line 983 of file sparse-qr.cc.
References CXSPARSE_ZNAME, and N.
SPARSE_T::dense_matrix_type octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::C | ( | const typename SPARSE_T::dense_matrix_type & | b | ) | const |
Matrix octave::math::sparse_qr::sparse_qr_rep< SparseMatrix >::C | ( | const Matrix & | b | ) | const |
Definition at line 307 of file sparse-qr.cc.
References b_nc, b_nr, BEGIN_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, Array< T >::cols(), CXSPARSE_DNAME, END_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, Array< T >::fortran_vec(), N, nm, OCTAVE_LOCAL_BUFFER, and Array< T >::rows().
ComplexMatrix octave::math::sparse_qr::sparse_qr_rep< SparseComplexMatrix >::C | ( | const ComplexMatrix & | b | ) | const |
Definition at line 1073 of file sparse-qr.cc.
References b_nc, b_nr, BEGIN_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, Array< T >::cols(), CXSPARSE_ZNAME, END_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, Array< T >::fortran_vec(), N, nm, OCTAVE_LOCAL_BUFFER, and Array< T >::rows().
|
inline |
Definition at line 80 of file sparse-qr.cc.
References N.
|
private |
ColumnVector octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::P | ( | void | ) | const |
Definition at line 150 of file sparse-qr.cc.
References N, and Array< T >::xelem().
ColumnVector octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::Pinv | ( | void | ) | const |
Definition at line 130 of file sparse-qr.cc.
References octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::N, octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::S, and Array< T >::xelem().
SPARSE_T::dense_matrix_type octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::Q | ( | void | ) | const |
Matrix octave::math::sparse_qr::sparse_qr_rep< SparseMatrix >::Q | ( | void | ) | const |
Definition at line 371 of file sparse-qr.cc.
References BEGIN_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, CXSPARSE_DNAME, END_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, Array< T >::fortran_vec(), N, nm, OCTAVE_LOCAL_BUFFER, and Matrix::transpose().
ComplexMatrix octave::math::sparse_qr::sparse_qr_rep< SparseComplexMatrix >::Q | ( | void | ) | const |
Definition at line 1135 of file sparse-qr.cc.
References BEGIN_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, CXSPARSE_ZNAME, END_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, Array< T >::fortran_vec(), ComplexMatrix::hermitian(), N, nm, and OCTAVE_LOCAL_BUFFER.
SPARSE_T octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::R | ( | bool | econ | ) | const |
SparseMatrix octave::math::sparse_qr::sparse_qr_rep< SparseMatrix >::R | ( | bool | econ | ) | const |
Definition at line 265 of file sparse-qr.cc.
References BEGIN_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, CXSPARSE_DNAME, END_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, N, Sparse< T >::xcidx(), Sparse< T >::xdata(), and Sparse< T >::xridx().
SparseComplexMatrix octave::math::sparse_qr::sparse_qr_rep< SparseComplexMatrix >::R | ( | bool | econ | ) | const |
Definition at line 1031 of file sparse-qr.cc.
References BEGIN_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, CXSPARSE_ZNAME, END_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, N, Sparse< T >::xcidx(), Sparse< T >::xdata(), and Sparse< T >::xridx().
RET_T octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::tall_solve | ( | const RHS_T & | b, |
octave_idx_type & | info | ||
) | const |
Matrix octave::math::sparse_qr::sparse_qr_rep< SparseMatrix >::tall_solve< MArray< double >, Matrix > | ( | const MArray< double > & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 436 of file sparse-qr.cc.
References b_nc, b_nr, BEGIN_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, Array< T >::cols(), CXSPARSE_DNAME, Array< T >::data(), END_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, Array< T >::fortran_vec(), N, OCTAVE_LOCAL_BUFFER, Array< T >::rows(), and x.
SparseMatrix octave::math::sparse_qr::sparse_qr_rep< SparseMatrix >::tall_solve< SparseMatrix, SparseMatrix > | ( | const SparseMatrix & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 567 of file sparse-qr.cc.
References b_nc, b_nr, BEGIN_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, Sparse< T >::cols(), CXSPARSE_DNAME, END_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, N, Sparse< T >::nnz(), OCTAVE_LOCAL_BUFFER, Sparse< T >::rows(), sz, tmp, x, and Sparse< T >::xelem().
ComplexMatrix octave::math::sparse_qr::sparse_qr_rep< SparseMatrix >::tall_solve< MArray< Complex >, ComplexMatrix > | ( | const MArray< Complex > & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 751 of file sparse-qr.cc.
References b_nc, b_nr, BEGIN_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, c, Array< T >::cols(), CXSPARSE_DNAME, END_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, Array< T >::fortran_vec(), N, OCTAVE_LOCAL_BUFFER, Array< T >::rows(), x, and Array< T >::xelem().
SparseComplexMatrix octave::math::sparse_qr::sparse_qr_rep< SparseMatrix >::tall_solve< SparseComplexMatrix, SparseComplexMatrix > | ( | const SparseComplexMatrix & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 1202 of file sparse-qr.cc.
References b_nc, b_nr, BEGIN_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, c, Sparse< T >::cols(), CXSPARSE_DNAME, END_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, N, Sparse< T >::nnz(), OCTAVE_LOCAL_BUFFER, Sparse< T >::rows(), sz, tmp, x, and Sparse< T >::xelem().
ComplexMatrix octave::math::sparse_qr::sparse_qr_rep< SparseComplexMatrix >::tall_solve< MArray< double >, ComplexMatrix > | ( | const MArray< double > & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 1440 of file sparse-qr.cc.
References b_nc, b_nr, BEGIN_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, Array< T >::cols(), CXSPARSE_ZNAME, END_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, Array< T >::fortran_vec(), N, OCTAVE_LOCAL_BUFFER, Array< T >::rows(), x, and Array< T >::xelem().
SparseComplexMatrix octave::math::sparse_qr::sparse_qr_rep< SparseComplexMatrix >::tall_solve< SparseMatrix, SparseComplexMatrix > | ( | const SparseMatrix & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 1582 of file sparse-qr.cc.
References b_nc, b_nr, BEGIN_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, Sparse< T >::cols(), CXSPARSE_ZNAME, END_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, N, Sparse< T >::nnz(), OCTAVE_LOCAL_BUFFER, Sparse< T >::rows(), sz, tmp, x, and Sparse< T >::xelem().
ComplexMatrix octave::math::sparse_qr::sparse_qr_rep< SparseComplexMatrix >::tall_solve< MArray< Complex >, ComplexMatrix > | ( | const MArray< Complex > & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 1782 of file sparse-qr.cc.
References b_nc, b_nr, BEGIN_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, Array< T >::cols(), CXSPARSE_ZNAME, END_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, Array< T >::fortran_vec(), N, OCTAVE_LOCAL_BUFFER, Array< T >::rows(), and x.
SparseComplexMatrix octave::math::sparse_qr::sparse_qr_rep< SparseComplexMatrix >::tall_solve< SparseComplexMatrix, SparseComplexMatrix > | ( | const SparseComplexMatrix & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 1921 of file sparse-qr.cc.
References b_nc, b_nr, BEGIN_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, Sparse< T >::cols(), CXSPARSE_ZNAME, END_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, N, Sparse< T >::nnz(), OCTAVE_LOCAL_BUFFER, Sparse< T >::rows(), sz, tmp, x, and Sparse< T >::xelem().
SPARSE_T octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::V | ( | void | ) | const |
SparseMatrix octave::math::sparse_qr::sparse_qr_rep< SparseMatrix >::V | ( | void | ) | const |
Definition at line 226 of file sparse-qr.cc.
References BEGIN_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, CXSPARSE_DNAME, END_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, N, Sparse< T >::xcidx(), Sparse< T >::xdata(), and Sparse< T >::xridx().
SparseComplexMatrix octave::math::sparse_qr::sparse_qr_rep< SparseComplexMatrix >::V | ( | void | ) | const |
Definition at line 993 of file sparse-qr.cc.
References BEGIN_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, CXSPARSE_ZNAME, END_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, N, Sparse< T >::xcidx(), Sparse< T >::xdata(), and Sparse< T >::xridx().
RET_T octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::wide_solve | ( | const RHS_T & | b, |
octave_idx_type & | info | ||
) | const |
Matrix octave::math::sparse_qr::sparse_qr_rep< SparseMatrix >::wide_solve< MArray< double >, Matrix > | ( | const MArray< double > & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 499 of file sparse-qr.cc.
References b_nc, b_nr, BEGIN_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, Array< T >::cols(), CXSPARSE_DNAME, Array< T >::data(), END_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, Array< T >::fortran_vec(), N, OCTAVE_LOCAL_BUFFER, Array< T >::rows(), and x.
SparseMatrix octave::math::sparse_qr::sparse_qr_rep< SparseMatrix >::wide_solve< SparseMatrix, SparseMatrix > | ( | const SparseMatrix & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 656 of file sparse-qr.cc.
References b_nc, b_nr, BEGIN_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, Sparse< T >::cols(), CXSPARSE_DNAME, END_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, N, Sparse< T >::nnz(), OCTAVE_LOCAL_BUFFER, Sparse< T >::rows(), sz, tmp, x, and Sparse< T >::xelem().
ComplexMatrix octave::math::sparse_qr::sparse_qr_rep< SparseMatrix >::wide_solve< MArray< Complex >, ComplexMatrix > | ( | const MArray< Complex > & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 842 of file sparse-qr.cc.
References b_nc, b_nr, BEGIN_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, c, Array< T >::cols(), CXSPARSE_DNAME, END_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, Array< T >::fortran_vec(), N, OCTAVE_LOCAL_BUFFER, Array< T >::rows(), x, and Array< T >::xelem().
SparseComplexMatrix octave::math::sparse_qr::sparse_qr_rep< SparseMatrix >::wide_solve< SparseComplexMatrix, SparseComplexMatrix > | ( | const SparseComplexMatrix & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 1318 of file sparse-qr.cc.
References b_nc, b_nr, BEGIN_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, c, Sparse< T >::cols(), CXSPARSE_DNAME, END_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, N, Sparse< T >::nnz(), OCTAVE_LOCAL_BUFFER, Sparse< T >::rows(), sz, tmp, x, and Sparse< T >::xelem().
ComplexMatrix octave::math::sparse_qr::sparse_qr_rep< SparseComplexMatrix >::wide_solve< MArray< double >, ComplexMatrix > | ( | const MArray< double > & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 1507 of file sparse-qr.cc.
References B, b_nc, b_nr, BEGIN_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, Array< T >::cols(), CXSPARSE_ZNAME, END_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, for(), Array< T >::fortran_vec(), N, OCTAVE_LOCAL_BUFFER, Array< T >::rows(), x, and Array< T >::xelem().
SparseComplexMatrix octave::math::sparse_qr::sparse_qr_rep< SparseComplexMatrix >::wide_solve< SparseMatrix, SparseComplexMatrix > | ( | const SparseMatrix & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 1678 of file sparse-qr.cc.
References B, b_nc, b_nr, BEGIN_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, Sparse< T >::cols(), CXSPARSE_ZNAME, END_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, for(), N, Sparse< T >::nnz(), OCTAVE_LOCAL_BUFFER, Sparse< T >::rows(), sz, tmp, x, and Sparse< T >::xelem().
ComplexMatrix octave::math::sparse_qr::sparse_qr_rep< SparseComplexMatrix >::wide_solve< MArray< Complex >, ComplexMatrix > | ( | const MArray< Complex > & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 1848 of file sparse-qr.cc.
References B, b_nc, b_nr, BEGIN_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, Array< T >::cols(), CXSPARSE_ZNAME, END_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, for(), Array< T >::fortran_vec(), N, OCTAVE_LOCAL_BUFFER, Array< T >::rows(), and x.
SparseComplexMatrix octave::math::sparse_qr::sparse_qr_rep< SparseComplexMatrix >::wide_solve< SparseComplexMatrix, SparseComplexMatrix > | ( | const SparseComplexMatrix & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 2016 of file sparse-qr.cc.
References B, b_nc, b_nr, BEGIN_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, Sparse< T >::cols(), CXSPARSE_ZNAME, END_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, for(), N, Sparse< T >::nnz(), OCTAVE_LOCAL_BUFFER, Sparse< T >::rows(), sz, tmp, x, and Sparse< T >::xelem().
octave_refcount<int> octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::count |
Definition at line 103 of file sparse-qr.cc.
Referenced by octave::math::sparse_qr< SPARSE_T >::sparse_qr().
cxsparse_types<SPARSE_T>::numeric_type* octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::N |
Definition at line 109 of file sparse-qr.cc.
Referenced by octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::Pinv().
octave_idx_type octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::ncols |
Definition at line 106 of file sparse-qr.cc.
octave_idx_type octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::nrows |
Definition at line 105 of file sparse-qr.cc.
cxsparse_types<SPARSE_T>::symbolic_type* octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::S |
Definition at line 108 of file sparse-qr.cc.
Referenced by octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::Pinv().