To allow the NetSolve user to store her/his matrices either in row-wise or column-wise fashion, we also provide the function netslmajor() in C and FNETSLMAJOR() in Fortran77. This function can be called at any time in the user's program in C:
netslmajor("col"); netslmajor("row"); |
CALL FNETSLMAJOR('col') CALL FNETSLMAJOR('row') |
All of the subsequent calls to NetSolve will assume the corresponding major. The default values are of course row-wise for C and column-wise for Fortran77.