Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Dim ¶
func Dim[N constraints.Integer | constraints.Float](x, y N) N
Dim returns the maximum of x-y or 0.
Parameters:
- x: The first value
- y: The second value
Returns:
- N: The maximum of x-y or 0
func Max ¶
func Max[N constraints.Integer | constraints.Float](x, y N) N
Max returns the maximum of two values.
Parameters:
- x: The first value
- y: The second value
Returns:
- N: The maximum value
func Min ¶
func Min[N constraints.Integer | constraints.Float](x, y N) N
Min returns the minimum of two values.
Parameters:
- x: The first value
- y: The second value
Returns:
- N: The minimum value
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.