From 5bcbfc2494dc871ef10e094f1eea2aeef42b0ee0 Mon Sep 17 00:00:00 2001 From: conrad Date: Wed, 19 Mar 2025 14:03:51 +1000 Subject: [PATCH] improve docs for vecnorm() --- docs.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs.html b/docs.html index 0ed3c656..668773bc 100644 --- a/docs.html +++ b/docs.html @@ -10606,9 +10606,9 @@ For vector norm with p = 2 and matrix norm with p&thinsp
  • Caveats:
      -
    • matrix 2-norm (spectral norm) is based on SVD, which is computationally intensive; a faster alternative is norm2est()
    • to obtain the vector norm of each row or column of a matrix, use vecnorm()
    • to obtain the zero/Hamming pseudo-norm (number of non-zero elements), use this expression: accu(X != 0)
    • +
    • matrix 2-norm (spectral norm) is based on SVD, which is computationally intensive; a faster alternative is norm2est()

  • @@ -12165,7 +12165,11 @@ mat Y = unique(X);
    vecnorm( X, p, dim )