adjacent_difference


function adjacent_difference<Type>(x:Type[_], op:\(Type, Type) -> Type) -> Type[_]

Adjacent difference.

  • x: Vector.
  • op: Operator.