Template Function Jet::Utilities::operator+

Function Documentation

template<typename scalar_type_t>
inline std::vector<std::complex<scalar_type_t>> Jet::Utilities::operator+(const std::vector<std::complex<scalar_type_t>> &m1, const std::vector<std::complex<scalar_type_t>> &m2)

Adds the given matrices.

Template Parameters

scalar_type_t – Template parameter of std::complex.

Parameters
  • m1 – Matrix on the LHS of the addition.

  • m2 – Matrix on the RHS of the addition.

Returns

Matrix representing the sum of m1 and m2.