Sponsor:

Your company here, and a link to your site. Click to find out more.

lis_vector_set_values.3f - Man Page

assign the scalar values to the rows of the vector

Synopsis

subroutine lis_vector_set_values(LIS_INTEGER flag, LIS_INTEGER count, LIS_INTEGER index[], LIS_SCALAR value[], LIS_VECTOR v, LIS_INTEGER ierr);

Description

Assign scalar value[i] to the index[i]-th row of the vector v, where [i]=0,1,...,[count]-1.

Input

flag
LIS_INS_VALUE

v[index[i]] = value[i]

LIS_ADD_VALUE

v[index[i]] = v[index[i]] + value[i]

i

The location where the value is assigned

value

The scalar value to be assigned

v

The destination vector

Output

v

The vector with the scalar value assigned to the i-th row

Note

For the multiprocessing environment, the i-th row of the global vector must be specified instead of the i-th row of the partial vector.

See Also

lis(3)

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

Info

6 Sep 2012 Man Page Lis Library Functions