Class ColumnVectorWrapper. More...
#include <vector_wrapper.h>
Public Member Functions | |
virtual unsigned int | columns () const =0 |
Ask numbers of columns (=1) | |
ColumnVector_Wrapper () | |
Constructor. | |
virtual double | operator() (unsigned int i) const =0 |
element indexing | |
virtual double & | operator() (unsigned int i)=0 |
element indexing | |
virtual MyColumnVector | operator* (double b) const =0 |
Operators. | |
virtual MyMatrix | operator* (const MyRowVector &a) const =0 |
Operators. | |
virtual MyColumnVector & | operator*= (double b)=0 |
Operators. | |
virtual MyColumnVector | operator+ (const MyColumnVector &a) const =0 |
Operators. | |
virtual MyColumnVector | operator+ (double b) const =0 |
Operators. | |
virtual MyColumnVector & | operator+= (const MyColumnVector &a)=0 |
Operators. | |
virtual MyColumnVector & | operator+= (double b)=0 |
Operators. | |
virtual MyColumnVector | operator- (const MyColumnVector &a) const =0 |
Operators. | |
virtual MyColumnVector | operator- (double b) const =0 |
Operators. | |
virtual MyColumnVector & | operator-= (const MyColumnVector &a)=0 |
Operators. | |
virtual MyColumnVector & | operator-= (double b)=0 |
Operators. | |
virtual MyColumnVector | operator/ (double b) const =0 |
Operators. | |
virtual MyColumnVector & | operator/= (double b)=0 |
Operators. | |
virtual MyColumnVector & | operator= (const MyColumnVector &a)=0 |
operator = | |
virtual MyColumnVector & | operator= (double a)=0 |
Initialise all elements to a. | |
virtual bool | operator== (const MyColumnVector &a) const =0 |
Operator ==. | |
virtual double | operator[] (unsigned int i) const |
element indexing STARTING FROM 0 | |
virtual double & | operator[] (unsigned int i) |
element indexing STARTING FROM 0 | |
virtual void | resize (int num_rows)=0 |
resize | |
virtual unsigned int | rows () const =0 |
Ask number of rows. | |
virtual MyColumnVector | sub (int j_start, int j_end) const =0 |
get sub matrix | |
virtual MyRowVector | transpose () const =0 |
get transpose | |
virtual MyColumnVector | vectorAdd (const MyColumnVector &v2) const =0 |
join two vectors | |
virtual | ~ColumnVector_Wrapper () |
Destructor. |
Class ColumnVectorWrapper.
Definition at line 40 of file vector_wrapper.h.
Constructor.
Definition at line 45 of file vector_wrapper.h.
virtual MatrixWrapper::ColumnVector_Wrapper::~ColumnVector_Wrapper | ( | ) | [inline, virtual] |
Destructor.
Definition at line 48 of file vector_wrapper.h.
virtual unsigned int MatrixWrapper::ColumnVector_Wrapper::columns | ( | ) | const [pure virtual] |
Ask numbers of columns (=1)
virtual double MatrixWrapper::ColumnVector_Wrapper::operator() | ( | unsigned int | i | ) | const [pure virtual] |
element indexing
virtual double& MatrixWrapper::ColumnVector_Wrapper::operator() | ( | unsigned int | i | ) | [pure virtual] |
element indexing
virtual MyColumnVector MatrixWrapper::ColumnVector_Wrapper::operator* | ( | double | b | ) | const [pure virtual] |
Operators.
virtual MyMatrix MatrixWrapper::ColumnVector_Wrapper::operator* | ( | const MyRowVector & | a | ) | const [pure virtual] |
Operators.
virtual MyColumnVector& MatrixWrapper::ColumnVector_Wrapper::operator*= | ( | double | b | ) | [pure virtual] |
Operators.
virtual MyColumnVector MatrixWrapper::ColumnVector_Wrapper::operator+ | ( | const MyColumnVector & | a | ) | const [pure virtual] |
Operators.
virtual MyColumnVector MatrixWrapper::ColumnVector_Wrapper::operator+ | ( | double | b | ) | const [pure virtual] |
Operators.
virtual MyColumnVector& MatrixWrapper::ColumnVector_Wrapper::operator+= | ( | const MyColumnVector & | a | ) | [pure virtual] |
Operators.
virtual MyColumnVector& MatrixWrapper::ColumnVector_Wrapper::operator+= | ( | double | b | ) | [pure virtual] |
Operators.
virtual MyColumnVector MatrixWrapper::ColumnVector_Wrapper::operator- | ( | const MyColumnVector & | a | ) | const [pure virtual] |
Operators.
virtual MyColumnVector MatrixWrapper::ColumnVector_Wrapper::operator- | ( | double | b | ) | const [pure virtual] |
Operators.
virtual MyColumnVector& MatrixWrapper::ColumnVector_Wrapper::operator-= | ( | const MyColumnVector & | a | ) | [pure virtual] |
Operators.
virtual MyColumnVector& MatrixWrapper::ColumnVector_Wrapper::operator-= | ( | double | b | ) | [pure virtual] |
Operators.
virtual MyColumnVector MatrixWrapper::ColumnVector_Wrapper::operator/ | ( | double | b | ) | const [pure virtual] |
Operators.
virtual MyColumnVector& MatrixWrapper::ColumnVector_Wrapper::operator/= | ( | double | b | ) | [pure virtual] |
Operators.
virtual MyColumnVector& MatrixWrapper::ColumnVector_Wrapper::operator= | ( | const MyColumnVector & | a | ) | [pure virtual] |
operator =
virtual MyColumnVector& MatrixWrapper::ColumnVector_Wrapper::operator= | ( | double | a | ) | [pure virtual] |
Initialise all elements to a.
virtual bool MatrixWrapper::ColumnVector_Wrapper::operator== | ( | const MyColumnVector & | a | ) | const [pure virtual] |
Operator ==.
virtual double MatrixWrapper::ColumnVector_Wrapper::operator[] | ( | unsigned int | i | ) | const [inline, virtual] |
element indexing STARTING FROM 0
Definition at line 69 of file vector_wrapper.h.
virtual double& MatrixWrapper::ColumnVector_Wrapper::operator[] | ( | unsigned int | i | ) | [inline, virtual] |
element indexing STARTING FROM 0
Definition at line 73 of file vector_wrapper.h.
virtual void MatrixWrapper::ColumnVector_Wrapper::resize | ( | int | num_rows | ) | [pure virtual] |
resize
virtual unsigned int MatrixWrapper::ColumnVector_Wrapper::rows | ( | ) | const [pure virtual] |
Ask number of rows.
virtual MyColumnVector MatrixWrapper::ColumnVector_Wrapper::sub | ( | int | j_start, |
int | j_end | ||
) | const [pure virtual] |
get sub matrix
virtual MyRowVector MatrixWrapper::ColumnVector_Wrapper::transpose | ( | ) | const [pure virtual] |
get transpose
virtual MyColumnVector MatrixWrapper::ColumnVector_Wrapper::vectorAdd | ( | const MyColumnVector & | v2 | ) | const [pure virtual] |
join two vectors