.. index:: pair: namespace; gpr::field .. _doxid-namespacegpr_1_1field: namespace gpr::field ==================== .. toctree:: :hidden: Overview ~~~~~~~~ .. ref-code-block:: cpp :class: doxyrest-overview-code-block namespace field { // global functions template void :target:`appendRows`(Eigen::PlainObjectBase& mat, const Eigen::PlainObjectBase& other); template void :target:`appendRow`(Eigen::PlainObjectBase& mat, const Eigen::PlainObjectBase& other, Eigen::Index i); template void :target:`appendScalarAsRow`(Eigen::PlainObjectBase& mat, typename Derived::Scalar value); template void :target:`deleteRow`(Eigen::PlainObjectBase& mat, Eigen::Index i); template void :target:`deleteColumn`(Eigen::PlainObjectBase& mat, Eigen::Index j); template void :target:`appendVector`(Eigen::PlainObjectBase& mat, const Eigen::VectorXd& vec); template double :ref:`flatDot`(const Eigen::MatrixBase& a, const Eigen::MatrixBase& b); } // namespace field .. _details-namespacegpr_1_1field: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Global Functions ---------------- .. index:: pair: function; flatDot .. _doxid-namespacegpr_1_1field_1a7616ffdda97210bcfa94bc31a92d6cc3: .. ref-code-block:: cpp :class: doxyrest-title-code-block template double flatDot(const Eigen::MatrixBase& a, const Eigen::MatrixBase& b) Flat dot product: treat a :ref:`FieldMatrixd ` as a 1-D vector and compute dot(a, b).