📄 generic_comp2d.html
字号:
</FONT></TD> <TD><FONT FACE=Times SIZE=3> The type for the iterators </FONT></TD> </TR> <TR><TD VALIGN="TOP"><TT> class <TT><A HREF='generic_comp2D::iterator.html'>iterator</A> </TT></TD> <TD><FONT FACE=Times SIZE=3> </FONT></TD> <TD><FONT FACE=Times SIZE=3> The type for the iterators </FONT></TD> </TR> <TR><TD VALIGN="TOP"><TT> class <TT><A HREF='generic_comp2D::const_iterator.html'>const_iterator</A> </TT></TD> <TD><FONT FACE=Times SIZE=3> </FONT></TD> <TD><FONT FACE=Times SIZE=3> The type for the iterators </FONT></TD> </TR> <TR><TD VALIGN="TOP"><TT> class <TT><A HREF='generic_comp2D::iterator.html'>iterator</A> </TT></TD> <TD><FONT FACE=Times SIZE=3> </FONT></TD> <TD><FONT FACE=Times SIZE=3> The type for the iterators </FONT></TD> </TR> <TR><TD VALIGN="TOP"><TT> class <TT><A HREF='generic_comp2D::const_iterator.html'>const_iterator</A> </TT></TD> <TD><FONT FACE=Times SIZE=3> </FONT></TD> <TD><FONT FACE=Times SIZE=3> The type for the iterators </FONT></TD> </TR> <TR><TD VALIGN="TOP"><TT> <TT>reverse_iterator </TT></TD> <TD><FONT FACE=Times SIZE=3> </FONT></TD> <TD><FONT FACE=Times SIZE=3> The type for the reverse iterators </FONT></TD> </TR> <TR><TD VALIGN="TOP"><TT> <TT>const_reverse_iterator </TT></TD> <TD><FONT FACE=Times SIZE=3> </FONT></TD> <TD><FONT FACE=Times SIZE=3> The type for the const reverse iterators </FONT></TD> </TR> <TR><TD VALIGN="TOP"><TT> <TT>generic_comp2D () </TT> </TT></TD> <TD><FONT FACE=Times SIZE=3> </FONT></TD> <TD><FONT FACE=Times SIZE=3> Default Constructor </FONT></TD> </TR> <TR><TD VALIGN="TOP"><TT> <TT>generic_comp2D (dim_type d, ValPtr v, IndPtr ind, IndPtr s) </TT> </TT></TD> <TD><FONT FACE=Times SIZE=3> </FONT></TD> <TD><FONT FACE=Times SIZE=3> External Storage Constructor </FONT></TD> </TR> <TR><TD VALIGN="TOP"><TT> <TT>generic_comp2D (const self& x) </TT> </TT></TD> <TD><FONT FACE=Times SIZE=3> </FONT></TD> <TD><FONT FACE=Times SIZE=3> Copy Constructor </FONT></TD> </TR> <TR><TD VALIGN="TOP"><TT> self& <TT>operator= (const self& x) </TT> </TT></TD> <TD><FONT FACE=Times SIZE=3> </FONT></TD> <TD><FONT FACE=Times SIZE=3> </FONT></TD> </TR> <TR><TD VALIGN="TOP"><TT> iterator <TT>begin () </TT> </TT></TD> <TD><FONT FACE=Times SIZE=3> </FONT></TD> <TD><FONT FACE=Times SIZE=3> Return an iterator pointing to the first 1D container </FONT></TD> </TR> <TR><TD VALIGN="TOP"><TT> iterator <TT>end () </TT> </TT></TD> <TD><FONT FACE=Times SIZE=3> </FONT></TD> <TD><FONT FACE=Times SIZE=3> Return an iterator pointing past the end of the 2D container </FONT></TD> </TR> <TR><TD VALIGN="TOP"><TT> const_iterator <TT>begin () const</TT> </TT></TD> <TD><FONT FACE=Times SIZE=3> </FONT></TD> <TD><FONT FACE=Times SIZE=3> Return a const iterator pointing to the first 1D container </FONT></TD> </TR> <TR><TD VALIGN="TOP"><TT> const_iterator <TT>end () const</TT> </TT></TD> <TD><FONT FACE=Times SIZE=3> </FONT></TD> <TD><FONT FACE=Times SIZE=3> Return a const iterator pointing past the end of the 2D container </FONT></TD> </TR> <TR><TD VALIGN="TOP"><TT> reverse_iterator <TT>rbegin () </TT> </TT></TD> <TD><FONT FACE=Times SIZE=3> </FONT></TD> <TD><FONT FACE=Times SIZE=3> Return a reverse iterator pointing to the last 1D container </FONT></TD> </TR> <TR><TD VALIGN="TOP"><TT> reverse_iterator <TT>rend () </TT> </TT></TD> <TD><FONT FACE=Times SIZE=3> </FONT></TD> <TD><FONT FACE=Times SIZE=3> Return a reverse iterator pointing past the start of the 2D container </FONT></TD> </TR> <TR><TD VALIGN="TOP"><TT> const_reverse_iterator <TT>rbegin () const</TT> </TT></TD> <TD><FONT FACE=Times SIZE=3> </FONT></TD> <TD><FONT FACE=Times SIZE=3> Return a const reverse iterator pointing to the last 1D container </FONT></TD> </TR> <TR><TD VALIGN="TOP"><TT> const_reverse_iterator <TT>rend () const</TT> </TT></TD> <TD><FONT FACE=Times SIZE=3> </FONT></TD> <TD><FONT FACE=Times SIZE=3> Return a const reverse iterator pointing past the start of the 2D container </FONT></TD> </TR> <TR><TD VALIGN="TOP"><TT> reference::reference <TT>operator() (size_type i, size_type j) </TT> </TT></TD> <TD><FONT FACE=Times SIZE=3> </FONT></TD> <TD><FONT FACE=Times SIZE=3> Return a reference to the (i,j) element, where (i,j) is in the 2D coordinate system </FONT></TD> </TR> <TR><TD VALIGN="TOP"><TT> const_reference:: const_reference <TT>operator() (size_type i, size_type j) const</TT> </TT></TD> <TD><FONT FACE=Times SIZE=3> </FONT></TD> <TD><FONT FACE=Times SIZE=3> Return a const reference to the (i,j) element, where (i,j) is in the 2D coordinate system </FONT></TD> </TR> <TR><TD VALIGN="TOP"><TT> size_type <TT>major () const</TT> </TT></TD> <TD><FONT FACE=Times SIZE=3> </FONT></TD> <TD><FONT FACE=Times SIZE=3> The <A HREF="dimension.html" >dimension</A> of the 2D container </FONT></TD> </TR> <TR><TD VALIGN="TOP"><TT> size_type <TT>minor () const</TT> </TT></TD> <TD><FONT FACE=Times SIZE=3> </FONT></TD> <TD><FONT FACE=Times SIZE=3> The <A HREF="dimension.html" >dimension</A> of the 1D containers </FONT></TD> </TR> <TR><TD VALIGN="TOP"><TT> size_type <TT>nnz () const</TT> </TT></TD> <TD><FONT FACE=Times SIZE=3> </FONT></TD> <TD><FONT FACE=Times SIZE=3> The number of non-zeros </FONT></TD> </TR> <TR><TD VALIGN="TOP"><TT> value_type <TT>operator[] (size_type i) const</TT> </TT></TD> <TD><FONT FACE=Times SIZE=3> </FONT></TD> <TD><FONT FACE=Times SIZE=3> Return the ith 1D container </FONT></TD> </TR> <TR><TD VALIGN="TOP"><TT> TT* <TT>get_val () </TT> </TT></TD> <TD><FONT FACE=Times SIZE=3> </FONT></TD> <TD><FONT FACE=Times SIZE=3> Return a pointer to the values <A HREF="array.html" >array</A> </FONT></TD> </TR> <TR><TD VALIGN="TOP"><TT> const TT* <TT>get_val () const</TT> </TT></TD> <TD><FONT FACE=Times SIZE=3> </FONT></TD> <TD><FONT FACE=Times SIZE=3> </FONT></TD> </TR> <TR><TD VALIGN="TOP"><TT> size_type* <TT>get_ind () </TT> </TT></TD> <TD><FONT FACE=Times SIZE=3> </FONT></TD> <TD><FONT FACE=Times SIZE=3> Return a pointer to the indices <A HREF="array.html" >array</A> </FONT></TD> </TR> <TR><TD VALIGN="TOP"><TT> const size_type* <TT>get_ind () const</TT> </TT></TD> <TD><FONT FACE=Times SIZE=3> </FONT></TD> <TD><FONT FACE=Times SIZE=3> </FONT></TD> </TR> <TR><TD VALIGN="TOP"><TT> size_type* <TT>get_ptr () </TT> </TT></TD> <TD><FONT FACE=Times SIZE=3> </FONT></TD> <TD><FONT FACE=Times SIZE=3> Return a pointer to the pointers <A HREF="array.html" >array</A> </FONT></TD> </TR> <TR><TD VALIGN="TOP"><TT> const size_type* <TT>get_ptr () const</TT> </TT></TD> <TD><FONT FACE=Times SIZE=3> </FONT></TD> <TD><FONT FACE=Times SIZE=3> </FONT></TD> </TR> <TR><TD VALIGN="TOP"><TT> template <class SparseMat><br> void <TT>fast_copy (const SparseMat& x, <A HREF="sparse_tag.html" >sparse_tag</A>) </TT> </TT></TD> <TD><FONT FACE=Times SIZE=3> </FONT></TD> <TD><FONT FACE=Times SIZE=3> A fast specialization for copying from a sparse <A HREF="matrix.html" >matrix</A> </FONT></TD> </TR> <TR><TD VALIGN="TOP"><TT> template <class DenseMat><br> void <TT>fast_copy (const DenseMat x, <A HREF="dense_tag.html" >dense_tag</A>) </TT> </TT></TD> <TD><FONT FACE=Times SIZE=3> </FONT></TD> <TD><FONT FACE=Times SIZE=3> A fast specialization for copying from a <A HREF="dense.html" >dense</A> <A HREF="matrix.html" >matrix</A> </FONT></TD> </TR> <TR><TD VALIGN="TOP"><TT> template <class TwoD__><br> void <TT>fast_copy (const TwoD__& x) </TT> </TT></TD> <TD><FONT FACE=Times SIZE=3> </FONT></TD> <TD><FONT FACE=Times SIZE=3> </FONT></TD> </TR> <TR><TD VALIGN="TOP"><TT> void <TT>print () const</TT> </TT></TD> <TD><FONT FACE=Times SIZE=3> </FONT></TD> <TD><FONT FACE=Times SIZE=3> </FONT></TD> </TR></TABLE></TD></TR><TR><TD><IMG SRC="whitespace.gif" Alt="" WIDTH="32" HEIGHT="15" ALIGN="TOP"></TD></TR><TR BGCOLOR=#e0e0e0><TD VALIGN=BOTTOM><FONT FACE=arial,helvetica SIZE=+1><B>New members</B></FONT></TD></TR><TR><TD></TD></TR><TR><TD><IMG SRC="whitespace.gif" Alt="" WIDTH="32" HEIGHT="15" ALIGN="TOP"></TD></TR><TR BGCOLOR=#e0e0e0><TD VALIGN=BOTTOM><FONT FACE=arial,helvetica SIZE=+1><B>Notes</B></FONT></TD></TR><TR><TD></TD></TR><TR><TD><IMG SRC="whitespace.gif" Alt="" WIDTH="32" HEIGHT="15" ALIGN="TOP"></TD></TR><TR BGCOLOR=#e0e0e0><TD VALIGN=BOTTOM><FONT FACE=arial,helvetica SIZE=+1><B>See also</B></FONT></TD></TR><TR><TD></TD></TR></TABLE><!--start footer--> <P><CENTER><CENTER><IMG SRC="./blue-bar.jpg" width=640></CENTER></CENTER><P><A HREF="http://www.nd.edu"><IMG BORDER=0 SRC="./ndtoclogo.gif" ALT="[MTL Home]" ALIGN=absmiddle></A></A><FONT SIZE="-2"><A HREF="../LICENSE.htm">Copyright ©1998,1999 University of Notre Dame. All Rights Reserved.</FONT></FONT></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -