klModeNumberFromIndex
return mode number from a linear index into a WV matrix
Developer documentation: this item describes internal implementation details.
Declaration
[kMode,lMode] = klModeNumberFromIndex(self,linearIndex)
Parameters
linearIndexa non-negative integer number
Returns
kModeintegerlModeinteger
Discussion
This function will return the mode numbers (kMode,lMode) given some linear index into a WV structured matrix. Scalar and column-vector inputs preserve their shape and ordering.