Back to Numerical Arrays (NumPy)
np.matrix_norm
Compute the matrix norm.
Syntax
np.matrix_norm(x, ord?, keepdims?)
Description
Compute the matrix norm.
Parameters
| Name | Description |
|---|---|
| x | - Input matrix (..., M, N) |
| ord(optional) | - Order of the norm ('fro', 'nuc', 1, 2, -1, -2, Infinity, -Infinity) |
| keepdims(optional) | - If true, axes are left with size one |
Returns
Promise<NDArray | number>