Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
lis_vector_set_size(3)	      Lis Library Functions	  lis_vector_set_size(3)

NAME
     lis_vector_set_size - assign the size of the vector

SYNOPSIS
     #include "lis.h"

     LIS_INT   lis_vector_set_size(LIS_VECTOR	v,   LIS_INT   local_n,  LIS_INT
     global_n);

DESCRIPTION
     Assign the size of vector v.

INPUT
     v	    The vector

     local_nThe size of the partial vector

     global_n
	    The size of the global vector

EXIT STATUS
     The following exit values are returned:

     0	    The process is normally terminated

     unspecified
	    An error occurred

NOTE
     Either local_n or global_n must be provided.  In the case of the serial and
     multithreaded environments, local_n is equal to global_n.	Therefore,  both
     lis_vector_set_size(v,n,0)  and  lis_vector_set_size(v,0,n) create a vector
     of size n.  For the multiprocessing environment, lis_vector_set_size(v,n,0)
     creates a partial vector of size n on each processing element. On the other
     hand, lis_vector_set_size(v,0,n) creates a partial vector of  size  m_p  on
     the processing element p. The values of m_p are determined by the library.

SEE ALSO
     lis(3)

     http://www.ssisc.org/lis/

Man Page			   6 Sep 2012		  lis_vector_set_size(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=lis_vector_set_size&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help