functionfrobeniusNorm
Return the Frobenius norm of a matrix
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real[:,:] | A | Input matrix |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | result | if min(size(A)) > 0 then sqrt(sum(A.*A)) else -1e100 | frobenius norm of matrix A |
Revisions
| Date | Author | Comment |
|---|---|---|
| 2010-05-31 | Marcus Baur, DLR-RM | Realization |