VectorNorm(AngouriMath.Entity.Matrix,System.Boolean)
Method (no overloads)
Summary
The Euclidean norm of a vector.
Remarks
This used to always finish with InnerSimplified, even
when the caller had asked for numeric evaluation. A norm like sqrt(369)
has no exact simplification, so it survived as a Powf and
EvalNumerical then rejected it as "not a simple
number" -- it only worked when the norm was a perfect square.
The norm over the complex numbers issqrt(sum |v_k|^2) . Squaring the
component itself is that only on the real line:[1 + i, 2] gave
sqrt(4 + 2i) , [1 + i, 1 - i] gave 0, and [x, y] gave
sqrt(x^2 + y^2) , which is 0 at x = i, y = 0 where the norm is 1.
https://github.com/asc-community/AngouriMath/issues/2423
when the caller had asked for numeric evaluation. A norm like sqrt(369)
has no exact simplification, so it survived as a Powf and
EvalNumerical then rejected it as "not a simple
number" -- it only worked when the norm was a perfect square.
The norm over the complex numbers is
component itself is that only on the real line:
https://github.com/asc-community/AngouriMath/issues/2423
Angouri © 2019-2026 · Project's repo · Site's repo · Octicons · Transparency · 6091 pages online