1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml">
4 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5 <title>ublas: boost::numeric::ublas::bounded_vector< T, N > Class Template Reference</title>
6 <link href="tabs.css" rel="stylesheet" type="text/css"/>
7 <link href="doxygen.css" rel="stylesheet" type="text/css"/>
10 <!-- Generated by Doxygen 1.6.1 -->
11 <div class="navigation" id="top">
14 <li><a href="index.html"><span>Main Page</span></a></li>
15 <li><a href="pages.html"><span>Related Pages</span></a></li>
16 <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
17 <li><a href="files.html"><span>Files</span></a></li>
22 <li><a href="annotated.html"><span>Class List</span></a></li>
23 <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
24 <li><a href="functions.html"><span>Class Members</span></a></li>
27 <div class="navpath"><b>boost</b>::<b>numeric</b>::<b>ublas</b>::<a class="el" href="classboost_1_1numeric_1_1ublas_1_1bounded__vector.html">bounded_vector</a>
30 <div class="contents">
31 <h1>boost::numeric::ublas::bounded_vector< T, N > Class Template Reference</h1><!-- doxytag: class="boost::numeric::ublas::bounded_vector" --><!-- doxytag: inherits="vector< T, bounded_array< T, N > >" -->
32 <p>a dense <a class="el" href="classboost_1_1numeric_1_1ublas_1_1vector.html" title="A dense vector of values of type T.">vector</a> of values of type <code>T</code>, of variable size but with maximum <img class="formulaInl" alt="$N$" src="form_56.png"/>. A dense <a class="el" href="classboost_1_1numeric_1_1ublas_1_1vector.html" title="A dense vector of values of type T.">vector</a> of values of type <code>T</code>, of variable size but with maximum <img class="formulaInl" alt="$N$" src="form_56.png"/>. The default constructor creates the <a class="el" href="classboost_1_1numeric_1_1ublas_1_1vector.html" title="A dense vector of values of type T.">vector</a> with size <img class="formulaInl" alt="$N$" src="form_56.png"/>. Elements are constructed by the storage type <code><a class="el" href="classboost_1_1numeric_1_1ublas_1_1bounded__array.html">bounded_array</a></code>, which <b>need</b> <b>not</b> <b>initialise</b> their value.
35 <p>Inherits <a class="el" href="classboost_1_1numeric_1_1ublas_1_1vector.html">vector< T, bounded_array< T, N > ></a>.</p>
37 <p><a href="classboost_1_1numeric_1_1ublas_1_1bounded__vector-members.html">List of all members.</a></p>
38 <table border="0" cellpadding="0" cellspacing="0">
39 <tr><td colspan="2"><h2>Public Types</h2></td></tr>
40 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a32aec41bf0bc357d0339f6a94ed6becb"></a><!-- doxytag: member="boost::numeric::ublas::bounded_vector::size_type" ref="a32aec41bf0bc357d0339f6a94ed6becb" args="" -->
41 typedef vector_type::size_type </td><td class="memItemRight" valign="bottom"><b>size_type</b></td></tr>
42 <tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
43 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a84a6ae2ab1dc2184ac76171c22123c14"></a><!-- doxytag: member="boost::numeric::ublas::bounded_vector::bounded_vector" ref="a84a6ae2ab1dc2184ac76171c22123c14" args="(size_type size)" -->
44 BOOST_UBLAS_INLINE </td><td class="memItemRight" valign="bottom"><b>bounded_vector</b> (size_type size)</td></tr>
45 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a91c50999b0c84c4cfb0baa6e2b5db2de"></a><!-- doxytag: member="boost::numeric::ublas::bounded_vector::bounded_vector" ref="a91c50999b0c84c4cfb0baa6e2b5db2de" args="(const bounded_vector &v)" -->
46 BOOST_UBLAS_INLINE </td><td class="memItemRight" valign="bottom"><b>bounded_vector</b> (const <a class="el" href="classboost_1_1numeric_1_1ublas_1_1bounded__vector.html">bounded_vector</a> &v)</td></tr>
47 <tr><td class="memTemplParams" colspan="2"><a class="anchor" id="afce136dff3ee3e8b1ff10c44b147c10b"></a><!-- doxytag: member="boost::numeric::ublas::bounded_vector::bounded_vector" ref="afce136dff3ee3e8b1ff10c44b147c10b" args="(const vector< T, A2 > &v)" -->
48 template<class A2 > </td></tr>
49 <tr><td class="memTemplItemLeft" align="right" valign="top">BOOST_UBLAS_INLINE </td><td class="memTemplItemRight" valign="bottom"><b>bounded_vector</b> (const <a class="el" href="classboost_1_1numeric_1_1ublas_1_1vector.html">vector</a>< T, A2 > &v)</td></tr>
50 <tr><td class="memTemplParams" colspan="2"><a class="anchor" id="adfbb4aa1e572c8ca4323111877f04487"></a><!-- doxytag: member="boost::numeric::ublas::bounded_vector::bounded_vector" ref="adfbb4aa1e572c8ca4323111877f04487" args="(const vector_expression< AE > &ae)" -->
51 template<class AE > </td></tr>
52 <tr><td class="memTemplItemLeft" align="right" valign="top">BOOST_UBLAS_INLINE </td><td class="memTemplItemRight" valign="bottom"><b>bounded_vector</b> (const <a class="el" href="classboost_1_1numeric_1_1ublas_1_1vector__expression.html">vector_expression</a>< AE > &ae)</td></tr>
53 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a33d66943a8492d0f6107a28cef819794"></a><!-- doxytag: member="boost::numeric::ublas::bounded_vector::operator=" ref="a33d66943a8492d0f6107a28cef819794" args="(const bounded_vector &v)" -->
54 BOOST_UBLAS_INLINE <a class="el" href="classboost_1_1numeric_1_1ublas_1_1bounded__vector.html">bounded_vector</a> & </td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="classboost_1_1numeric_1_1ublas_1_1bounded__vector.html">bounded_vector</a> &v)</td></tr>
55 <tr><td class="memTemplParams" colspan="2"><a class="anchor" id="a1851bc7224c352bdb06fa59383dd9dc0"></a><!-- doxytag: member="boost::numeric::ublas::bounded_vector::operator=" ref="a1851bc7224c352bdb06fa59383dd9dc0" args="(const vector< T, A2 > &v)" -->
56 template<class A2 > </td></tr>
57 <tr><td class="memTemplItemLeft" align="right" valign="top">BOOST_UBLAS_INLINE <a class="el" href="classboost_1_1numeric_1_1ublas_1_1bounded__vector.html">bounded_vector</a> & </td><td class="memTemplItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="classboost_1_1numeric_1_1ublas_1_1vector.html">vector</a>< T, A2 > &v)</td></tr>
58 <tr><td class="memTemplParams" colspan="2">template<class C > </td></tr>
59 <tr><td class="memTemplItemLeft" align="right" valign="top">BOOST_UBLAS_INLINE <a class="el" href="classboost_1_1numeric_1_1ublas_1_1bounded__vector.html">bounded_vector</a> & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classboost_1_1numeric_1_1ublas_1_1bounded__vector.html#a4a7502fc64dded94ce5b719da367c2f4">operator=</a> (const <a class="el" href="classboost_1_1numeric_1_1ublas_1_1vector__container.html">vector_container</a>< C > &v)</td></tr>
60 <tr><td class="mdescLeft"> </td><td class="mdescRight">Assign a full <a class="el" href="classboost_1_1numeric_1_1ublas_1_1vector.html" title="A dense vector of values of type T.">vector</a> (<em>RHS-vector</em>) to the current <a class="el" href="classboost_1_1numeric_1_1ublas_1_1vector.html" title="A dense vector of values of type T.">vector</a> (<em>LHS-vector</em>) Assign a full <a class="el" href="classboost_1_1numeric_1_1ublas_1_1vector.html" title="A dense vector of values of type T.">vector</a> (<em>RHS-vector</em>) to the current <a class="el" href="classboost_1_1numeric_1_1ublas_1_1vector.html" title="A dense vector of values of type T.">vector</a> (<em>LHS-vector</em>). This method does not create any temporary. <a href="#a4a7502fc64dded94ce5b719da367c2f4"></a><br/></td></tr>
61 <tr><td class="memTemplParams" colspan="2">template<class AE > </td></tr>
62 <tr><td class="memTemplItemLeft" align="right" valign="top">BOOST_UBLAS_INLINE <a class="el" href="classboost_1_1numeric_1_1ublas_1_1bounded__vector.html">bounded_vector</a> & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classboost_1_1numeric_1_1ublas_1_1bounded__vector.html#a4d152b88addf11aa2754b3a24f46ba86">operator=</a> (const <a class="el" href="classboost_1_1numeric_1_1ublas_1_1vector__expression.html">vector_expression</a>< AE > &ae)</td></tr>
63 <tr><td class="mdescLeft"> </td><td class="mdescRight">Assign the result of a <a class="el" href="classboost_1_1numeric_1_1ublas_1_1vector__expression.html" title="Base class for Vector Expression models.">vector_expression</a> to the <a class="el" href="classboost_1_1numeric_1_1ublas_1_1vector.html" title="A dense vector of values of type T.">vector</a> Assign the result of a <a class="el" href="classboost_1_1numeric_1_1ublas_1_1vector__expression.html" title="Base class for Vector Expression models.">vector_expression</a> to the <a class="el" href="classboost_1_1numeric_1_1ublas_1_1vector.html" title="A dense vector of values of type T.">vector</a>. This is lazy-compiled and will be optimized out by the compiler on any type of expression. <a href="#a4d152b88addf11aa2754b3a24f46ba86"></a><br/></td></tr>
64 <tr><td colspan="2"><h2>Static Public Attributes</h2></td></tr>
65 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a12d8c229a8addafedfe09c15ceeced07"></a><!-- doxytag: member="boost::numeric::ublas::bounded_vector::max_size" ref="a12d8c229a8addafedfe09c15ceeced07" args="" -->
66 static const size_type </td><td class="memItemRight" valign="bottom"><b>max_size</b> = N</td></tr>
68 <h3>template<class T, std::size_t N><br/>
69 class boost::numeric::ublas::bounded_vector< T, N ></h3>
71 <hr/><h2>Member Function Documentation</h2>
72 <a class="anchor" id="a4d152b88addf11aa2754b3a24f46ba86"></a><!-- doxytag: member="boost::numeric::ublas::bounded_vector::operator=" ref="a4d152b88addf11aa2754b3a24f46ba86" args="(const vector_expression< AE > &ae)" -->
74 <div class="memproto">
75 <div class="memtemplate">
76 template<class T , std::size_t N> </div>
77 <div class="memtemplate">
78 template<class AE > </div>
79 <table class="memname">
81 <td class="memname">BOOST_UBLAS_INLINE <a class="el" href="classboost_1_1numeric_1_1ublas_1_1bounded__vector.html">bounded_vector</a>& <a class="el" href="classboost_1_1numeric_1_1ublas_1_1bounded__vector.html">boost::numeric::ublas::bounded_vector</a>< T, N >::operator= </td>
83 <td class="paramtype">const <a class="el" href="classboost_1_1numeric_1_1ublas_1_1vector__expression.html">vector_expression</a>< AE > & </td>
84 <td class="paramname"> <em>ae</em></td>
85 <td> ) </td>
91 <dl><dt><b>Template Parameters:</b></dt><dd>
92 <table border="0" cellspacing="2" cellpadding="0">
93 <tr><td valign="top"></td><td valign="top"><em>AE</em> </td><td>is the type of the <a class="el" href="classboost_1_1numeric_1_1ublas_1_1vector__expression.html" title="Base class for Vector Expression models.">vector_expression</a> </td></tr>
97 <dl><dt><b>Parameters:</b></dt><dd>
98 <table border="0" cellspacing="2" cellpadding="0">
99 <tr><td valign="top"></td><td valign="top"><em>ae</em> </td><td>is a const reference to the <a class="el" href="classboost_1_1numeric_1_1ublas_1_1vector__expression.html" title="Base class for Vector Expression models.">vector_expression</a> </td></tr>
103 <dl class="return"><dt><b>Returns:</b></dt><dd>a reference to the resulting <a class="el" href="classboost_1_1numeric_1_1ublas_1_1vector.html" title="A dense vector of values of type T.">vector</a> </dd></dl>
105 <p>Reimplemented from <a class="el" href="classboost_1_1numeric_1_1ublas_1_1vector.html#af7df90fe154185ba4688750a8acc0c68">boost::numeric::ublas::vector< T, bounded_array< T, N > ></a>.</p>
109 <a class="anchor" id="a4a7502fc64dded94ce5b719da367c2f4"></a><!-- doxytag: member="boost::numeric::ublas::bounded_vector::operator=" ref="a4a7502fc64dded94ce5b719da367c2f4" args="(const vector_container< C > &v)" -->
110 <div class="memitem">
111 <div class="memproto">
112 <div class="memtemplate">
113 template<class T , std::size_t N> </div>
114 <div class="memtemplate">
115 template<class C > </div>
116 <table class="memname">
118 <td class="memname">BOOST_UBLAS_INLINE <a class="el" href="classboost_1_1numeric_1_1ublas_1_1bounded__vector.html">bounded_vector</a>& <a class="el" href="classboost_1_1numeric_1_1ublas_1_1bounded__vector.html">boost::numeric::ublas::bounded_vector</a>< T, N >::operator= </td>
120 <td class="paramtype">const <a class="el" href="classboost_1_1numeric_1_1ublas_1_1vector__container.html">vector_container</a>< C > & </td>
121 <td class="paramname"> <em>v</em></td>
122 <td> ) </td>
128 <dl><dt><b>Parameters:</b></dt><dd>
129 <table border="0" cellspacing="2" cellpadding="0">
130 <tr><td valign="top"></td><td valign="top"><em>v</em> </td><td>is the source <a class="el" href="classboost_1_1numeric_1_1ublas_1_1vector.html" title="A dense vector of values of type T.">vector</a> container </td></tr>
134 <dl class="return"><dt><b>Returns:</b></dt><dd>a reference to a <a class="el" href="classboost_1_1numeric_1_1ublas_1_1vector.html" title="A dense vector of values of type T.">vector</a> (i.e. the destination <a class="el" href="classboost_1_1numeric_1_1ublas_1_1vector.html" title="A dense vector of values of type T.">vector</a>) </dd></dl>
136 <p>Reimplemented from <a class="el" href="classboost_1_1numeric_1_1ublas_1_1vector.html#af778c9aad1d18346fe2ec22642454755">boost::numeric::ublas::vector< T, bounded_array< T, N > ></a>.</p>
141 <hr size="1"/><address style="text-align: right;"><small>Generated on Sun Jul 4 20:31:07 2010 for ublas by
142 <a href="http://www.doxygen.org/index.html">
143 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>