Namespaces | Macros | Typedefs | Functions | Variables
Vector.h File Reference

typedef and functions to augment Eigen's VectorXd More...

#include <gtsam/global_includes.h>
#include <Eigen/Core>
#include <iosfwd>
#include <list>
#include <boost/serialization/nvp.hpp>
#include <boost/serialization/array.hpp>
#include <boost/serialization/split_free.hpp>
Include dependency graph for Vector.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 boost
 
 boost::serialization
 
 gtsam
 traits
 

Macros

#define GTSAM_MAKE_VECTOR_DEFS(N)
 
#define MKL_BLAS   MKL_DOMAIN_BLAS
 

Typedefs

typedef Eigen::VectorBlock< const Vector > gtsam::ConstSubVector
 
typedef Eigen::VectorBlock< Vector > gtsam::SubVector
 
typedef Eigen::VectorXd gtsam::Vector
 
typedef Eigen::Matrix< double, 1, 1 > gtsam::Vector1
 
typedef Eigen::Vector2d gtsam::Vector2
 
typedef Eigen::Vector3d gtsam::Vector3
 

Functions

bool gtsam::assert_equal (const Vector &expected, const Vector &actual, double tol)
 
bool gtsam::assert_equal (const SubVector &expected, const SubVector &actual, double tol)
 
bool gtsam::assert_equal (const ConstSubVector &expected, const ConstSubVector &actual, double tol)
 
bool gtsam::assert_inequal (const Vector &expected, const Vector &actual, double tol)
 
template<class V1 , class V2 >
void gtsam::axpy (double alpha, const V1 &x, V2 &y)
 
void gtsam::axpy (double alpha, const Vector &x, SubVector y)
 
Vector gtsam::concatVectors (const std::list< Vector > &vs)
 
Vector gtsam::concatVectors (size_t nrVectors,...)
 
template<class V1 , class V2 >
double gtsam::dot (const V1 &a, const V2 &b)
 
Vector gtsam::ediv_ (const Vector &a, const Vector &b)
 
bool gtsam::equal (const Vector &vec1, const Vector &vec2, double tol)
 
bool gtsam::equal (const Vector &vec1, const Vector &vec2)
 
bool gtsam::equal_with_abs_tol (const Vector &vec1, const Vector &vec2, double tol)
 
bool gtsam::equal_with_abs_tol (const SubVector &vec1, const SubVector &vec2, double tol)
 
bool gtsam::fpEqual (double a, double b, double tol, bool check_relative_also)
 
bool gtsam::greaterThanOrEqual (const Vector &vec1, const Vector &vec2)
 
 gtsam::GTSAM_MAKE_VECTOR_DEFS (4)
 
 gtsam::GTSAM_MAKE_VECTOR_DEFS (5)
 
 gtsam::GTSAM_MAKE_VECTOR_DEFS (6)
 
 gtsam::GTSAM_MAKE_VECTOR_DEFS (7)
 
 gtsam::GTSAM_MAKE_VECTOR_DEFS (8)
 
 gtsam::GTSAM_MAKE_VECTOR_DEFS (9)
 
 gtsam::GTSAM_MAKE_VECTOR_DEFS (10)
 
 gtsam::GTSAM_MAKE_VECTOR_DEFS (11)
 
 gtsam::GTSAM_MAKE_VECTOR_DEFS (12)
 
pair< double, Vector > gtsam::house (const Vector &x)
 
double gtsam::houseInPlace (Vector &v)
 
template<class V1 , class V2 >
double gtsam::inner_prod (const V1 &a, const V2 &b)
 
bool gtsam::linear_dependent (const Vector &vec1, const Vector &vec2, double tol)
 
template<class Archive >
void boost::serialization::load (Archive &ar, gtsam::Vector &v, unsigned int)
 
template<class Archive , int D>
void boost::serialization::load (Archive &ar, Eigen::Matrix< double, D, 1 > &v, unsigned int)
 
bool gtsam::operator== (const Vector &vec1, const Vector &vec2)
 
GTSAM_EXPORT void gtsam::print (const Vector &v, const std::string &s, std::ostream &stream)
 
GTSAM_EXPORT void gtsam::print (const Vector &v, const std::string &s="")
 
GTSAM_EXPORT void gtsam::save (const Vector &A, const std::string &s, const std::string &filename)
 
template<class Archive >
void boost::serialization::save (Archive &ar, const gtsam::Vector &v, unsigned int)
 
template<class Archive , int D>
void boost::serialization::save (Archive &ar, const Eigen::Matrix< double, D, 1 > &v, unsigned int)
 
void gtsam::scal (double alpha, Vector &x)
 
double gtsam::weightedPseudoinverse (const Vector &a, const Vector &weights, Vector &pseudo)
 
pair< Vector, double > gtsam::weightedPseudoinverse (const Vector &a, const Vector &weights)
 

Variables

static const Eigen::MatrixBase< Vector2 >::ConstantReturnType gtsam::Z_2x1 = Vector2::Zero()
 
static const Eigen::MatrixBase< Vector3 >::ConstantReturnType gtsam::Z_3x1 = Vector3::Zero()
 

Detailed Description

typedef and functions to augment Eigen's VectorXd

Author
Kai Ni
Frank Dellaert
Alex Hagiopol
Varun Agrawal

Definition in file Vector.h.

Macro Definition Documentation

#define GTSAM_MAKE_VECTOR_DEFS (   N)
Value:
Generic expression of a matrix where all coefficients are defined by a functor.
#define N
Definition: gksort.c:12
Eigen::VectorXd Vector
Definition: Vector.h:38
Pose3 x1
Definition: testPose3.cpp:588

Definition at line 50 of file Vector.h.

#define MKL_BLAS   MKL_DOMAIN_BLAS

Definition at line 25 of file Vector.h.



gtsam
Author(s):
autogenerated on Sat May 8 2021 02:51:43