1lis_matrix_set_size(3)       Lis Library Functions      lis_matrix_set_size(3)
2
3
4

NAME

6       lis_matrix_set_size - assign the size of the matrix
7
8

SYNOPSIS

10       #include "lis.h"
11
12       LIS_INT  lis_matrix_set_size(LIS_MATRIX  A,  LIS_INT  local_n,  LIS_INT
13       global_n);
14
15

DESCRIPTION

17       Assign the size of matrix A.
18
19

INPUT

21       A      The matrix
22
23
24       local_n
25              The number of rows of the partial matrix
26
27
28       global_n
29              The number of rows of the global matrix
30
31

EXIT STATUS

33       The following exit values are returned:
34
35       0      The process is normally terminated
36
37       unspecified
38              An error occurred
39
40

NOTE

42       Either local_n or global_n must be provided.  In the case of the serial
43       and  multithreaded  environments, local_n is equal to global_n.  Thereā€
44       fore, both  lis_matrix_set_size(A,n,0)  and  lis_matrix_set_size(A,0,n)
45       create  a  matrrix of size n x n.  For the multiprocessing environment,
46       lis_matrix_set_size(A,n,0) creates a partial matrix of size n  x  N  on
47       each  processing  element,  where N is the total sum of n. On the other
48       hand, lis_matrix_set_size(A,0,n) creates a partial matrix of size m_p x
49       n  on the processing element p. The values of m_p are determined by the
50       library.
51
52

SEE ALSO

54       lis(3)
55
56       http://www.ssisc.org/lis/
57
58
59
60
61Man Page                          6 Sep 2012            lis_matrix_set_size(3)
Impressum