#include <vector>
#include "lo-error.h"
#include "SparseCmplxQR.h"
#include "oct-locbuf.h"
Go to the source code of this file.
Defines | |
#define | OCTAVE_C99_COMPLEX(buf, n) OCTAVE_LOCAL_BUFFER (cs_complex_t, buf, (n)); |
#define | OCTAVE_C99_ONE cs_complex_t(1., 0.); |
#define | OCTAVE_C99_ZERO cs_complex_t(0., 0.); |
Functions | |
ComplexMatrix | qrsolve (const SparseComplexMatrix &a, const Matrix &b, octave_idx_type &info) |
ComplexMatrix | qrsolve (const SparseComplexMatrix &a, const MArray< Complex > &b, octave_idx_type &info) |
ComplexMatrix | qrsolve (const SparseComplexMatrix &a, const MArray< double > &b, octave_idx_type &info) |
SparseComplexMatrix | qrsolve (const SparseComplexMatrix &a, const SparseComplexMatrix &b, octave_idx_type &info) |
ComplexMatrix | qrsolve (const SparseComplexMatrix &a, const ComplexMatrix &b, octave_idx_type &info) |
SparseComplexMatrix | qrsolve (const SparseComplexMatrix &a, const SparseMatrix &b, octave_idx_type &info) |
#define OCTAVE_C99_COMPLEX | ( | buf, | ||
n | ||||
) | OCTAVE_LOCAL_BUFFER (cs_complex_t, buf, (n)); |
Definition at line 45 of file SparseCmplxQR.cc.
Referenced by SparseComplexQR::SparseComplexQR_rep::Q(), and qrsolve().
#define OCTAVE_C99_ONE cs_complex_t(1., 0.); |
Definition at line 48 of file SparseCmplxQR.cc.
#define OCTAVE_C99_ZERO cs_complex_t(0., 0.); |
Definition at line 47 of file SparseCmplxQR.cc.
Referenced by SparseComplexQR::SparseComplexQR_rep::Q(), and qrsolve().
ComplexMatrix qrsolve | ( | const SparseComplexMatrix & | a, | |
const Matrix & | b, | |||
octave_idx_type & | info | |||
) |
Definition at line 293 of file SparseCmplxQR.cc.
References B, Array< T >::cols(), Sparse< T >::cols(), conj(), CXSPARSE_ZNAME, Array< T >::fortran_vec(), SparseComplexMatrix::hermitian(), OCTAVE_C99_COMPLEX, OCTAVE_C99_ZERO, OCTAVE_LOCAL_BUFFER, SparseComplexQR::ok(), SparseComplexQR::Pinv(), SparseComplexQR::Q(), ComplexMatrix::resize(), Array< T >::rows(), Sparse< T >::rows(), x, and Array< T >::xelem().
Referenced by dmsolve(), SparseMatrix::solve(), and SparseComplexMatrix::solve().
ComplexMatrix qrsolve | ( | const SparseComplexMatrix & | a, | |
const MArray< Complex > & | b, | |||
octave_idx_type & | info | |||
) |
Definition at line 896 of file SparseCmplxQR.cc.
References SparseComplexQR::qrsolve.
ComplexMatrix qrsolve | ( | const SparseComplexMatrix & | a, | |
const MArray< double > & | b, | |||
octave_idx_type & | info | |||
) |
Definition at line 889 of file SparseCmplxQR.cc.
References SparseComplexQR::qrsolve.
SparseComplexMatrix qrsolve | ( | const SparseComplexMatrix & | a, | |
const SparseComplexMatrix & | b, | |||
octave_idx_type & | info | |||
) |
Definition at line 716 of file SparseCmplxQR.cc.
References B, Sparse< T >::change_capacity(), Sparse< T >::cols(), conj(), CXSPARSE_ZNAME, SparseComplexMatrix::hermitian(), Sparse< T >::maybe_compress(), Sparse< T >::nnz(), OCTAVE_C99_COMPLEX, OCTAVE_C99_ZERO, OCTAVE_LOCAL_BUFFER, SparseComplexQR::ok(), SparseComplexQR::Pinv(), SparseComplexQR::Q(), Sparse< T >::rows(), SparseComplexMatrix, x, Sparse< T >::xcidx(), Sparse< T >::xdata(), Sparse< T >::xelem(), and Sparse< T >::xridx().
ComplexMatrix qrsolve | ( | const SparseComplexMatrix & | a, | |
const ComplexMatrix & | b, | |||
octave_idx_type & | info | |||
) |
Definition at line 595 of file SparseCmplxQR.cc.
References B, Array< T >::cols(), Sparse< T >::cols(), conj(), CXSPARSE_ZNAME, Array< T >::fortran_vec(), SparseComplexMatrix::hermitian(), OCTAVE_C99_COMPLEX, OCTAVE_C99_ZERO, OCTAVE_LOCAL_BUFFER, SparseComplexQR::ok(), SparseComplexQR::Pinv(), SparseComplexQR::Q(), ComplexMatrix::resize(), Array< T >::rows(), Sparse< T >::rows(), and x.
SparseComplexMatrix qrsolve | ( | const SparseComplexMatrix & | a, | |
const SparseMatrix & | b, | |||
octave_idx_type & | info | |||
) |
Definition at line 421 of file SparseCmplxQR.cc.
References B, Sparse< T >::change_capacity(), Sparse< T >::cols(), conj(), CXSPARSE_ZNAME, SparseComplexMatrix::hermitian(), Sparse< T >::maybe_compress(), Sparse< T >::nnz(), OCTAVE_C99_COMPLEX, OCTAVE_C99_ZERO, OCTAVE_LOCAL_BUFFER, SparseComplexQR::ok(), SparseComplexQR::Pinv(), SparseComplexQR::Q(), Sparse< T >::rows(), SparseComplexMatrix, x, Sparse< T >::xcidx(), Sparse< T >::xdata(), Sparse< T >::xelem(), and Sparse< T >::xridx().