Sophie

Sophie

distrib > Fedora > 16 > i386 > by-pkgid > 4bc66056a634db26a1f4d0845dc41ca6 > files > 2795

mrpt-doc-0.9.5-0.1.20110925svn2670.fc16.i686.rpm

<!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>utils.h File 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> &gt; <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&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><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="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#namespaces">Namespaces</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">utils.h File Reference</div>  </div>
</div>
<div class="contents">
<div class="textblock"><code>#include &lt;<a class="el" href="utils__defs_8h_source.html">mrpt/utils/utils_defs.h</a>&gt;</code><br/>
<code>#include &lt;<a class="el" href="_c_matrix_template_numeric_8h_source.html">mrpt/math/CMatrixTemplateNumeric.h</a>&gt;</code><br/>
<code>#include &lt;<a class="el" href="_c_matrix_fixed_numeric_8h_source.html">mrpt/math/CMatrixFixedNumeric.h</a>&gt;</code><br/>
<code>#include &lt;<a class="el" href="_c_histogram_8h_source.html">mrpt/math/CHistogram.h</a>&gt;</code><br/>
<code>#include &lt;<a class="el" href="ops__vectors_8h_source.html">mrpt/math/ops_vectors.h</a>&gt;</code><br/>
<code>#include &lt;<a class="el" href="ops__matrices_8h_source.html">mrpt/math/ops_matrices.h</a>&gt;</code><br/>
<code>#include &lt;numeric&gt;</code><br/>
<code>#include &lt;cmath&gt;</code><br/>
</div><div class="textblock"><div class="dynheader">
Include dependency graph for base/include/mrpt/math/utils.h:</div>
<div class="dyncontent">
<div class="center"><img src="base_2include_2mrpt_2math_2utils_8h__incl.png" border="0" usemap="#utils_8h" alt=""/></div>
<map name="utils_8h" id="utils_8h">
<area shape="rect" id="node3" href="utils__defs_8h.html" title="mrpt/utils/utils_defs.h" alt="" coords="1255,603,1401,629"/><area shape="rect" id="node101" href="_c_matrix_template_numeric_8h.html" title="mrpt/math/CMatrixTemplateNumeric.h" alt="" coords="1473,229,1719,256"/><area shape="rect" id="node118" href="_c_histogram_8h.html" title="mrpt/math/CHistogram.h" alt="" coords="2413,528,2579,555"/><area shape="rect" id="node132" href="_c_matrix_fixed_numeric_8h.html" title="mrpt/math/CMatrixFixedNumeric.h" alt="" coords="2115,304,2337,331"/><area shape="rect" id="node138" href="ops__vectors_8h.html" title="mrpt/math/ops_vectors.h" alt="" coords="2342,155,2508,181"/><area shape="rect" id="node143" href="ops__matrices_8h.html" title="This file implements miscelaneous matrix and matrix/vector operations, plus internal functions in mrp..." alt="" coords="1778,80,1952,107"/><area shape="rect" id="node7" href="os_8h.html" title="mrpt/system/os.h" alt="" coords="634,677,757,704"/><area shape="rect" id="node20" href="base_2include_2mrpt_2base_2link__pragmas_8h.html" title="mrpt/base/link_pragmas.h" alt="" coords="198,901,369,928"/><area shape="rect" id="node23" href="boost__join_8h.html" title="mrpt/utils/boost_join.h" alt="" coords="147,976,297,1003"/><area shape="rect" id="node25" href="base_2include_2mrpt_2utils_2types_8h.html" title="mrpt/utils/types.h" alt="" coords="635,752,757,779"/><area shape="rect" id="node51" href="mrpt__macros_8h.html" title="mrpt/utils/mrpt_macros.h" alt="" coords="867,752,1033,779"/><area shape="rect" id="node54" href="compiler__fixes_8h.html" title="mrpt/utils/compiler_fixes.h" alt="" coords="1363,677,1537,704"/><area shape="rect" id="node81" href="smart__ptr_8hpp.html" title="mrpt/otherlibs/stlplus/smart_ptr.hpp" alt="" coords="1211,752,1437,779"/><area shape="rect" id="node98" href="bits_8h.html" title="mrpt/utils/bits.h" alt="" coords="2023,677,2133,704"/><area shape="rect" id="node35" href="math__frwds_8h.html" title="mrpt/math/math_frwds.h" alt="" coords="2210,827,2373,853"/><area shape="rect" id="node83" href="containers__fixes_8hpp.html" title="containers_fixes.hpp" alt="" coords="1361,901,1503,928"/><area shape="rect" id="node85" href="exceptions_8hpp.html" title="exceptions.hpp" alt="" coords="1238,827,1348,853"/><area shape="rect" id="node92" href="atomic__incr_8h.html" title="mrpt/synch/atomic_incr.h" alt="" coords="642,827,811,853"/><area shape="rect" id="node96" href="smart__ptr_8tpp.html" title="smart_ptr.tpp" alt="" coords="1475,827,1573,853"/><area shape="rect" id="node103" href="_c_matrix_template_8h.html" title="mrpt/math/CMatrixTemplate.h" alt="" coords="1895,304,2091,331"/><area shape="rect" id="node122" href="_c_serializable_8h.html" title="mrpt/utils/CSerializable.h" alt="" coords="1512,453,1680,480"/><area shape="rect" id="node107" href="_c_array_8h.html" title="mrpt/math/CArray.h" alt="" coords="2149,379,2285,405"/><area shape="rect" id="node111" href="ops__containers_8h.html" title="This file implements several operations that operate element&#45;wise on individual or pairs of container..." alt="" coords="2533,453,2717,480"/><area shape="rect" id="node124" href="_c_stream_8h.html" title="mrpt/utils/CStream.h" alt="" coords="1525,528,1667,555"/><area shape="rect" id="node146" href="_c_matrix_8h.html" title="mrpt/math/CMatrix.h" alt="" coords="1685,155,1827,181"/><area shape="rect" id="node152" href="_c_matrix_d_8h.html" title="mrpt/math/CMatrixD.h" alt="" coords="1360,155,1512,181"/><area shape="rect" id="node162" href="metaprogramming_8h.html" title="mrpt/utils/metaprogramming.h" alt="" coords="1103,229,1297,256"/></map>
</div>
</div><div class="textblock"><div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent">
<div class="center"><img src="base_2include_2mrpt_2math_2utils_8h__dep__incl.png" border="0" usemap="#utils_8hdep" alt=""/></div>
<map name="utils_8hdep" id="utils_8hdep">
<area shape="rect" id="node3" href="jacobians_8h.html" title="jacobians.h" alt="" coords="447,304,535,331"/><area shape="rect" id="node7" href="math_8h.html" title="math.h" alt="" coords="258,528,320,555"/><area shape="rect" id="node24" href="_c_pose_or_point_8h.html" title="CPoseOrPoint.h" alt="" coords="1243,80,1359,107"/><area shape="rect" id="node33" href="geometry_8h.html" title="geometry.h" alt="" coords="1351,379,1437,405"/><area shape="rect" id="node91" href="vision_2include_2mrpt_2vision_2utils_8h.html" title="utils.h" alt="" coords="1971,379,2028,405"/><area shape="rect" id="node108" href="multi_desc__utils_8h.html" title="multiDesc_utils.h" alt="" coords="1463,379,1585,405"/><area shape="rect" id="node143" href="_c_levenberg_marquardt_8h.html" title="CLevenbergMarquardt.h" alt="" coords="319,155,480,181"/><area shape="rect" id="node147" href="_c_kalman_filter_capable_8h.html" title="CKalmanFilterCapable.h" alt="" coords="2735,603,2899,629"/><area shape="rect" id="node5" href="transform__gaussian_8h.html" title="transform_gaussian.h" alt="" coords="403,379,549,405"/><area shape="rect" id="node9" href="base_8h.html" title="base.h" alt="" coords="992,603,1053,629"/><area shape="rect" id="node15" href="cs_8h.html" title="cs.h" alt="" coords="123,603,169,629"/><area shape="rect" id="node17" href="math__mrpt_8h.html" title="math_mrpt.h" alt="" coords="5,603,99,629"/><area shape="rect" id="node19" href="_c_reactive_navigation_system_8h.html" title="CReactiveNavigationSystem.h" alt="" coords="385,677,588,704"/><area shape="rect" id="node21" href="scanmatching_2scan__matching_8h.html" title="scan_matching.h" alt="" coords="246,603,367,629"/><area shape="rect" id="node11" href="_c_image___s_s_e3_8cpp.html" title="CImage_SSE3.cpp" alt="" coords="877,677,1011,704"/><area shape="rect" id="node13" href="_c_image___s_s_e2_8cpp.html" title="CImage_SSE2.cpp" alt="" coords="1035,677,1169,704"/><area shape="rect" id="node26" href="_c_pose_8h.html" title="CPose.h" alt="" coords="781,155,853,181"/><area shape="rect" id="node68" href="poses_8h.html" title="poses.h" alt="" coords="682,453,749,480"/><area shape="rect" id="node124" href="_c_point_8h.html" title="CPoint.h" alt="" coords="1265,229,1337,256"/><area shape="rect" id="node136" href="_c_camera_8h.html" title="CCamera.h" alt="" coords="2570,453,2659,480"/><area shape="rect" id="node28" href="_c_pose3_d_8h.html" title="CPose3D.h" alt="" coords="1079,229,1169,256"/><area shape="rect" id="node85" href="_c_pose3_d_quat_8h.html" title="CPose3DQuat.h" alt="" coords="954,379,1072,405"/><area shape="rect" id="node88" href="_c_pose3_d_interpolator_8h.html" title="CPose3DInterpolator.h" alt="" coords="776,379,929,405"/><area shape="rect" id="node117" href="_c_pose2_d_8h.html" title="CPose2D.h" alt="" coords="859,304,949,331"/><area shape="rect" id="node31" href="_c_point3_d_8h.html" title="CPoint3D.h" alt="" coords="1079,304,1169,331"/><area shape="rect" id="node39" href="_c_disk_8h.html" title="CDisk.h" alt="" coords="1050,453,1120,480"/><area shape="rect" id="node43" href="_c_range_bearing_k_f_s_l_a_m_8h.html" title="CRangeBearingKFSLAM.h" alt="" coords="1723,677,1901,704"/><area shape="rect" id="node35" href="ransac__applications_8h.html" title="ransac_applications.h" alt="" coords="826,453,973,480"/><area shape="rect" id="node47" href="_c_set_of_triangles_8h.html" title="CSetOfTriangles.h" alt="" coords="1656,453,1785,480"/><area shape="rect" id="node50" href="_c_generalized_cylinder_8h.html" title="CGeneralizedCylinder.h" alt="" coords="1417,528,1576,555"/><area shape="rect" id="node53" href="_c_angular_observation_mesh_8h.html" title="CAngularObservationMesh.h" alt="" coords="1679,528,1868,555"/><area shape="rect" id="node55" href="_c_textured_object_8h.html" title="CTexturedObject.h" alt="" coords="1329,453,1460,480"/><area shape="rect" id="node57" href="_c_polyhedron_8h.html" title="CPolyhedron.h" alt="" coords="1145,453,1252,480"/><area shape="rect" id="node62" href="_c_open_g_l_standard_object_8h.html" title="COpenGLStandardObject.h" alt="" coords="1892,528,2073,555"/><area shape="rect" id="node65" href="_c_height_grid_map2_d_8h.html" title="CHeightGridMap2D.h" alt="" coords="1485,453,1632,480"/><area shape="rect" id="node41" href="opengl_8h.html" title="opengl.h" alt="" coords="1777,603,1847,629"/><area shape="rect" id="node45" href="_c_range_bearing_k_f_s_l_a_m2_d_8h.html" title="CRangeBearingKFSLAM2D.h" alt="" coords="2581,677,2776,704"/><area shape="rect" id="node71" href="base_2include_2mrpt_2utils_8h.html" title="utils.h" alt="" coords="774,528,831,555"/><area shape="rect" id="node74" href="_c_abstract_holonomic_reactive_method_8h.html" title="CAbstractHolonomicReactiveMethod.h" alt="" coords="718,603,967,629"/><area shape="rect" id="node78" href="_c_abstract_reactive_navigation_system_8h.html" title="CAbstractReactiveNavigationSystem.h" alt="" coords="443,603,693,629"/><area shape="rect" id="node81" href="_c_p_r_r_t_navigator_8h.html" title="CPRRTNavigator.h" alt="" coords="907,528,1041,555"/><area shape="rect" id="node93" href="_c_feature_extraction_8h.html" title="CFeatureExtraction.h" alt="" coords="2112,453,2259,480"/><area shape="rect" id="node95" href="vision_8h.html" title="vision.h" alt="" coords="2125,528,2192,555"/><area shape="rect" id="node97" href="_c_cam_model_8h.html" title="CCamModel.h" alt="" coords="2283,453,2389,480"/><area shape="rect" id="node100" href="_c_video_file_writer_8h.html" title="CVideoFileWriter.h" alt="" coords="2414,453,2545,480"/><area shape="rect" id="node103" href="pinhole_8h.html" title="pinhole.h" alt="" coords="1963,453,2036,480"/><area shape="rect" id="node126" href="_c_point2_d_8h.html" title="CPoint2D.h" alt="" coords="1464,304,1555,331"/><area shape="rect" id="node138" href="_c_open_g_l_viewport_8h.html" title="COpenGLViewport.h" alt="" coords="2461,528,2603,555"/><area shape="rect" id="node149" href="bayes_8h.html" title="bayes.h" alt="" coords="2801,677,2868,704"/></map>
</div>
</div>
<p><a href="base_2include_2mrpt_2math_2utils_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt.html">mrpt</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><p>This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries. </p>
<br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1math.html">mrpt::math</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><p>This base provides a set of functions for maths stuff. </p>
<br/></td></tr>
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool BASE_IMPEXP&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__container__ops__grp.html#ga40e8e47dea9f504a28d2a70ea8ddb158">mrpt::math::loadVector</a> (utils::CFileStream &amp;f, <a class="el" href="classstd_1_1vector.html">std::vector</a>&lt; int &gt; &amp;d)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Loads one row of a text file as a numerical <a class="el" href="classstd_1_1vector.html" title="STL class.">std::vector</a>.  <a href="group__container__ops__grp.html#ga40e8e47dea9f504a28d2a70ea8ddb158"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool BASE_IMPEXP&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__container__ops__grp.html#ga4b6641faf04526ff4cee645370007ae1">mrpt::math::loadVector</a> (utils::CFileStream &amp;f, <a class="el" href="classstd_1_1vector.html">std::vector</a>&lt; double &gt; &amp;d)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Loads one row of a text file as a numerical <a class="el" href="classstd_1_1vector.html" title="STL class.">std::vector</a>.  <a href="group__container__ops__grp.html#ga4b6641faf04526ff4cee645370007ae1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool BASE_IMPEXP&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__container__ops__grp.html#ga0789f5c3dde7a158cb9780f6061ddcc6">mrpt::math::isNaN</a> (float f) MRPT_NO_THROWS</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the number is NaN.  <a href="group__container__ops__grp.html#ga0789f5c3dde7a158cb9780f6061ddcc6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool BASE_IMPEXP&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__container__ops__grp.html#gaf51d0919fb678849dd010440fc6c7e3d">mrpt::math::isNaN</a> (double f) MRPT_NO_THROWS</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the number is NaN.  <a href="group__container__ops__grp.html#gaf51d0919fb678849dd010440fc6c7e3d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool BASE_IMPEXP&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__container__ops__grp.html#gaf4a419952a205931911e0a5627a192fe">mrpt::math::isFinite</a> (float f) MRPT_NO_THROWS</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the number is non infinity.  <a href="group__container__ops__grp.html#gaf4a419952a205931911e0a5627a192fe"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool BASE_IMPEXP&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__container__ops__grp.html#ga2ebfac97f79a8835217cccf46b1e229f">mrpt::math::isFinite</a> (double f) MRPT_NO_THROWS</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the number is non infinity.  <a href="group__container__ops__grp.html#ga2ebfac97f79a8835217cccf46b1e229f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void BASE_IMPEXP&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__container__ops__grp.html#gafa11ba6f88e921e59b8971131fb1ec06">mrpt::math::medianFilter</a> (const <a class="el" href="classstd_1_1vector.html">std::vector</a>&lt; double &gt; &amp;inV, <a class="el" href="classstd_1_1vector.html">std::vector</a>&lt; double &gt; &amp;outV, const int &amp;winSize, const int &amp;numberOfSigmas=2)</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;typename T , typename VECTOR &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__container__ops__grp.html#gac77eb1a332f0b7cd60ecf5918d2f4a9a">mrpt::math::linspace</a> (T first, T last, size_t count, VECTOR &amp;out_vector)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Generates an equidistant sequence of numbers given the first one, the last one and the desired number of points.  <a href="group__container__ops__grp.html#gac77eb1a332f0b7cd60ecf5918d2f4a9a"></a><br/></td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class T &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="class_eigen_1_1_matrix.html">Eigen::Matrix</a>&lt; T, <br class="typebreak"/>
<a class="el" href="namespace_eigen.html#ad81fa7195215a0ce30017dfac309f0b2">Eigen::Dynamic</a>, 1 &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__container__ops__grp.html#ga2971708259446f11d677f849d0b8a07d">mrpt::math::linspace</a> (T first, T last, size_t count)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Generates an equidistant sequence of numbers given the first one, the last one and the desired number of points.  <a href="group__container__ops__grp.html#ga2971708259446f11d677f849d0b8a07d"></a><br/></td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class T , T STEP&gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="class_eigen_1_1_matrix.html">Eigen::Matrix</a>&lt; T, <br class="typebreak"/>
<a class="el" href="namespace_eigen.html#ad81fa7195215a0ce30017dfac309f0b2">Eigen::Dynamic</a>, 1 &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__container__ops__grp.html#ga9b7b817146f7f39b83e3b3fbe2225ca5">mrpt::math::sequence</a> (T first, size_t length)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Generates a sequence of values [first,first+STEP,first+2*STEP,...].  <a href="group__container__ops__grp.html#ga9b7b817146f7f39b83e3b3fbe2225ca5"></a><br/></td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class T , T STEP&gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classstd_1_1vector.html">std::vector</a>&lt; T &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__container__ops__grp.html#ga897c75f8fa614c54da6c0500b869f2a1">mrpt::math::sequenceStdVec</a> (T first, size_t length)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Generates a sequence of values [first,first+STEP,first+2*STEP,...].  <a href="group__container__ops__grp.html#ga897c75f8fa614c54da6c0500b869f2a1"></a><br/></td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class T &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="class_eigen_1_1_matrix.html">Eigen::Matrix</a>&lt; T, <br class="typebreak"/>
<a class="el" href="namespace_eigen.html#ad81fa7195215a0ce30017dfac309f0b2">Eigen::Dynamic</a>, 1 &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__container__ops__grp.html#gaee0433b2568e6a7847b0841d08722a51">mrpt::math::ones</a> (size_t count)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Generates a vector of all ones of the given length.  <a href="group__container__ops__grp.html#gaee0433b2568e6a7847b0841d08722a51"></a><br/></td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class T &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="class_eigen_1_1_matrix.html">Eigen::Matrix</a>&lt; T, <br class="typebreak"/>
<a class="el" href="namespace_eigen.html#ad81fa7195215a0ce30017dfac309f0b2">Eigen::Dynamic</a>, 1 &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__container__ops__grp.html#ga6a0207f476314788b520568a0a16afc1">mrpt::math::zeros</a> (size_t count)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Generates a vector of all zeros of the given length.  <a href="group__container__ops__grp.html#ga6a0207f476314788b520568a0a16afc1"></a><br/></td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class T &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__container__ops__grp.html#gaf3dcff278e3ccf372395351cfbb4d3dd">mrpt::math::wrapTo2PiInPlace</a> (T &amp;a)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Modifies the given angle to translate it into the [0,2pi[ range.  <a href="group__container__ops__grp.html#gaf3dcff278e3ccf372395351cfbb4d3dd"></a><br/></td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class T &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">T&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__container__ops__grp.html#ga81ffbc190c3274c294a71aad568e98e3">mrpt::math::wrapTo2Pi</a> (T a)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Modifies the given angle to translate it into the [0,2pi[ range.  <a href="group__container__ops__grp.html#ga81ffbc190c3274c294a71aad568e98e3"></a><br/></td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class T &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">T&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__container__ops__grp.html#gaa2ddb99c5a5532075417f855b1c132fd">mrpt::math::wrapToPi</a> (T a)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Modifies the given angle to translate it into the ]-pi,pi] range.  <a href="group__container__ops__grp.html#gaa2ddb99c5a5532075417f855b1c132fd"></a><br/></td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class T &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__container__ops__grp.html#ga69ca7c53c45b1f99c69b45f40ef41e42">mrpt::math::wrapToPiInPlace</a> (T &amp;a)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Modifies the given angle to translate it into the ]-pi,pi] range.  <a href="group__container__ops__grp.html#ga69ca7c53c45b1f99c69b45f40ef41e42"></a><br/></td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class VEC1 , class VEC2 &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__container__ops__grp.html#gab64bd509dec6f39f1db1086bd48b5f45">mrpt::math::normalize</a> (const VEC1 &amp;v, VEC2 &amp;out_v)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Normalize a vector, such as its norm is the unity.  <a href="group__container__ops__grp.html#gab64bd509dec6f39f1db1086bd48b5f45"></a><br/></td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class VECTOR_OF_VECTORS , class MATRIXLIKE , class VECTORLIKE , class VECTORLIKE2 , class VECTORLIKE3 &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__stats__grp.html#gaf0a0f292b7248680014f55effd35873f">mrpt::math::covariancesAndMeanWeighted</a> (const VECTOR_OF_VECTORS &amp;elements, MATRIXLIKE &amp;covariances, VECTORLIKE &amp;means, const VECTORLIKE2 *weights_mean, const VECTORLIKE3 *weights_cov, const bool *elem_do_wrap2pi=NULL)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes covariances and mean of any vector of containers, given optional weights for the different samples.  <a href="group__stats__grp.html#gaf0a0f292b7248680014f55effd35873f"></a><br/></td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class VECTOR_OF_VECTORS , class MATRIXLIKE , class VECTORLIKE &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__stats__grp.html#gaa1cf7357c4043fb790efe19d3f6c2b7d">mrpt::math::covariancesAndMean</a> (const VECTOR_OF_VECTORS &amp;elements, MATRIXLIKE &amp;covariances, VECTORLIKE &amp;means, const bool *elem_do_wrap2pi=NULL)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes covariances and mean of any vector of containers.  <a href="group__stats__grp.html#gaa1cf7357c4043fb790efe19d3f6c2b7d"></a><br/></td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class VECTORLIKE1 , class VECTORLIKE2 &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__container__ops__grp.html#ga4ca4d8616fc5c34fbaddd4d479060b91">mrpt::math::weightedHistogram</a> (const VECTORLIKE1 &amp;values, const VECTORLIKE1 &amp;weights, float binWidth, VECTORLIKE2 &amp;out_binCenters, VECTORLIKE2 &amp;out_binValues)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes the weighted histogram for a vector of values and their corresponding weights.  <a href="group__container__ops__grp.html#ga4ca4d8616fc5c34fbaddd4d479060b91"></a><br/></td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class VECTORLIKE1 , class VECTORLIKE2 &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__container__ops__grp.html#gabc0b6008e33cc8852a18b746d2fa84d4">mrpt::math::weightedHistogramLog</a> (const VECTORLIKE1 &amp;values, const VECTORLIKE1 &amp;log_weights, float binWidth, VECTORLIKE2 &amp;out_binCenters, VECTORLIKE2 &amp;out_binValues)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes the weighted histogram for a vector of values and their corresponding log-weights.  <a href="group__container__ops__grp.html#gabc0b6008e33cc8852a18b746d2fa84d4"></a><br/></td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class VECTOR_OF_VECTORS , class VECTORLIKE &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__container__ops__grp.html#ga7e35ac8264c0ad08d184f5e50ceca5d6">mrpt::math::extractColumnFromVectorOfVectors</a> (const size_t colIndex, const VECTOR_OF_VECTORS &amp;data, VECTORLIKE &amp;out_column)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Extract a column from a vector of vectors, and store it in another vector.  <a href="group__container__ops__grp.html#ga7e35ac8264c0ad08d184f5e50ceca5d6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint64_t BASE_IMPEXP&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__container__ops__grp.html#gabde7e0c25e9bb6a0a962f8051fe8c19d">mrpt::math::factorial64</a> (unsigned int n)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes the factorial of an integer number and returns it as a 64-bit integer number.  <a href="group__container__ops__grp.html#gabde7e0c25e9bb6a0a962f8051fe8c19d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double BASE_IMPEXP&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__container__ops__grp.html#ga2fbe27097242531b344c8d5b9fe148c9">mrpt::math::factorial</a> (unsigned int n)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes the factorial of an integer number and returns it as a double value (internally it uses logarithms for avoiding overflow).  <a href="group__container__ops__grp.html#ga2fbe27097242531b344c8d5b9fe148c9"></a><br/></td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class T &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">T&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__container__ops__grp.html#gae238d11a8827f1a9d10792fb8d26b0a1">mrpt::math::round2up</a> (T val)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Round up to the nearest power of two of a given number.  <a href="group__container__ops__grp.html#gae238d11a8827f1a9d10792fb8d26b0a1"></a><br/></td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class T &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">T&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__container__ops__grp.html#ga2b186cb9b674da4aa7b697fe8cd57567">mrpt::math::round_10power</a> (T val, int power10)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Round a decimal number up to the given 10'th power (eg, to 1000,100,10, and also fractions) power10 means round up to: 1 -&gt; 10, 2 -&gt; 100, 3 -&gt; 1000, ...  <a href="group__container__ops__grp.html#ga2b186cb9b674da4aa7b697fe8cd57567"></a><br/></td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class T &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">double&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__container__ops__grp.html#ga914e0802031e773745a2c99c3aebdec1">mrpt::math::correlate_matrix</a> (const CMatrixTemplateNumeric&lt; T &gt; &amp;a1, const CMatrixTemplateNumeric&lt; T &gt; &amp;a2)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculate the correlation between two matrices (by AJOGD @ JAN-2007)  <a href="group__container__ops__grp.html#ga914e0802031e773745a2c99c3aebdec1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double BASE_IMPEXP&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__stats__grp.html#ga6cb458d9d6c45fae59084fc57e88666b">mrpt::math::averageLogLikelihood</a> (const vector_double &amp;logLikelihoods)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A numerically-stable method to compute average likelihood values with strongly different ranges (unweighted likelihoods: compute the arithmetic mean).  <a href="group__stats__grp.html#ga6cb458d9d6c45fae59084fc57e88666b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double BASE_IMPEXP&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__stats__grp.html#ga3bd9ff688b42b58bd8c2f5d6f420868f">mrpt::math::averageWrap2Pi</a> (const vector_double &amp;angles)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes the average of a sequence of angles in radians taking into account the correct wrapping in the range <img class="formulaInl" alt="$ ]-\pi,\pi [ $" src="form_36.png"/>, for example, the mean of (2,-2) is <img class="formulaInl" alt="$ \pi $" src="form_37.png"/>, not 0.  <a href="group__stats__grp.html#ga3bd9ff688b42b58bd8c2f5d6f420868f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double BASE_IMPEXP&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__stats__grp.html#gaecd0c40688b7bd9e4554e8180f05f07a">mrpt::math::averageLogLikelihood</a> (const vector_double &amp;logWeights, const vector_double &amp;logLikelihoods)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A numerically-stable method to average likelihood values with strongly different ranges (weighted likelihoods).  <a href="group__stats__grp.html#gaecd0c40688b7bd9e4554e8180f05f07a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classstd_1_1string.html">std::string</a> BASE_IMPEXP&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__stats__grp.html#ga9cbd4ab1844fcd749cfafff8a5f592a1">mrpt::math::MATLAB_plotCovariance2D</a> (const CMatrixFloat &amp;cov22, const vector_float &amp;mean, const float &amp;stdCount, const <a class="el" href="classstd_1_1string.html">std::string</a> &amp;style=<a class="el" href="classstd_1_1string.html">std::string</a>(&quot;b&quot;), const size_t &amp;nEllipsePoints=30)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Generates a string with the MATLAB commands required to plot an confidence interval (ellipse) for a 2D Gaussian ('float' version).  <a href="group__stats__grp.html#ga9cbd4ab1844fcd749cfafff8a5f592a1"></a><br/></td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class MATRIXLIKE1 , class MATRIXLIKE2 &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__container__ops__grp.html#ga65a4cb93289c9373a8830102a2296e2d">mrpt::math::homogeneousMatrixInverse</a> (const MATRIXLIKE1 &amp;M, MATRIXLIKE2 &amp;out_inverse_M)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Efficiently compute the inverse of a 4x4 homogeneous matrix by only transposing the rotation 3x3 part and solving the translation with dot products.  <a href="group__container__ops__grp.html#ga65a4cb93289c9373a8830102a2296e2d"></a><br/></td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class IN_ROTMATRIX , class IN_XYZ , class OUT_ROTMATRIX , class OUT_XYZ &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__container__ops__grp.html#ga44be80165962896f21d32ee9a2098ff0">mrpt::math::homogeneousMatrixInverse</a> (const IN_ROTMATRIX &amp;in_R, const IN_XYZ &amp;in_xyz, OUT_ROTMATRIX &amp;out_R, OUT_XYZ &amp;out_xyz)</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class MATRIXLIKE &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__container__ops__grp.html#gab0feb72f7a668233a13350ecf4a942a3">mrpt::math::homogeneousMatrixInverse</a> (MATRIXLIKE &amp;M)</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class VECTORLIKE , class VECTORLIKE2 , class VECTORLIKE3 , class MATRIXLIKE , class USERPARAM &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__container__ops__grp.html#ga13e2e339d944b37f2386fc4e0bb56935">mrpt::math::estimateJacobian</a> (const VECTORLIKE &amp;x, void(*functor)(const VECTORLIKE &amp;x, const USERPARAM &amp;y, VECTORLIKE3 &amp;out), const VECTORLIKE2 &amp;increments, const USERPARAM &amp;userParam, MATRIXLIKE &amp;out_Jacobian)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Estimate the Jacobian of a multi-dimensional function around a point "x", using finite differences of a given size in each input dimension.  <a href="group__container__ops__grp.html#ga13e2e339d944b37f2386fc4e0bb56935"></a><br/></td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;typename T , typename At , size_t N&gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classstd_1_1vector.html">std::vector</a>&lt; T &gt; &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__container__ops__grp.html#ga3f52023c60b58a0d49abca36d14d880e">mrpt::math::loadVector</a> (<a class="el" href="classstd_1_1vector.html">std::vector</a>&lt; T &gt; &amp;v, At(&amp;theArray)[N])</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Assignment operator for initializing a <a class="el" href="classstd_1_1vector.html" title="STL class.">std::vector</a> from a C array (The vector will be automatically set to the correct size).  <a href="group__container__ops__grp.html#ga3f52023c60b58a0d49abca36d14d880e"></a><br/></td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;typename Derived , typename At , size_t N&gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="struct_eigen_1_1_eigen_base.html">Eigen::EigenBase</a>&lt; Derived &gt; &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__container__ops__grp.html#ga37ffa47225a54cc4effc4b666a99bf8c">mrpt::math::loadVector</a> (<a class="el" href="struct_eigen_1_1_eigen_base.html">Eigen::EigenBase</a>&lt; Derived &gt; &amp;v, At(&amp;theArray)[N])</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__container__ops__grp.html#ga6b94c41c7406e0d606111a7b771b72e0">mrpt::math::unwrap2PiSequence</a> (vector_double &amp;x)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Modify a sequence of angle values such as no consecutive values have a jump larger than PI in absolute value.  <a href="group__container__ops__grp.html#ga6b94c41c7406e0d606111a7b771b72e0"></a><br/></td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;size_t N, typename T &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classstd_1_1vector.html">std::vector</a>&lt; T &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__container__ops__grp.html#gae0851fd327043ae2a7054c33a3bbfcde">mrpt::math::make_vector</a> (const T val1,...)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A versatile template to build vectors on-the-fly in a style close to MATLAB's v=[a b c d ...] The first argument of the template is the vector length, and the second the type of the numbers.  <a href="group__container__ops__grp.html#gae0851fd327043ae2a7054c33a3bbfcde"></a><br/></td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class T , class VECTOR &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">T&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__interpolation__grp.html#gaeb1c0badda6737f8362ce902e10961dc">mrpt::math::interpolate</a> (const T &amp;x, const VECTOR &amp;ys, const T &amp;x0, const T &amp;x1)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Interpolate a data sequence "ys" ranging from "x0" to "x1" (equally spaced), to obtain the approximation of the sequence at the point "x".  <a href="group__interpolation__grp.html#gaeb1c0badda6737f8362ce902e10961dc"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double BASE_IMPEXP&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__interpolation__grp.html#ga199ae09bf97644048fe53590964abd1b">mrpt::math::interpolate2points</a> (const double x, const double x0, const double y0, const double x1, const double y1, bool wrap2pi=false)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Linear interpolation/extrapolation: evaluates at "x" the line (x0,y0)-(x1,y1).  <a href="group__interpolation__grp.html#ga199ae09bf97644048fe53590964abd1b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double BASE_IMPEXP&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__interpolation__grp.html#gadab1f3df3e592268d89214b345f7f816">mrpt::math::spline</a> (const double t, const vector_double &amp;x, const vector_double &amp;y, bool wrap2pi=false)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Interpolates the value of a function in a point "t" given 4 SORTED points where "t" is between the two middle points If wrap2pi is true, output "y" values are wrapped to ]-pi,pi] (It is assumed that input "y" values already are in the correct range).  <a href="group__interpolation__grp.html#gadab1f3df3e592268d89214b345f7f816"></a><br/></td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;typename NUMTYPE , class VECTORLIKE &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">NUMTYPE&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__interpolation__grp.html#ga1e31a6d4b982eee16bab9ae66c0ee042">mrpt::math::leastSquareLinearFit</a> (const NUMTYPE t, const VECTORLIKE &amp;x, const VECTORLIKE &amp;y, bool wrap2pi=false)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Interpolates or extrapolates using a least-square linear fit of the set of values "x" and "y", evaluated at a single point "t".  <a href="group__interpolation__grp.html#ga1e31a6d4b982eee16bab9ae66c0ee042"></a><br/></td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class VECTORLIKE1 , class VECTORLIKE2 , class VECTORLIKE3 &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__interpolation__grp.html#ga4939a6f537e90519df7149c550ed71c8">mrpt::math::leastSquareLinearFit</a> (const VECTORLIKE1 &amp;ts, VECTORLIKE2 &amp;outs, const VECTORLIKE3 &amp;x, const VECTORLIKE3 &amp;y, bool wrap2pi=false)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Interpolates or extrapolates using a least-square linear fit of the set of values "x" and "y", evaluated at a sequence of points "ts" and returned at "outs".  <a href="group__interpolation__grp.html#ga4939a6f537e90519df7149c550ed71c8"></a><br/></td></tr>
<tr><td colspan="2"><div class="groupHeader">Probability density distributions (pdf) distance metrics</div></td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class VECTORLIKE1 , class VECTORLIKE2 , class MAT &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="eigen__plugins_8h.html#afd07186978da46f9908364e389f8a403">VECTORLIKE1::value_type</a>&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__stats__grp.html#ga83890daff9ce929f7acd216a5a248842">mrpt::math::mahalanobisDistance2</a> (const VECTORLIKE1 &amp;X, const VECTORLIKE2 &amp;MU, const MAT &amp;COV)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes the squared mahalanobis distance of a vector X given the mean MU and the covariance *inverse* COV_inv </p>
<p class="formulaDsp">
<img class="formulaDsp" alt="\[ d^2 = (X-MU)^\top \Sigma^{-1} (X-MU) \]" src="form_39.png"/>
</p>
<p>.  <a href="group__stats__grp.html#ga83890daff9ce929f7acd216a5a248842"></a><br/></td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class VECTORLIKE1 , class VECTORLIKE2 , class MAT &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="eigen__plugins_8h.html#afd07186978da46f9908364e389f8a403">VECTORLIKE1::value_type</a>&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__stats__grp.html#ga9f4f0d1f3c898ec9b9017aa4632ff977">mrpt::math::mahalanobisDistance</a> (const VECTORLIKE1 &amp;X, const VECTORLIKE2 &amp;MU, const MAT &amp;COV)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes the mahalanobis distance of a vector X given the mean MU and the covariance *inverse* COV_inv </p>
<p class="formulaDsp">
<img class="formulaDsp" alt="\[ d = \sqrt{ (X-MU)^\top \Sigma^{-1} (X-MU) } \]" src="form_40.png"/>
</p>
<p>.  <a href="group__stats__grp.html#ga9f4f0d1f3c898ec9b9017aa4632ff977"></a><br/></td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class VECTORLIKE , class MAT1 , class MAT2 , class MAT3 &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="eigen__plugins_8h.html#afd07186978da46f9908364e389f8a403">VECTORLIKE::value_type</a>&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__stats__grp.html#ga4bdd42229480454da8a1ffa6c31266f4">mrpt::math::mahalanobisDistance2</a> (const VECTORLIKE &amp;mean_diffs, const MAT1 &amp;COV1, const MAT2 &amp;COV2, const MAT3 &amp;CROSS_COV12)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes the squared mahalanobis distance between two *non-independent* Gaussians, given the two covariance matrices and the vector with the difference of their means.  <a href="group__stats__grp.html#ga4bdd42229480454da8a1ffa6c31266f4"></a><br/></td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class VECTORLIKE , class MAT1 , class MAT2 , class MAT3 &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="eigen__plugins_8h.html#afd07186978da46f9908364e389f8a403">VECTORLIKE::value_type</a>&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__stats__grp.html#gad92bbaa6ff21979851cd068b575b1cc4">mrpt::math::mahalanobisDistance</a> (const VECTORLIKE &amp;mean_diffs, const MAT1 &amp;COV1, const MAT2 &amp;COV2, const MAT3 &amp;CROSS_COV12)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes the mahalanobis distance between two *non-independent* Gaussians (or independent if CROSS_COV12=NULL), given the two covariance matrices and the vector with the difference of their means.  <a href="group__stats__grp.html#gad92bbaa6ff21979851cd068b575b1cc4"></a><br/></td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class VECTORLIKE , class MATRIXLIKE &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="eigen__plugins_8h.html#afd07186978da46f9908364e389f8a403">MATRIXLIKE::value_type</a>&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__stats__grp.html#ga6d3521a4e3b2ff5d55d8762108e6c8e4">mrpt::math::mahalanobisDistance2</a> (const VECTORLIKE &amp;delta_mu, const MATRIXLIKE &amp;cov)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes the squared mahalanobis distance between a point and a Gaussian, given the covariance matrix and the vector with the difference between the mean and the point.  <a href="group__stats__grp.html#ga6d3521a4e3b2ff5d55d8762108e6c8e4"></a><br/></td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class VECTORLIKE , class MATRIXLIKE &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="eigen__plugins_8h.html#afd07186978da46f9908364e389f8a403">MATRIXLIKE::value_type</a>&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__stats__grp.html#ga90f3038071d69c2b7dced52af44e4944">mrpt::math::mahalanobisDistance</a> (const VECTORLIKE &amp;delta_mu, const MATRIXLIKE &amp;cov)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes the mahalanobis distance between a point and a Gaussian, given the covariance matrix and the vector with the difference between the mean and the point.  <a href="group__stats__grp.html#ga90f3038071d69c2b7dced52af44e4944"></a><br/></td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">T&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__stats__grp.html#ga668be07e32223bceb4ff0100f8f860fc">mrpt::math::productIntegralTwoGaussians</a> (const <a class="el" href="classstd_1_1vector.html">std::vector</a>&lt; T &gt; &amp;mean_diffs, const CMatrixTemplateNumeric&lt; T &gt; &amp;COV1, const CMatrixTemplateNumeric&lt; T &gt; &amp;COV2)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes the integral of the product of two Gaussians, with means separated by "mean_diffs" and covariances "COV1" and "COV2".  <a href="group__stats__grp.html#ga668be07e32223bceb4ff0100f8f860fc"></a><br/></td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;typename T , size_t DIM&gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">T&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__stats__grp.html#gaa31d217d82b559612958855947f79084">mrpt::math::productIntegralTwoGaussians</a> (const <a class="el" href="classstd_1_1vector.html">std::vector</a>&lt; T &gt; &amp;mean_diffs, const CMatrixFixedNumeric&lt; T, DIM, DIM &gt; &amp;COV1, const CMatrixFixedNumeric&lt; T, DIM, DIM &gt; &amp;COV2)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes the integral of the product of two Gaussians, with means separated by "mean_diffs" and covariances "COV1" and "COV2".  <a href="group__stats__grp.html#gaa31d217d82b559612958855947f79084"></a><br/></td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;typename T , class VECLIKE , class MATLIKE1 , class MATLIKE2 &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__stats__grp.html#ga0080dc1b4ea2d89d56fdde37f2ada9bf">mrpt::math::productIntegralAndMahalanobisTwoGaussians</a> (const VECLIKE &amp;mean_diffs, const MATLIKE1 &amp;COV1, const MATLIKE2 &amp;COV2, T &amp;maha2_out, T &amp;intprod_out, const MATLIKE1 *CROSS_COV12=NULL)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes both, the integral of the product of two Gaussians and their square Mahalanobis distance.  <a href="group__stats__grp.html#ga0080dc1b4ea2d89d56fdde37f2ada9bf"></a><br/></td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;typename T , class VECLIKE , class MATRIXLIKE &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__stats__grp.html#ga69052bc18d0891a7b1d9fb02ab525e3b">mrpt::math::mahalanobisDistance2AndLogPDF</a> (const VECLIKE &amp;diff_mean, const MATRIXLIKE &amp;cov, T &amp;maha2_out, T &amp;log_pdf_out)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes both, the logarithm of the PDF and the square Mahalanobis distance between a point (given by its difference wrt the mean) and a Gaussian.  <a href="group__stats__grp.html#ga69052bc18d0891a7b1d9fb02ab525e3b"></a><br/></td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;typename T , class VECLIKE , class MATRIXLIKE &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__stats__grp.html#gaf3c8a238490b9bfcaf2f2631fb7c2ed2">mrpt::math::mahalanobisDistance2AndPDF</a> (const VECLIKE &amp;diff_mean, const MATRIXLIKE &amp;cov, T &amp;maha2_out, T &amp;pdf_out)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes both, the PDF and the square Mahalanobis distance between a point (given by its difference wrt the mean) and a Gaussian.  <a href="group__stats__grp.html#gaf3c8a238490b9bfcaf2f2631fb7c2ed2"></a><br/></td></tr>
</table>
</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>