Skip to contents

Element-wise operation that converts every element to a value inside a range. This operation preserves the shape of the data (scalar, vector, or matrix) but changes the values, setting each value to be within the specified range. See the Julia documentation for details.

Usage

Clamp(min = NULL, max = NULL, ...)

Arguments

min

Minimum value; values less than this will be set to this value

max

Maximum value; values greater than this will be set to this value

...

Additional arguments needed to support usage of pipe operator

Value

A query operation object that can be used in a query sequence