{Octave C++ Classes
{Edition 1.0 for Octave version {No value for ‘VERSION’}
{September 1993
{John W. Eaton
Copyright © 1993, 1994, 1995 John W. Eaton.
This is the first edition of the documentation for Octave’s C++ classes,
and is consistent with version {No value for ‘VERSION’} of Octave.
Permission is granted to make and distribute verbatim copies of
this manual provided the copyright notice and this permission notice
are preserved on all copies.
Permission is granted to copy and distribute modified versions of this
manual under the conditions for verbatim copying, provided that the entire
resulting derived work is distributed under the terms of a permission
notice identical to this one.
Permission is granted to copy and distribute translations of this manual
into another language, under the same conditions as for modified versions.
c
1 Acknowledgements
Contributors to Octave
In addition to John W. Eaton, several people have written parts
of liboctave.
- A. Scottedward Hodel (scotte@eng.auburn.edu) contributed a number
of functions including
expm
, qzval
, qzhess
,
syl
, lyap
, and balance
.
-
R. Bruce Tenison (Bruce.Tenison@eng.auburn.edu) wrote the
hess
and
schur
functions.
Special thanks to the following people and organizations for
supporting the development of Octave:
-
Digital Equipment Corporation, for an equipment grant as part of their
External Research Program.
-
Sun Microsystems, Inc., for an Academic Equipment grant.
-
The University of Texas College of Engineering, for providing a
Challenge for Excellence Research Supplement, and for providing an
Academic Development Funds grant.
-
Texaco Chemical Company, for providing funding to continue the
development of this software.
-
Noel Bell, Senior Engineer, Texaco Chemical Company, Austin Texas.
-
James B. Rawlings, Associate Professor, Department of Chemical
Engineering, The University of Texas at Austin.
Portions of this document have been adapted from the gawk
,
readline
, gcc
, and C library manuals, published by the
Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
This project would not have been possible without the GNU software used
in and used to produce Octave.
2 A Brief Introduction to Octave
This manual documents how to run, install and port Octave’s C++ classes,
and how to report bugs.
3 Arrays
3.1 Constructors and Assignment
- : Array (void)
- : Array (int n)
- : Array (int n, const T &val)
- : Array (const Array<T> &a)
- : Array<T>& operator = (const Array<T> &a)
- : int capacity (void) const
- : int length (void) const
- : T& elem (int n)
- : T& checkelem (int n)
- : T& operator () (int n)
- : void resize (int n)
- : void resize (int n, const T &val)
- : const T *data (void) const
- : Array2 (void)
- : Array2 (int n, int m)
- : Array2 (int n, int m, const T &val)
- : Array2 (const Array2<T> &a)
- : Array2 (const DiagArray<T> &a)
- : Array2<T>& operator = (const Array2<T> &a)
- : int dim1 (void) const
- : int rows (void) const
- : int dim2 (void) const
- : int cols (void) const
- : int columns (void) const
- : T& elem (int i, int j)
- : T& checkelem (int i, int j)
- : T& operator () (int i, int j)
- : void resize (int n, int m)
- : void resize (int n, int m, const T &val)
- : Array3 (void)
- : Array3 (int n, int m, int k)
- : Array3 (int n, int m, int k, const T &val)
- : Array3 (const Array3<T> &a)
- : Array3<T>& operator = (const Array3<T> &a)
- : int dim1 (void) const
- : int dim2 (void) const
- : int dim3 (void) const
- : T& elem (int i, int j, int k)
- : T& checkelem (int i, int j, int k)
- : T& operator () (int i, int j, int k)
- : void resize (int n, int m, int k)
- : void resize (int n, int m, int k, const T &val)
- : DiagArray (void)
- : DiagArray (int n)
- : DiagArray (int n, const T &val)
- : DiagArray (int r, int c)
- : DiagArray (int r, int c, const T &val)
- : DiagArray (const Array<T> &a)
- : DiagArray (const DiagArray<T> &a)
- : DiagArray<T>& operator = (const DiagArray<T> &a)
- : int dim1 (void) const
- : int rows (void) const
- : int dim2 (void) const
- : int cols (void) const
- : int columns (void) const
- : T& elem (int r, int c)
- : T& checkelem (int r, int c)
- : T& operator () (int r, int c)
- : void resize (int n, int m)
- : void resize (int n, int m, const T &val)
The real and complex ColumnVector
and RowVector
classes
all have the following functions. These will eventually be part of an
MArray<T>
class, derived from the Array<T>
class. Then
the ColumnVector
and RowVector
classes will be derived
from the MArray<T>
class.
Element by element vector by scalar ops.
- : friend RowVector operator + (const RowVector &a, const double &s)
- : friend RowVector operator - (const RowVector &a, const double &s)
- : friend RowVector operator * (const RowVector &a, const double &s)
- : friend RowVector operator / (const RowVector &a, const double &s)
Element by element scalar by vector ops.
- : friend RowVector operator + (const double &s, const RowVector &a)
- : friend RowVector operator - (const double &s, const RowVector &a)
- : friend RowVector operator * (const double &s, const RowVector &a)
- : friend RowVector operator / (const double &s, const RowVector &a)
Element by element vector by vector ops.
- : friend RowVector operator + (const RowVector &a, const RowVector &b)
- : friend RowVector operator - (const RowVector &a, const RowVector &b)
- : friend RowVector product (const RowVector &a, const RowVector &b)
- : friend RowVector quotient (const RowVector &a, const RowVector &b)
Unary MArray ops.
- : friend RowVector operator - (const RowVector &a)
The Matrix
classes share the following functions. These will
eventually be part of an MArray2<T>
class, derived from the
Array2<T>
class. Then the Matrix
class will be derived
from the MArray<T>
class.
Element by element matrix by scalar ops.
- : friend Matrix operator + (const Matrix &a, const double &s)
- : friend Matrix operator - (const Matrix &a, const double &s)
- : friend Matrix operator * (const Matrix &a, const double &s)
- : friend Matrix operator / (const Matrix &a, const double &s)
Element by element scalar by matrix ops.
- : friend Matrix operator + (const double &s, const Matrix &a)
- : friend Matrix operator - (const double &s, const Matrix &a)
- : friend Matrix operator * (const double &s, const Matrix &a)
- : friend Matrix operator / (const double &s, const Matrix &a)
Element by element matrix by matrix ops.
- : friend Matrix operator + (const Matrix &a, const Matrix &b)
- : friend Matrix operator - (const Matrix &a, const Matrix &b)
- : friend Matrix product (const Matrix &a, const Matrix &b)
- : friend Matrix quotient (const Matrix &a, const Matrix &b)
Unary matrix ops.
- : friend Matrix operator - (const Matrix &a)
The DiagMatrix
classes share the following functions. These will
eventually be part of an MDiagArray<T>
class, derived from the
DiagArray<T>
class. Then the DiagMatrix
class will be
derived from the MDiagArray<T>
class.
Element by element MDiagArray by scalar ops.
- : friend DiagMatrix operator * (const DiagMatrix &a, const double &s)
- : friend DiagMatrix operator / (const DiagMatrix &a, const double &s)
Element by element scalar by MDiagArray ops.
- : friend DiagMatrix operator * (const double &s, const DiagMatrix &a)
Element by element MDiagArray by MDiagArray ops.
- : friend DiagMatrix operator + (const DiagMatrix &a, const DiagMatrix &b)
- : friend DiagMatrix operator - (const DiagMatrix &a, const DiagMatrix &b)
- : friend DiagMatrix product (const DiagMatrix &a, const DiagMatrix &b)
Unary MDiagArray ops.
- : friend DiagMatrix operator - (const DiagMatrix &a)
4 Matrix and Vector Operations
- : Matrix (void)
- : Matrix (int r, int c)
- : Matrix (int r, int c, double val)
- : Matrix (const Array2<double> &a)
- : Matrix (const Matrix &a)
- : Matrix (const DiagArray<double> &a)
- : Matrix (const DiagMatrix &a)
- : Matrix& operator = (const Matrix &a)
- : int operator == (const Matrix &a) const
- : int operator != (const Matrix &a) const
- : Matrix& insert (const Matrix &a, int r, int c)
- : Matrix& insert (const RowVector &a, int r, int c)
- : Matrix& insert (const ColumnVector &a, int r, int c)
- : Matrix& insert (const DiagMatrix &a, int r, int c)
- : Matrix& fill (double val)
- : Matrix& fill (double val, int r1, int c1, int r2, int c2)
- : Matrix append (const Matrix &a) const
- : Matrix append (const RowVector &a) const
- : Matrix append (const ColumnVector &a) const
- : Matrix append (const DiagMatrix &a) const
- : Matrix stack (const Matrix &a) const
- : Matrix stack (const RowVector &a) const
- : Matrix stack (const ColumnVector &a) const
- : Matrix stack (const DiagMatrix &a) const
- : Matrix transpose (void) const
- : Matrix extract (int r1, int c1, int r2, int c2) const
- : RowVector row (int i) const
- : RowVector row (char *s) const
- : ColumnVector column (int i) const
- : ColumnVector column (char *s) const
- : Matrix inverse (void) const
- : Matrix inverse (int &info) const
- : Matrix inverse (int &info, double &rcond) const
- : ComplexMatrix fourier (void) const
- : ComplexMatrix ifourier (void) const
- : DET determinant (void) const
- : DET determinant (int &info) const
- : DET determinant (int &info, double &rcond) const
- : Matrix solve (const Matrix &b) const
- : Matrix solve (const Matrix &b, int &info) const
- : Matrix solve (const Matrix &b, int &info, double &rcond) const
- : ComplexMatrix solve (const ComplexMatrix &b) const
- : ComplexMatrix solve (const ComplexMatrix &b, int &info) const
- : ComplexMatrix solve (const ComplexMatrix &b, int &info, double &rcond) const
- : ColumnVector solve (const ColumnVector &b) const
- : ColumnVector solve (const ColumnVector &b, int &info) const
- : ColumnVector solve (const ColumnVector &b, int &info, double &rcond) const
- : ComplexColumnVector solve (const ComplexColumnVector &b) const
- : ComplexColumnVector solve (const ComplexColumnVector &b, int &info) const
- : ComplexColumnVector solve (const ComplexColumnVector &b, int &info, double &rcond) const
- : Matrix lssolve (const Matrix &b) const
- : Matrix lssolve (const Matrix &b, int &info) const
- : Matrix lssolve (const Matrix &b, int &info, int &rank) const
- : ComplexMatrix lssolve (const ComplexMatrix &b) const
- : ComplexMatrix lssolve (const ComplexMatrix &b, int &info) const
- : ComplexMatrix lssolve (const ComplexMatrix &b, int &info, int &rank) const
- : ColumnVector lssolve (const ColumnVector &b) const
- : ColumnVector lssolve (const ColumnVector &b, int &info) const
- : ColumnVector lssolve (const ColumnVector &b, int &info, int &rank) const
- : ComplexColumnVector lssolve (const ComplexColumnVector &b) const
- : ComplexColumnVector lssolve (const ComplexColumnVector &b, int &info) const
- : ComplexColumnVector lssolve (const ComplexColumnVector &b, int &info, int &rank) const
- : Matrix& operator += (const Matrix &a)
- : Matrix& operator -= (const Matrix &a)
- : Matrix& operator += (const DiagMatrix &a)
- : Matrix& operator -= (const DiagMatrix &a)
- : Matrix operator ! (void) const
- : friend ComplexMatrix operator + (const Matrix &a, const Complex &s)
- : friend ComplexMatrix operator - (const Matrix &a, const Complex &s)
- : friend ComplexMatrix operator * (const Matrix &a, const Complex &s)
- : friend ComplexMatrix operator / (const Matrix &a, const Complex &s)
- : friend ComplexMatrix operator + (const Complex &s, const Matrix &a)
- : friend ComplexMatrix operator - (const Complex &s, const Matrix &a)
- : friend ComplexMatrix operator * (const Complex &s, const Matrix &a)
- : friend ComplexMatrix operator / (const Complex &s, const Matrix &a)
- : friend ColumnVector operator * (const Matrix &a, const ColumnVector &b)
- : friend ComplexColumnVector operator * (const Matrix &a, const ComplexColumnVector &b)
- : friend Matrix operator + (const Matrix &a, const DiagMatrix &b)
- : friend Matrix operator - (const Matrix &a, const DiagMatrix &b)
- : friend Matrix operator * (const Matrix &a, const DiagMatrix &b)
- : friend ComplexMatrix operator + (const Matrix &a, const ComplexDiagMatrix &b)
- : friend ComplexMatrix operator - (const Matrix &a, const ComplexDiagMatrix &b)
- : friend ComplexMatrix operator * (const Matrix &a, const ComplexDiagMatrix &b)
- : friend Matrix operator * (const Matrix &a, const Matrix &b)
- : friend ComplexMatrix operator * (const Matrix &a, const ComplexMatrix &b)
- : friend ComplexMatrix operator + (const Matrix &a, const ComplexMatrix &b)
- : friend ComplexMatrix operator - (const Matrix &a, const ComplexMatrix &b)
- : friend ComplexMatrix product (const Matrix &a, const ComplexMatrix &b)
- : friend ComplexMatrix quotient (const Matrix &a, const ComplexMatrix &b)
- : friend Matrix map (d_d_Mapper f, const Matrix &a)
- : void map (d_d_Mapper f)
- : Matrix all (void) const
- : Matrix any (void) const
- : Matrix cumprod (void) const
- : Matrix cumsum (void) const
- : Matrix prod (void) const
- : Matrix sum (void) const
- : Matrix sumsq (void) const
- : ColumnVector diag (void) const
- : ColumnVector diag (int k) const
- : ColumnVector row_min (void) const
- : ColumnVector row_min_loc (void) const
- : ColumnVector row_max (void) const
- : ColumnVector row_max_loc (void) const
- : RowVector column_min (void) const
- : RowVector column_min_loc (void) const
- : RowVector column_max (void) const
- : RowVector column_max_loc (void) const
- : friend ostream& operator << (ostream &os, const Matrix &a)
- : friend istream& operator >> (istream &is, Matrix &a)
- : ColumnVector (void)
- : ColumnVector (int n)
- : ColumnVector (int n, double val)
- : ColumnVector (const Array<double> &a)
- : ColumnVector (const ColumnVector &a)
- : ColumnVector& operator = (const ColumnVector &a)
- : int operator == (const ColumnVector &a) const
- : int operator != (const ColumnVector &a) const
- : ColumnVector& insert (const ColumnVector &a, int r)
- : ColumnVector& fill (double val)
- : ColumnVector& fill (double val, int r1, int r2)
- : ColumnVector stack (const ColumnVector &a) const
- : RowVector transpose (void) const
- : ColumnVector extract (int r1, int r2) const
- : ColumnVector& operator += (const ColumnVector &a)
- : ColumnVector& operator -= (const ColumnVector &a)
- : friend ComplexColumnVector operator + (const ColumnVector &a, const Complex &s)
- : friend ComplexColumnVector operator - (const ColumnVector &a, const Complex &s)
- : friend ComplexColumnVector operator * (const ColumnVector &a, const Complex &s)
- : friend ComplexColumnVector operator / (const ColumnVector &a, const Complex &s)
- : friend ComplexColumnVector operator + (const Complex &s, const ColumnVector &a)
- : friend ComplexColumnVector operator - (const Complex &s, const ColumnVector &a)
- : friend ComplexColumnVector operator * (const Complex &s, const ColumnVector &a)
- : friend ComplexColumnVector operator / (const Complex &s, const ColumnVector &a)
- : friend Matrix operator * (const ColumnVector &a, const RowVector &a)
- : friend ComplexMatrix operator * (const ColumnVector &a, const ComplexRowVector &b)
- : friend ComplexColumnVector operator + (const ComplexColumnVector &a, const ComplexColumnVector &b)
- : friend ComplexColumnVector operator - (const ComplexColumnVector &a, const ComplexColumnVector &b)
- : friend ComplexColumnVector product (const ComplexColumnVector &a, const ComplexColumnVector &b)
- : friend ComplexColumnVector quotient (const ComplexColumnVector &a, const ComplexColumnVector &b)
- : friend ColumnVector map (d_d_Mapper f, const ColumnVector &a)
- : void map (d_d_Mapper f)
- : double min (void) const
- : double max (void) const
- : friend ostream& operator << (ostream &os, const ColumnVector &a)
- : RowVector (void)
- : RowVector (int n)
- : RowVector (int n, double val)
- : RowVector (const Array<double> &a)
- : RowVector (const RowVector &a)
- : RowVector& operator = (const RowVector &a)
- : int operator == (const RowVector &a) const
- : int operator != (const RowVector &a) const
- : RowVector& insert (const RowVector &a, int c)
- : RowVector& fill (double val)
- : RowVector& fill (double val, int c1, int c2)
- : RowVector append (const RowVector &a) const
- : ColumnVector transpose (void) const
- : RowVector extract (int c1, int c2) const
- : RowVector& operator += (const RowVector &a)
- : RowVector& operator -= (const RowVector &a)
- : friend ComplexRowVector operator + (const RowVector &a, const Complex &s)
- : friend ComplexRowVector operator - (const RowVector &a, const Complex &s)
- : friend ComplexRowVector operator * (const RowVector &a, const Complex &s)
- : friend ComplexRowVector operator / (const RowVector &a, const Complex &s)
- : friend ComplexRowVector operator + (const Complex &s, const RowVector &a)
- : friend ComplexRowVector operator - (const Complex &s, const RowVector &a)
- : friend ComplexRowVector operator * (const Complex &s, const RowVector &a)
- : friend ComplexRowVector operator / (const Complex &s, const RowVector &a)
- : friend double operator * (const RowVector &a, ColumnVector &b)
- : friend Complex operator * (const RowVector &a, const ComplexColumnVector &b)
- : friend RowVector operator * (const RowVector &a, const Matrix &b)
- : friend ComplexRowVector operator * (const RowVector &a, const ComplexMatrix &b)
- : friend ComplexRowVector operator + (const RowVector &a, const ComplexRowVector &b)
- : friend ComplexRowVector operator - (const RowVector &a, const ComplexRowVector &b)
- : friend ComplexRowVector product (const RowVector &a, const ComplexRowVector &b)
- : friend ComplexRowVector quotient (const RowVector &a, const ComplexRowVector &b)
- : friend RowVector map (d_d_Mapper f, const RowVector &a)
- : void map (d_d_Mapper f)
- : double min (void) const
- : double max (void) const
- : friend ostream& operator << (ostream &os, const RowVector &a)
- : DiagMatrix (void)
- : DiagMatrix (int n)
- : DiagMatrix (int n, double val)
- : DiagMatrix (int r, int c)
- : DiagMatrix (int r, int c, double val)
- : DiagMatrix (const RowVector &a)
- : DiagMatrix (const ColumnVector &a)
- : DiagMatrix (const DiagArray<double> &a)
- : DiagMatrix (const DiagMatrix &a)
- : DiagMatrix& operator = (const DiagMatrix &a)
- : int operator == (const DiagMatrix &a) const
- : int operator != (const DiagMatrix &a) const
- : DiagMatrix& fill (double val)
- : DiagMatrix& fill (double val, int beg, int end)
- : DiagMatrix& fill (const ColumnVector &a)
- : DiagMatrix& fill (const RowVector &a)
- : DiagMatrix& fill (const ColumnVector &a, int beg)
- : DiagMatrix& fill (const RowVector &a, int beg)
- : DiagMatrix transpose (void) const
- : Matrix extract (int r1, int c1, int r2, int c2) const
- : RowVector row (int i) const
- : RowVector row (char *s) const
- : ColumnVector column (int i) const
- : ColumnVector column (char *s) const
- : DiagMatrix inverse (void) const
- : DiagMatrix inverse (int &info) const
- : DiagMatrix& operator += (const DiagMatrix &a)
- : DiagMatrix& operator -= (const DiagMatrix &a)
- : friend Matrix operator + (const DiagMatrix &a, double s)
- : friend Matrix operator - (const DiagMatrix &a, double s)
- : friend ComplexMatrix operator + (const DiagMatrix &a, const Complex &s)
- : friend ComplexMatrix operator - (const DiagMatrix &a, const Complex &s)
- : friend ComplexDiagMatrix operator * (const DiagMatrix &a, const Complex &s)
- : friend ComplexDiagMatrix operator / (const DiagMatrix &a, const Complex &s)
- : friend Matrix operator + (double s, const DiagMatrix &a)
- : friend Matrix operator - (double s, const DiagMatrix &a)
- : friend ComplexMatrix operator + (const Complex &s, const DiagMatrix &a)
- : friend ComplexMatrix operator - (const Complex &s, const DiagMatrix &a)
- : friend ComplexDiagMatrix operator * (const Complex &s, const DiagMatrix &a)
- : friend ColumnVector operator * (const DiagMatrix &a, const ColumnVector &b)
- : friend ComplexColumnVector operator * (const DiagMatrix &a, const ComplexColumnVector &b)
- : friend ComplexDiagMatrix operator + (const DiagMatrix &a, const ComplexDiagMatrix &b)
- : friend ComplexDiagMatrix operator - (const DiagMatrix &a, const ComplexDiagMatrix &b)
- : friend ComplexDiagMatrix product (const DiagMatrix &a, const ComplexDiagMatrix &b)
- : friend Matrix operator + (const DiagMatrix &a, const Matrix &b)
- : friend Matrix operator - (const DiagMatrix &a, const Matrix &b)
- : friend Matrix operator * (const DiagMatrix &a, const Matrix &b)
- : friend ComplexMatrix operator + (const DiagMatrix &a, const ComplexMatrix &b)
- : friend ComplexMatrix operator - (const DiagMatrix &a, const ComplexMatrix &b)
- : friend ComplexMatrix operator * (const DiagMatrix &a, const ComplexMatrix &b)
- : ColumnVector diag (void) const
- : ColumnVector diag (int k) const
- : friend ostream& operator << (ostream &os, const DiagMatrix &a)
- : ComplexMatrix (void)
- : ComplexMatrix (int r, int c)
- : ComplexMatrix (int r, int c, const Complex &val)
- : ComplexMatrix (const Matrix &a)
- : ComplexMatrix (const Array2<Complex> &a)
- : ComplexMatrix (const ComplexMatrix &a)
- : ComplexMatrix (const DiagMatrix &a)
- : ComplexMatrix (const DiagArray<Complex> &a)
- : ComplexMatrix (const ComplexDiagMatrix &a)
- : ComplexMatrix& operator = (const ComplexMatrix &a)
- : int operator == (const ComplexMatrix &a) const
- : int operator != (const ComplexMatrix &a) const
- : ComplexMatrix& insert (const Matrix &a, int r, int c)
- : ComplexMatrix& insert (const RowVector &a, int r, int c)
- : ComplexMatrix& insert (const ColumnVector &a, int r, int c)
- : ComplexMatrix& insert (const DiagMatrix &a, int r, int c)
- : ComplexMatrix& insert (const ComplexMatrix &a, int r, int c)
- : ComplexMatrix& insert (const ComplexRowVector &a, int r, int c)
- : ComplexMatrix& insert (const ComplexColumnVector &a, int r, int c)
- : ComplexMatrix& insert (const ComplexDiagMatrix &a, int r, int c)
- : ComplexMatrix& fill (double val)
- : ComplexMatrix& fill (const Complex &val)
- : ComplexMatrix& fill (double val, int r1, int c1, int r2, int c2)
- : ComplexMatrix& fill (const Complex &val, int r1, int c1, int r2, int c2)
- : ComplexMatrix append (const Matrix &a) const
- : ComplexMatrix append (const RowVector &a) const
- : ComplexMatrix append (const ColumnVector &a) const
- : ComplexMatrix append (const DiagMatrix &a) const
- : ComplexMatrix append (const ComplexMatrix &a) const
- : ComplexMatrix append (const ComplexRowVector &a) const
- : ComplexMatrix append (const ComplexColumnVector &a) const
- : ComplexMatrix append (const ComplexDiagMatrix &a) const
- : ComplexMatrix stack (const Matrix &a) const
- : ComplexMatrix stack (const RowVector &a) const
- : ComplexMatrix stack (const ColumnVector &a) const
- : ComplexMatrix stack (const DiagMatrix &a) const
- : ComplexMatrix stack (const ComplexMatrix &a) const
- : ComplexMatrix stack (const ComplexRowVector &a) const
- : ComplexMatrix stack (const ComplexColumnVector &a) const
- : ComplexMatrix stack (const ComplexDiagMatrix &a) const
- : ComplexMatrix transpose (void) const
- : friend Matrix real (const ComplexMatrix &a)
- : friend Matrix imag (const ComplexMatrix &a)
- : friend ComplexMatrix conj (const ComplexMatrix &a)
- : ComplexMatrix extract (int r1, int c1, int r2, int c2) const
- : ComplexRowVector row (int i) const
- : ComplexRowVector row (char *s) const
- : ComplexColumnVector column (int i) const
- : ComplexColumnVector column (char *s) const
- : ComplexMatrix inverse (void) const
- : ComplexMatrix inverse (int &info) const
- : ComplexMatrix inverse (int &info, double &rcond) const
- : ComplexMatrix fourier (void) const
- : ComplexMatrix ifourier (void) const
- : ComplexDET determinant (void) const
- : ComplexDET determinant (int &info) const
- : ComplexDET determinant (int &info, double &rcond) const
- : ComplexMatrix solve (const Matrix &b) const
- : ComplexMatrix solve (const Matrix &b, int &info) const
- : ComplexMatrix solve (const Matrix &b, int &info, double &rcond) const
- : ComplexMatrix solve (const ComplexMatrix &b) const
- : ComplexMatrix solve (const ComplexMatrix &b, int &info) const
- : ComplexMatrix solve (const ComplexMatrix &b, int &info, double &rcond) const
- : ComplexColumnVector solve (const ComplexColumnVector &b) const
- : ComplexColumnVector solve (const ComplexColumnVector &b, int &info) const
- : ComplexColumnVector solve (const ComplexColumnVector &b, int &info, double &rcond) const
- : ComplexMatrix lssolve (const ComplexMatrix &b) const
- : ComplexMatrix lssolve (const ComplexMatrix &b, int &info) const
- : ComplexMatrix lssolve (const ComplexMatrix &b, int &info, int &rank) const
- : ComplexColumnVector lssolve (const ComplexColumnVector &b) const
- : ComplexColumnVector lssolve (const ComplexColumnVector &b, int &info) const
- : ComplexColumnVector lssolve (const ComplexColumnVector &b, int &info, int &rank) const
- : ComplexMatrix& operator += (const DiagMatrix &a)
- : ComplexMatrix& operator -= (const DiagMatrix &a)
- : ComplexMatrix& operator += (const ComplexDiagMatrix &a)
- : ComplexMatrix& operator -= (const ComplexDiagMatrix &a)
- : ComplexMatrix& operator += (const Matrix &a)
- : ComplexMatrix& operator -= (const Matrix &a)
- : ComplexMatrix& operator += (const ComplexMatrix &a)
- : ComplexMatrix& operator -= (const ComplexMatrix &a)
- : Matrix operator ! (void) const
- : friend ComplexMatrix operator + (const ComplexMatrix &a, double s)
- : friend ComplexMatrix operator - (const ComplexMatrix &a, double s)
- : friend ComplexMatrix operator * (const ComplexMatrix &a, double s)
- : friend ComplexMatrix operator / (const ComplexMatrix &a, double s)
- : friend ComplexMatrix operator + (double s, const ComplexMatrix &a)
- : friend ComplexMatrix operator - (double s, const ComplexMatrix &a)
- : friend ComplexMatrix operator * (double s, const ComplexMatrix &a)
- : friend ComplexMatrix operator / (double s, const ComplexMatrix &a)
- : friend ComplexColumnVector operator * (const ComplexMatrix &a, const ColumnVector &b)
- : friend ComplexColumnVector operator * (const ComplexMatrix &a, const ComplexColumnVector &b)
- : friend ComplexMatrix operator + (const ComplexMatrix &a, const DiagMatrix &b)
- : friend ComplexMatrix operator - (const ComplexMatrix &a, const DiagMatrix &b)
- : friend ComplexMatrix operator * (const ComplexMatrix &a, const DiagMatrix &b)
- : friend ComplexMatrix operator + (const ComplexMatrix &a, const ComplexDiagMatrix &b)
- : friend ComplexMatrix operator - (const ComplexMatrix &a, const ComplexDiagMatrix &b)
- : friend ComplexMatrix operator * (const ComplexMatrix &a, const ComplexDiagMatrix &b)
- : friend ComplexMatrix operator + (const ComplexMatrix &a, const Matrix &b)
- : friend ComplexMatrix operator - (const ComplexMatrix &a, const Matrix &b)
- : friend ComplexMatrix operator * (const ComplexMatrix &a, const Matrix &b)
- : friend ComplexMatrix operator * (const ComplexMatrix &a, const ComplexMatrix &b)
- : friend ComplexMatrix product (const ComplexMatrix &a, const Matrix &b)
- : friend ComplexMatrix quotient (const ComplexMatrix &a, const Matrix &b)
- : friend ComplexMatrix map (c_c_Mapper f, const ComplexMatrix &a)
- : friend Matrix map (d_c_Mapper f, const ComplexMatrix &a)
- : void map (c_c_Mapper f)
- : Matrix all (void) const
- : Matrix any (void) const
- : ComplexMatrix cumprod (void) const
- : ComplexMatrix cumsum (void) const
- : ComplexMatrix prod (void) const
- : ComplexMatrix sum (void) const
- : ComplexMatrix sumsq (void) const
- : ComplexColumnVector diag (void) const
- : ComplexColumnVector diag (int k) const
- : ComplexColumnVector row_min (void) const
- : ComplexColumnVector row_min_loc (void) const
- : ComplexColumnVector row_max (void) const
- : ComplexColumnVector row_max_loc (void) const
- : ComplexRowVector column_min (void) const
- : ComplexRowVector column_min_loc (void) const
- : ComplexRowVector column_max (void) const
- : ComplexRowVector column_max_loc (void) const
- : friend ostream& operator << (ostream &os, const ComplexMatrix &a)
- : friend istream& operator >> (istream &is, ComplexMatrix &a)
- : ComplexColumnVector (void)
- : ComplexColumnVector (int n)
- : ComplexColumnVector (int n, const Complex &val)
- : ComplexColumnVector (const ColumnVector &a)
- : ComplexColumnVector (const Array<Complex> &a)
- : ComplexColumnVector (const ComplexColumnVector &a)
- : ComplexColumnVector& operator = (const ComplexColumnVector &a)
- : int operator == (const ComplexColumnVector &a) const
- : int operator != (const ComplexColumnVector &a) const
- : ComplexColumnVector& insert (const ColumnVector &a, int r)
- : ComplexColumnVector& insert (const ComplexColumnVector &a, int r)
- : ComplexColumnVector& fill (double val)
- : ComplexColumnVector& fill (const Complex &val)
- : ComplexColumnVector& fill (double val, int r1, int r2)
- : ComplexColumnVector& fill (const Complex &val, int r1, int r2)
- : ComplexColumnVector stack (const ColumnVector &a) const
- : ComplexColumnVector stack (const ComplexColumnVector &a) const
- : ComplexRowVector transpose (void) const
- : friend ColumnVector real (const ComplexColumnVector &a)
- : friend ColumnVector imag (const ComplexColumnVector &a)
- : friend ComplexColumnVector conj (const ComplexColumnVector &a)
- : ComplexColumnVector extract (int r1, int r2) const
- : ComplexColumnVector& operator += (const ColumnVector &a)
- : ComplexColumnVector& operator -= (const ColumnVector &a)
- : ComplexColumnVector& operator += (const ComplexColumnVector &a)
- : ComplexColumnVector& operator -= (const ComplexColumnVector &a)
- : friend ComplexColumnVector operator + (const ComplexColumnVector &a, double s)
- : friend ComplexColumnVector operator - (const ComplexColumnVector &a, double s)
- : friend ComplexColumnVector operator * (const ComplexColumnVector &a, double s)
- : friend ComplexColumnVector operator / (const ComplexColumnVector &a, double s)
- : friend ComplexColumnVector operator + (double s, const ComplexColumnVector &a)
- : friend ComplexColumnVector operator - (double s, const ComplexColumnVector &a)
- : friend ComplexColumnVector operator * (double s, const ComplexColumnVector &a)
- : friend ComplexColumnVector operator / (double s, const ComplexColumnVector &a)
- : friend ComplexMatrix operator * (const ComplexColumnVector &a, const ComplexRowVector &b)
- : friend ComplexColumnVector operator + (const ComplexColumnVector &a, const ColumnVector &b)
- : friend ComplexColumnVector operator - (const ComplexColumnVector &a, const ColumnVector &b)
- : friend ComplexColumnVector product (const ComplexColumnVector &a, const ColumnVector &b)
- : friend ComplexColumnVector quotient (const ComplexColumnVector &a, const ColumnVector &b)
- : friend ComplexColumnVector map (c_c_Mapper f, const ComplexColumnVector &a)
- : friend ColumnVector map (d_c_Mapper f, const ComplexColumnVector &a)
- : void map (c_c_Mapper f)
- : Complex min (void) const
- : Complex max (void) const
- : friend ostream& operator << (ostream &os, const ComplexColumnVector &a)
- : ComplexRowVector (void)
- : ComplexRowVector (int n)
- : ComplexRowVector (int n, const Complex &val)
- : ComplexRowVector (const RowVector &a)
- : ComplexRowVector (const Array<Complex> &a)
- : ComplexRowVector (const ComplexRowVector &a)
- : ComplexRowVector& operator = (const ComplexRowVector &a)
- : int operator == (const ComplexRowVector &a) const
- : int operator != (const ComplexRowVector &a) const
- : ComplexRowVector& insert (const RowVector &a, int c)
- : ComplexRowVector& insert (const ComplexRowVector &a, int c)
- : ComplexRowVector& fill (double val)
- : ComplexRowVector& fill (const Complex &val)
- : ComplexRowVector& fill (double val, int c1, int c2)
- : ComplexRowVector& fill (const Complex &val, int c1, int c2)
- : ComplexRowVector append (const RowVector &a) const
- : ComplexRowVector append (const ComplexRowVector &a) const
- : ComplexColumnVector transpose (void) const
- : friend RowVector real (const ComplexRowVector &a)
- : friend RowVector imag (const ComplexRowVector &a)
- : friend ComplexRowVector conj (const ComplexRowVector &a)
- : ComplexRowVector extract (int c1, int c2) const
- : ComplexRowVector& operator += (const RowVector &a)
- : ComplexRowVector& operator -= (const RowVector &a)
- : ComplexRowVector& operator += (const ComplexRowVector &a)
- : ComplexRowVector& operator -= (const ComplexRowVector &a)
- : friend ComplexRowVector operator + (const ComplexRowVector &a, double s)
- : friend ComplexRowVector operator - (const ComplexRowVector &a, double s)
- : friend ComplexRowVector operator * (const ComplexRowVector &a, double s)
- : friend ComplexRowVector operator / (const ComplexRowVector &a, double s)
- : friend ComplexRowVector operator + (double s, const ComplexRowVector &a)
- : friend ComplexRowVector operator - (double s, const ComplexRowVector &a)
- : friend ComplexRowVector operator * (double s, const ComplexRowVector &a)
- : friend ComplexRowVector operator / (double s, const ComplexRowVector &a)
- : friend Complex operator * (const ComplexRowVector &a, const ColumnVector &b)
- : friend Complex operator * (const ComplexRowVector &a, const ComplexColumnVector &b)
- : friend ComplexRowVector operator * (const ComplexRowVector &a, const ComplexMatrix &b)
- : friend ComplexRowVector operator + (const ComplexRowVector &a, const RowVector &b)
- : friend ComplexRowVector operator - (const ComplexRowVector &a, const RowVector &b)
- : friend ComplexRowVector product (const ComplexRowVector &a, const RowVector &b)
- : friend ComplexRowVector quotient (const ComplexRowVector &a, const RowVector &b)
- : friend ComplexRowVector map (c_c_Mapper f, const ComplexRowVector &a)
- : friend RowVector map (d_c_Mapper f, const ComplexRowVector &a)
- : void map (c_c_Mapper f)
- : Complex min (void) const
- : Complex max (void) const
- : friend ostream& operator << (ostream &os, const ComplexRowVector &a)
- : ComplexDiagMatrix (void)
- : ComplexDiagMatrix (int n)
- : ComplexDiagMatrix (int n, const Complex &val)
- : ComplexDiagMatrix (int r, int c)
- : ComplexDiagMatrix (int r, int c, const Complex &val)
- : ComplexDiagMatrix (const RowVector &a)
- : ComplexDiagMatrix (const ComplexRowVector &a)
- : ComplexDiagMatrix (const ColumnVector &a)
- : ComplexDiagMatrix (const ComplexColumnVector &a)
- : ComplexDiagMatrix (const DiagMatrix &a)
- : ComplexDiagMatrix (const DiagArray<Complex> &a)
- : ComplexDiagMatrix (const ComplexDiagMatrix &a)
- : ComplexDiagMatrix& operator = (const ComplexDiagMatrix &a)
- : int operator == (const ComplexDiagMatrix &a) const
- : int operator != (const ComplexDiagMatrix &a) const
- : ComplexDiagMatrix& fill (double val)
- : ComplexDiagMatrix& fill (const Complex &val)
- : ComplexDiagMatrix& fill (double val, int beg, int end)
- : ComplexDiagMatrix& fill (const Complex &val, int beg, int end)
- : ComplexDiagMatrix& fill (const ColumnVector &a)
- : ComplexDiagMatrix& fill (const ComplexColumnVector &a)
- : ComplexDiagMatrix& fill (const RowVector &a)
- : ComplexDiagMatrix& fill (const ComplexRowVector &a)
- : ComplexDiagMatrix& fill (const ColumnVector &a, int beg)
- : ComplexDiagMatrix& fill (const ComplexColumnVector &a, int beg)
- : ComplexDiagMatrix& fill (const RowVector &a, int beg)
- : ComplexDiagMatrix& fill (const ComplexRowVector &a, int beg)
- : ComplexDiagMatrix transpose (void) const
- : friend DiagMatrix real (const ComplexDiagMatrix &a)
- : friend DiagMatrix imag (const ComplexDiagMatrix &a)
- : friend ComplexDiagMatrix conj (const ComplexDiagMatrix &a)
- : ComplexMatrix extract (int r1, int c1, int r2, int c2) const
- : ComplexRowVector row (int i) const
- : ComplexRowVector row (char *s) const
- : ComplexColumnVector column (int i) const
- : ComplexColumnVector column (char *s) const
- : ComplexDiagMatrix inverse (int &info) const
- : ComplexDiagMatrix inverse (void) const
- : ComplexDiagMatrix& operator += (const DiagMatrix &a)
- : ComplexDiagMatrix& operator -= (const DiagMatrix &a)
- : ComplexDiagMatrix& operator += (const ComplexDiagMatrix &a)
- : ComplexDiagMatrix& operator -= (const ComplexDiagMatrix &a)
- : friend ComplexMatrix operator + (const ComplexDiagMatrix &a, double s)
- : friend ComplexMatrix operator - (const ComplexDiagMatrix &a, double s)
- : friend ComplexMatrix operator + (const ComplexDiagMatrix &a, const Complex &s)
- : friend ComplexMatrix operator - (const ComplexDiagMatrix &a, const Complex &s)
- : friend ComplexDiagMatrix operator * (const ComplexDiagMatrix &a, double s)
- : friend ComplexDiagMatrix operator / (const ComplexDiagMatrix &a, double s)
- : friend ComplexMatrix operator + (double s, const ComplexDiagMatrix &a)
- : friend ComplexMatrix operator - (double s, const ComplexDiagMatrix &a)
- : friend ComplexMatrix operator + (const Complex &s, const ComplexDiagMatrix &a)
- : friend ComplexMatrix operator - (const Complex &s, const ComplexDiagMatrix &a)
- : friend ComplexDiagMatrix operator * (double s, const ComplexDiagMatrix &a)
- : friend ComplexColumnVector operator * (const ComplexDiagMatrix &a, const ColumnVector &b)
- : friend ComplexColumnVector operator * (const ComplexDiagMatrix &a, const ComplexColumnVector &b)
- : friend ComplexDiagMatrix operator + (const ComplexDiagMatrix &a, const DiagMatrix &b)
- : friend ComplexDiagMatrix operator - (const ComplexDiagMatrix &a, const DiagMatrix &b)
- : friend ComplexDiagMatrix product (const ComplexDiagMatrix &a, const DiagMatrix &b)
- : friend ComplexMatrix operator + (const ComplexDiagMatrix &a, const Matrix &b)
- : friend ComplexMatrix operator - (const ComplexDiagMatrix &a, const Matrix &b)
- : friend ComplexMatrix operator * (const ComplexDiagMatrix &a, const Matrix &b)
- : friend ComplexMatrix operator + (const ComplexDiagMatrix &a, const ComplexMatrix &b)
- : friend ComplexMatrix operator - (const ComplexDiagMatrix &a, const ComplexMatrix &b)
- : friend ComplexMatrix operator * (const ComplexDiagMatrix &a, const ComplexMatrix &b)
- : ComplexColumnVector diag (void) const
- : ComplexColumnVector diag (int k) const
- : friend ostream& operator << (ostream &os, const ComplexDiagMatrix &a)
5 Matrix Factorizations
- : AEPBALANCE (void)
- : AEPBALANCE (const Matrix &a, const char *balance_job)
- : AEPBALANCE (const AEPBALANCE &a)
- : AEPBALANCE& operator = (const AEPBALANCE &a)
- : Matrix balanced_matrix (void) const
- : Matrix balancing_matrix (void) const
- : friend ostream& operator << (ostream &os, const AEPBALANCE &a)
- : ComplexAEPBALANCE (void)
- : ComplexAEPBALANCE (const ComplexMatrix &a, const char *balance_job)
- : ComplexAEPBALANCE (const ComplexAEPBALANCE &a)
- : ComplexAEPBALANCE& operator = (const ComplexAEPBALANCE &a)
- : ComplexMatrix balanced_matrix (void) const
- : ComplexMatrix balancing_matrix (void) const
- : friend ostream& operator << (ostream &os, const ComplexAEPBALANCE &a)
- : DET (void)
- : DET (const DET &a)
- : DET& operator = (const DET &a)
- : int value_will_overflow (void) const
- : int value_will_underflow (void) const
- : double coefficient (void) const
- : int exponent (void) const
- : double value (void) const
- : friend ostream& operator << (ostream &os, const DET &a)
- : ComplexDET (void)
- : ComplexDET (const ComplexDET &a)
- : ComplexDET& operator = (const ComplexDET &a)
- : int value_will_overflow (void) const
- : int value_will_underflow (void) const
- : Complex coefficient (void) const
- : int exponent (void) const
- : Complex value (void) const
- : friend ostream& operator << (ostream &os, const ComplexDET &a)
- : GEPBALANCE (void)
- : GEPBALANCE (const Matrix &a, const Matrix &, const char *balance_job)
- : GEPBALANCE (const GEPBALANCE &a)
- : GEPBALANCE& operator = (const GEPBALANCE &a)
- : Matrix balanced_a_matrix (void) const
- : Matrix balanced_b_matrix (void) const
- : Matrix left_balancing_matrix (void) const
- : Matrix right_balancing_matrix (void) const
- : friend ostream& operator << (ostream &os, const GEPBALANCE &a)
- : CHOL (void)
- : CHOL (const Matrix &a)
- : CHOL (const Matrix &a, int &info)
- : CHOL (const CHOL &a)
- : CHOL& operator = (const CHOL &a)
- : Matrix chol_matrix (void) const
- : friend ostream& operator << (ostream &os, const CHOL &a)
- : ComplexCHOL (void)
- : ComplexCHOL (const ComplexMatrix &a)
- : ComplexCHOL (const ComplexMatrix &a, int &info)
- : ComplexCHOL (const ComplexCHOL &a)
- : ComplexCHOL& operator = (const ComplexCHOL &a)
- : ComplexMatrix chol_matrix (void) const
- : friend ostream& operator << (ostream &os, const ComplexCHOL &a)
- : HESS (void)
- : HESS (const Matrix &a)
- : HESS (const Matrix&a, int &info)
- : HESS (const HESS &a)
- : HESS& operator = (const HESS &a)
- : Matrix hess_matrix (void) const
- : Matrix unitary_hess_matrix (void) const
- : friend ostream& operator << (ostream &os, const HESS &a)
- : ComplexHESS (void)
- : ComplexHESS (const ComplexMatrix &a)
- : ComplexHESS (const ComplexMatrix &a, int &info)
- : ComplexHESS (const ComplexHESS &a)
- : ComplexHESS& operator = (const ComplexHESS &a)
- : ComplexMatrix hess_matrix (void) const
- : ComplexMatrix unitary_hess_matrix (void) const
- : friend ostream& operator << (ostream &os, const ComplexHESS &a)
- : SCHUR (void)
- : SCHUR (const Matrix &a, const char *ord)
- : SCHUR (const Matrix &a, const char *ord, int &info)
- : SCHUR (const SCHUR &a, const char *ord)
- : SCHUR& operator = (const SCHUR &a)
- : Matrix schur_matrix (void) const
- : Matrix unitary_matrix (void) const
- : friend ostream& operator << (ostream &os, const SCHUR &a)
- : ComplexSCHUR (void)
- : ComplexSCHUR (const ComplexMatrix &a, const char *ord)
- : ComplexSCHUR (const ComplexMatrix &a, const char *ord, int &info)
- : ComplexSCHUR (const ComplexSCHUR &a, const char *ord)
- : ComplexSCHUR& operator = (const ComplexSCHUR &a)
- : ComplexMatrix schur_matrix (void) const
- : ComplexMatrix unitary_matrix (void) const
- : friend ostream& operator << (ostream &os, const ComplexSCHUR &a)
- : SVD (void)
- : SVD (const Matrix &a)
- : SVD (const Matrix &a, int &info)
- : SVD (const SVD &a)
- : SVD& operator = (const SVD &a)
- : DiagMatrix singular_values (void) const
- : Matrix left_singular_matrix (void) const
- : Matrix right_singular_matrix (void) const
- : friend ostream& operator << (ostream &os, const SVD &a)
- : ComplexSVD (void)
- : ComplexSVD (const ComplexMatrix &a)
- : ComplexSVD (const ComplexMatrix &a, int &info)
- : ComplexSVD (const ComplexSVD &a)
- : ComplexSVD& operator = (const ComplexSVD &a)
- : DiagMatrix singular_values (void) const
- : ComplexMatrix left_singular_matrix (void) const
- : ComplexMatrix right_singular_matrix (void) const
- : friend ostream& operator << (ostream &os, const ComplexSVD &a)
- : EIG (void)
- : EIG (const Matrix &a)
- : EIG (const Matrix &a, int &info)
- : EIG (const ComplexMatrix &a)
- : EIG (const ComplexMatrix &a, int &info)
- : EIG (const EIG &a)
- : EIG& operator = (const EIG &a)
- : ComplexColumnVector eigenvalues (void) const
- : ComplexMatrix eigenvectors (void) const
- : friend ostream& operator << (ostream &os, const EIG &a)
- : LU (void)
- : LU (const Matrix &a)
- : LU (const LU &a)
- : LU& operator = (const LU &a)
- : Matrix L (void) const
- : Matrix U (void) const
- : Matrix P (void) const
- : friend ostream& operator << (ostream &os, const LU &a)
- : ComplexLU (void)
- : ComplexLU (const ComplexMatrix &a)
- : ComplexLU (const ComplexLU &a)
- : ComplexLU& operator = (const ComplexLU &a)
- : ComplexMatrix L (void) const
- : ComplexMatrix U (void) const
- : Matrix P (void) const
- : friend ostream& operator << (ostream &os, const ComplexLU &a)
- : QR (void)
- : QR (const Matrix &A)
- : QR (const QR &a)
- : QR& operator = (const QR &a)
- : Matrix Q (void) const
- : Matrix R (void) const
- : friend ostream& operator << (ostream &os, const QR &a)
- : ComplexQR (void)
- : ComplexQR (const ComplexMatrix &A)
- : ComplexQR (const ComplexQR &a)
- : ComplexQR& operator = (const ComplexQR &a)
- : ComplexMatrix Q (void) const
- : ComplexMatrix R (void) const
- : friend ostream& operator << (ostream &os, const ComplexQR &a)
6 Nonlinear Functions
- : NLFunc (void)
- : NLFunc (const nonlinear_fcn)
- : NLFunc (const nonlinear_fcn, const jacobian_fcn)
- : NLFunc (const NLFunc &a)
- : NLFunc& operator = (const NLFunc &a)
- : nonlinear_fcn function (void) const;
- : NLFunc& set_function (const nonlinear_fcn f)
- : jacobian_fcn jacobian_function (void) const;
- : NLFunc& set_jacobian_function (const jacobian_fcn j)
7 Objective Functions
- : Objective (void)
- : Objective (const objective_fcn)
- : Objective (const objective_fcn, const gradient_fcn)
- : Objective (const Objective &a)
- : Objective& operator = (const Objective &a)
- : objective_fcn objective_function (void) const;
- : Objective& set_objective_function (const objective_fcn)
- : gradient_fcn gradient_function (void) const;
- : Objective& set_gradient_function (const gradient_fcn)
8 Bounds
- : Bounds (void)
- : Bounds (int n)
- : Bounds (const ColumnVector lb, const ColumnVector ub)
- : Bounds (const Bounds &a)
- : Bounds& operator = (const Bounds &a)
- : Bounds& resize (int n)
- : double lower_bound (int index) const;
- : double upper_bound (int index) const;
- : ColumnVector lower_bounds (void) const;
- : ColumnVector upper_bounds (void) const;
- : int size (void) const;
- : Bounds& set_bound (int index, double low, double high)
- : Bounds& set_bounds (double low, double high)
- : Bounds& set_bounds (const ColumnVector lb, const ColumnVector ub)
- : Bounds& set_lower_bound (int index, double low)
- : Bounds& set_upper_bound (int index, double high)
- : Bounds& set_lower_bounds (double low)
- : Bounds& set_upper_bounds (double high)
- : Bounds& set_lower_bounds (const ColumnVector lb)
- : Bounds& set_upper_bounds (const ColumnVector ub)
- : friend ostream& operator << (ostream &os, const Bounds &b)
9 Linear Constraints
- : LinConst (void)
- : LinConst (int nclin, int nx)
- : LinConst (int nclin_eq, int nclin_ineq, int nx)
- : LinConst (const ColumnVector &lb, const Matrix &A, const ColumnVector &ub)
- : LinConst (const Matrix &A_eq, const ColumnVector &b_eq, const Matrix &A_ineq, const ColumnVector &b_ineq)
- : LinConst (const LinConst &a)
- : LinConst& operator = (const LinConst &a)
- : LinConst& resize (int nclin, int n)
- : Matrix constraint_matrix (void) const;
- : LinConst& set_constraint_matrix (const Matrix &A)
- : Matrix eq_constraint_matrix (void) const;
- : Matrix ineq_constraint_matrix (void) const;
- : ColumnVector eq_constraint_vector (void) const;
- : ColumnVector ineq_constraint_vector (void) const;
- : friend ostream& operator << (ostream &os, const LinConst &b)
10 Nonlinear Constraints
- : NLConst (void)
- : NLConst (int n)
- : NLConst (const ColumnVector lb, const NLFunc f, const ColumnVector ub)
- : NLConst (const NLConst &a)
- : NLConst& operator = (const NLConst &a)
11 Nonlinear Equations
- : NLEqn_options (void)
- : NLEqn_options (const NLEqn_options &opt)
- : NLEqn_options& operator = (const NLEqn_options &opt)
- : void init (void)
- : void copy (const NLEqn_options &opt)
- : void set_default_options (void)
- : void set_tolerance (double val)
- : double tolerance (void)
- : NLEqn (void)
- : NLEqn (const ColumnVector&, const NLFunc)
- : NLEqn (const NLEqn &a)
- : NLEqn& operator = (const NLEqn &a)
- : void resize (int n)
- : void set_states (const ColumnVector &x)
- : ColumnVector states (void) const
- : int size (void) const
- : ColumnVector solve (void)
- : ColumnVector solve (const ColumnVector &x)
- : ColumnVector solve (int &info)
- : ColumnVector solve (const ColumnVector &x, int &info)
12 Ordinary Differential Equations
- : ODE_options (void)
- : ODE_options (const ODE_options &opt)
- : ODE_options& operator = (const ODE_options &opt)
- : void init (void)
- : void copy (const ODE_options &opt)
- : void set_default_options (void)
- : void set_absolute_tolerance (double val)
- : void set_initial_step_size (double val)
- : void set_maximum_step_size (double val)
- : void set_minimum_step_size (double val)
- : void set_relative_tolerance (double val)
- : double absolute_tolerance (void)
- : double initial_step_size (void)
- : double maximum_step_size (void)
- : double minimum_step_size (void)
- : double relative_tolerance (void)
- : ODE (void)
- : ODE (int n)
- : ODE (const ColumnVector &state, double time, const ODEFunc &f)
- : virtual int size (void) const
- : virtual ColumnVector state (void) const
- : virtual double time (void) const
- : virtual void force_restart (void)
- : virtual void initialize (const ColumnVector &x, double t)
- : virtual void set_stop_time (double t)
- : virtual void clear_stop_time (void)
- : virtual ColumnVector integrate (double t)
- : void integrate (int nsteps, double tstep, ostream &s)
- : Matrix integrate (const ColumnVector &tout)
- : Matrix integrate (const ColumnVector &tout, const ColumnVector &tcrit)
13 Differential Algebraic Equations
- : DAE (void)
- : DAE (int n)
- : DAE (const ColumnVector &x, double time, DAEFunc &f)
- : DAE (const ColumnVector &x, ColumnVector &xdot, double time, DAEFunc &f)
- : ColumnVector deriv (void)
- : virtual void initialize (const ColumnVector &x, double t)
- : virtual void initialize (const ColumnVector &x, ColumnVector &xdot, double t)
- : ColumnVector integrate (double t)
- : Matrix integrate (const ColumnVector &tout, Matrix &xdot_out)
- : Matrix integrate (const ColumnVector &tout, Matrix &xdot_out, const ColumnVector &tcrit)
14 Quadrature
- : Quad (integrand_fcn fcn)
- : Quad (integrand_fcn fcn, double abs, double rel)
- : virtual double integrate (void)
- : virtual double integrate (int &ier)
- : virtual double integrate (int &ier, int &neval)
- : virtual double integrate (int &ier, int &neval, double &abserr) = 0
- : Quad_options (void)
- : Quad_options (const Quad_options &opt)
- : Quad_options& operator = (const Quad_options &opt)
- : void init (void)
- : void copy (const Quad_options &opt)
- : void set_default_options (void)
- : void set_absolute_tolerance (double val)
- : void set_relative_tolerance (double val)
- : double absolute_tolerance (void)
- : double relative_tolerance (void)
- : DefQuad (integrand_fcn fcn)
- : DefQuad (integrand_fcn fcn, double ll, double ul)
- : DefQuad (integrand_fcn fcn, double ll, double ul, double abs, double rel)
- : DefQuad (integrand_fcn fcn, double ll, double ul, const ColumnVector &sing)
- : DefQuad (integrand_fcn fcn, const ColumnVector &sing, double abs, double rel)
- : DefQuad (integrand_fcn fcn, const ColumnVector &sing)
- : DefQuad (integrand_fcn fcn, double ll, double ul, const ColumnVector &sing, double abs, double rel)
- : IndefQuad (integrand_fcn fcn)
- : IndefQuad (integrand_fcn fcn, double b, IntegralType t)
- : IndefQuad (integrand_fcn fcn, double b, IntegralType t, double abs, double rel)
- : IndefQuad (integrand_fcn fcn, double abs, double rel)
15 Quadratic Programming
- : QP (void)
- : QP (const ColumnVector &x, const Matrix &H)
- : QP (const ColumnVector &x, const Matrix &H, const ColumnVector &c)
- : QP (const ColumnVector &x, const Matrix &H, const Bounds &b)
- : QP (const ColumnVector &x, const Matrix &H, const LinConst &lc)
- : QP (const ColumnVector &x, const Matrix &H, const ColumnVector &c, const Bounds &b)
- : QP (const ColumnVector &x, const Matrix &H, const ColumnVector &c, const LinConst &lc)
- : QP (const ColumnVector &x, const Matrix &H, const Bounds &b, const LinConst &lc)
- : QP (const ColumnVector &x, const Matrix &H, const ColumnVector &c, const Bounds &b, const LinConst &lc)
- : virtual ColumnVector minimize (void)
- : virtual ColumnVector minimize (double &objf)
- : virtual ColumnVector minimize (double &objf, int &inform)
- : virtual ColumnVector minimize (double &objf, int &inform, ColumnVector &lambda) = 0;
- : virtual ColumnVector minimize (const ColumnVector &x)
- : virtual ColumnVector minimize (const ColumnVector &x, double &objf)
- : virtual ColumnVector minimize (const ColumnVector &x, double &objf, int &inform)
- : virtual ColumnVector minimize (const ColumnVector &x, double &objf, int &inform, ColumnVector &lambda)
- : QPSOL_options (void)
- : QPSOL_options (const QPSOL_options &opt)
- : QPSOL_options& operator = (const QPSOL_options &opt)
- : void init (void)
- : void copy (const QPSOL_options &opt)
- : void set_default_options (void)
- : void set_feasibility_tolerance (double val)
- : void set_infinite_bound (double val)
- : void set_iteration_limit (int val)
- : void set_print_level (int val)
- : double feasibility_tolerance (void)
- : double infinite_bound (void)
- : int iteration_limit (void)
- : int print_level (void)
- : QPSOL (void)
- : QPSOL (const ColumnVector &x, const Matrix &H)
- : QPSOL (const ColumnVector &x, const Matrix &H, const ColumnVector &c)
- : QPSOL (const ColumnVector &x, const Matrix &H, const Bounds &b)
- : QPSOL (const ColumnVector &x, const Matrix &H, const LinConst &lc)
- : QPSOL (const ColumnVector &x, const Matrix &H, const ColumnVector &c, const Bounds &b)
- : QPSOL (const ColumnVector &x, const Matrix &H, const ColumnVector &c, const LinConst &lc)
- : QPSOL (const ColumnVector &x, const Matrix &H, const Bounds &b, const LinConst &lc)
- : QPSOL (const ColumnVector &x, const Matrix &H, const ColumnVector &c, const Bounds &b, const LinConst &lc)
- : QPSOL (const QPSOL &a)
- : QPSOL& operator = (const QPSOL &a)
- : ColumnVector minimize (double &objf, int &inform, ColumnVector &lambda)
16 Nonlinear Programming
- : NLP (void)
- : NLP (const ColumnVector &x, const Objective &phi)
- : NLP (const ColumnVector &x, const Objective &phi, const Bounds &b)
- : NLP (const ColumnVector &x, const Objective &phi, const Bounds &b, const LinConst &lc)
- : NLP (const ColumnVector &x, const Objective &phi, const Bounds &b, const LinConst &lc, const NLConst &nlc)
- : NLP (const ColumnVector &x, const Objective &phi, const LinConst &lc)
- : NLP (const ColumnVector &x, const Objective &phi, const LinConst &lc, const NLConst &nlc)
- : NLP (const ColumnVector &x, const Objective &phi, const NLConst &nlc)
- : NLP (const ColumnVector &x, const Objective &phi, const Bounds &b, const NLConst &nlc)
- : NLP& operator = (const NLP &a)
- : int size (void) const
- : NPSOL_options (void)
- : NPSOL_options (const NPSOL_options &opt)
- : NPSOL_options& operator = (const NPSOL_options &opt)
- : void init (void)
- : void copy (const NPSOL_options &opt)
- : void set_default_options (void)
- : void set_central_difference_interval (double val)
- : void set_crash_tolerance (double val)
- : void set_difference_interval (double val)
- : void set_function_precision (double val)
- : void set_infinite_bound (double val)
- : void set_infinite_step (double val)
- : void set_linear_feasibility_tolerance (double val)
- : void set_linesearch_tolerance (double val)
- : void set_nonlinear_feasibility_tolerance (double val)
- : void set_optimality_tolerance (double val)
- : void set_derivative_level (int val)
- : void set_major_iteration_limit (int val)
- : void set_minor_iteration_limit (int val)
- : void set_major_print_level (int val)
- : void set_minor_print_level (int val)
- : void set_start_objective_check (int val)
- : void set_start_constraint_check (int val)
- : void set_stop_objective_check (int val)
- : void set_stop_constraint_check (int val)
- : void set_verify_level (int val)
- : double central_difference_interval (void) const
- : double crash_tolerance (void) const
- : double difference_interval (void) const
- : double function_precision (void) const
- : double infinite_bound (void) const
- : double infinite_step (void) const
- : double linear_feasibility_tolerance (void) const
- : double linesearch_tolerance (void) const
- : double nonlinear_feasibility_tolerance (void) const
- : double optimality_tolerance (void) const
- : int derivative_level (void) const
- : int major_iteration_limit (void) const
- : int minor_iteration_limit (void) const
- : int major_print_level (void) const
- : int minor_print_level (void) const
- : int start_objective_check (void) const
- : int start_constraint_check (void) const
- : int stop_objective_check (void) const
- : int stop_constraint_check (void) const
- : int verify_level (void) const
- : NPSOL (void)
- : NPSOL (const ColumnVector &x, const Objective &phi)
- : NPSOL (const ColumnVector &x, const Objective &phi, const Bounds &b)
- : NPSOL (const ColumnVector &x, const Objective &phi, const Bounds &b, const LinConst &lc)
- : NPSOL (const ColumnVector &x, const Objective &phi, const Bounds &b, const LinConst &lc, const NLConst &nlc)
- : NPSOL (const ColumnVector &x, const Objective &phi, const LinConst &lc)
- : NPSOL (const ColumnVector &x, const Objective &phi, const LinConst &lc, const NLConst &nlc)
- : NPSOL (const ColumnVector &x, const Objective &phi, const NLConst &nlc)
- : NPSOL (const ColumnVector &x, const Objective &phi, const Bounds &b, const NLConst &nlc)
- : NPSOL (const NPSOL &a)
- : ColumnVector minimize (void)
- : ColumnVector minimize (double &objf)
- : ColumnVector minimize (double &objf, int &inform)
- : ColumnVector minimize (double &objf, int &inform, ColumnVector &lambda)
- : ColumnVector minimize (const ColumnVector &x)
- : ColumnVector minimize (const ColumnVector &x, double &objf)
- : ColumnVector minimize (const ColumnVector &x, double &objf, int &inform)
- : ColumnVector minimize (const ColumnVector &x, double &objf, int &inform, ColumnVector &lambda)
17 Collocation Weights
- : CollocWt (void)
- : CollocWt (int n, int inc_l, int inc_r)
- : CollocWt (int n, int inc_l, int inc_r, double l, double r)
- : CollocWt (int n, double a, double b, int inc_l, int inc_r)
- : CollocWt (int n, int inc_l, int inc_r, double l, double r)
- : CollocWt (const CollocWt&)
- : CollocWt& operator = (const CollocWt&)
- : CollocWt& resize (int ncol)
- : CollocWt& add_left (void)
- : CollocWt& add_right (void)
- : CollocWt& delete_left (void)
- : CollocWt& delete_right (void)
- : CollocWt& set_left (double val)
- : CollocWt& set_right (double val)
- : CollocWt& set_alpha (double val)
- : CollocWt& set_beta (double val)
- : int ncol (void) const
- : int left_included (void) const
- : int right_included (void) const
- : double left (void) const
- : double right (void) const
- : double width (void) const
- : double alpha (void) const
- : double beta (void) const
- : ColumnVector roots (void)
- : ColumnVector quad (void)
- : ColumnVector quad_weights (void)
- : Matrix first (void)
- : Matrix second (void)
- : friend ostream& operator << (ostream &os, const CollocWt &c)
18 Ranges
- : Range (void)
- : Range (const Range &r)
- : Range (double b, double l)
- : Range (double b, double l, double i)
- : double base (void) const
- : double limit (void) const
- : double inc (void) const
- : void set_base (double b)
- : void set_limit (double l)
- : void set_inc (double i)
- : int nelem (void) const
- : double min (void) const
- : double max (void) const
- : void sort (void)
- : friend ostream& operator << (ostream &os, const Range &r)
- : friend istream& operator >> (istream &is, Range &r)
- : void print_range (void)
19 Installation
20 Bugs
Concept Index
Function Index
Table of Contents
About This Document
This document was generated on January 15, 2023 using texi2html 5.0.
The buttons in the navigation panels have the following meaning:
Button |
Name |
Go to |
From 1.2.3 go to |
[ << ] |
FastBack |
Beginning of this chapter or previous chapter |
1 |
[ < ] |
Back |
Previous section in reading order |
1.2.2 |
[ Up ] |
Up |
Up section |
1.2 |
[ > ] |
Forward |
Next section in reading order |
1.2.4 |
[ >> ] |
FastForward |
Next chapter |
2 |
[Top] |
Top |
Cover (top) of document |
|
[Contents] |
Contents |
Table of contents |
|
[Index] |
Index |
Index |
|
[ ? ] |
About |
About (help) |
|
where the Example assumes that the current position is at Subsubsection One-Two-Three of a document of the following structure:
- 1. Section One
- 1.1 Subsection One-One
- 1.2 Subsection One-Two
- 1.2.1 Subsubsection One-Two-One
- 1.2.2 Subsubsection One-Two-Two
- 1.2.3 Subsubsection One-Two-Three
<== Current Position
- 1.2.4 Subsubsection One-Two-Four
- 1.3 Subsection One-Three
- 1.4 Subsection One-Four
This document was generated on January 15, 2023 using texi2html 5.0.