Go to the documentation of this file.
25 using namespace gtsam;
29 template<
typename Derived>
36 template<
typename Derived>
75 double data[] = {10,20};
109 x(0) = 3;
x(1) = 1;
x(2) = 5;
x(3) = 1;
124 for(
int i = 0;
i < 2;
i++)
127 for(
int i = 0;
i < 5;
i++)
131 for(
int i = 0;
i < 2;
i++)
C(
i) =
A(
i);
132 for(
int i = 0;
i < 5;
i++)
C(
i+2) =
B(
i);
149 x(0) = 1.0;
x(1) = 2.0;
162 double expPrecision = 200.0;
174 x(0) = 1.0;
x(1) = 2.0;
220 y2.head(3) += 0.1 *
x;
229 Vector v1 = (
Vector(1) << 0.0/std::numeric_limits<double>::quiet_NaN()).finished();
275 #ifdef GTSAM_USE_BOOST_FEATURES
static int runAllTests(TestResult &result)
Matrix< SCALARB, Dynamic, Dynamic, opt_B > B
typedef and functions to augment Eigen's VectorXd
Array< double, 1, 3 > e(1./3., 0.5, 2.)
double weightedPseudoinverse(const Vector &a, const Vector &weights, Vector &pseudo)
#define EXPECT(condition)
static const Eigen::MatrixBase< Vector3 >::ConstantReturnType Z_3x1
Eigen::RowVectorXd RowVector
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
int EIGEN_BLAS_FUNC() copy(int *n, RealScalar *px, int *incx, RealScalar *py, int *incy)
bool equal_with_abs_tol(const Eigen::DenseBase< MATRIX > &A, const Eigen::DenseBase< MATRIX > &B, double tol=1e-9)
TEST(Vector, special_comma_initializer)
Vector concatVectors(const std::list< Vector > &vs)
Matrix< SCALARA, Dynamic, Dynamic, opt_A > A
Scalar EIGEN_BLAS_FUNC() dot(int *n, RealScalar *px, int *incx, RealScalar *py, int *incy)
void householder(const MatrixType &m)
#define DOUBLES_EQUAL(expected, actual, threshold)
int EIGEN_BLAS_FUNC() axpy(const int *n, const RealScalar *palpha, const RealScalar *px, const int *incx, RealScalar *py, const int *incy)
bool greaterThanOrEqual(const Vector &vec1, const Vector &vec2)
Matrix< Scalar, Dynamic, Dynamic > C
Base class for all dense matrices, vectors, and arrays.
bool assert_equal(const Matrix &expected, const Matrix &actual, double tol)
pair< double, Vector > house(const Vector &x)
The matrix class, also used for vectors and row-vectors.
Base class for all dense matrices, vectors, and expressions.
Eigen::Matrix< double, Eigen::Dynamic, 1 > Vector
#define GTSAM_CONCEPT_ASSERT(concept)
bool linear_dependent(const Matrix &A, const Matrix &B, double tol)
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:08:55