namespace gpr::field¶
Overview¶
namespace field {
// global functions
template <typename Derived>
void appendRows(Eigen::PlainObjectBase<Derived>& mat, const Eigen::PlainObjectBase<Derived>& other);
template <typename Derived>
void appendRow(Eigen::PlainObjectBase<Derived>& mat, const Eigen::PlainObjectBase<Derived>& other, Eigen::Index i);
template <typename Derived>
void appendScalarAsRow(Eigen::PlainObjectBase<Derived>& mat, typename Derived::Scalar value);
template <typename Derived>
void deleteRow(Eigen::PlainObjectBase<Derived>& mat, Eigen::Index i);
template <typename Derived>
void deleteColumn(Eigen::PlainObjectBase<Derived>& mat, Eigen::Index j);
template <typename Derived>
void appendVector(Eigen::PlainObjectBase<Derived>& mat, const Eigen::VectorXd& vec);
template <typename DerivedA, typename DerivedB>
double flatDot(const Eigen::MatrixBase<DerivedA>& a, const Eigen::MatrixBase<DerivedB>& b);
} // namespace field
Detailed Documentation¶
Global Functions¶
template <typename DerivedA, typename DerivedB>
double flatDot(const Eigen::MatrixBase<DerivedA>& a, const Eigen::MatrixBase<DerivedB>& b)
Flat dot product: treat a FieldMatrixd as a 1-D vector and compute dot(a, b).