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>> &mat, std::complex<scalar_type_t> c)

Returns the product of the given scalar and matrix.

Template Parameters

scalar_type_t – Template parameter of std::complex.

Parameters
  • mat – Matrix to be scaled.

  • c – Scalar to be applied to the matrix.

Returns

Matrix representing the scalar product of c and mat.