<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <!--Converted with LaTeX2HTML 2018 (Released Feb 1, 2018) --> <HTML> <HEAD> <TITLE>get_vect -- Get a copy of the vector contents</TITLE> <META NAME="description" CONTENT="get_vect -- Get a copy of the vector contents"> <META NAME="keywords" CONTENT="userhtml"> <META NAME="resource-type" CONTENT="document"> <META NAME="distribution" CONTENT="global"> <META NAME="Generator" CONTENT="LaTeX2HTML v2018"> <META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css"> <LINK REL="STYLESHEET" HREF="userhtml.css"> <LINK REL="next" HREF="node49.html"> <LINK REL="previous" HREF="node47.html"> <LINK REL="up" HREF="node43.html"> <LINK REL="next" HREF="node49.html"> </HEAD> <BODY > <DIV CLASS="navigation"><!--Navigation Panel--> <A NAME="tex2html842" HREF="node49.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> <A NAME="tex2html838" HREF="node43.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> <A NAME="tex2html832" HREF="node47.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> <A NAME="tex2html840" HREF="node1.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> <BR> <B> Next:</B> <A NAME="tex2html843" HREF="node49.html">clone Clone</A> <B> Up:</B> <A NAME="tex2html839" HREF="node43.html">Dense Vector Data Structure</A> <B> Previous:</B> <A NAME="tex2html833" HREF="node47.html">set Set</A> <B> <A NAME="tex2html841" HREF="node1.html">Contents</A></B> <BR> <BR></DIV> <!--End of Navigation Panel--> <H3><A NAME="SECTION00043500000000000000"> get_vect -- Get a copy of the vector contents</A> </H3> <P> <PRE> extv = v%get_vect([n]) </PRE> <P> <DL> <DT><STRONG>Type:</STRONG></DT> <DD>Asynchronous. </DD> <DT><STRONG><B>On Entry</B></STRONG></DT> <DD> </DD> <DT><STRONG>v</STRONG></DT> <DD>the dense vector <BR> Scope: <B>local</B> <BR></DD> <DT><STRONG>n</STRONG></DT> <DD>Size to be returned <BR> Scope: <B>local</B>. <BR> Type: <B>optional</B>; default: entire vector. <BR> <P> </DD> </DL> <P> <DL> <DT><STRONG><B>On Return</B></STRONG></DT> <DD> </DD> <DT><STRONG>Function value</STRONG></DT> <DD>An allocatable array holding a copy of the dense vector contents. If the argument <SPAN CLASS="MATH"><IMG WIDTH="13" HEIGHT="13" ALIGN="BOTTOM" BORDER="0" SRC="img16.png" ALT="$n$"></SPAN> is specified, the size of the returned array equals the minimum between <SPAN CLASS="MATH"><IMG WIDTH="13" HEIGHT="13" ALIGN="BOTTOM" BORDER="0" SRC="img16.png" ALT="$n$"></SPAN> and the internal size of the vector, or 0 if <SPAN CLASS="MATH"><IMG WIDTH="13" HEIGHT="13" ALIGN="BOTTOM" BORDER="0" SRC="img16.png" ALT="$n$"></SPAN> is negative; otherwise, the size of the array is the same as the internal size of the vector. </DD> </DL> <P> <BR><HR> </BODY> </HTML>