#include "lu.h"
#include "sparse-lu.h"
#include "defun.h"
#include "error.h"
#include "errwarn.h"
#include "ovl.h"
#include "ov-re-sparse.h"
#include "ov-cx-sparse.h"
Go to the source code of this file.
Functions | |
static bool | check_lu_dims (const octave_value &l, const octave_value &u, const octave_value &p) |
OCTAVE_EXPORT octave_value_list | Flu (const octave_value_list &args, int nargout) |
OCTAVE_EXPORT octave_value_list | Fluupdate (const octave_value_list &args, int) |
template<typename MT > | |
static octave_value | get_lu_l (const octave::math::lu< MT > &fact) |
template<typename MT > | |
static octave_value | get_lu_u (const octave::math::lu< MT > &fact) |
|
static |
Definition at line 563 of file lu.cc.
References octave_value::columns(), octave_value::is_undefined(), m, min(), n, octave_value::ndims(), and octave_value::rows().
Referenced by Fluupdate().
OCTAVE_EXPORT octave_value_list Flu | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 141 of file lu.cc.
References octave::math::sparse_lu< lu_type >::col_perm(), octave_value::columns(), octave_value::complex_matrix_value(), err_wrong_type_arg(), error(), octave_value::float_complex_matrix_value(), octave_value::float_matrix_value(), get_lu_l(), get_lu_u(), octave_value::is_single_type(), octave_value::iscomplex(), octave_value::isempty(), octave_value::isreal(), octave::math::lu< T >::L(), octave::math::sparse_lu< lu_type >::L(), MatrixType::Lower, m, octave_value::matrix_value(), n, Array< T >::numel(), octave_value(), ovl(), octave::math::lu< T >::P(), octave::math::lu< T >::P_vec(), octave::math::sparse_lu< lu_type >::Pc_mat(), octave::math::sparse_lu< lu_type >::Pc_vec(), MatrixType::Permuted_Lower, MatrixType::Permuted_Upper, octave::math::sparse_lu< lu_type >::Pr_mat(), octave::math::sparse_lu< lu_type >::Pr_vec(), print_usage(), octave::math::sparse_lu< lu_type >::R(), Array< T >::resize(), Matrix::resize(), retval, octave::math::sparse_lu< lu_type >::row_perm(), octave_value::rows(), scale(), octave_value::sparse_complex_matrix_value(), octave_value::sparse_matrix_value(), PermMatrix::transpose(), octave::math::sparse_lu< lu_type >::U(), MatrixType::Upper, warning_with_id(), octave::math::lu< T >::Y(), and octave::math::sparse_lu< lu_type >::Y().
OCTAVE_EXPORT octave_value_list Fluupdate | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 618 of file lu.cc.
References check_lu_dims(), octave_value::complex_matrix_value(), error(), PermMatrix::eye(), octave_value::float_complex_matrix_value(), octave_value::float_matrix_value(), get_lu_l(), get_lu_u(), octave_value::is_perm_matrix(), octave_value::is_single_type(), octave_value::isnumeric(), octave_value::isreal(), octave_value::matrix_value(), octave_value(), ovl(), octave::math::lu< T >::P(), octave_value::perm_matrix_value(), print_usage(), octave_value::rows(), octave::math::lu< T >::update(), octave::math::lu< T >::update_piv(), and x.
|
static |
Definition at line 42 of file lu.cc.
References octave::math::lu< T >::L(), MatrixType::Lower, and octave_value().
Referenced by Flu(), and Fluupdate().
|
static |
Definition at line 53 of file lu.cc.
References octave_value(), octave::math::lu< T >::regular(), octave::math::lu< T >::U(), and MatrixType::Upper.
Referenced by Flu(), and Fluupdate().