GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "CmplxQR.h"
#include "CmplxQRP.h"
#include "dbleQR.h"
#include "dbleQRP.h"
#include "fCmplxQR.h"
#include "fCmplxQRP.h"
#include "floatQR.h"
#include "floatQRP.h"
#include "SparseQR.h"
#include "SparseCmplxQR.h"
#include "defun-dld.h"
#include "error.h"
#include "gripes.h"
#include "oct-obj.h"
#include "utils.h"
Go to the source code of this file.
Functions | |
static bool | check_index (const octave_value &i, bool vector_allowed=false) |
static bool | check_qr_dims (const octave_value &q, const octave_value &r, bool allow_ecf=false) |
OCTAVE_EXPORT octave_value_list | Fqr (const octave_value_list &args, int nargout) |
OCTAVE_EXPORT octave_value_list | Fqrdelete (const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | Fqrinsert (const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | Fqrshift (const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | Fqrupdate (const octave_value_list &args, int) |
template<class MT > | |
static octave_value | get_qr_r (const base_qr< MT > &fact) |
C OCTAVE_EXPORT octave_function * | Gqr (const octave_shlib &shl, bool relative) |
C OCTAVE_EXPORT octave_function * | Gqrdelete (const octave_shlib &shl, bool relative) |
C OCTAVE_EXPORT octave_function * | Gqrinsert (const octave_shlib &shl, bool relative) |
C OCTAVE_EXPORT octave_function * | Gqrshift (const octave_shlib &shl, bool relative) |
C OCTAVE_EXPORT octave_function * | Gqrupdate (const octave_shlib &shl, bool relative) |
|
static |
Definition at line 757 of file qr.cc.
References octave_value::is_integer_type(), octave_value::is_real_type(), and octave_value::is_scalar_type().
Referenced by Gqrdelete(), Gqrinsert(), and Gqrshift().
|
static |
Definition at line 746 of file qr.cc.
References octave_value::columns(), octave_value::ndims(), and octave_value::rows().
Referenced by Gqrdelete(), Gqrinsert(), Gqrshift(), and Gqrupdate().
OCTAVE_EXPORT octave_value_list Fqr | ( | const octave_value_list & | args, |
int | nargout | ||
) |
OCTAVE_EXPORT octave_value_list Fqrdelete | ( | const octave_value_list & | args, |
int | |||
) |
OCTAVE_EXPORT octave_value_list Fqrinsert | ( | const octave_value_list & | args, |
int | |||
) |
OCTAVE_EXPORT octave_value_list Fqrshift | ( | const octave_value_list & | args, |
int | |||
) |
OCTAVE_EXPORT octave_value_list Fqrupdate | ( | const octave_value_list & | args, |
int | |||
) |
|
static |
Definition at line 49 of file qr.cc.
References base_qr< qr_type >::R(), base_qr< qr_type >::regular(), and MatrixType::Upper.
Referenced by Gqr(), Gqrdelete(), Gqrinsert(), Gqrshift(), and Gqrupdate().
C OCTAVE_EXPORT octave_function* Gqr | ( | const octave_shlib & | shl, |
bool | relative | ||
) |
Definition at line 200 of file qr.cc.
References arg(), octave_value::columns(), octave_value::complex_matrix_value(), QR::economy, empty_arg(), error(), error_state, octave_value::float_complex_matrix_value(), octave_value::float_matrix_value(), get_qr_r(), gripe_wrong_type_arg(), octave_value::is_complex_type(), octave_value::is_real_type(), octave_value::is_single_type(), octave_value::is_sparse_type(), octave_value_list::length(), octave_value::matrix_value(), ComplexQRP::P(), FloatComplexQRP::P(), FloatQRP::P(), QRP::P(), print_usage(), ComplexQRP::Pvec(), FloatComplexQRP::Pvec(), QRP::Pvec(), FloatQRP::Pvec(), base_qr< qr_type >::Q(), base_qr< qr_type >::R(), QR::raw, octave_value::rows(), octave_value::sparse_complex_matrix_value(), octave_value::sparse_matrix_value(), QR::std, and warning().
C OCTAVE_EXPORT octave_function* Gqrdelete | ( | const octave_shlib & | shl, |
bool | relative | ||
) |
Definition at line 1186 of file qr.cc.
References check_index(), check_qr_dims(), octave_value::complex_matrix_value(), FloatQR::delete_col(), ComplexQR::delete_col(), FloatComplexQR::delete_col(), QR::delete_col(), FloatQR::delete_row(), ComplexQR::delete_row(), FloatComplexQR::delete_row(), QR::delete_row(), error(), octave_value::float_complex_matrix_value(), octave_value::float_matrix_value(), get_qr_r(), octave_value::is_numeric_type(), octave_value::is_real_type(), octave_value::is_single_type(), octave_value::matrix_value(), octave_value::octave_idx_type_vector_value(), print_usage(), base_qr< qr_type >::Q(), and Q.
C OCTAVE_EXPORT octave_function* Gqrinsert | ( | const octave_shlib & | shl, |
bool | relative | ||
) |
Definition at line 967 of file qr.cc.
References check_index(), check_qr_dims(), octave_value::complex_matrix_value(), error(), octave_value::float_complex_matrix_value(), octave_value::float_matrix_value(), get_qr_r(), FloatQR::insert_col(), ComplexQR::insert_col(), FloatComplexQR::insert_col(), QR::insert_col(), FloatQR::insert_row(), ComplexQR::insert_row(), FloatComplexQR::insert_row(), QR::insert_row(), octave_value::is_numeric_type(), octave_value::is_real_type(), octave_value::is_single_type(), octave_value::matrix_value(), octave_value::octave_idx_type_vector_value(), print_usage(), base_qr< qr_type >::Q(), Q, Matrix::row(), FloatMatrix::row(), ComplexMatrix::row(), FloatComplexMatrix::row(), octave_value::rows(), and x.
C OCTAVE_EXPORT octave_function* Gqrshift | ( | const octave_shlib & | shl, |
bool | relative | ||
) |
Definition at line 1438 of file qr.cc.
References check_index(), check_qr_dims(), octave_value::complex_matrix_value(), error(), octave_value::float_complex_matrix_value(), octave_value::float_matrix_value(), get_qr_r(), octave_value::int_value(), octave_value::is_numeric_type(), octave_value::is_real_type(), octave_value::is_single_type(), octave_value::matrix_value(), print_usage(), base_qr< qr_type >::Q(), Q, FloatQR::shift_cols(), ComplexQR::shift_cols(), FloatComplexQR::shift_cols(), and QR::shift_cols().
C OCTAVE_EXPORT octave_function* Gqrupdate | ( | const octave_shlib & | shl, |
bool | relative | ||
) |
Definition at line 779 of file qr.cc.
References check_qr_dims(), octave_value::complex_matrix_value(), error(), octave_value::float_complex_matrix_value(), octave_value::float_matrix_value(), get_qr_r(), octave_value::is_numeric_type(), octave_value::is_real_type(), octave_value::is_single_type(), octave_value::matrix_value(), print_usage(), base_qr< qr_type >::Q(), Q, FloatQR::update(), ComplexQR::update(), FloatComplexQR::update(), and QR::update().