The PLAPACK calling sequences for scaling an object are place HR here
place HR here The data type of the operands and parameters like vector length and stride are now passed as part of linear algebra objects alpha and x.
When a node calls PLA_Local_scal, the operation is equivalent to extracting the local information (data type, length, and pointer to the buffers) and locally performing the scaling. The object type can by any valid PLAPACK object type: The local scale operation can also be used to scale two dimensional objects (multiscalars, (projected) (duplicated) multivectors and matrices). The local dimensions of alpha must be , but it can be of any object type. All objects must have the same data type. Notice: no communication is performed as part of this call. Thus, all information must be locally available.
All nodes must simultaneously call PLA_Swap, which performs the BLAS call on the distributed objects. Parameter alpha must be a multiscalar. Parameter x can be of any object type.