Template Function Jet::Utilities::Pow¶
Defined in File Utilities.hpp
Function Documentation¶
-
template<typename
scalar_type_t
>
inline std::vector<std::complex<scalar_type_t>>Jet::Utilities
::
Pow
(const std::vector<std::complex<scalar_type_t>> &mat, size_t k)¶ Raises the given matrix to the specified exponent.
- Template Parameters
scalar_type_t – Template parameter of std::complex.
- Parameters
mat – Matrix at the base of the power.
k – Exponent of the power.
- Returns
Matrix representing
mat
raised to the power ofk
.
api/function_Utilities_8hpp_1a1797d10427ed5aba65fb61607bf478b2
Download Python script
Download Notebook
View on GitHub