Commit 216aaaa0 authored by Raymond Hettinger's avatar Raymond Hettinger Committed by Miss Islington (bot)

Fixing wording in comment. (GH-10425)



Since the n==1 case just returns *max*, it cannot be larger
than the magnitude of the vector entry.
parent 7a69cf47
...@@ -2043,7 +2043,7 @@ Given an *n* length *vec* of values and a value *max*, compute: ...@@ -2043,7 +2043,7 @@ Given an *n* length *vec* of values and a value *max*, compute:
max * sqrt(sum((x / max) ** 2 for x in vec)) max * sqrt(sum((x / max) ** 2 for x in vec))
The value of the *max* variable must be non-negative and The value of the *max* variable must be non-negative and
at least equal to the absolute value of the largest magnitude equal to the absolute value of the largest magnitude
entry in the vector. If n==0, then *max* should be 0.0. entry in the vector. If n==0, then *max* should be 0.0.
If an infinity is present in the vec, *max* should be INF. If an infinity is present in the vec, *max* should be INF.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment