bionet.utils.numpy_extras.mpower

bionet.utils.numpy_extras.mpower(x, y)

Matrix power function.

Compute x raised to the power y where x is a square matrix and y is a scalar.

Notes

The matrix x must be non-defective.