A row vector,.  
More...
#include <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
- 
const Base_t & base () const 
- Treat a row a matrix, useful for polymorphic functions. 
 
 
- 
Base_t & base ()
- Treat a row a matrix, useful for polymorphic functions. 
 
 
- 
const Value & operator[] (int i) const 
- Element access operation for reading. 
 
 
- 
Value & operator[] (int i)
- Access element for writing. 
 
 
- template<int R> Row (const Matrix< R, C, Value > &M, int r)
- Construct row vector from matrix row.  
 
 
- 
Row (const Column< C, Value > &c, const TransposeOperation &)
- Construct a row as a transposed column. 
 
 
- 
Row (const Vector_t &V)
- Construct a row vector from an untyped vector of the same size. 
 
 
- 
Row (const Base_t &B)
- Allow implicit construction of row classes from appropriate matrices. 
 
 
- 
Row ()
- Empty default constructor (no initialization!). 
 
 
- 
const Column< C, Value > & transpose () const 
Arithmetic operations
 
- 
typedef Operator<'+'> Add
- 
typedef Operator<'-'> Sub
- 
Row (const Row &A, const Sub &Op)
- Computational constructor for unary minus. 
 
 
- 
Row (const Row &A, const Row &B, const Sub &)
- Computational constructor for subtraction. 
 
 
- 
Row (const Row &A, const Row &B, const Add &)
- Computational constructor for addition. 
 
 
- 
Row (const Row &A, const Value &V, const Div &)
- Computational constructor for division by scalar. 
 
 
- 
Row (const Row &A, const Value &V, const Mult &)
- Computational constructor for multiplication by scalar. 
 
 
- 
Row operator* (const Value &V, const Row &A)
- Multiply row vector by scalar value. 
 
 
- 
Row operator* (const Row &A, const Value &V)
- Multiply row vector by scalar value. 
 
 
- 
Base_t operator+ (const Row &A, const Base_t &B)
- Sum of unspecified storage and row vectors yields unspecified storage. 
 
 
- 
Base_t operator+ (const Base_t &A, const Row &B)
- Sum of unspecified storage and row vectors yields unspecified storage. 
 
 
- 
Row operator+ (const Row &A, const Row &B)
- Sum of two row vectors. 
 
 
- 
Row operator- (const Row &A)
- Unary minus. 
 
 
- 
Row operator- (const Row &A, const Row &B)
- Subtraction of two row vectors. 
 
 
- 
Row operator/ (const Row &A, const Value &V)
- Divide row vector by scalar value. 
 
 
Detailed Description
template<int C, class Value>
 class Row< C, Value >
A row vector,. 
 (1 2 3)
 - See also:
- Column, Matrix 
Constructor & Destructor Documentation
template<int C, class Value> 
template<int R> 
      
        
          | Row< C, Value >::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: