adjacent_difference

function adjacent_difference<Value>(x:Value[_], op:@(Value, Value) -> Value) -> Value[_]

Adjacent difference.

  • x: Vector.
  • op: Operator.