Computes the norm of a matrix.

input matrix

A square or rectangular matrix.

Default: Empty array

norm type

The specific type of norm that this node uses for the computation.

 2-norm 0 $‖{A‖}_{2}$ is the largest singular value of the input matrix. 1-norm 1 ${‖A‖}_{1}$ is the largest absolute column sum of the input matrix. F-norm 2 ${‖A‖}_{f}$ is equal to $\sqrt{\underset{\square }{\sum }\text{diag}\left({A}^{T}A\right)}$ where $\text{diag}\left({A}^{T}A\right)$ means the diagonal elements of matrix $\left({A}^{T}A\right)$ and ${A}^{T}$ is the transpose of $A$. inf-norm 3 ${‖A‖}_{\infty }$ is the largest absolute row sum of the input matrix.

Default: 0—2-norm

norm

The norm of input matrix, determined by the type specified by norm type.

error

A value that represents any error or warning that occurs when this node executes.