26 #if ! defined (octave_sparse_qr_h)
27 #define octave_sparse_qr_h 1
29 #include "octave-config.h"
46 template <
typename SPARSE_T>
54 #if (defined (HAVE_SPQR) && defined (HAVE_CHOLMOD))
80 OCTAVE_API SPARSE_T R (
bool econ =
false)
const;
82 OCTAVE_API typename SPARSE_T::dense_matrix_type
83 C (
const typename SPARSE_T::dense_matrix_type& b,
bool econ =
false)
const;
85 OCTAVE_API typename SPARSE_T::dense_matrix_type
86 Q (
bool econ =
false)
const;
88 template <
typename RHS_T,
typename RET_T>
90 solve (
const SPARSE_T& a,
const RHS_T& b,
95 template <
typename RHS_T,
typename RET_T>
97 min2norm_solve (
const SPARSE_T& a,
const RHS_T& b,
100 template <
typename RHS_T,
typename RET_T>
104 template <
typename RHS_T,
typename RET_T>
111 std::shared_ptr<sparse_qr_rep> m_rep;
157 OCTAVE_END_NAMESPACE(math)
158 OCTAVE_END_NAMESPACE(
octave)
sparse_qr(const sparse_qr &a)=default
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn
F77_RET_T const F77_INT const F77_INT const F77_INT F77_DBLE const F77_INT F77_DBLE const F77_INT F77_DBLE * Q
F77_RET_T const F77_INT const F77_INT const F77_INT const F77_DBLE const F77_DBLE F77_INT F77_DBLE * V
sparse_qr< SparseComplexMatrix > SparseComplexQR
sparse_qr< SparseMatrix > SparseQR
Matrix qrsolve(const SparseMatrix &a, const MArray< double > &b, octave_idx_type &info)