PLASMA  2.8.0
PLASMA - Parallel Linear Algebra for Scalable Multi-core Architectures
int CORE_spltmg ( PLASMA_enum  mtxtype,
int  M,
int  N,
float *  A,
int  LDA,
int  gM,
int  gN,
int  m0,
int  n0,
unsigned long long int  seed 
)

CORE_spltmg initialize a tile of a random matrix from the MatLab gallery configured with the default parameters, and a few other specific matrices.

Parameters
[in]mtxtypePossible types are: PlasmaMatrixRandom, PlasmaMatrixHadamard, PlasmaMatrixParter, PlasmaMatrixRis, PlasmaMatrixKms, PlasmaMatrixMoler, PlasmaMatrixCompan, PlasmaMatrixRiemann, PlasmaMatrixLehmer, PlasmaMatrixMinij, PlasmaMatrixDorr, PlasmaMatrixDemmel, PlasmaMatrixInvhess, PlasmaMatrixCauchy, PlasmaMatrixHilb, PlasmaMatrixLotkin, PlasmaMatrixOrthog, PlasmaMatrixWilkinson, PlasmaMatrixFoster, PlasmaMatrixWright, PlasmaMatrixLangou (See further in the code for more details)
[in]MThe number of rows of the tile A. M >= 0.
[in]NThe number of columns of the tile A. N >= 0.
[in,out]AOn entry, the M-by-N tile to be initialized. On exit, the tile initialized in the mtxtype format.
[in]LDAThe leading dimension of the tile A. LDA >= max(1,M).
[in]gMThe global number of rows of the full matrix, A is belonging to. gM >= (m0+M).
[in]gNThe global number of columns of the full matrix, A is belonging to. gN >= (n0+gN).
[in]m0The index of the first row of tile A in the full matrix. m0 >= 0.
[in]n0The index of the first column of tile A in the full matrix. n0 >= 0.
[in]seedThe seed used for random generation. Must be the same for all tiles initialized with this routine.
Returns
Return values
PLASMA_SUCCESSsuccessful exit
<0if INFO = -k, the k-th argument had an illegal value