dgemv works for clamping functions.