sqrtw2
sqrtw2 is the shorthand for the expression sqrt(w^2), the square root of the square of a variable w. In real-number contexts, this quantity equals the absolute value of w, denoted |w|, and is therefore always nonnegative. This makes sqrtw2 a convenient way to express a nonnegative magnitude derived from w.
For real w, the value is determined by the sign of w: if w is nonnegative, sqrtw2
In complex analysis, the situation is more subtle. The square root is a multivalued operation, and sqrt(w^2)
Computational notes: many computer algebra systems simplify sqrt(w^2) to Abs(w) (the absolute value) rather than w,
Relation to norms: for a real scalar, sqrt(w^2) is the Euclidean norm of a one-dimensional vector and