Complex and double complex arguments are not considered scalars because they are not implemented as a scalar type by C. Second, arguments relating to workspace are not used in Sun Performance Library. Arrays and scalars that will be used to return values are passed by reference. Arrays are stored columnwise. All arguments are passed by reference. The number of arguments to a routine is fixed.
Indices are base at one in keeping with standard Fortran practice.
For instance, the calling program can be a Pascal or Ada program. This convention is observed in function return values, permutation vectors, and anywhere else that vector or array indices are used. The general form is the most common and most operations performed by the Sun Performance Library can be done on general arrays. In many cases, there also are subprograms that will work with the other forms of the arrays. Most of these matrices can be stored in ways that save both storage space and computation time.