Click here to Skip to main content
15,881,812 members
Articles / Programming Languages / C++

An STL-compliant mathematical vector class

Rate me:
Please Sign up or sign in to vote.
3.78/5 (8 votes)
12 May 20056 min read 51.5K   1.1K   25  
A portable implementation of a templated, STL-compliant math vector class.
<!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>EVector: Class Members</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.2 -->
<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindexHL" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a></div>
<div class="qindex"><a class="qindexHL" href="functions.html">All</a> | <a class="qindex" href="functions_func.html">Functions</a> | <a class="qindex" href="functions_vars.html">Variables</a> | <a class="qindex" href="functions_type.html">Typedefs</a></div>
<div class="qindex"><a class="qindex" href="#index_a">a</a> | <a class="qindex" href="#index_b">b</a> | <a class="qindex" href="#index_c">c</a> | <a class="qindex" href="#index_d">d</a> | <a class="qindex" href="#index_e">e</a> | <a class="qindex" href="#index_f">f</a> | <a class="qindex" href="#index_g">g</a> | <a class="qindex" href="#index_i">i</a> | <a class="qindex" href="#index_l">l</a> | <a class="qindex" href="#index_m">m</a> | <a class="qindex" href="#index_n">n</a> | <a class="qindex" href="#index_o">o</a> | <a class="qindex" href="#index_p">p</a> | <a class="qindex" href="#index_r">r</a> | <a class="qindex" href="#index_s">s</a> | <a class="qindex" href="#index_v">v</a> | <a class="qindex" href="#index_w">w</a> | <a class="qindex" href="#index_~">~</a></div>

