This function sorts (a copy of) the core matrix and returns CORPTR, an p*q*r integer array holding the pointers to the greatest absolute values in CORE.
srtcor(core, p, q, r)
The pointer to the ordered largest value of the core array.
The core array (generalized singular values).
The dimension number of the first mode.
The dimension number of the second mode.
The dimension number of the third mode.
Rosaria Lombardo and Pieter M Kroonenberg.
Kroonenberg PM (1994) The TUCKALS line: a suite of programs for three-way data analysis. Computational Statistics and Data Analysis, 18, 73--96.