#include <cfloat>
#include "dbleCHOL.h"
#include "dbleSVD.h"
#include "mx-m-dm.h"
#include "EIG.h"
#include "defun-dld.h"
#include "error.h"
#include "gripes.h"
#include "oct-obj.h"
#include "pr-output.h"
#include "utils.h"
Go to the source code of this file.
Functions | |
DEFUN_DLD (__qp__, args,,"-*- texinfo -*-\n\ @deftypefn {Loadable Function} {[@var{x}, @var{lambda}, @var{info}, @var{iter}] =} __qp__ (@var{x0}, @var{H}, @var{q}, @var{Aeq}, @var{beq}, @var{Ain}, @var{bin}, @var{maxit})\n\ Undocumented internal function.\n\ @end deftypefn") | |
static Matrix | null (const Matrix &A, octave_idx_type &rank) |
static int | qp (const Matrix &H, const ColumnVector &q, const Matrix &Aeq, const ColumnVector &beq, const Matrix &Ain, const ColumnVector &bin, int maxit, ColumnVector &x, ColumnVector &lambda, int &iter) |
DEFUN_DLD | ( | __qp__ | , | |
args | ||||
) |
Definition at line 482 of file __qp__.cc.
References error(), error_state, print_usage(), qp(), and x.
static Matrix null | ( | const Matrix & | A, | |
octave_idx_type & | rank | |||
) | [static] |
Definition at line 42 of file __qp__.cc.
References abs(), Array< T >::cols(), DiagMatrix::diag(), Matrix::extract(), Array< T >::is_empty(), Array< T >::length(), Array< T >::numel(), Matrix::resize(), SVD::right_singular_matrix(), Array< T >::rows(), SVD::singular_values(), and V.
Referenced by qp().
static int qp | ( | const Matrix & | H, | |
const ColumnVector & | q, | |||
const Matrix & | Aeq, | |||
const ColumnVector & | beq, | |||
const Matrix & | Ain, | |||
const ColumnVector & | bin, | |||
int | maxit, | |||
ColumnVector & | x, | |||
ColumnVector & | lambda, | |||
int & | iter | |||
) | [static] |
Definition at line 87 of file __qp__.cc.
References abs(), chol2inv(), CHOL::chol_matrix(), Array< T >::column(), EIG::eigenvalues(), EIG::eigenvectors(), error(), error_state, Matrix::extract_n(), ColumnVector::fill(), Array< T >::length(), ColumnVector::max(), ColumnVector::min(), null(), Matrix::pseudo_inverse(), real, Matrix::resize(), ColumnVector::resize(), Matrix::row(), Matrix::stack(), Matrix::transpose(), ColumnVector::transpose(), and Z.
Referenced by DEFUN_DLD().