The Frobenius norm: frobenius_norm

### 5.50.1 The Frobenius norm: frobenius_norm

The Frobenius norm of a matrix A is √∑i,j ai,j2. The frobenius_norm command finds the Frobenius norm of a matrix.

- frobenius_norm takes one argument:
  A, a matrix.
- frobenius_norm(A) returns the Frobenius norm of A.

#### Example

Input:

frobenius_norm([[1,2,3],[3,-9,6],[4,5,6]])

Output:

√ |
217

since √12 + 22 + 32 + 32 + (−9)2 + 62 + 42 + 52 + 62 = √217.