24 #if ! defined (octave_sparse_qr_h) 25 #define octave_sparse_qr_h 1 27 #include "octave-config.h" 34 template <
typename T>
class MArray;
45 template <
typename SPARSE_T>
63 SPARSE_T
V (
void)
const;
69 SPARSE_T R (
bool econ =
false)
const;
71 typename SPARSE_T::dense_matrix_type
72 C (
const typename SPARSE_T::dense_matrix_type&
b)
const;
74 typename SPARSE_T::dense_matrix_type
77 template <
typename RHS_T,
typename RET_T>
79 solve (
const SPARSE_T&
a,
const RHS_T&
b,
88 template <
typename RHS_T,
typename RET_T>
92 template <
typename RHS_T,
typename RET_T>
sparse_qr< SparseComplexMatrix > SparseComplexQR
F77_RET_T const F77_INT const F77_INT const F77_INT const F77_DBLE const F77_DBLE F77_INT F77_DBLE * V
Template for N-dimensional array classes with like-type math operators.
Matrix qrsolve(const SparseMatrix &a, const MArray< double > &b, octave_idx_type &info)
calling an anonymous function involves an overhead quite comparable to the overhead of an m file function Passing a handle to a built in function is because the interpreter is not involved in the internal loop For a
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
sparse_qr< SparseMatrix > SparseQR