GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include <iosfwd>
#include "dMatrix.h"
#include "CMatrix.h"
#include "dSparse.h"
#include "CSparse.h"
#include "oct-sparse.h"
Go to the source code of this file.
Classes | |
class | SparseQR |
class | SparseQR::SparseQR_rep |
Macros | |
#define | CXSPARSE_DNAME(name) cs_di ## name |
Functions | |
Matrix | qrsolve (const SparseMatrix &a, const Matrix &b, octave_idx_type &info) |
Matrix | qrsolve (const SparseMatrix &a, const MArray< double > &b, octave_idx_type &info) |
SparseMatrix | qrsolve (const SparseMatrix &a, const SparseMatrix &b, octave_idx_type &info) |
ComplexMatrix | qrsolve (const SparseMatrix &a, const ComplexMatrix &b, octave_idx_type &info) |
ComplexMatrix | qrsolve (const SparseMatrix &a, const MArray< Complex > &b, octave_idx_type &info) |
SparseComplexMatrix | qrsolve (const SparseMatrix &a, const SparseComplexMatrix &b, octave_idx_type &info) |
#define CXSPARSE_DNAME | ( | name | ) | cs_di ## name |
Definition at line 37 of file SparseQR.h.
Referenced by SparseQR::SparseQR_rep::C(), dmsolve(), SparseQR::SparseQR_rep::Q(), qrsolve(), SparseQR::SparseQR_rep::R(), SparseQR::SparseQR_rep::SparseQR_rep(), SparseQR::SparseQR_rep::V(), and SparseQR::SparseQR_rep::~SparseQR_rep().
Matrix qrsolve | ( | const SparseMatrix & | a, |
const Matrix & | b, | ||
octave_idx_type & | info | ||
) |
Definition at line 274 of file SparseQR.cc.
References BEGIN_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, Sparse< T >::cols(), Array< T >::cols(), CXSPARSE_DNAME, END_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, Array< T >::fortran_vec(), SparseMatrix::hermitian(), SparseQR::N(), OCTAVE_LOCAL_BUFFER, SparseQR::ok(), Matrix::resize(), Sparse< T >::rows(), Array< T >::rows(), SparseQR::S(), and x.
Matrix qrsolve | ( | const SparseMatrix & | a, |
const MArray< double > & | b, | ||
octave_idx_type & | info | ||
) |
Definition at line 906 of file SparseQR.cc.
References SparseQR::qrsolve.
SparseMatrix qrsolve | ( | const SparseMatrix & | a, |
const SparseMatrix & | b, | ||
octave_idx_type & | info | ||
) |
Definition at line 378 of file SparseQR.cc.
References BEGIN_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, Sparse< T >::change_capacity(), Sparse< T >::cols(), CXSPARSE_DNAME, END_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, SparseMatrix::hermitian(), Sparse< T >::maybe_compress(), SparseQR::N(), Sparse< T >::nnz(), OCTAVE_LOCAL_BUFFER, SparseQR::ok(), Sparse< T >::rows(), SparseQR::S(), x, Sparse< T >::xcidx(), Sparse< T >::xdata(), Sparse< T >::xelem(), and Sparse< T >::xridx().
ComplexMatrix qrsolve | ( | const SparseMatrix & | a, |
const ComplexMatrix & | b, | ||
octave_idx_type & | info | ||
) |
Definition at line 529 of file SparseQR.cc.
References BEGIN_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, Sparse< T >::cols(), Array< T >::cols(), CXSPARSE_DNAME, END_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, Array< T >::fortran_vec(), SparseMatrix::hermitian(), imag(), SparseQR::N(), OCTAVE_LOCAL_BUFFER, SparseQR::ok(), real(), ComplexMatrix::resize(), Sparse< T >::rows(), Array< T >::rows(), SparseQR::S(), x, and Array< T >::xelem().
ComplexMatrix qrsolve | ( | const SparseMatrix & | a, |
const MArray< Complex > & | b, | ||
octave_idx_type & | info | ||
) |
Definition at line 913 of file SparseQR.cc.
References SparseQR::qrsolve.
SparseComplexMatrix qrsolve | ( | const SparseMatrix & | a, |
const SparseComplexMatrix & | b, | ||
octave_idx_type & | info | ||
) |
Definition at line 696 of file SparseQR.cc.
References BEGIN_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, Sparse< T >::change_capacity(), Sparse< T >::cols(), CXSPARSE_DNAME, END_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, SparseMatrix::hermitian(), imag(), Sparse< T >::maybe_compress(), SparseQR::N(), Sparse< T >::nnz(), OCTAVE_LOCAL_BUFFER, SparseQR::ok(), real(), Sparse< T >::rows(), SparseQR::S(), x, Sparse< T >::xcidx(), Sparse< T >::xdata(), Sparse< T >::xelem(), and Sparse< T >::xridx().