Template Function Jet::Utilities::VectorSubtraction

Function Documentation

template<typename T>
inline std::vector<T> Jet::Utilities::VectorSubtraction(const std::vector<T> &v1, const std::vector<T> &v2)

Computes the difference of two small vectors.

Template Parameters

T – Type of the elements in the vectors.

Parameters
  • v1 – Vector on the LHS of the difference.

  • v2 – Vector on the RHS of the difference.

Returns

Vector containing the elements only in the first vector.