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)

Subtracts the given matrices.

Template Parameters

scalar_type_t – Template parameter of std::complex.

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

  • m2 – Matrix on the RHS of the subtraction.

Returns

Matrix representing m2 subtracted from m1.