45 std::copy(values, values+
N, this->
data());
85 static size_t dim() {
return Base::max_size; }
void print(const Matrix &A, const string &s, ostream &stream)
FixedVector(const double *values)
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar * data() const
static FixedVector ones()
bool equals(const FixedVector &other, double tol=1e-9) const
void print(const std::string &name="") const
FixedVector(const Vector &v)
static FixedVector repeat(double value)
bool equals(const FixedVector< M > &other, double tol=1e-9) const
Array< int, Dynamic, 1 > v
Array< double, 1, 3 > e(1./3., 0.5, 2.)
bool equal_with_abs_tol(const Eigen::DenseBase< MATRIX > &A, const Eigen::DenseBase< MATRIX > &B, double tol=1e-9)
Eigen::Matrix< double, N, 1 > Base
typedef and functions to augment Eigen's VectorXd
FixedVector(const FixedVector &v)
Annotation for function names.
The matrix class, also used for vectors and row-vectors.
static FixedVector basis(size_t i)
static FixedVector zero()
static FixedVector delta(size_t i, double value)