mirror of
https://github.com/sfilippone/psblas3.git
synced 2026-10-16 19:02:09 +00:00
psblas3:
Updated docs with CLONE method.
This commit is contained in:
+19
-30
@@ -7,8 +7,8 @@ original version by: Nikos Drakos, CBLU, University of Leeds
|
||||
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>get_nnzeros -- Get number of nonzero elements in a sparse matrix</TITLE>
|
||||
<META NAME="description" CONTENT="get_nnzeros -- Get number of nonzero elements in a sparse matrix">
|
||||
<TITLE>get_ncols -- Get number of columns in a sparse matrix</TITLE>
|
||||
<META NAME="description" CONTENT="get_ncols -- Get number of columns in a sparse matrix">
|
||||
<META NAME="keywords" CONTENT="userhtml">
|
||||
<META NAME="resource-type" CONTENT="document">
|
||||
<META NAME="distribution" CONTENT="global">
|
||||
@@ -20,45 +20,44 @@ original version by: Nikos Drakos, CBLU, University of Leeds
|
||||
|
||||
<LINK REL="next" HREF="node25.html">
|
||||
<LINK REL="previous" HREF="node23.html">
|
||||
<LINK REL="up" HREF="node20.html">
|
||||
<LINK REL="up" HREF="node21.html">
|
||||
<LINK REL="next" HREF="node25.html">
|
||||
</HEAD>
|
||||
|
||||
<BODY >
|
||||
<!--Navigation Panel-->
|
||||
<A NAME="tex2html501"
|
||||
<A NAME="tex2html505"
|
||||
HREF="node25.html">
|
||||
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A>
|
||||
<A NAME="tex2html497"
|
||||
HREF="node20.html">
|
||||
<A NAME="tex2html501"
|
||||
HREF="node21.html">
|
||||
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A>
|
||||
<A NAME="tex2html491"
|
||||
<A NAME="tex2html495"
|
||||
HREF="node23.html">
|
||||
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A>
|
||||
<A NAME="tex2html499"
|
||||
<A NAME="tex2html503"
|
||||
HREF="node1.html">
|
||||
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A>
|
||||
<BR>
|
||||
<B> Next:</B> <A NAME="tex2html502"
|
||||
HREF="node25.html">get_size Get</A>
|
||||
<B> Up:</B> <A NAME="tex2html498"
|
||||
HREF="node20.html">Sparse Matrix class</A>
|
||||
<B> Previous:</B> <A NAME="tex2html492"
|
||||
HREF="node23.html">get_ncols Get</A>
|
||||
<B> <A NAME="tex2html500"
|
||||
<B> Next:</B> <A NAME="tex2html506"
|
||||
HREF="node25.html">get_nnzeros Get</A>
|
||||
<B> Up:</B> <A NAME="tex2html502"
|
||||
HREF="node21.html">Sparse Matrix class</A>
|
||||
<B> Previous:</B> <A NAME="tex2html496"
|
||||
HREF="node23.html">get_nrows Get</A>
|
||||
<B> <A NAME="tex2html504"
|
||||
HREF="node1.html">Contents</A></B>
|
||||
<BR>
|
||||
<BR>
|
||||
<!--End of Navigation Panel-->
|
||||
|
||||
<H3><A NAME="SECTION00043400000000000000">
|
||||
get_nnzeros -- Get number of nonzero elements
|
||||
in a sparse matrix</A>
|
||||
<H3><A NAME="SECTION00044300000000000000">
|
||||
get_ncols -- Get number of columns in a sparse matrix</A>
|
||||
</H3>
|
||||
|
||||
<P>
|
||||
<PRE>
|
||||
nz = a%get_nnzeros()
|
||||
nc = a%get_ncols()
|
||||
</PRE>
|
||||
|
||||
<P>
|
||||
@@ -82,20 +81,10 @@ Scope: <B>local</B>
|
||||
<DD>
|
||||
</DD>
|
||||
<DT><STRONG>Function value</STRONG></DT>
|
||||
<DD>The number of nonzero elements stored in sparse matrix <code>a</code>.
|
||||
<DD>The number of columns of sparse matrix <code>a</code>.
|
||||
</DD>
|
||||
</DL>
|
||||
|
||||
<P>
|
||||
<B>Notes</B>
|
||||
|
||||
<OL>
|
||||
<LI>The function value is specific to the storage format of matrix
|
||||
<code>a</code>; some storage formats employ padding, thus the returned
|
||||
value for the same matrix may be different for different storage choices.
|
||||
</LI>
|
||||
</OL>
|
||||
|
||||
<P>
|
||||
<BR><HR>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user