<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>mrpt::math::detail Namespace Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <div align="left"><a href="http://www.mrpt.org/">Main MRPT website</a> > <b>C++ reference</b> </div> <div align="right"> <a href="index.html"><img border="0" src="mrpt_logo.png" alt="MRPT logo"></a> </div> <!-- Generated by Doxygen 1.7.5 --> <script type="text/javascript"> var searchBox = new SearchBox("searchBox", "search",false,'Search'); </script> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li class="current"><a href="namespaces.html"><span>Namespaces</span></a></li> <li><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li> <div id="MSearchBox" class="MSearchBoxInactive"> <div class="left"> <form id="FSearchBox" action="search.php" method="get"> <img id="MSearchSelect" src="search/mag.png" alt=""/> <input type="text" id="MSearchField" name="query" value="Search" size="20" accesskey="S" onfocus="searchBox.OnSearchFieldFocus(true)" onblur="searchBox.OnSearchFieldFocus(false)"/> </form> </div><div class="right"></div> </div> </li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="namespaces.html"><span>Namespace List</span></a></li> <li><a href="namespacemembers.html"><span>Namespace Members</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="namespacemrpt.html">mrpt</a> </li> <li class="navelem"><a class="el" href="namespacemrpt_1_1math.html">math</a> </li> <li class="navelem"><a class="el" href="namespacemrpt_1_1math_1_1detail.html">detail</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#nested-classes">Classes</a> | <a href="#func-members">Functions</a> </div> <div class="headertitle"> <div class="title">mrpt::math::detail Namespace Reference<div class="ingroups"><a class="el" href="group__stats__grp.html">Statistics functions, probability distributions</a></div></div> </div> </div> <div class="contents"> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="nested-classes"></a> Classes</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1math_1_1detail_1_1_vicinity_traits_3_01_c_matrix_fixed_numeric_3_01_t_00_01_d_00_01_d_01_4_01_4.html">VicinityTraits< CMatrixFixedNumeric< T, D, D > ></a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Vicinity traits class specialization for fixed size matrices. <a href="classmrpt_1_1math_1_1detail_1_1_vicinity_traits_3_01_c_matrix_fixed_numeric_3_01_t_00_01_d_00_01_d_01_4_01_4.html#details">More...</a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1math_1_1detail_1_1_vicinity_traits_3_01_c_matrix_template_numeric_3_01_t_01_4_01_4.html">VicinityTraits< CMatrixTemplateNumeric< T > ></a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Vicinity traits class specialization for fixed size matrices. <a href="classmrpt_1_1math_1_1detail_1_1_vicinity_traits_3_01_c_matrix_template_numeric_3_01_t_01_4_01_4.html#details">More...</a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1math_1_1detail_1_1_t_aux_resizer.html">TAuxResizer</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Internal resize which compiles to nothing on fixed-size matrices. <a href="structmrpt_1_1math_1_1detail_1_1_t_aux_resizer.html#details">More...</a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1math_1_1detail_1_1_t_aux_resizer_3_01_m_a_t_00-1_01_4.html">TAuxResizer< MAT,-1 ></a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1math_1_1detail_1_1_matrix_wrapper_3_01_u_00_01true_01_4.html">MatrixWrapper< U, true ></a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1math_1_1detail_1_1_matrix_wrapper_3_01_u_00_01false_01_4.html">MatrixWrapper< U, false ></a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1math_1_1detail_1_1_accessor_iterator.html">AccessorIterator</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Template class for matrix accessor's iterators. <a href="classmrpt_1_1math_1_1detail_1_1_accessor_iterator.html#details">More...</a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1math_1_1detail_1_1_reverse_accessor_iterator.html">ReverseAccessorIterator</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Template class for matrix accessor's iterators. <a href="classmrpt_1_1math_1_1detail_1_1_reverse_accessor_iterator.html#details">More...</a><br/></td></tr> <tr><td colspan="2"><h2><a name="func-members"></a> Functions</h2></td></tr> <tr><td class="memTemplParams" colspan="2">template<typename T , typename U , bool UIsObject, typename FunctionType > </td></tr> <tr><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1math_1_1detail.html#ac3ef448f76fc9232d29d4d02e3fd2f64">applyFunction</a> (<a class="el" href="classmrpt_1_1math_1_1_c_binary_relation.html">CBinaryRelation</a>< T, U, UIsObject > &o, FunctionType fun, size_t e1, size_t e2, const T &T1, const T &T2)</td></tr> <tr><td class="memTemplParams" colspan="2">template<typename T , typename U , bool UIsObject> </td></tr> <tr><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1math_1_1detail.html#ae848e6be59fb0b9effb834dc8a28ac5a">applyFunction</a> (<a class="el" href="classmrpt_1_1math_1_1_c_binary_relation.html">CBinaryRelation</a>< T, U, UIsObject > &o, typename <a class="el" href="classmrpt_1_1math_1_1_c_binary_relation.html">CBinaryRelation</a>< T, U, UIsObject >::FunctionByReferencePass fun, size_t e1, size_t e2, const T &T1, const T &T2)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Template specialization by reference type. <a href="#ae848e6be59fb0b9effb834dc8a28ac5a"></a><br/></td></tr> <tr><td class="memTemplParams" colspan="2">template<class T > </td></tr> <tr><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1math_1_1detail.html#ab0c42732251b23eb7f2c40be3064f830">noncentralChi2OneIteration</a> (T arg, T &lans, T &dans, T &pans, unsigned int &j)</td></tr> <tr><td class="memTemplParams" colspan="2">template<class T > </td></tr> <tr><td class="memTemplItemLeft" align="right" valign="top">std::pair< double, double > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1math_1_1detail.html#a65738e21624fe5ef6f4b645c4dfed0d4">noncentralChi2CDF_exact</a> (unsigned int degreesOfFreedom, T noncentrality, T arg, T eps)</td></tr> <tr><td class="memTemplParams" colspan="2">template<typename SCALAR > </td></tr> <tr><td class="memTemplItemLeft" align="right" valign="top">double BASE_IMPEXP </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1math_1_1detail.html#a555c07e79b3a50c0055069ba25b4a227">internal_kmeans</a> (const bool use_kmeansplusplus_method, const size_t nPoints, const size_t k, const size_t dims, const SCALAR *points, const size_t attempts, SCALAR *out_center, int *out_assignments)</td></tr> <tr><td class="memTemplParams" colspan="2">template<class LIST_OF_VECTORS1 , class LIST_OF_VECTORS2 > </td></tr> <tr><td class="memTemplItemLeft" align="right" valign="top">double </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1math_1_1detail.html#a6d87cfbda3846e628fd7c84c4921232a">stub_kmeans</a> (const bool use_kmeansplusplus_method, const size_t k, const LIST_OF_VECTORS1 &points, <a class="el" href="classstd_1_1vector.html">std::vector</a>< int > &assignments, LIST_OF_VECTORS2 *out_centers, const size_t attempts)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structmrpt_1_1math_1_1_t_point2_d.html">TPoint2D</a> BASE_IMPEXP </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1math_1_1detail.html#a51a3e438efb331032d34d57b02f55d58">lightFromPose</a> (const <a class="el" href="classmrpt_1_1poses_1_1_c_point2_d.html">mrpt::poses::CPoint2D</a> &p)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Convert a pose into a light-weight structure (functional form, needed for forward declarations) <a href="#a51a3e438efb331032d34d57b02f55d58"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structmrpt_1_1math_1_1_t_point3_d.html">TPoint3D</a> BASE_IMPEXP </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1math_1_1detail.html#a47b8cca988a1fec49e639cae33f25645">lightFromPose</a> (const <a class="el" href="classmrpt_1_1poses_1_1_c_point3_d.html">mrpt::poses::CPoint3D</a> &p)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Convert a pose into a light-weight structure (functional form, needed for forward declarations) <a href="#a47b8cca988a1fec49e639cae33f25645"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structmrpt_1_1math_1_1_t_pose2_d.html">TPose2D</a> BASE_IMPEXP </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1math_1_1detail.html#a7a04c1e3d797f90b3d823702d5ce86c1">lightFromPose</a> (const <a class="el" href="classmrpt_1_1poses_1_1_c_pose2_d.html">mrpt::poses::CPose2D</a> &p)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Convert a pose into a light-weight structure (functional form, needed for forward declarations) <a href="#a7a04c1e3d797f90b3d823702d5ce86c1"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structmrpt_1_1math_1_1_t_pose3_d.html">TPose3D</a> BASE_IMPEXP </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1math_1_1detail.html#a7067d1157887b750f31f2f23d79bfb12">lightFromPose</a> (const <a class="el" href="classmrpt_1_1poses_1_1_c_pose3_d.html">mrpt::poses::CPose3D</a> &p)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Convert a pose into a light-weight structure (functional form, needed for forward declarations) <a href="#a7067d1157887b750f31f2f23d79bfb12"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structmrpt_1_1math_1_1_t_pose3_d_quat.html">TPose3DQuat</a> BASE_IMPEXP </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1math_1_1detail.html#a166bce627a5ae386e9e8a342dbf9b79e">lightFromPose</a> (const <a class="el" href="classmrpt_1_1poses_1_1_c_pose3_d_quat.html">mrpt::poses::CPose3DQuat</a> &p)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Convert a pose into a light-weight structure (functional form, needed for forward declarations) <a href="#a166bce627a5ae386e9e8a342dbf9b79e"></a><br/></td></tr> <tr><td class="memTemplParams" colspan="2">template<class MATORG , class MATDEST > </td></tr> <tr><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1math_1_1detail.html#aa19b24dfb9f42a5339d2abf59dc97f27">extractMatrix</a> (const MATORG &M, const size_t first_row, const size_t first_col, MATDEST &outMat)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Extract a submatrix - The output matrix must be set to the required size before call. <a href="#aa19b24dfb9f42a5339d2abf59dc97f27"></a><br/></td></tr> </table> <hr/><h2>Function Documentation</h2> <a class="anchor" id="ac3ef448f76fc9232d29d4d02e3fd2f64"></a><!-- doxytag: member="mrpt::math::detail::applyFunction" ref="ac3ef448f76fc9232d29d4d02e3fd2f64" args="(CBinaryRelation< T, U, UIsObject > &o, FunctionType fun, size_t e1, size_t e2, const T &T1, const T &T2)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename T , typename U , bool UIsObject, typename FunctionType > </div> <table class="memname"> <tr> <td class="memname">void mrpt::math::detail::applyFunction </td> <td>(</td> <td class="paramtype">CBinaryRelation< T, U, UIsObject > & </td> <td class="paramname"><em>o</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">FunctionType </td> <td class="paramname"><em>fun</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">size_t </td> <td class="paramname"><em>e1</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">size_t </td> <td class="paramname"><em>e2</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const T & </td> <td class="paramname"><em>T1</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const T & </td> <td class="paramname"><em>T2</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="_c_binary_relation_8h_source.html#l00436">436</a> of file <a class="el" href="_c_binary_relation_8h_source.html">CBinaryRelation.h</a>.</p> </div> </div> <a class="anchor" id="ae848e6be59fb0b9effb834dc8a28ac5a"></a><!-- doxytag: member="mrpt::math::detail::applyFunction" ref="ae848e6be59fb0b9effb834dc8a28ac5a" args="(CBinaryRelation< T, U, UIsObject > &o, typename CBinaryRelation< T, U, UIsObject >::FunctionByReferencePass fun, size_t e1, size_t e2, const T &T1, const T &T2)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename T , typename U , bool UIsObject> </div> <table class="memname"> <tr> <td class="memname">void mrpt::math::detail::applyFunction </td> <td>(</td> <td class="paramtype">CBinaryRelation< T, U, UIsObject > & </td> <td class="paramname"><em>o</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">typename CBinaryRelation< T, U, UIsObject >::FunctionByReferencePass </td> <td class="paramname"><em>fun</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">size_t </td> <td class="paramname"><em>e1</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">size_t </td> <td class="paramname"><em>e2</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const T & </td> <td class="paramname"><em>T1</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const T & </td> <td class="paramname"><em>T2</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Template specialization by reference type. </p> <p>Definition at line <a class="el" href="_c_binary_relation_8h_source.html#l00442">442</a> of file <a class="el" href="_c_binary_relation_8h_source.html">CBinaryRelation.h</a>.</p> </div> </div> <a class="anchor" id="aa19b24dfb9f42a5339d2abf59dc97f27"></a><!-- doxytag: member="mrpt::math::detail::extractMatrix" ref="aa19b24dfb9f42a5339d2abf59dc97f27" args="(const MATORG &M, const size_t first_row, const size_t first_col, MATDEST &outMat)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class MATORG , class MATDEST > </div> <table class="memname"> <tr> <td class="memname">void mrpt::math::detail::extractMatrix </td> <td>(</td> <td class="paramtype">const MATORG & </td> <td class="paramname"><em>M</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const size_t </td> <td class="paramname"><em>first_row</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const size_t </td> <td class="paramname"><em>first_col</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">MATDEST & </td> <td class="paramname"><em>outMat</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Extract a submatrix - The output matrix must be set to the required size before call. </p> <p>Definition at line <a class="el" href="ops__matrices_8h_source.html#l00289">289</a> of file <a class="el" href="ops__matrices_8h_source.html">ops_matrices.h</a>.</p> <p>References <a class="el" href="mrpt__macros_8h_source.html#l00289">ASSERT_BELOWEQ_</a>.</p> </div> </div> <a class="anchor" id="a555c07e79b3a50c0055069ba25b4a227"></a><!-- doxytag: member="mrpt::math::detail::internal_kmeans" ref="a555c07e79b3a50c0055069ba25b4a227" args="(const bool use_kmeansplusplus_method, const size_t nPoints, const size_t k, const size_t dims, const SCALAR *points, const size_t attempts, SCALAR *out_center, int *out_assignments)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename SCALAR > </div> <table class="memname"> <tr> <td class="memname">double BASE_IMPEXP mrpt::math::detail::internal_kmeans </td> <td>(</td> <td class="paramtype">const bool </td> <td class="paramname"><em>use_kmeansplusplus_method</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const size_t </td> <td class="paramname"><em>nPoints</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const size_t </td> <td class="paramname"><em>k</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const size_t </td> <td class="paramname"><em>dims</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const SCALAR * </td> <td class="paramname"><em>points</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const size_t </td> <td class="paramname"><em>attempts</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">SCALAR * </td> <td class="paramname"><em>out_center</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int * </td> <td class="paramname"><em>out_assignments</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Referenced by <a class="el" href="kmeans_8h_source.html#l00054">stub_kmeans()</a>.</p> </div> </div> <a class="anchor" id="a51a3e438efb331032d34d57b02f55d58"></a><!-- doxytag: member="mrpt::math::detail::lightFromPose" ref="a51a3e438efb331032d34d57b02f55d58" args="(const mrpt::poses::CPoint2D &p)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="structmrpt_1_1math_1_1_t_point2_d.html">TPoint2D</a> BASE_IMPEXP mrpt::math::detail::lightFromPose </td> <td>(</td> <td class="paramtype">const <a class="el" href="classmrpt_1_1poses_1_1_c_point2_d.html">mrpt::poses::CPoint2D</a> & </td> <td class="paramname"><em>p</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Convert a pose into a light-weight structure (functional form, needed for forward declarations) </p> <p>Referenced by <a class="el" href="math__frwds_8h_source.html#l00154">mrpt::math::containerFromPoseOrPoint()</a>.</p> </div> </div> <a class="anchor" id="a47b8cca988a1fec49e639cae33f25645"></a><!-- doxytag: member="mrpt::math::detail::lightFromPose" ref="a47b8cca988a1fec49e639cae33f25645" args="(const mrpt::poses::CPoint3D &p)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="structmrpt_1_1math_1_1_t_point3_d.html">TPoint3D</a> BASE_IMPEXP mrpt::math::detail::lightFromPose </td> <td>(</td> <td class="paramtype">const <a class="el" href="classmrpt_1_1poses_1_1_c_point3_d.html">mrpt::poses::CPoint3D</a> & </td> <td class="paramname"><em>p</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Convert a pose into a light-weight structure (functional form, needed for forward declarations) </p> </div> </div> <a class="anchor" id="a7a04c1e3d797f90b3d823702d5ce86c1"></a><!-- doxytag: member="mrpt::math::detail::lightFromPose" ref="a7a04c1e3d797f90b3d823702d5ce86c1" args="(const mrpt::poses::CPose2D &p)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="structmrpt_1_1math_1_1_t_pose2_d.html">TPose2D</a> BASE_IMPEXP mrpt::math::detail::lightFromPose </td> <td>(</td> <td class="paramtype">const <a class="el" href="classmrpt_1_1poses_1_1_c_pose2_d.html">mrpt::poses::CPose2D</a> & </td> <td class="paramname"><em>p</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Convert a pose into a light-weight structure (functional form, needed for forward declarations) </p> </div> </div> <a class="anchor" id="a7067d1157887b750f31f2f23d79bfb12"></a><!-- doxytag: member="mrpt::math::detail::lightFromPose" ref="a7067d1157887b750f31f2f23d79bfb12" args="(const mrpt::poses::CPose3D &p)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="structmrpt_1_1math_1_1_t_pose3_d.html">TPose3D</a> BASE_IMPEXP mrpt::math::detail::lightFromPose </td> <td>(</td> <td class="paramtype">const <a class="el" href="classmrpt_1_1poses_1_1_c_pose3_d.html">mrpt::poses::CPose3D</a> & </td> <td class="paramname"><em>p</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Convert a pose into a light-weight structure (functional form, needed for forward declarations) </p> </div> </div> <a class="anchor" id="a166bce627a5ae386e9e8a342dbf9b79e"></a><!-- doxytag: member="mrpt::math::detail::lightFromPose" ref="a166bce627a5ae386e9e8a342dbf9b79e" args="(const mrpt::poses::CPose3DQuat &p)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="structmrpt_1_1math_1_1_t_pose3_d_quat.html">TPose3DQuat</a> BASE_IMPEXP mrpt::math::detail::lightFromPose </td> <td>(</td> <td class="paramtype">const <a class="el" href="classmrpt_1_1poses_1_1_c_pose3_d_quat.html">mrpt::poses::CPose3DQuat</a> & </td> <td class="paramname"><em>p</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Convert a pose into a light-weight structure (functional form, needed for forward declarations) </p> </div> </div> <a class="anchor" id="a65738e21624fe5ef6f4b645c4dfed0d4"></a><!-- doxytag: member="mrpt::math::detail::noncentralChi2CDF_exact" ref="a65738e21624fe5ef6f4b645c4dfed0d4" args="(unsigned int degreesOfFreedom, T noncentrality, T arg, T eps)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class T > </div> <table class="memname"> <tr> <td class="memname">std::pair<double, double> mrpt::math::detail::noncentralChi2CDF_exact </td> <td>(</td> <td class="paramtype">unsigned int </td> <td class="paramname"><em>degreesOfFreedom</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">T </td> <td class="paramname"><em>noncentrality</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">T </td> <td class="paramname"><em>arg</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">T </td> <td class="paramname"><em>eps</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="distributions_8h_source.html#l00201">201</a> of file <a class="el" href="distributions_8h_source.html">distributions.h</a>.</p> <p>References <a class="el" href="mrpt__macros_8h_source.html#l00281">ASSERTMSG_</a>, <a class="el" href="ops__containers_8h_source.html#l00208">mrpt::math::sum()</a>, <a class="el" href="group__stats__grp.html#ga31b77faefe845a607e6661c2a24e7e5f">mrpt::math::erf()</a>, <a class="el" href="distributions_8h_source.html#l00184">noncentralChi2OneIteration()</a>, and <a class="el" href="mrpt__macros_8h_source.html#l00131">THROW_EXCEPTION</a>.</p> <p>Referenced by <a class="el" href="distributions_8h_source.html#l00278">mrpt::math::chi2PDF()</a>.</p> </div> </div> <a class="anchor" id="ab0c42732251b23eb7f2c40be3064f830"></a><!-- doxytag: member="mrpt::math::detail::noncentralChi2OneIteration" ref="ab0c42732251b23eb7f2c40be3064f830" args="(T arg, T &lans, T &dans, T &pans, unsigned int &j)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class T > </div> <table class="memname"> <tr> <td class="memname">void mrpt::math::detail::noncentralChi2OneIteration </td> <td>(</td> <td class="paramtype">T </td> <td class="paramname"><em>arg</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">T & </td> <td class="paramname"><em>lans</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">T & </td> <td class="paramname"><em>dans</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">T & </td> <td class="paramname"><em>pans</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">unsigned int & </td> <td class="paramname"><em>j</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="distributions_8h_source.html#l00184">184</a> of file <a class="el" href="distributions_8h_source.html">distributions.h</a>.</p> <p>Referenced by <a class="el" href="distributions_8h_source.html#l00201">noncentralChi2CDF_exact()</a>.</p> </div> </div> <a class="anchor" id="a6d87cfbda3846e628fd7c84c4921232a"></a><!-- doxytag: member="mrpt::math::detail::stub_kmeans" ref="a6d87cfbda3846e628fd7c84c4921232a" args="(const bool use_kmeansplusplus_method, const size_t k, const LIST_OF_VECTORS1 &points, std::vector< int > &assignments, LIST_OF_VECTORS2 *out_centers, const size_t attempts)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class LIST_OF_VECTORS1 , class LIST_OF_VECTORS2 > </div> <table class="memname"> <tr> <td class="memname">double mrpt::math::detail::stub_kmeans </td> <td>(</td> <td class="paramtype">const bool </td> <td class="paramname"><em>use_kmeansplusplus_method</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const size_t </td> <td class="paramname"><em>k</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const LIST_OF_VECTORS1 & </td> <td class="paramname"><em>points</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classstd_1_1vector.html">std::vector</a>< int > & </td> <td class="paramname"><em>assignments</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">LIST_OF_VECTORS2 * </td> <td class="paramname"><em>out_centers</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const size_t </td> <td class="paramname"><em>attempts</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="kmeans_8h_source.html#l00054">54</a> of file <a class="el" href="kmeans_8h_source.html">kmeans.h</a>.</p> <p>References <a class="el" href="mrpt__macros_8h_source.html#l00370">MRPT_START</a>, <a class="el" href="mrpt__macros_8h_source.html#l00282">ASSERT_</a>, <a class="el" href="mrpt__macros_8h_source.html#l00281">ASSERTMSG_</a>, <a class="el" href="group__mrpt__system__os.html#gae1184cfb1f617787dc4c9da98becbe3a">mrpt::system::os::memcpy()</a>, <a class="el" href="namespacemrpt_1_1math_1_1detail.html#a555c07e79b3a50c0055069ba25b4a227">internal_kmeans()</a>, and <a class="el" href="mrpt__macros_8h_source.html#l00374">MRPT_END</a>.</p> <p>Referenced by <a class="el" href="kmeans_8h_source.html#l00136">mrpt::math::kmeans()</a>, and <a class="el" href="kmeans_8h_source.html#l00164">mrpt::math::kmeanspp()</a>.</p> </div> </div> </div> <br><hr><br> <table border="0" width="100%"> <tr> <td> Page generated by <a href="http://www.doxygen.org" target="_blank">Doxygen 1.7.5</a> for MRPT 0.9.5 SVN: at Sun Sep 25 17:20:18 UTC 2011</td><td></td> <td width="100"> </td> <td width="150"> </td></tr> </table> </body></html>