Class Sqrt
- Namespace
- YndigoBlue.Velocity.Functions
- Assembly
- YndigoBlue.Velocity.dll
Represents the SQRT (square root) mathematical function that returns the principal square root of a number.
public class Sqrt : Function, IElement, ICheckItem, IDefaultItem, IFilterItem
- Inheritance
-
Sqrt
- Implements
Remarks
The SQRT function calculates the square root of a non-negative number. The input value must be greater than or equal to zero; negative values will produce an error in most databases. This is useful for distance calculations, statistical operations, and geometric computations.
Constructors
- Sqrt(IEnumerable<IElement>)
Initializes a new instance of SQRT for multiple elements.
- Sqrt(IElement)
Initializes a new instance of SQRT for a single element.