Go to the documentation of this file.
25 #define MKL_BLAS MKL_DOMAIN_BLAS
50 #define GTSAM_MAKE_VECTOR_DEFS(N) \
51 using Vector##N = Eigen::Matrix<double, N, 1>; \
52 static const Eigen::MatrixBase<Vector##N>::ConstantReturnType Z_##N##x1 = Vector##N::Zero();
73 #if defined(GTSAM_EIGEN_VERSION_WORLD)
77 "Error: GTSAM was built against a different version of Eigen");
96 GTSAM_EXPORT
bool fpEqual(
double a,
double b,
double tol,
97 bool check_relative_also =
true);
107 GTSAM_EXPORT
void print(
const Vector&
v,
const std::string&
s =
"");
194 template<
class V1,
class V2>
195 inline double dot(
const V1 &
a,
const V2&
b) {
196 assert (
b.size()==
a.size());
201 template<
class V1,
class V2>
203 assert (
b.size()==
a.size());
212 GTSAM_EXPORT std::pair<double,Vector>
house(
const Vector &
x);
227 GTSAM_EXPORT std::pair<Vector, double>
Eigen::Matrix< double, 1, 1 > Vector1
Namespace containing all symbols from the Eigen library.
#define EIGEN_MAJOR_VERSION
Included from all GTSAM files.
Array< double, 1, 3 > e(1./3., 0.5, 2.)
Vector ediv_(const Vector &a, const Vector &b)
double weightedPseudoinverse(const Vector &a, const Vector &weights, Vector &pseudo)
static const Eigen::MatrixBase< Vector3 >::ConstantReturnType Z_3x1
Eigen::VectorBlock< Vector > SubVector
double houseInPlace(Vector &v)
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy x
bool equal_with_abs_tol(const Eigen::DenseBase< MATRIX > &A, const Eigen::DenseBase< MATRIX > &B, double tol=1e-9)
bool operator==(const Matrix &A, const Matrix &B)
Vector concatVectors(const std::list< Vector > &vs)
Generic expression of a matrix where all coefficients are defined by a functor.
void print(const Matrix &A, const string &s, ostream &stream)
double dot(const V1 &a, const V2 &b)
bool fpEqual(double a, double b, double tol, bool check_relative_also)
#define GTSAM_MAKE_VECTOR_DEFS(N)
Eigen::VectorBlock< const Vector > ConstSubVector
void save(const Matrix &A, const string &s, const string &filename)
bool greaterThanOrEqual(const Vector &vec1, const Vector &vec2)
double inner_prod(const V1 &a, const V2 &b)
Expression of a fixed-size or dynamic-size sub-vector.
static const Eigen::MatrixBase< Vector2 >::ConstantReturnType Z_2x1
Array< int, Dynamic, 1 > v
bool assert_equal(const Matrix &expected, const Matrix &actual, double tol)
pair< double, Vector > house(const Vector &x)
bool assert_inequal(const Matrix &A, const Matrix &B, double tol)
The matrix class, also used for vectors and row-vectors.
#define EIGEN_WORLD_VERSION
bool equal(const T &obj1, const T &obj2, double tol)
bool linear_dependent(const Matrix &A, const Matrix &B, double tol)
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:09:41