lis_vector_set_value(3f)

NAME
lis_vector_set_value - assign the scalar value to the row of the vector

SYNOPSIS
subroutine lis_vector_set_value(LIS_INTEGER flag, LIS_INTEGER i, LIS_SCALAR value, LIS_VECTOR v, LIS_INTEGER ierr);

DESCRIPTION
Assign the scalar value to the i-th row of the vector v.

INPUT

flag

    LIS_INS_VALUE
        v[i] = value

    LIS_ADD_VALUE
        v[i] = v[i] + value

    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/