Skip to content

norm

linear-algebra · scripts/linear-algebra/norm.m

: n = norm (a)
: n = norm (a, p)
: n = norm (a, p, opt)

Vector or matrix norm (gate over the Phase-6 C++ builtin).

Matching MATLAB R2026a, norm has no dimension argument: a numeric third input is rejected with MATLAB:maxrhs. The Nexus/Octave extension "rows" / "columns" is still forwarded to the builtin. Values are computed by builtin ("norm", ...) so ULP behaviour of the C++ implementation is preserved.