Skip to content

Math.Sqrt

Name Mandatory Description Default Type
⬅️ Input The input float or sequence of floats to calculate the square root of. This value must be a positive number or sequence of positive numbers. FloatFloat2Float3Float4Color[Any]
Output ➡️ Outputs the square root of the input. FloatFloat2Float3Float4Color[Any]

This shard calculates the square root of the given input.

Examples

1
2
3
@f3(1.0 2.0 4.0) | Math.Sqrt | Log
Math.Subtract(@f3(1.0 1.4142136 2.0)) | Math.Abs
IsLess(@f3(0.00001 0.00001 0.00001)) | Assert.Is(true Break: true)

[info] [sample-wire] @f3(1 1.41421 2)