The template parameter TP_IS_OUTPUT_SQUARED determines whether the output is squared (i.e., ED^2) or standard ED.
TP_IS_OUTPUT_SQUARED= 0 indicates that the output is standard ED.TP_IS_OUTPUT_SQUARED= 1 indicates that the output is squared (i.e.,ED^2).
Note
TP_IS_OUTPUT_SQUARED is 0 by default, meaning the output is always standard ED.
| TP_IS_OUTPUT_SQUARED | Output |
|---|---|
| 0 | e.g. ED = sqrt(Dx^2 + Dy^2 + Dz^2) |
| 1 | e.g. ED^2 = (Dx^2 + Dy^2 + Dz^2) |