Go to the documentation of this file.
24 #include <gtsam/config.h>
27 #include <gtsam/dllexport.h>
29 #ifdef GTSAM_ENABLE_BOOST_SERIALIZATION
30 #include <boost/serialization/nvp.hpp>
39 typedef std::vector<Point3, Eigen::aligned_allocator<Point3> >
Point3Vector;
50 OptionalJacobian<1, 3> H2 = {});
53 GTSAM_EXPORT
double norm3(
const Point3&
p, OptionalJacobian<1, 3>
H = {});
60 OptionalJacobian<3, 3> H_p = {},
61 OptionalJacobian<3, 3> H_q = {});
65 OptionalJacobian<1, 3> H_p = {},
66 OptionalJacobian<1, 3> H_q = {});
69 template <
class CONTAINER>
71 if (points.size() == 0)
throw std::invalid_argument(
"Point3::mean input container is empty");
73 sum = std::accumulate(points.begin(), points.end(), sum);
74 return sum / points.size();
78 GTSAM_EXPORT
Point3Pair means(
const std::vector<Point3Pair> &abPointPairs);
80 template <
typename A1,
typename A2>
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 y set format x g set format y g set format x2 g set format y2 g set format z g set angles radians set nogrid set key title set key left top Right noreverse box linetype linewidth samplen spacing width set nolabel set noarrow set nologscale set logscale x set set pointsize set encoding default set nopolar set noparametric set set set set surface set nocontour set clabel set mapping cartesian set nohidden3d set cntrparam order set cntrparam linear set cntrparam levels auto set cntrparam points set size set set xzeroaxis lt lw set x2zeroaxis lt lw set yzeroaxis lt lw set y2zeroaxis lt lw set tics in set ticslevel set tics set mxtics default set mytics default set mx2tics default set my2tics default set xtics border mirror norotate autofreq set ytics border mirror norotate autofreq set ztics border nomirror norotate autofreq set nox2tics set noy2tics set timestamp bottom norotate set rrange[*:*] noreverse nowriteback set trange[*:*] noreverse nowriteback set urange[*:*] noreverse nowriteback set vrange[*:*] noreverse nowriteback set xlabel matrix size set x2label set timefmt d m y n H
std::pair< Point3, Point3 > Point3Pair
std::vector< Point3Pair > Point3Pairs
typedef and functions to augment Eigen's VectorXd
std::ostream & operator<<(std::ostream &os, const Dih6 &m)
serialization for Vectors
ofstream os("timeSchurFactors.csv")
Point2Pair means(const std::vector< Point2Pair > &abPointPairs)
Calculate the two means of a set of Point2 pairs.
double operator()(const Point3 &p, const Point3 &q, OptionalJacobian< 1, 3 > H1={}, OptionalJacobian< 1, 3 > H2={})
static void normalize(Signature::Row &row)
Point3 cross(const Point3 &p, const Point3 &q, OptionalJacobian< 3, 3 > H1, OptionalJacobian< 3, 3 > H2)
cross product
EIGEN_DEVICE_FUNC const Scalar & q
double dot(const V1 &a, const V2 &b)
pair< size_t, size_t > Range
double norm3(const Point3 &p, OptionalJacobian< 1, 3 > H)
Distance of the point from the origin, with Jacobian.
Point3 mean(const CONTAINER &points)
mean
double distance3(const Point3 &p1, const Point3 &q, OptionalJacobian< 1, 3 > H1, OptionalJacobian< 1, 3 > H2)
distance between two points
std::vector< Point3, Eigen::aligned_allocator< Point3 > > Point3Vector
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:03:35