GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
qr.cc File Reference
#include <string>
#include "MArray.h"
#include "Matrix.h"
#include "qr.h"
#include "qrp.h"
#include "sparse-qr.h"
#include "defun.h"
#include "error.h"
#include "errwarn.h"
#include "ov.h"
#include "ovl.h"
Include dependency graph for qr.cc:

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<typename MT >
static octave_value get_qr_r (const math::qr< MT > &fact)
 
template<typename T >
static math::qr< T >::type qr_type (int nargout, bool economy)
 

Function Documentation

◆ check_index()

static bool check_index ( const octave_value i,
bool  vector_allowed = false 
)
static

◆ check_qr_dims()

static bool check_qr_dims ( const octave_value q,
const octave_value r,
bool  allow_ecf = false 
)
static

Definition at line 1273 of file qr.cc.

References octave_value::columns(), m, n, octave_value::ndims(), r, and octave_value::rows().

Referenced by Fqrdelete(), Fqrinsert(), Fqrshift(), and Fqrupdate().

◆ Fqr()

◆ Fqrdelete()

◆ Fqrinsert()

◆ Fqrshift()

◆ Fqrupdate()

◆ get_qr_r()

template<typename MT >
static octave_value get_qr_r ( const math::qr< MT > &  fact)
static

Definition at line 63 of file qr.cc.

References octave_value(), and MatrixType::Upper.

Referenced by Fqr(), Fqrdelete(), Fqrinsert(), Fqrshift(), and Fqrupdate().

◆ qr_type()

template<typename T >
static math::qr<T>::type qr_type ( int  nargout,
bool  economy 
)
static

Definition at line 74 of file qr.cc.

Referenced by qr< T >::qr(), qrp< T >::qrp(), qr< T >::form(), qr< T >::init(), and qrp< T >::init().