A column vector.
More...
#include <ocean/eagle/Matrix.hpp>
List of all members.
Public Types
-
typedef Matrix< R, 1, value > Base_t
-
typedef Operator<'*'> Mult
- Computational constructor argument for multiplicative operations.
Public Member Functions
-
const Base_t & base () const
-
Base_t & base ()
- template<int C> Column (const Matrix< R, C, value > &M, int c)
- Construct column vector from some matrix column.
- template<int C> Column (const Matrix< R, C, value > &A, const Column< C, value > &V)
- Multiply r (rows) by c (columns) matrix A on the left by column vector V of dimension c on the right to produce a (column) vector Y output of dimension r.
-
template<class ValueType , OperatorID_t CompType> Column (const Operator< CompType > &C, const value &scalar, const FixedArray< ValueType, R > &l)
- Generic computational constructor for scalar/column operations.
-
template<class ValueType , OperatorID_t CompType> Column (const FixedArray< ValueType, R > &l, const Operator< CompType > &C, const value &scalar)
- Generic computational constructor for column/scalar operations.
-
template<class AType , class BType , OperatorID_t CompType> Column (const FixedArray< AType, R > &l, const FixedArray< BType, R > &r, const Operator< CompType > &Op)
- Generic computational constructor for two arrays of size compatible with the column vector.
-
Column (const Column &A, const Operator<'-'> &Op)
- Computational constructor for unary minus.
-
Column (const Column< R, value > &r, const value &V, const Mult &)
- Computational constructor for scalar multiplicatoin.
-
Column (const Row< R, value > &r, const TransposeOperation &)
- Computational constructor for transpose operation.
-
template<class ValueType > Column (const FixedArray< ValueType, R > &V)
- Explicit construction from compatible base type.
-
template<class ValueType > Column (const ValueType &V)
-
Column ()
- Default constructor (no initialization!).
-
const value & operator[] (int i) const
- Element access operation for reading.
-
value & operator[] (int i)
- Access element for writing.
-
const Row< R, value > & transpose () const
Related Functions
(Note that these are not member functions.)
- template<int R, int C, class value > Column< R, value > operator* (const Matrix< R, C, value > &A, const Column< C, value > &V)
- Multiply r (rows) by c (columns) matrix A on the left by column vector V of dimension c on the right to produce a (column) vector C output of dimension r.
Detailed Description
template<int R, class value>
class Column< R, value >
A column vector.
(1)
(2)
(3)
- See also:
- Row, Matrix
Constructor & Destructor Documentation
template<int R, class value>
template<int C>
Multiply r (rows) by c (columns) matrix A on the left by column vector V of dimension c on the right to produce a (column) vector Y output of dimension r.
this = A * V c = M*c
(1)
(2)
(3)
(1 2 3) (13)
(4 5 6) (32)
template<int R, class value>
template<int C>
Construct column vector from some matrix column.
- Parameters:
-
| M | The Matrix |
| c | The selected column |
The documentation for this class was generated from the following file: