mirror of https://github.com/ArduPilot/ardupilot
1109 lines
57 KiB
HTML
1109 lines
57 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<title>ArduPilot Libraries: Vector< dataType, sumType > Class Template Reference</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javaScript" src="search/search.js"></script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
|
|
</head>
|
|
<body onload='searchBox.OnSelectItem(0);'>
|
|
<!-- Generated by Doxygen 1.7.1 -->
|
|
<div class="navigation" id="top">
|
|
<div class="tabs">
|
|
<ul class="tablist">
|
|
<li><a href="main.html"><span>Main Page</span></a></li>
|
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
|
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
|
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
|
<li><a href="files.html"><span>Files</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="tabs2">
|
|
<ul class="tablist">
|
|
<li><a href="annotated.html"><span>Class List</span></a></li>
|
|
<li><a href="classes.html"><span>Class Index</span></a></li>
|
|
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
|
|
<li><a href="functions.html"><span>Class Members</span></a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#pub-methods">Public Member Functions</a> |
|
|
<a href="#pub-static-methods">Static Public Member Functions</a> </div>
|
|
<div class="headertitle">
|
|
<h1>Vector< dataType, sumType > Class Template Reference</h1> </div>
|
|
</div>
|
|
<div class="contents">
|
|
<!-- doxytag: class="Vector" -->
|
|
<p><code>#include <<a class="el" href="_a_p___vector_8h_source.html">AP_Vector.h</a>></code></p>
|
|
<div class="dynheader">
|
|
Collaboration diagram for Vector< dataType, sumType >:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="class_vector__coll__graph.png" border="0" usemap="#_vector_3_01data_type_00_01sum_type_01_4_coll__map" alt="Collaboration graph"/></div>
|
|
<map name="_vector_3_01data_type_00_01sum_type_01_4_coll__map" id="_vector_3_01data_type_00_01sum_type_01_4_coll__map">
|
|
</map>
|
|
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
|
|
|
|
<p><a href="class_vector-members.html">List of all members.</a></p>
|
|
<table class="memberdecls">
|
|
<tr><td colspan="2"><h2><a name="pub-methods"></a>
|
|
Public Member Functions</h2></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector.html#a0b683b46cb6c235129883e0e24bebbdf">Vector</a> (const size_t &size=0, const size_t &extraAllocationSize=0)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector.html#ae12ee25a489edc346f4c84f19a83120f">Vector</a> (const dataType &a, const dataType &b, const dataType &c)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector.html#ac3832c3a2b82a06a19ad1334fadf5165">Vector</a> (const dataType *array, const size_t &size, const size_t &extraAllocationSize=0)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector.html#ab98231ac7eec5b736d5c1e57769ede43">Vector</a> (const <a class="el" href="class_vector.html">Vector</a> &v)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_vector.html">Vector</a>< float > </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector.html#a6fc9fab03dcf58edb5b7532ba69fd0d3">toFloat</a> () const </td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector.html#aafb296adf94b110a6753b5be3ce4bf26">~Vector</a> ()</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector.html#ae5a2e14249da306b6a7e9c43063a1dc2">empty</a> ()</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector.html#ac1bf7c63bcdc8714cb0f6c48e4e8d532">setSize</a> (const size_t &n)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">const size_t & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector.html#a63d372a3caf5492712708ca15da7ac1c">getSize</a> () const </td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector.html#a6d941cf0897fdda0bfdaf0cf278b7a13">insert</a> (const size_t index, const dataType value)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector.html#aaff5cbc49982240fe71d61d5f14593db">remove</a> (const size_t &index)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector.html#ad58756ac50551a81d7c2b0d8ae075f76">push_back</a> (const dataType &value)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">dataType & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector.html#ac6d818aebc29178bd461c4c7cd309917">pop_front</a> ()</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector.html#a069923e7bfc5818d2b4df5efcc04cf9f">push_back</a> (const <a class="el" href="class_vector.html">Vector</a> &vector)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">const dataType & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector.html#a30c9d0f4ee70d9d9366f67e12d3be1de">operator[]</a> (const size_t &index) const </td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">dataType & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector.html#ab6db0743ea810c57afa219534b79a290">operator[]</a> (const size_t &index)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_vector.html">Vector</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector.html#ad604a42ae70c3d75c5cec131e2fb052f">operator=</a> (const <a class="el" href="class_vector.html">Vector</a> &v)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">const bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector.html#ac5e1fa5bc329f5ab623e55b39af6404e">operator==</a> (const <a class="el" href="class_vector.html">Vector</a> &v) const </td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">const bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector.html#a018b827564ecdaf848076076e0ad31f2">operator!=</a> (const <a class="el" href="class_vector.html">Vector</a> &v) const </td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_vector.html">Vector</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector.html#af674c64ea09726ff81e576d8c360559d">operator+</a> (const <a class="el" href="class_vector.html">Vector</a> &v) const </td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_vector.html">Vector</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector.html#aa6a057184b1399e62215caf561eaf270">operator+</a> (const dataType &s) const </td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_vector.html">Vector</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector.html#a1efe49318d30e8d1a56868807f73fa23">operator-</a> (const <a class="el" href="class_vector.html">Vector</a> &v) const </td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_vector.html">Vector</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector.html#ad00e9abd72a105d39429e7dc526f8eb1">operator-</a> () const </td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_vector.html">Vector</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector.html#ac7e1fec96d597561713a9ddaafea84b3">operator+=</a> (const <a class="el" href="class_vector.html">Vector</a> &v)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_vector.html">Vector</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector.html#a7769a8576dfc8b679fb31fe0d1f290c9">operator-=</a> (const <a class="el" href="class_vector.html">Vector</a> &v)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_vector.html">Vector</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector.html#a471a680bfbb8f6d87143a4bd19cb8840">operator*</a> (const <a class="el" href="class_vector.html">Vector</a> &v) const </td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_vector.html">Vector</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector.html#a5ee64b303ca51469bb1c8da781ed2c06">operator*</a> (const dataType &s) const </td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_vector.html">Vector</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector.html#a329a22f4ce2e8835a46addb83179dfd1">operator/</a> (const dataType &s) const </td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_vector.html">Vector</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector.html#ad1db04e401dd867409ab84af103c669e">operator/</a> (const <a class="el" href="class_vector.html">Vector</a> &v) const </td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_vector.html">Vector</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector.html#ab157df8ad097737c75381f6bf63116cd">operator/=</a> (const dataType &s)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_vector.html">Vector</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector.html#a2b7b97c3a63b404d8d61406fd3055fca">operator*=</a> (const dataType &s)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_vector.html">Vector</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector.html#a3e700e6d260657cda07f54029b82a635">cross</a> (const <a class="el" href="class_vector.html">Vector</a> &v) const </td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">const dataType </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector.html#ab5026b7c345893b91d51b91860c39c74">dot</a> (const <a class="el" href="class_vector.html">Vector</a> &v) const </td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">const dataType </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector.html#a22bcdd41ea9e4b4a0b9bdaf64c430462">norm</a> () const </td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_vector.html">Vector</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector.html#a9f16e541dbfa9883e1c680c2aa01d886">unit</a> () const </td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">const sumType </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector.html#a400ef3e50ea9c4ef48f7805ed1c107fc">sum</a> (const size_t &start=0, const int &end=-1) const </td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector.html#a69026b4d8d5b1604bb13fc92320f0352">sumFletcher</a> (uint8_t &CK_A, uint8_t &CK_B, const size_t &start=0, const int &end=-1) const </td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_vector.html">Vector</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector.html#a4a9e2453a0b30acb4eb4f4b3a45de02c">range</a> (const size_t &start, const size_t &stop) const </td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">const dataType * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector.html#afae3db149539786d6b89faba6922b66b">toArray</a> () const </td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector.html#a4b254d55be745ea3ba1728fcc1a83241">print</a> (<a class="el" href="class_stream.html">Stream</a> &serial=<a class="el" href="_fast_serial_8h.html#a8e6f49b84135f0158fe250cb7338ddad">Serial</a>, const char *msg="", size_t format=0) const </td></tr>
|
|
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
|
|
Static Public Member Functions</h2></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector.html#a0b15da2268deaae3dd8dee848dac434d">selfTest</a> (<a class="el" href="class_stream.html">Stream</a> &serial=<a class="el" href="_fast_serial_8h.html#a8e6f49b84135f0158fe250cb7338ddad">Serial</a>)</td></tr>
|
|
</table>
|
|
<hr/><a name="_details"></a><h2>Detailed Description</h2>
|
|
<h3>template<class dataType, class sumType = dataType><br/>
|
|
class Vector< dataType, sumType ></h3>
|
|
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___vector_8h_source.html#l00032">32</a> of file <a class="el" href="_a_p___vector_8h_source.html">AP_Vector.h</a>.</p>
|
|
<hr/><h2>Constructor & Destructor Documentation</h2>
|
|
<a class="anchor" id="a0b683b46cb6c235129883e0e24bebbdf"></a><!-- doxytag: member="Vector::Vector" ref="a0b683b46cb6c235129883e0e24bebbdf" args="(const size_t &size=0, const size_t &extraAllocationSize=0)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class dataType, class sumType = dataType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="class_vector.html">Vector</a>< dataType, sumType >::<a class="el" href="class_vector.html">Vector</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const size_t & </td>
|
|
<td class="paramname"> <em>size</em> = <code>0</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const size_t & </td>
|
|
<td class="paramname"> <em>extraAllocationSize</em> = <code>0</code></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<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="_a_p___vector_8h_source.html#l00041">41</a> of file <a class="el" href="_a_p___vector_8h_source.html">AP_Vector.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ae12ee25a489edc346f4c84f19a83120f"></a><!-- doxytag: member="Vector::Vector" ref="ae12ee25a489edc346f4c84f19a83120f" args="(const dataType &a, const dataType &b, const dataType &c)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class dataType, class sumType = dataType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="class_vector.html">Vector</a>< dataType, sumType >::<a class="el" href="class_vector.html">Vector</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const dataType & </td>
|
|
<td class="paramname"> <em>a</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const dataType & </td>
|
|
<td class="paramname"> <em>b</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const dataType & </td>
|
|
<td class="paramname"> <em>c</em></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<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="_a_p___vector_8h_source.html#l00045">45</a> of file <a class="el" href="_a_p___vector_8h_source.html">AP_Vector.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ac3832c3a2b82a06a19ad1334fadf5165"></a><!-- doxytag: member="Vector::Vector" ref="ac3832c3a2b82a06a19ad1334fadf5165" args="(const dataType *array, const size_t &size, const size_t &extraAllocationSize=0)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class dataType, class sumType = dataType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="class_vector.html">Vector</a>< dataType, sumType >::<a class="el" href="class_vector.html">Vector</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const dataType * </td>
|
|
<td class="paramname"> <em>array</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const size_t & </td>
|
|
<td class="paramname"> <em>size</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const size_t & </td>
|
|
<td class="paramname"> <em>extraAllocationSize</em> = <code>0</code></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<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="_a_p___vector_8h_source.html#l00053">53</a> of file <a class="el" href="_a_p___vector_8h_source.html">AP_Vector.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ab98231ac7eec5b736d5c1e57769ede43"></a><!-- doxytag: member="Vector::Vector" ref="ab98231ac7eec5b736d5c1e57769ede43" args="(const Vector &v)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class dataType, class sumType = dataType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="class_vector.html">Vector</a>< dataType, sumType >::<a class="el" href="class_vector.html">Vector</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="class_vector.html">Vector</a>< dataType, sumType > & </td>
|
|
<td class="paramname"> <em>v</em></td>
|
|
<td> ) </td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___vector_8h_source.html#l00059">59</a> of file <a class="el" href="_a_p___vector_8h_source.html">AP_Vector.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aafb296adf94b110a6753b5be3ce4bf26"></a><!-- doxytag: member="Vector::~Vector" ref="aafb296adf94b110a6753b5be3ce4bf26" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class dataType, class sumType = dataType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual <a class="el" href="class_vector.html">Vector</a>< dataType, sumType >::~<a class="el" href="class_vector.html">Vector</a> </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td>
|
|
<td> ) </td>
|
|
<td><code> [inline, virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___vector_8h_source.html#l00072">72</a> of file <a class="el" href="_a_p___vector_8h_source.html">AP_Vector.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/><h2>Member Function Documentation</h2>
|
|
<a class="anchor" id="a3e700e6d260657cda07f54029b82a635"></a><!-- doxytag: member="Vector::cross" ref="a3e700e6d260657cda07f54029b82a635" args="(const Vector &v) const " -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class dataType, class sumType = dataType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const <a class="el" href="class_vector.html">Vector</a> <a class="el" href="class_vector.html">Vector</a>< dataType, sumType >::cross </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="class_vector.html">Vector</a>< dataType, sumType > & </td>
|
|
<td class="paramname"> <em>v</em></td>
|
|
<td> ) </td>
|
|
<td> const<code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___vector_8h_source.html#l00279">279</a> of file <a class="el" href="_a_p___vector_8h_source.html">AP_Vector.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ab5026b7c345893b91d51b91860c39c74"></a><!-- doxytag: member="Vector::dot" ref="ab5026b7c345893b91d51b91860c39c74" args="(const Vector &v) const " -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class dataType, class sumType = dataType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const dataType <a class="el" href="class_vector.html">Vector</a>< dataType, sumType >::dot </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="class_vector.html">Vector</a>< dataType, sumType > & </td>
|
|
<td class="paramname"> <em>v</em></td>
|
|
<td> ) </td>
|
|
<td> const<code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___vector_8h_source.html#l00290">290</a> of file <a class="el" href="_a_p___vector_8h_source.html">AP_Vector.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ae5a2e14249da306b6a7e9c43063a1dc2"></a><!-- doxytag: member="Vector::empty" ref="ae5a2e14249da306b6a7e9c43063a1dc2" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class dataType, class sumType = dataType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void <a class="el" href="class_vector.html">Vector</a>< dataType, sumType >::empty </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td>
|
|
<td> ) </td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___vector_8h_source.html#l00075">75</a> of file <a class="el" href="_a_p___vector_8h_source.html">AP_Vector.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a63d372a3caf5492712708ca15da7ac1c"></a><!-- doxytag: member="Vector::getSize" ref="a63d372a3caf5492712708ca15da7ac1c" args="() const " -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class dataType, class sumType = dataType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const size_t& <a class="el" href="class_vector.html">Vector</a>< dataType, sumType >::getSize </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td>
|
|
<td> ) </td>
|
|
<td> const<code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___vector_8h_source.html#l00099">99</a> of file <a class="el" href="_a_p___vector_8h_source.html">AP_Vector.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a6d941cf0897fdda0bfdaf0cf278b7a13"></a><!-- doxytag: member="Vector::insert" ref="a6d941cf0897fdda0bfdaf0cf278b7a13" args="(const size_t index, const dataType value)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class dataType, class sumType = dataType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void <a class="el" href="class_vector.html">Vector</a>< dataType, sumType >::insert </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const size_t </td>
|
|
<td class="paramname"> <em>index</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const dataType </td>
|
|
<td class="paramname"> <em>value</em></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<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="_a_p___vector_8h_source.html#l00103">103</a> of file <a class="el" href="_a_p___vector_8h_source.html">AP_Vector.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a22bcdd41ea9e4b4a0b9bdaf64c430462"></a><!-- doxytag: member="Vector::norm" ref="a22bcdd41ea9e4b4a0b9bdaf64c430462" args="() const " -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class dataType, class sumType = dataType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const dataType <a class="el" href="class_vector.html">Vector</a>< dataType, sumType >::norm </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td>
|
|
<td> ) </td>
|
|
<td> const<code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___vector_8h_source.html#l00299">299</a> of file <a class="el" href="_a_p___vector_8h_source.html">AP_Vector.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a018b827564ecdaf848076076e0ad31f2"></a><!-- doxytag: member="Vector::operator!=" ref="a018b827564ecdaf848076076e0ad31f2" args="(const Vector &v) const " -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class dataType, class sumType = dataType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const bool <a class="el" href="class_vector.html">Vector</a>< dataType, sumType >::operator!= </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="class_vector.html">Vector</a>< dataType, sumType > & </td>
|
|
<td class="paramname"> <em>v</em></td>
|
|
<td> ) </td>
|
|
<td> const<code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___vector_8h_source.html#l00179">179</a> of file <a class="el" href="_a_p___vector_8h_source.html">AP_Vector.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a471a680bfbb8f6d87143a4bd19cb8840"></a><!-- doxytag: member="Vector::operator*" ref="a471a680bfbb8f6d87143a4bd19cb8840" args="(const Vector &v) const " -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class dataType, class sumType = dataType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const <a class="el" href="class_vector.html">Vector</a> <a class="el" href="class_vector.html">Vector</a>< dataType, sumType >::operator* </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="class_vector.html">Vector</a>< dataType, sumType > & </td>
|
|
<td class="paramname"> <em>v</em></td>
|
|
<td> ) </td>
|
|
<td> const<code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___vector_8h_source.html#l00237">237</a> of file <a class="el" href="_a_p___vector_8h_source.html">AP_Vector.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a5ee64b303ca51469bb1c8da781ed2c06"></a><!-- doxytag: member="Vector::operator*" ref="a5ee64b303ca51469bb1c8da781ed2c06" args="(const dataType &s) const " -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class dataType, class sumType = dataType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const <a class="el" href="class_vector.html">Vector</a> <a class="el" href="class_vector.html">Vector</a>< dataType, sumType >::operator* </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const dataType & </td>
|
|
<td class="paramname"> <em>s</em></td>
|
|
<td> ) </td>
|
|
<td> const<code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___vector_8h_source.html#l00245">245</a> of file <a class="el" href="_a_p___vector_8h_source.html">AP_Vector.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a2b7b97c3a63b404d8d61406fd3055fca"></a><!-- doxytag: member="Vector::operator*=" ref="a2b7b97c3a63b404d8d61406fd3055fca" args="(const dataType &s)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class dataType, class sumType = dataType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="class_vector.html">Vector</a>& <a class="el" href="class_vector.html">Vector</a>< dataType, sumType >::operator*= </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const dataType & </td>
|
|
<td class="paramname"> <em>s</em></td>
|
|
<td> ) </td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___vector_8h_source.html#l00273">273</a> of file <a class="el" href="_a_p___vector_8h_source.html">AP_Vector.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aa6a057184b1399e62215caf561eaf270"></a><!-- doxytag: member="Vector::operator+" ref="aa6a057184b1399e62215caf561eaf270" args="(const dataType &s) const " -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class dataType, class sumType = dataType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const <a class="el" href="class_vector.html">Vector</a> <a class="el" href="class_vector.html">Vector</a>< dataType, sumType >::operator+ </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const dataType & </td>
|
|
<td class="paramname"> <em>s</em></td>
|
|
<td> ) </td>
|
|
<td> const<code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___vector_8h_source.html#l00193">193</a> of file <a class="el" href="_a_p___vector_8h_source.html">AP_Vector.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="af674c64ea09726ff81e576d8c360559d"></a><!-- doxytag: member="Vector::operator+" ref="af674c64ea09726ff81e576d8c360559d" args="(const Vector &v) const " -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class dataType, class sumType = dataType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const <a class="el" href="class_vector.html">Vector</a> <a class="el" href="class_vector.html">Vector</a>< dataType, sumType >::operator+ </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="class_vector.html">Vector</a>< dataType, sumType > & </td>
|
|
<td class="paramname"> <em>v</em></td>
|
|
<td> ) </td>
|
|
<td> const<code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___vector_8h_source.html#l00183">183</a> of file <a class="el" href="_a_p___vector_8h_source.html">AP_Vector.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ac7e1fec96d597561713a9ddaafea84b3"></a><!-- doxytag: member="Vector::operator+=" ref="ac7e1fec96d597561713a9ddaafea84b3" args="(const Vector &v)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class dataType, class sumType = dataType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="class_vector.html">Vector</a>& <a class="el" href="class_vector.html">Vector</a>< dataType, sumType >::operator+= </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="class_vector.html">Vector</a>< dataType, sumType > & </td>
|
|
<td class="paramname"> <em>v</em></td>
|
|
<td> ) </td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___vector_8h_source.html#l00217">217</a> of file <a class="el" href="_a_p___vector_8h_source.html">AP_Vector.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a1efe49318d30e8d1a56868807f73fa23"></a><!-- doxytag: member="Vector::operator-" ref="a1efe49318d30e8d1a56868807f73fa23" args="(const Vector &v) const " -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class dataType, class sumType = dataType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const <a class="el" href="class_vector.html">Vector</a> <a class="el" href="class_vector.html">Vector</a>< dataType, sumType >::operator- </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="class_vector.html">Vector</a>< dataType, sumType > & </td>
|
|
<td class="paramname"> <em>v</em></td>
|
|
<td> ) </td>
|
|
<td> const<code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___vector_8h_source.html#l00200">200</a> of file <a class="el" href="_a_p___vector_8h_source.html">AP_Vector.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ad00e9abd72a105d39429e7dc526f8eb1"></a><!-- doxytag: member="Vector::operator-" ref="ad00e9abd72a105d39429e7dc526f8eb1" args="() const " -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class dataType, class sumType = dataType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const <a class="el" href="class_vector.html">Vector</a> <a class="el" href="class_vector.html">Vector</a>< dataType, sumType >::operator- </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td>
|
|
<td> ) </td>
|
|
<td> const<code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___vector_8h_source.html#l00210">210</a> of file <a class="el" href="_a_p___vector_8h_source.html">AP_Vector.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a7769a8576dfc8b679fb31fe0d1f290c9"></a><!-- doxytag: member="Vector::operator-=" ref="a7769a8576dfc8b679fb31fe0d1f290c9" args="(const Vector &v)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class dataType, class sumType = dataType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="class_vector.html">Vector</a>& <a class="el" href="class_vector.html">Vector</a>< dataType, sumType >::operator-= </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="class_vector.html">Vector</a>< dataType, sumType > & </td>
|
|
<td class="paramname"> <em>v</em></td>
|
|
<td> ) </td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___vector_8h_source.html#l00227">227</a> of file <a class="el" href="_a_p___vector_8h_source.html">AP_Vector.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a329a22f4ce2e8835a46addb83179dfd1"></a><!-- doxytag: member="Vector::operator/" ref="a329a22f4ce2e8835a46addb83179dfd1" args="(const dataType &s) const " -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class dataType, class sumType = dataType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const <a class="el" href="class_vector.html">Vector</a> <a class="el" href="class_vector.html">Vector</a>< dataType, sumType >::operator/ </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const dataType & </td>
|
|
<td class="paramname"> <em>s</em></td>
|
|
<td> ) </td>
|
|
<td> const<code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___vector_8h_source.html#l00252">252</a> of file <a class="el" href="_a_p___vector_8h_source.html">AP_Vector.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ad1db04e401dd867409ab84af103c669e"></a><!-- doxytag: member="Vector::operator/" ref="ad1db04e401dd867409ab84af103c669e" args="(const Vector &v) const " -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class dataType, class sumType = dataType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const <a class="el" href="class_vector.html">Vector</a> <a class="el" href="class_vector.html">Vector</a>< dataType, sumType >::operator/ </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="class_vector.html">Vector</a>< dataType, sumType > & </td>
|
|
<td class="paramname"> <em>v</em></td>
|
|
<td> ) </td>
|
|
<td> const<code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___vector_8h_source.html#l00259">259</a> of file <a class="el" href="_a_p___vector_8h_source.html">AP_Vector.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ab157df8ad097737c75381f6bf63116cd"></a><!-- doxytag: member="Vector::operator/=" ref="ab157df8ad097737c75381f6bf63116cd" args="(const dataType &s)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class dataType, class sumType = dataType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="class_vector.html">Vector</a>& <a class="el" href="class_vector.html">Vector</a>< dataType, sumType >::operator/= </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const dataType & </td>
|
|
<td class="paramname"> <em>s</em></td>
|
|
<td> ) </td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___vector_8h_source.html#l00267">267</a> of file <a class="el" href="_a_p___vector_8h_source.html">AP_Vector.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ad604a42ae70c3d75c5cec131e2fb052f"></a><!-- doxytag: member="Vector::operator=" ref="ad604a42ae70c3d75c5cec131e2fb052f" args="(const Vector &v)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class dataType, class sumType = dataType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="class_vector.html">Vector</a>& <a class="el" href="class_vector.html">Vector</a>< dataType, sumType >::operator= </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="class_vector.html">Vector</a>< dataType, sumType > & </td>
|
|
<td class="paramname"> <em>v</em></td>
|
|
<td> ) </td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___vector_8h_source.html#l00162">162</a> of file <a class="el" href="_a_p___vector_8h_source.html">AP_Vector.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ac5e1fa5bc329f5ab623e55b39af6404e"></a><!-- doxytag: member="Vector::operator==" ref="ac5e1fa5bc329f5ab623e55b39af6404e" args="(const Vector &v) const " -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class dataType, class sumType = dataType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const bool <a class="el" href="class_vector.html">Vector</a>< dataType, sumType >::operator== </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="class_vector.html">Vector</a>< dataType, sumType > & </td>
|
|
<td class="paramname"> <em>v</em></td>
|
|
<td> ) </td>
|
|
<td> const<code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___vector_8h_source.html#l00169">169</a> of file <a class="el" href="_a_p___vector_8h_source.html">AP_Vector.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a30c9d0f4ee70d9d9366f67e12d3be1de"></a><!-- doxytag: member="Vector::operator[]" ref="a30c9d0f4ee70d9d9366f67e12d3be1de" args="(const size_t &index) const " -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class dataType, class sumType = dataType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const dataType& <a class="el" href="class_vector.html">Vector</a>< dataType, sumType >::operator[] </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const size_t & </td>
|
|
<td class="paramname"> <em>index</em></td>
|
|
<td> ) </td>
|
|
<td> const<code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___vector_8h_source.html#l00148">148</a> of file <a class="el" href="_a_p___vector_8h_source.html">AP_Vector.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ab6db0743ea810c57afa219534b79a290"></a><!-- doxytag: member="Vector::operator[]" ref="ab6db0743ea810c57afa219534b79a290" args="(const size_t &index)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class dataType, class sumType = dataType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">dataType& <a class="el" href="class_vector.html">Vector</a>< dataType, sumType >::operator[] </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const size_t & </td>
|
|
<td class="paramname"> <em>index</em></td>
|
|
<td> ) </td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___vector_8h_source.html#l00155">155</a> of file <a class="el" href="_a_p___vector_8h_source.html">AP_Vector.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ac6d818aebc29178bd461c4c7cd309917"></a><!-- doxytag: member="Vector::pop_front" ref="ac6d818aebc29178bd461c4c7cd309917" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class dataType, class sumType = dataType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">dataType& <a class="el" href="class_vector.html">Vector</a>< dataType, sumType >::pop_front </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td>
|
|
<td> ) </td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___vector_8h_source.html#l00137">137</a> of file <a class="el" href="_a_p___vector_8h_source.html">AP_Vector.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a4b254d55be745ea3ba1728fcc1a83241"></a><!-- doxytag: member="Vector::print" ref="a4b254d55be745ea3ba1728fcc1a83241" args="(Stream &serial=Serial, const char *msg="", size_t format=0) const " -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class dataType, class sumType = dataType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void <a class="el" href="class_vector.html">Vector</a>< dataType, sumType >::print </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="class_stream.html">Stream</a> & </td>
|
|
<td class="paramname"> <em>serial</em> = <code><a class="el" href="_fast_serial_8h.html#a8e6f49b84135f0158fe250cb7338ddad">Serial</a></code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const char * </td>
|
|
<td class="paramname"> <em>msg</em> = <code>""</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">size_t </td>
|
|
<td class="paramname"> <em>format</em> = <code>0</code></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td> const<code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___vector_8h_source.html#l00338">338</a> of file <a class="el" href="_a_p___vector_8h_source.html">AP_Vector.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a069923e7bfc5818d2b4df5efcc04cf9f"></a><!-- doxytag: member="Vector::push_back" ref="a069923e7bfc5818d2b4df5efcc04cf9f" args="(const Vector &vector)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class dataType, class sumType = dataType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void <a class="el" href="class_vector.html">Vector</a>< dataType, sumType >::push_back </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="class_vector.html">Vector</a>< dataType, sumType > & </td>
|
|
<td class="paramname"> <em>vector</em></td>
|
|
<td> ) </td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___vector_8h_source.html#l00143">143</a> of file <a class="el" href="_a_p___vector_8h_source.html">AP_Vector.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ad58756ac50551a81d7c2b0d8ae075f76"></a><!-- doxytag: member="Vector::push_back" ref="ad58756ac50551a81d7c2b0d8ae075f76" args="(const dataType &value)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class dataType, class sumType = dataType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void <a class="el" href="class_vector.html">Vector</a>< dataType, sumType >::push_back </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const dataType & </td>
|
|
<td class="paramname"> <em>value</em></td>
|
|
<td> ) </td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___vector_8h_source.html#l00131">131</a> of file <a class="el" href="_a_p___vector_8h_source.html">AP_Vector.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a4a9e2453a0b30acb4eb4f4b3a45de02c"></a><!-- doxytag: member="Vector::range" ref="a4a9e2453a0b30acb4eb4f4b3a45de02c" args="(const size_t &start, const size_t &stop) const " -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class dataType, class sumType = dataType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const <a class="el" href="class_vector.html">Vector</a> <a class="el" href="class_vector.html">Vector</a>< dataType, sumType >::range </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const size_t & </td>
|
|
<td class="paramname"> <em>start</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const size_t & </td>
|
|
<td class="paramname"> <em>stop</em></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td> const<code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___vector_8h_source.html#l00326">326</a> of file <a class="el" href="_a_p___vector_8h_source.html">AP_Vector.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aaff5cbc49982240fe71d61d5f14593db"></a><!-- doxytag: member="Vector::remove" ref="aaff5cbc49982240fe71d61d5f14593db" args="(const size_t &index)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class dataType, class sumType = dataType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void <a class="el" href="class_vector.html">Vector</a>< dataType, sumType >::remove </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const size_t & </td>
|
|
<td class="paramname"> <em>index</em></td>
|
|
<td> ) </td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___vector_8h_source.html#l00123">123</a> of file <a class="el" href="_a_p___vector_8h_source.html">AP_Vector.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a0b15da2268deaae3dd8dee848dac434d"></a><!-- doxytag: member="Vector::selfTest" ref="a0b15da2268deaae3dd8dee848dac434d" args="(Stream &serial=Serial)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class dataType, class sumType = dataType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">static bool <a class="el" href="class_vector.html">Vector</a>< dataType, sumType >::selfTest </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="class_stream.html">Stream</a> & </td>
|
|
<td class="paramname"> <em>serial</em> = <code><a class="el" href="_fast_serial_8h.html#a8e6f49b84135f0158fe250cb7338ddad">Serial</a></code></td>
|
|
<td> ) </td>
|
|
<td><code> [inline, static]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___vector_8h_source.html#l00347">347</a> of file <a class="el" href="_a_p___vector_8h_source.html">AP_Vector.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ac1bf7c63bcdc8714cb0f6c48e4e8d532"></a><!-- doxytag: member="Vector::setSize" ref="ac1bf7c63bcdc8714cb0f6c48e4e8d532" args="(const size_t &n)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class dataType, class sumType = dataType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void <a class="el" href="class_vector.html">Vector</a>< dataType, sumType >::setSize </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const size_t & </td>
|
|
<td class="paramname"> <em>n</em></td>
|
|
<td> ) </td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___vector_8h_source.html#l00082">82</a> of file <a class="el" href="_a_p___vector_8h_source.html">AP_Vector.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a400ef3e50ea9c4ef48f7805ed1c107fc"></a><!-- doxytag: member="Vector::sum" ref="a400ef3e50ea9c4ef48f7805ed1c107fc" args="(const size_t &start=0, const int &end=-1) const " -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class dataType, class sumType = dataType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const sumType <a class="el" href="class_vector.html">Vector</a>< dataType, sumType >::sum </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const size_t & </td>
|
|
<td class="paramname"> <em>start</em> = <code>0</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const int & </td>
|
|
<td class="paramname"> <em>end</em> = <code>-1</code></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td> const<code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___vector_8h_source.html#l00307">307</a> of file <a class="el" href="_a_p___vector_8h_source.html">AP_Vector.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a69026b4d8d5b1604bb13fc92320f0352"></a><!-- doxytag: member="Vector::sumFletcher" ref="a69026b4d8d5b1604bb13fc92320f0352" args="(uint8_t &CK_A, uint8_t &CK_B, const size_t &start=0, const int &end=-1) const " -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class dataType, class sumType = dataType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void <a class="el" href="class_vector.html">Vector</a>< dataType, sumType >::sumFletcher </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint8_t & </td>
|
|
<td class="paramname"> <em>CK_A</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t & </td>
|
|
<td class="paramname"> <em>CK_B</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const size_t & </td>
|
|
<td class="paramname"> <em>start</em> = <code>0</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const int & </td>
|
|
<td class="paramname"> <em>end</em> = <code>-1</code></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td> const<code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___vector_8h_source.html#l00315">315</a> of file <a class="el" href="_a_p___vector_8h_source.html">AP_Vector.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="afae3db149539786d6b89faba6922b66b"></a><!-- doxytag: member="Vector::toArray" ref="afae3db149539786d6b89faba6922b66b" args="() const " -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class dataType, class sumType = dataType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const dataType* <a class="el" href="class_vector.html">Vector</a>< dataType, sumType >::toArray </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td>
|
|
<td> ) </td>
|
|
<td> const<code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___vector_8h_source.html#l00332">332</a> of file <a class="el" href="_a_p___vector_8h_source.html">AP_Vector.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a6fc9fab03dcf58edb5b7532ba69fd0d3"></a><!-- doxytag: member="Vector::toFloat" ref="a6fc9fab03dcf58edb5b7532ba69fd0d3" args="() const " -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class dataType, class sumType = dataType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="class_vector.html">Vector</a><float> <a class="el" href="class_vector.html">Vector</a>< dataType, sumType >::toFloat </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td>
|
|
<td> ) </td>
|
|
<td> const<code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___vector_8h_source.html#l00065">65</a> of file <a class="el" href="_a_p___vector_8h_source.html">AP_Vector.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a9f16e541dbfa9883e1c680c2aa01d886"></a><!-- doxytag: member="Vector::unit" ref="a9f16e541dbfa9883e1c680c2aa01d886" args="() const " -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class dataType, class sumType = dataType> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const <a class="el" href="class_vector.html">Vector</a> <a class="el" href="class_vector.html">Vector</a>< dataType, sumType >::unit </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td>
|
|
<td> ) </td>
|
|
<td> const<code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___vector_8h_source.html#l00303">303</a> of file <a class="el" href="_a_p___vector_8h_source.html">AP_Vector.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this class was generated from the following file:<ul>
|
|
<li><a class="el" href="_a_p___vector_8h_source.html">AP_Vector.h</a></li>
|
|
</ul>
|
|
</div>
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated for ArduPilot Libraries by <a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.png" alt="doxygen"/></a></small></address>
|
|
</body>
|
|
</html>
|