Skip to contents

clip vector to specified range (clone of np.clip)

Usage

clip(x, l, u)

Arguments

x

vector

l

lower bound

u

upper bound

Value

clipped vector