mprod.x_m3¶
- mprod.x_m3(M: numpy.ndarray) Callable[numpy.ndarray, numpy.ndarray][source]¶
Creates a picklable tensor transformation forming the mod3 tensor-matrix multiplication required in the M product definition.
- Parameters
- M: np.ndarray
A matrix of shape (n,n)
- Returns
- fun: Callable[[NumpynDArray], NumpynDArray]
Picklable mapping that operates on (n dimensional) tube fibers of a tensor