Mjolnir Core
Core functionality of the Mjolnir API

◆ broadcast_element_sum()

auto broadcast_element_sum ( T_RegisterType  src) -> T_RegisterType
inlinenoexcept

Calculate the sum of all elements of src, broadcast it into a new register and return the result.

Template Parameters
T_RegisterTypeThe register type
Parameters
[in]srcThe source register
Returns
Register with all elements set to the element sum of src