A particularly useful operation involves the initialization of all entries in a linear algebra object to a given value. In its most general form, this is accomplished through a call to
int PLA_Obj_set ( PLA_Obj obj, MPI_Datatype datatype,void *value )
IN/OUT objIN datatype
IN value
A number of special cases are common enough that they warrant their own calls. These include the case of setting all entries to zero, one, or negative (minus) one:
int PLA_Obj_set_to_zero ( PLA_Obj obj )int PLA_Obj_set_to_one ( PLA_Obj obj )
int PLA_Obj_set_to_minus_one
( PLA_Obj obj )
IN/OUT obj