Class RowVectorWrapper. More...
#include <vector_wrapper.h>
Public Member Functions | |
virtual void | assign (int newsize, double value)=0 |
assign | |
virtual unsigned int | capacity () const =0 |
Ask numbers of capacity. | |
virtual unsigned int | columns () const =0 |
Ask numbers of columns (=1) | |
virtual double | operator() (unsigned int) const =0 |
element indexing | |
virtual double & | operator() (unsigned int)=0 |
element indexing | |
virtual MyRowVector | operator* (double b) const =0 |
Operators. | |
virtual double | operator* (const MyColumnVector &a) const =0 |
Operators. | |
virtual MyRowVector & | operator*= (double b)=0 |
Operators. | |
virtual MyRowVector | operator+ (const MyRowVector &a) const =0 |
Operators. | |
virtual MyRowVector | operator+ (double b) const =0 |
Operators. | |
virtual MyRowVector & | operator+= (const MyRowVector &a)=0 |
Operators. | |
virtual MyRowVector & | operator+= (double b)=0 |
Operators. | |
virtual MyRowVector | operator- (const MyRowVector &a) const =0 |
Operators. | |
virtual RowVector | operator- (double b) const =0 |
Operators. | |
virtual MyRowVector & | operator-= (const MyRowVector &a)=0 |
Operators. | |
virtual MyRowVector & | operator-= (double b)=0 |
Operators. | |
virtual RowVector | operator/ (double b) const =0 |
Operators. | |
virtual MyRowVector & | operator/= (double b)=0 |
Operators. | |
virtual MyRowVector & | operator= (const MyRowVector &a)=0 |
operator = | |
virtual MyRowVector & | operator= (double a)=0 |
Initialise all elements to a. | |
virtual bool | operator== (const MyRowVector &a) const =0 |
Operator ==. | |
virtual void | resize (int num_cols)=0 |
resize | |
virtual unsigned int | rows () const =0 |
Ask number of rows. | |
RowVector_Wrapper () | |
Constructor. | |
virtual MyRowVector | sub (int j_start, int j_end) const =0 |
get sub matrix | |
virtual MyColumnVector | transpose () const =0 |
get transpose | |
virtual MyRowVector | vectorAdd (const MyRowVector &v2) const =0 |
join two vectors | |
virtual | ~RowVector_Wrapper () |
Destructor. |
Class RowVectorWrapper.
Definition at line 144 of file vector_wrapper.h.
MatrixWrapper::RowVector_Wrapper::RowVector_Wrapper | ( | ) | [inline] |
Constructor.
Definition at line 149 of file vector_wrapper.h.
virtual MatrixWrapper::RowVector_Wrapper::~RowVector_Wrapper | ( | ) | [inline, virtual] |
Destructor.
Definition at line 152 of file vector_wrapper.h.
virtual void MatrixWrapper::RowVector_Wrapper::assign | ( | int | newsize, |
double | value | ||
) | [pure virtual] |
assign
virtual unsigned int MatrixWrapper::RowVector_Wrapper::capacity | ( | ) | const [pure virtual] |
Ask numbers of capacity.
virtual unsigned int MatrixWrapper::RowVector_Wrapper::columns | ( | ) | const [pure virtual] |
Ask numbers of columns (=1)
virtual double MatrixWrapper::RowVector_Wrapper::operator() | ( | unsigned | int | ) | const [pure virtual] |
element indexing
virtual double& MatrixWrapper::RowVector_Wrapper::operator() | ( | unsigned | int | ) | [pure virtual] |
element indexing
virtual MyRowVector MatrixWrapper::RowVector_Wrapper::operator* | ( | double | b | ) | const [pure virtual] |
Operators.
virtual double MatrixWrapper::RowVector_Wrapper::operator* | ( | const MyColumnVector & | a | ) | const [pure virtual] |
Operators.
virtual MyRowVector& MatrixWrapper::RowVector_Wrapper::operator*= | ( | double | b | ) | [pure virtual] |
Operators.
virtual MyRowVector MatrixWrapper::RowVector_Wrapper::operator+ | ( | const MyRowVector & | a | ) | const [pure virtual] |
Operators.
virtual MyRowVector MatrixWrapper::RowVector_Wrapper::operator+ | ( | double | b | ) | const [pure virtual] |
Operators.
virtual MyRowVector& MatrixWrapper::RowVector_Wrapper::operator+= | ( | const MyRowVector & | a | ) | [pure virtual] |
Operators.
virtual MyRowVector& MatrixWrapper::RowVector_Wrapper::operator+= | ( | double | b | ) | [pure virtual] |
Operators.
virtual MyRowVector MatrixWrapper::RowVector_Wrapper::operator- | ( | const MyRowVector & | a | ) | const [pure virtual] |
Operators.
virtual RowVector MatrixWrapper::RowVector_Wrapper::operator- | ( | double | b | ) | const [pure virtual] |
Operators.
virtual MyRowVector& MatrixWrapper::RowVector_Wrapper::operator-= | ( | const MyRowVector & | a | ) | [pure virtual] |
Operators.
virtual MyRowVector& MatrixWrapper::RowVector_Wrapper::operator-= | ( | double | b | ) | [pure virtual] |
Operators.
virtual RowVector MatrixWrapper::RowVector_Wrapper::operator/ | ( | double | b | ) | const [pure virtual] |
Operators.
virtual MyRowVector& MatrixWrapper::RowVector_Wrapper::operator/= | ( | double | b | ) | [pure virtual] |
Operators.
virtual MyRowVector& MatrixWrapper::RowVector_Wrapper::operator= | ( | const MyRowVector & | a | ) | [pure virtual] |
operator =
virtual MyRowVector& MatrixWrapper::RowVector_Wrapper::operator= | ( | double | a | ) | [pure virtual] |
Initialise all elements to a.
virtual bool MatrixWrapper::RowVector_Wrapper::operator== | ( | const MyRowVector & | a | ) | const [pure virtual] |
Operator ==.
virtual void MatrixWrapper::RowVector_Wrapper::resize | ( | int | num_cols | ) | [pure virtual] |
resize
virtual unsigned int MatrixWrapper::RowVector_Wrapper::rows | ( | ) | const [pure virtual] |
Ask number of rows.
virtual MyRowVector MatrixWrapper::RowVector_Wrapper::sub | ( | int | j_start, |
int | j_end | ||
) | const [pure virtual] |
get sub matrix
virtual MyColumnVector MatrixWrapper::RowVector_Wrapper::transpose | ( | ) | const [pure virtual] |
get transpose
virtual MyRowVector MatrixWrapper::RowVector_Wrapper::vectorAdd | ( | const MyRowVector & | v2 | ) | const [pure virtual] |
join two vectors