Go to the documentation of this file.
26 #define MKL_BLAS MKL_DOMAIN_BLAS
51 #define GTSAM_MAKE_VECTOR_DEFS(N) \
52 using Vector##N = Eigen::Matrix<double, N, 1>; \
53 static const Eigen::MatrixBase<Vector##N>::ConstantReturnType Z_##N##x1 = Vector##N::Zero();
74 #if defined(GTSAM_EIGEN_VERSION_WORLD)
78 "Error: GTSAM was built against a different version of Eigen");
97 GTSAM_EXPORT
bool fpEqual(
double a,
double b,
double tol,
98 bool check_relative_also =
true);
108 GTSAM_EXPORT
void print(
const Vector&
v,
const std::string&
s =
"");
195 template<
class V1,
class V2>
201 template<
class V1,
class V2>
211 GTSAM_EXPORT std::pair<double,Vector>
house(
const Vector &
x);
226 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)
std::vector< Vector3 > vs
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)
static const Point3 V2(-6.5, 3.5, 6.2)
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 Wed Jan 1 2025 04:08:21