Template Function otyca::operator/=

Function Documentation

template<typename T>
void otyca::operator/=(std::vector<T> &v1, const std::vector<T> &v2)

Performs element-wise division of two vectors.

If the vectors have different sizes, the function returns without modification.

Template Parameters:

T – Type of elements in the vectors.

Parameters:
  • v1Dividend vector (modified in place).

  • v2 – Divisor vector.