blob: c202205a7a12799d6ea7889844c9dc9993b9cc19 [file] [log] [blame]
<!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>ublas: boost::numeric::ublas::fill_policy::sparse_push_back Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="pages.html"><span>Related&nbsp;Pages</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="tabs">
<ul>
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul>
</div>
<div class="navpath"><b>boost</b>::<b>numeric</b>::<b>ublas</b>::<b>fill_policy</b>::<a class="el" href="classboost_1_1numeric_1_1ublas_1_1fill__policy_1_1sparse__push__back.html">sparse_push_back</a>
</div>
</div>
<div class="contents">
<h1>boost::numeric::ublas::fill_policy::sparse_push_back Class Reference</h1><!-- doxytag: class="boost::numeric::ublas::fill_policy::sparse_push_back" --><!-- doxytag: inherits="fill_policy_wrapper&lt; sparse_push_back &gt;" -->
<p>The sparse push_back fill policy.
<a href="#_details">More...</a></p>
<p>Inherits <a class="el" href="classboost_1_1numeric_1_1ublas_1_1fill__policy__wrapper.html">fill_policy_wrapper&lt; sparse_push_back &gt;</a>.</p>
<p><a href="classboost_1_1numeric_1_1ublas_1_1fill__policy_1_1sparse__push__back-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="a12fa6f33b2aa1b539e2c9413be44aca8"></a><!-- doxytag: member="boost::numeric::ublas::fill_policy::sparse_push_back::apply" ref="a12fa6f33b2aa1b539e2c9413be44aca8" args="(T &amp;e, const S &amp;i, const V &amp;v)" -->
template&lt;class T , class S , class V &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">static BOOST_UBLAS_INLINE void&nbsp;</td><td class="memTemplItemRight" valign="bottom"><b>apply</b> (T &amp;e, const S &amp;i, const V &amp;v)</td></tr>
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="aea0e14e750d19e5925b2e0f1e5ea2709"></a><!-- doxytag: member="boost::numeric::ublas::fill_policy::sparse_push_back::apply" ref="aea0e14e750d19e5925b2e0f1e5ea2709" args="(T &amp;e, const S &amp;i, const S &amp;j, const V &amp;v)" -->
template&lt;class T , class S , class V &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">static BOOST_UBLAS_INLINE void&nbsp;</td><td class="memTemplItemRight" valign="bottom"><b>apply</b> (T &amp;e, const S &amp;i, const S &amp;j, const V &amp;v)</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>This policy is adequate for sparse types, when fast filling is required, where indexing assign is pretty slow.</p>
<p>It is important to note that push_back assign cannot be used to add elements before elements already existing in a sparse container. To achieve that please use the <a class="el" href="classboost_1_1numeric_1_1ublas_1_1fill__policy_1_1sparse__insert.html" title="The sparse insert fill policy.">sparse_insert</a> fill policy. </p>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Sun Jul 4 20:31:07 2010 for ublas by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>