lis_matrix_set_size - Man Page

assign the size of the matrix

Synopsis

#include "lis.h"

LIS_INT lis_matrix_set_size(LIS_MATRIX A, LIS_INT local_n, LIS_INT global_n);

Description

Assign the size of matrix A.

Input

A

The matrix

local_n

The number of rows of the partial matrix

global_n

The number of rows of the global matrix

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_matrix_set_size(A,n,0) and lis_matrix_set_size(A,0,n) create a matrrix of size n x n. For the multiprocessing environment, lis_matrix_set_size(A,n,0) creates a partial matrix of size n x N on each processing element, where N is the total sum of n. On the other hand, lis_matrix_set_size(A,0,n) creates a partial matrix of size m_p x n on the processing element p. The values of m_p are determined by the library.

See Also

lis(3)

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

Info

6 Sep 2012 Man Page Lis Library Functions