<p>
Here is a list of all class members with links to the classes they belong to:
<p>
<h3><a class="anchor" name="index_a">- a -</a></h3><ul>
<li>allocator_type
: <a class="el" href="class_e_vector.html#w0">EVector&lt; T, n, A &gt;</a><li>at()
: <a class="el" href="class_e_vector.html#a21">EVector&lt; T, n, A &gt;</a></ul>
<h3><a class="anchor" name="index_b">- b -</a></h3><ul>
<li>begin()
: <a class="el" href="class_e_vector.html#a8">EVector&lt; T, n, A &gt;</a></ul>
<h3><a class="anchor" name="index_c">- c -</a></h3><ul>
<li>const_iterator
: <a class="el" href="class_e_vector.html#w8">EVector&lt; T, n, A &gt;</a><li>const_pointer
: <a class="el" href="class_e_vector.html#w3">EVector&lt; T, n, A &gt;</a><li>const_reference
: <a class="el" href="class_e_vector.html#w5">EVector&lt; T, n, A &gt;</a><li>const_reverse_iterator
: <a class="el" href="class_e_vector.html#w10">EVector&lt; T, n, A &gt;</a></ul>
<h3><a class="anchor" name="index_d">- d -</a></h3><ul>
<li>difference_type
: <a class="el" href="class_e_vector.html#w7">EVector&lt; T, n, A &gt;</a></ul>
<h3><a class="anchor" name="index_e">- e -</a></h3><ul>
<li>end()
: <a class="el" href="class_e_vector.html#a10">EVector&lt; T, n, A &gt;</a><li>EVector()
: <a class="el" href="class_e_vector.html#a3">EVector&lt; T, n, A &gt;</a></ul>
<h3><a class="anchor" name="index_f">- f -</a></h3><ul>
<li>fill()
: <a class="el" href="class_e_vector.html#a17">EVector&lt; T, n, A &gt;</a></ul>
<h3><a class="anchor" name="index_g">- g -</a></h3><ul>
<li>get_allocator()
: <a class="el" href="class_e_vector.html#a6">EVector&lt; T, n, A &gt;</a></ul>
<h3><a class="anchor" name="index_i">- i -</a></h3><ul>
<li>isOrthogonal()
: <a class="el" href="class_e_vector.html#a41">EVector&lt; T, n, A &gt;</a><li>isValid()
: <a class="el" href="class_e_vector.html#a15">EVector&lt; T, n, A &gt;</a><li>iterator
: <a class="el" href="class_e_vector.html#w9">EVector&lt; T, n, A &gt;</a></ul>
<h3><a class="anchor" name="index_l">- l -</a></h3><ul>
<li>length()
: <a class="el" href="class_e_vector.html#a37">EVector&lt; T, n, A &gt;</a></ul>
<h3><a class="anchor" name="index_m">- m -</a></h3><ul>
<li>m_alloc
: <a class="el" href="class_e_vector.html#p0">EVector&lt; T, n, A &gt;</a><li>m_elements
: <a class="el" href="class_e_vector.html#p1">EVector&lt; T, n, A &gt;</a><li>makeInvalid()
: <a class="el" href="class_e_vector.html#a16">EVector&lt; T, n, A &gt;</a></ul>
<h3><a class="anchor" name="index_n">- n -</a></h3><ul>
<li>norm()
: <a class="el" href="class_e_vector.html#a38">EVector&lt; T, n, A &gt;</a><li>normalize()
: <a class="el" href="class_e_vector.html#a40">EVector&lt; T, n, A &gt;</a><li>normalized()
: <a class="el" href="class_e_vector.html#a39">EVector&lt; T, n, A &gt;</a></ul>
<h3><a class="anchor" name="index_o">- o -</a></h3><ul>
<li>operator *()
: <a class="el" href="class_e_vector.html#a26">EVector&lt; T, n, A &gt;</a><li>operator *=()
: <a class="el" href="class_e_vector.html#a29">EVector&lt; T, n, A &gt;</a><li>operator!=()
: <a class="el" href="class_e_vector.html#a32">EVector&lt; T, n, A &gt;</a><li>operator+()
: <a class="el" href="class_e_vector.html#a22">EVector&lt; T, n, A &gt;</a><li>operator+=()
: <a class="el" href="class_e_vector.html#a27">EVector&lt; T, n, A &gt;</a><li>operator-()
: <a class="el" href="class_e_vector.html#a23">EVector&lt; T, n, A &gt;</a><li>operator-=()
: <a class="el" href="class_e_vector.html#a28">EVector&lt; T, n, A &gt;</a><li>operator/()
: <a class="el" href="class_e_vector.html#a25">EVector&lt; T, n, A &gt;</a><li>operator/=()
: <a class="el" href="class_e_vector.html#a30">EVector&lt; T, n, A &gt;</a><li>operator&lt;()
: <a class="el" href="class_e_vector.html#a33">EVector&lt; T, n, A &gt;</a><li>operator&lt;=()
: <a class="el" href="class_e_vector.html#a36">EVector&lt; T, n, A &gt;</a><li>operator=()
: <a class="el" href="class_e_vector.html#a4">EVector&lt; T, n, A &gt;</a><li>operator==()
: <a class="el" href="class_e_vector.html#a31">EVector&lt; T, n, A &gt;</a><li>operator&gt;()
: <a class="el" href="class_e_vector.html#a35">EVector&lt; T, n, A &gt;</a><li>operator&gt;=()
: <a class="el" href="class_e_vector.html#a34">EVector&lt; T, n, A &gt;</a><li>operator[]()
: <a class="el" href="class_e_vector.html#a19">EVector&lt; T, n, A &gt;</a></ul>
<h3><a class="anchor" name="index_p">- p -</a></h3><ul>
<li>pointer
: <a class="el" href="class_e_vector.html#w2">EVector&lt; T, n, A &gt;</a></ul>
<h3><a class="anchor" name="index_r">- r -</a></h3><ul>
<li>rbegin()
: <a class="el" href="class_e_vector.html#a12">EVector&lt; T, n, A &gt;</a><li>read()
: <a class="el" href="class_e_vector.html#a43">EVector&lt; T, n, A &gt;</a><li>reference
: <a class="el" href="class_e_vector.html#w4">EVector&lt; T, n, A &gt;</a><li>rend()
: <a class="el" href="class_e_vector.html#a14">EVector&lt; T, n, A &gt;</a><li>reverse_iterator
: <a class="el" href="class_e_vector.html#w11">EVector&lt; T, n, A &gt;</a></ul>
<h3><a class="anchor" name="index_s">- s -</a></h3><ul>
<li>size()
: <a class="el" href="class_e_vector.html#a5">EVector&lt; T, n, A &gt;</a><li>size_type
: <a class="el" href="class_e_vector.html#w6">EVector&lt; T, n, A &gt;</a></ul>
<h3><a class="anchor" name="index_v">- v -</a></h3><ul>
<li>value_type
: <a class="el" href="class_e_vector.html#w1">EVector&lt; T, n, A &gt;</a></ul>
<h3><a class="anchor" name="index_w">- w -</a></h3><ul>
<li>write()
: <a class="el" href="class_e_vector.html#a42">EVector&lt; T, n, A &gt;</a></ul>
<h3><a class="anchor" name="index_~">- ~ -</a></h3><ul>
<li>~EVector()
: <a class="el" href="class_e_vector.html#a0">EVector&lt; T, n, A &gt;</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 04:23:14 2005 for EVector by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.2 </small></address>
</body>
</html>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions