Skip to content

num::kernel::hadamard_div

Defined in header <kernel/vector.hpp>

template <std::floating_point T>
void hadamard_div(T *z, const T *x, const T *y, idx n) noexcept;

Computes elementwise division \(z_i = x_i / y_i\).