22 #ifndef fixed_row_vector_h
23 #define fixed_row_vector_h
25 #include "fixed_general_matrix.h"
90 template<
class Type,
class Row,
class Col>
105 #ifndef FMATVEC_NO_BOUNDS_CHECK
117 #ifndef FMATVEC_NO_BOUNDS_CHECK
132 const AT&
e(
int i)
const {
145 inline RowVector<Fixed<N>,AT>& init(Noinit,
const AT &a=0) {
return *
this; }
159 int inc()
const {
return 1;};
166 template <
int N,
class AT>
168 for(
int i=0; i<N; i++)
173 template <
int N,
class AT>
176 for(
int i=0; i<N; i++)
183 template <
int N,
class AT>
template <
class Col>
184 inline void RowVector<Fixed<N>,AT>::deepCopy(
const RowVector<Col,AT> &x) {
185 for(
int i=0; i<N; i++)
This is the basic matrix class for arbitrary matrices.
Definition: matrix.h:56
RowVector(const RowVector< Col, AT > &A)
Copy Constructor.
Definition: fixed_row_vector.h:83
int size() const
Size.
Definition: fixed_row_vector.h:151
RowVector(const Matrix< Type, Row, Col, AT > &A)
Copy Constructor.
Definition: fixed_row_vector.h:91
int inc() const
Increment.
Definition: fixed_row_vector.h:159
Basic shape class for matrices.
Definition: types.h:100
AT & operator()(int i)
Element operator.
Definition: fixed_row_vector.h:104
const AT & operator()(int i) const
Element operator.
Definition: fixed_row_vector.h:116
const AT & e(int i) const
Element operator.
Definition: fixed_row_vector.h:132
RowVector(const char *str)
String Constructor.
Definition: fixed_row_vector.h:75