Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F92795912
vector__inline_8hh_source.html
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Nov 23, 19:07
Size
25 KB
Mime Type
text/html
Expires
Mon, Nov 25, 19:07 (1 d, 21 h)
Engine
blob
Format
Raw Data
Handle
22515266
Attached To
R7581 SP4E Homework
vector__inline_8hh_source.html
View Options
<!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"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>particles: vector_inline.hh Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">particles
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="headertitle">
<div class="title">vector_inline.hh</div> </div>
</div><!--header-->
<div class="contents">
<a href="vector__inline_8hh.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#include "<a class="code" href="vector_8hh.html">vector.hh</a>"</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> </div><div class="line"><a name="l00003"></a><span class="lineno"><a class="line" href="class_vector.html#af4da600d5a3dec4e08f2d21357a20b83"> 3</a></span> <span class="keyword">inline</span> <a class="code" href="my__types_8hh.html#a4b04262b81aa7d31eb5d2f607e2a35de">Real</a>& <a class="code" href="class_vector.html#af4da600d5a3dec4e08f2d21357a20b83">Vector::operator[]</a>(<a class="code" href="my__types_8hh.html#a9cc0620fb2e91b51587c6936060d4161">UInt</a> i) {</div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>  <span class="keywordflow">return</span> values[i];</div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> }</div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> </div><div class="line"><a name="l00007"></a><span class="lineno"><a class="line" href="class_vector.html#a540ad009588abfe99757887905b9a796"> 7</a></span> <span class="keyword">inline</span> <span class="keyword">const</span> <a class="code" href="my__types_8hh.html#a4b04262b81aa7d31eb5d2f607e2a35de">Real</a>& <a class="code" href="class_vector.html#af4da600d5a3dec4e08f2d21357a20b83">Vector::operator[]</a>(<a class="code" href="my__types_8hh.html#a9cc0620fb2e91b51587c6936060d4161">UInt</a> i)<span class="keyword"> const </span>{</div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span>  <span class="keywordflow">return</span> values[i];</div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> }</div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> </div><div class="line"><a name="l00011"></a><span class="lineno"><a class="line" href="class_vector.html#a1bef1592d4d51436dba6d346ff8cc9d3"> 11</a></span> <span class="keyword">inline</span> <a class="code" href="my__types_8hh.html#a4b04262b81aa7d31eb5d2f607e2a35de">Real</a> <a class="code" href="class_vector.html#a1bef1592d4d51436dba6d346ff8cc9d3">Vector::squaredNorm</a>()<span class="keyword"> const </span>{</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>  <a class="code" href="my__types_8hh.html#a4b04262b81aa7d31eb5d2f607e2a35de">Real</a> res = 0;</div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>  <span class="keywordflow">for</span> (<span class="keyword">auto</span>& val : values) {</div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>  res += val * val;</div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>  }</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  <span class="keywordflow">return</span> res;</div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> }</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> </div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment">/* -------------------------------------------------------------------------- */</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> </div><div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="class_vector.html#a48896b0a406f7880a16a038aa6a2cd3b"> 21</a></span> <span class="keyword">inline</span> <a class="code" href="class_vector.html">Vector</a>& <a class="code" href="class_vector.html#a48896b0a406f7880a16a038aa6a2cd3b">Vector::operator+=</a>(<span class="keyword">const</span> <a class="code" href="class_vector.html">Vector</a>& vec) {</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  <span class="keywordflow">for</span> (<a class="code" href="my__types_8hh.html#a9cc0620fb2e91b51587c6936060d4161">UInt</a> i = 0; i < <a class="code" href="class_vector.html#ab506adc6769e122782b17cb98199f94b">dim</a>; ++i)</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  values[i] += vec[i];</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> }</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> </div><div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="class_vector.html#a1a6bf45adec873d9d9192aa9b8b7021a"> 27</a></span> <span class="keyword">inline</span> <a class="code" href="class_vector.html">Vector</a>& <a class="code" href="class_vector.html#a1a6bf45adec873d9d9192aa9b8b7021a">Vector::operator-=</a>(<span class="keyword">const</span> <a class="code" href="class_vector.html">Vector</a>& vec) {</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  <span class="keywordflow">for</span> (<a class="code" href="my__types_8hh.html#a9cc0620fb2e91b51587c6936060d4161">UInt</a> i = 0; i < <a class="code" href="class_vector.html#ab506adc6769e122782b17cb98199f94b">dim</a>; ++i)</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  values[i] -= vec[i];</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> }</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> </div><div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="class_vector.html#ab50afabfe126de92662d0e6d87e4c9ff"> 33</a></span> <span class="keyword">inline</span> <a class="code" href="class_vector.html">Vector</a>& <a class="code" href="class_vector.html#ab50afabfe126de92662d0e6d87e4c9ff">Vector::operator*=</a>(<a class="code" href="my__types_8hh.html#a4b04262b81aa7d31eb5d2f607e2a35de">Real</a> val) {</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  <span class="keywordflow">for</span> (<span class="keyword">auto</span>& v : values)</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  v *= val;</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> }</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> </div><div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="class_vector.html#aa4107e152657c7076550adf803fdbefa"> 39</a></span> <span class="keyword">inline</span> <a class="code" href="class_vector.html">Vector</a>& <a class="code" href="class_vector.html#aa4107e152657c7076550adf803fdbefa">Vector::operator/=</a>(<a class="code" href="my__types_8hh.html#a4b04262b81aa7d31eb5d2f607e2a35de">Real</a> val) {</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <span class="keywordflow">for</span> (<span class="keyword">auto</span>& v : values)</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  v /= val;</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> }</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span> </div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="comment">/* -------------------------------------------------------------------------- */</span></div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span> </div><div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="class_vector.html#a0e65fea9a2c5d04e6d29b9b0b141060a"> 47</a></span> <span class="keyword">inline</span> <a class="code" href="class_vector.html">Vector</a>& <a class="code" href="class_vector.html#a0e65fea9a2c5d04e6d29b9b0b141060a">Vector::operator=</a>(<span class="keyword">const</span> <a class="code" href="class_vector.html">Vector</a>& vec) {</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  std::copy(vec.values.begin(), vec.values.end(), values.begin());</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span> }</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span> </div><div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="class_vector.html#ad96fdab9e4c947d34c5c8db213af1f86"> 52</a></span> <span class="keyword">inline</span> <a class="code" href="class_vector.html">Vector</a>& <a class="code" href="class_vector.html#a0e65fea9a2c5d04e6d29b9b0b141060a">Vector::operator=</a>(<a class="code" href="my__types_8hh.html#a4b04262b81aa7d31eb5d2f607e2a35de">Real</a> val) {</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  std::fill(values.begin(), values.end(), val);</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span> }</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span> </div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span> <span class="comment">/* -------------------------------------------------------------------------- */</span></div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span> </div><div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="vector__inline_8hh.html#a53d6a19cb17320a43a60e4356f80c205"> 59</a></span> <span class="keyword">inline</span> <a class="code" href="class_vector.html">Vector</a> <a class="code" href="vector__inline_8hh.html#a53d6a19cb17320a43a60e4356f80c205">operator+</a>(<span class="keyword">const</span> <a class="code" href="class_vector.html">Vector</a>& a, <span class="keyword">const</span> <a class="code" href="class_vector.html">Vector</a>& b) {</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <a class="code" href="class_vector.html">Vector</a> res(a);</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  res += b;</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="keywordflow">return</span> res;</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span> }</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span> </div><div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="vector__inline_8hh.html#a316d381a8ae7de1d299f2131a042a349"> 65</a></span> <span class="keyword">inline</span> <a class="code" href="class_vector.html">Vector</a> <a class="code" href="vector__inline_8hh.html#a316d381a8ae7de1d299f2131a042a349">operator-</a>(<span class="keyword">const</span> <a class="code" href="class_vector.html">Vector</a>& a, <span class="keyword">const</span> <a class="code" href="class_vector.html">Vector</a>& b) {</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <a class="code" href="class_vector.html">Vector</a> res(a);</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  res -= b;</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="keywordflow">return</span> res;</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span> }</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span> </div><div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="vector__inline_8hh.html#ae2a4a40bc4d791a05129b4c1f3ad28f0"> 71</a></span> <span class="keyword">inline</span> <a class="code" href="class_vector.html">Vector</a> <a class="code" href="vector__inline_8hh.html#ae2a4a40bc4d791a05129b4c1f3ad28f0">operator*</a>(<span class="keyword">const</span> <a class="code" href="class_vector.html">Vector</a>& a, <a class="code" href="my__types_8hh.html#a4b04262b81aa7d31eb5d2f607e2a35de">Real</a> val) {</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <a class="code" href="class_vector.html">Vector</a> res(a);</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  res *= val;</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <span class="keywordflow">return</span> res;</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span> }</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span> </div><div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="vector__inline_8hh.html#a79900fcbce60c45cf3ab5fa0e0bee3b1"> 77</a></span> <span class="keyword">inline</span> <a class="code" href="class_vector.html">Vector</a> <a class="code" href="vector__inline_8hh.html#ae2a4a40bc4d791a05129b4c1f3ad28f0">operator*</a>(<a class="code" href="my__types_8hh.html#a4b04262b81aa7d31eb5d2f607e2a35de">Real</a> val, <span class="keyword">const</span> <a class="code" href="class_vector.html">Vector</a>& a) {</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="keywordflow">return</span> a * val;</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span> }</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span> </div><div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="vector__inline_8hh.html#acce98977053361fa0caf1dd12afd7bae"> 81</a></span> <span class="keyword">inline</span> <a class="code" href="class_vector.html">Vector</a> <a class="code" href="vector__inline_8hh.html#acce98977053361fa0caf1dd12afd7bae">operator/</a>(<span class="keyword">const</span> <a class="code" href="class_vector.html">Vector</a>& a, <a class="code" href="my__types_8hh.html#a4b04262b81aa7d31eb5d2f607e2a35de">Real</a> val) {</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <a class="code" href="class_vector.html">Vector</a> res(a);</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  res /= val;</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="keywordflow">return</span> res;</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span> }</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span> </div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span> <span class="comment">/* -------------------------------------------------------------------------- */</span></div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span> </div><div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="vector__inline_8hh.html#a544a5227e001d8bd51cf4e10017d9d43"> 90</a></span> <span class="keyword">inline</span> std::ostream& <a class="code" href="class_vector.html#a544a5227e001d8bd51cf4e10017d9d43">operator<<</a>(std::ostream& stream, <span class="keyword">const</span> <a class="code" href="class_vector.html">Vector</a>& _this) {</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <span class="keywordflow">for</span> (<span class="keyword">auto</span>& v : _this.values)</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  stream << v << <span class="stringliteral">" "</span>;</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <span class="keywordflow">return</span> stream;</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span> }</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span> </div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span> <span class="comment">/* -------------------------------------------------------------------------- */</span></div><div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="vector__inline_8hh.html#ad1e3f06f90d57ac931bb8347c3910c12"> 98</a></span> <span class="keyword">inline</span> std::istream& <a class="code" href="class_vector.html#ad1e3f06f90d57ac931bb8347c3910c12">operator>></a>(std::istream& stream, <a class="code" href="class_vector.html">Vector</a>& _this) {</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <span class="keywordflow">for</span> (<span class="keyword">auto</span>& v : _this.values)</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  stream >> v;</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  <span class="keywordflow">return</span> stream;</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span> }</div><div class="ttc" id="class_vector_html_a1a6bf45adec873d9d9192aa9b8b7021a"><div class="ttname"><a href="class_vector.html#a1a6bf45adec873d9d9192aa9b8b7021a">Vector::operator-=</a></div><div class="ttdeci">Vector & operator-=(const Vector &vec)</div><div class="ttdef"><b>Definition:</b> vector_inline.hh:27</div></div>
<div class="ttc" id="class_vector_html_a544a5227e001d8bd51cf4e10017d9d43"><div class="ttname"><a href="class_vector.html#a544a5227e001d8bd51cf4e10017d9d43">Vector::operator<<</a></div><div class="ttdeci">friend std::ostream & operator<<(std::ostream &stream, const Vector &_this)</div><div class="ttdoc">Output to stream. </div><div class="ttdef"><b>Definition:</b> vector_inline.hh:90</div></div>
<div class="ttc" id="vector_8hh_html"><div class="ttname"><a href="vector_8hh.html">vector.hh</a></div></div>
<div class="ttc" id="class_vector_html_af4da600d5a3dec4e08f2d21357a20b83"><div class="ttname"><a href="class_vector.html#af4da600d5a3dec4e08f2d21357a20b83">Vector::operator[]</a></div><div class="ttdeci">Real & operator[](UInt i)</div><div class="ttdoc">access given component </div><div class="ttdef"><b>Definition:</b> vector_inline.hh:3</div></div>
<div class="ttc" id="class_vector_html_ab50afabfe126de92662d0e6d87e4c9ff"><div class="ttname"><a href="class_vector.html#ab50afabfe126de92662d0e6d87e4c9ff">Vector::operator*=</a></div><div class="ttdeci">Vector & operator*=(Real val)</div><div class="ttdef"><b>Definition:</b> vector_inline.hh:33</div></div>
<div class="ttc" id="vector__inline_8hh_html_a53d6a19cb17320a43a60e4356f80c205"><div class="ttname"><a href="vector__inline_8hh.html#a53d6a19cb17320a43a60e4356f80c205">operator+</a></div><div class="ttdeci">Vector operator+(const Vector &a, const Vector &b)</div><div class="ttdef"><b>Definition:</b> vector_inline.hh:59</div></div>
<div class="ttc" id="vector__inline_8hh_html_a316d381a8ae7de1d299f2131a042a349"><div class="ttname"><a href="vector__inline_8hh.html#a316d381a8ae7de1d299f2131a042a349">operator-</a></div><div class="ttdeci">Vector operator-(const Vector &a, const Vector &b)</div><div class="ttdef"><b>Definition:</b> vector_inline.hh:65</div></div>
<div class="ttc" id="vector__inline_8hh_html_acce98977053361fa0caf1dd12afd7bae"><div class="ttname"><a href="vector__inline_8hh.html#acce98977053361fa0caf1dd12afd7bae">operator/</a></div><div class="ttdeci">Vector operator/(const Vector &a, Real val)</div><div class="ttdef"><b>Definition:</b> vector_inline.hh:81</div></div>
<div class="ttc" id="class_vector_html_ab506adc6769e122782b17cb98199f94b"><div class="ttname"><a href="class_vector.html#ab506adc6769e122782b17cb98199f94b">Vector::dim</a></div><div class="ttdeci">static constexpr UInt dim</div><div class="ttdoc">Dimension of vector. </div><div class="ttdef"><b>Definition:</b> vector.hh:17</div></div>
<div class="ttc" id="class_vector_html_a48896b0a406f7880a16a038aa6a2cd3b"><div class="ttname"><a href="class_vector.html#a48896b0a406f7880a16a038aa6a2cd3b">Vector::operator+=</a></div><div class="ttdeci">Vector & operator+=(const Vector &vec)</div><div class="ttdef"><b>Definition:</b> vector_inline.hh:21</div></div>
<div class="ttc" id="vector__inline_8hh_html_ae2a4a40bc4d791a05129b4c1f3ad28f0"><div class="ttname"><a href="vector__inline_8hh.html#ae2a4a40bc4d791a05129b4c1f3ad28f0">operator*</a></div><div class="ttdeci">Vector operator*(const Vector &a, Real val)</div><div class="ttdef"><b>Definition:</b> vector_inline.hh:71</div></div>
<div class="ttc" id="class_vector_html_a1bef1592d4d51436dba6d346ff8cc9d3"><div class="ttname"><a href="class_vector.html#a1bef1592d4d51436dba6d346ff8cc9d3">Vector::squaredNorm</a></div><div class="ttdeci">Real squaredNorm() const</div><div class="ttdoc">square of euclidian norm </div><div class="ttdef"><b>Definition:</b> vector_inline.hh:11</div></div>
<div class="ttc" id="my__types_8hh_html_a9cc0620fb2e91b51587c6936060d4161"><div class="ttname"><a href="my__types_8hh.html#a9cc0620fb2e91b51587c6936060d4161">UInt</a></div><div class="ttdeci">unsigned int UInt</div><div class="ttdef"><b>Definition:</b> my_types.hh:8</div></div>
<div class="ttc" id="class_vector_html_ad1e3f06f90d57ac931bb8347c3910c12"><div class="ttname"><a href="class_vector.html#ad1e3f06f90d57ac931bb8347c3910c12">Vector::operator>></a></div><div class="ttdeci">friend std::istream & operator>>(std::istream &stream, Vector &_this)</div><div class="ttdoc">Initialize from stream. </div><div class="ttdef"><b>Definition:</b> vector_inline.hh:98</div></div>
<div class="ttc" id="my__types_8hh_html_a4b04262b81aa7d31eb5d2f607e2a35de"><div class="ttname"><a href="my__types_8hh.html#a4b04262b81aa7d31eb5d2f607e2a35de">Real</a></div><div class="ttdeci">double Real</div><div class="ttdef"><b>Definition:</b> my_types.hh:9</div></div>
<div class="ttc" id="class_vector_html"><div class="ttname"><a href="class_vector.html">Vector</a></div><div class="ttdoc">3D Vector class </div><div class="ttdef"><b>Definition:</b> vector.hh:14</div></div>
<div class="ttc" id="class_vector_html_a0e65fea9a2c5d04e6d29b9b0b141060a"><div class="ttname"><a href="class_vector.html#a0e65fea9a2c5d04e6d29b9b0b141060a">Vector::operator=</a></div><div class="ttdeci">Vector & operator=(const Vector &vec)</div><div class="ttdoc">Copy operator. </div><div class="ttdef"><b>Definition:</b> vector_inline.hh:47</div></div>
<div class="ttc" id="class_vector_html_aa4107e152657c7076550adf803fdbefa"><div class="ttname"><a href="class_vector.html#aa4107e152657c7076550adf803fdbefa">Vector::operator/=</a></div><div class="ttdeci">Vector & operator/=(Real val)</div><div class="ttdef"><b>Definition:</b> vector_inline.hh:39</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
Event Timeline
Log In to Comment