A row vector,.
More...
#include </home/werner/origo/vish/ocean/eagle/Matrix.hpp>
List of all members.
Public Types
-
typedef Matrix< 1, C, Value > Base_t
- Export the type of the base class.
-
typedef Operator<'/'> Div
-
typedef Operator<'*'> Mult
- Computational constructor argument for multiplicative operations.
-
typedef Base_t::Vector_t Vector_t
Public Member Functions
-
Base_t & base ()
- Treat a row a matrix, useful for polymorphic functions.
-
const Base_t & base () const
- Treat a row a matrix, useful for polymorphic functions.
-
Value & operator[] (int i)
- Access element for writing.
-
const Value & operator[] (int i) const
- Element access operation for reading.
-
Row ()
- Empty default constructor (no initialization!)
-
Row (const Base_t &B)
- Allow implicit construction of row classes from appropriate matrices.
-
Row (const Vector_t &V)
- Construct a row vector from an untyped vector of the same size.
-
Row (const Column< C, Value > &c, const TransposeOperation &)
- Construct a row as a transposed column.
- template<int R> Row (const Matrix< R, C, Value > &M, int r)
- Construct row vector from matrix row.
-
const Column< C, Value > & transpose () const
Arithmetic operations
-
typedef Operator<'+'> Add
-
typedef Operator<'-'> Sub
-
Row (const Row &A, const Value &V, const Mult &)
- Computational constructor for multiplication by scalar.
-
Row (const Row &A, const Value &V, const Div &)
- Computational constructor for division by scalar.
-
Row (const Row &A, const Row &B, const Add &)
- Computational constructor for addition.
-
Row (const Row &A, const Row &B, const Sub &)
- Computational constructor for subtraction.
-
Row (const Row &A, const Sub &Op)
- Computational constructor for unary minus.
-
Row operator* (const Row &A, const Value &V)
- Multiply row vector by scalar value.
-
Row operator* (const Value &V, const Row &A)
- Multiply row vector by scalar value.
-
Row operator/ (const Row &A, const Value &V)
- Divide row vector by scalar value.
-
Row operator+ (const Row &A, const Row &B)
- Sum of two row vectors.
-
Base_t operator+ (const Base_t &A, const Row &B)
- Sum of unspecified storage and row vectors yields unspecified storage.
-
Base_t operator+ (const Row &A, const Base_t &B)
- Sum of unspecified storage and row vectors yields unspecified storage.
-
Row operator- (const Row &A, const Row &B)
- Subtraction of two row vectors.
-
Row operator- (const Row &A)
- Unary minus.
Detailed Description
A row vector,.
(1 2 3)
- See also:
- Column, Matrix
Constructor & Destructor Documentation
template<int R>
Eagle::Row::Row |
( |
const Matrix< R, C, Value > & |
M, |
|
|
int |
r |
|
) |
| [inline] |
Construct row vector from matrix row.
- Parameters:
-
M | The matrix |
r | The selected row |
The documentation for this class was generated from the following file: