The past few days have included a flood of proposed solutions to the violence, along with challenges.

On Thursday, Prime Minister Jacinda Ardern unveiled a ban on military-style semiautomatic weapons and the ammunition and parts that were used in the shootings — an overhaul of gun laws that she hopes to have fully in place by April 11.

Her quick action is a source of pride for many New Zealanders. Within the first few hours of the prime minister’s announcement, more than 300 gun owners filled out forms to turn in weapons that were the targets of the ban.

Ms. Ardern also pledged this week to work with other countries on holding social media companies accountable for letting hateful speech thrive on their platforms.

Funerals, which were few and far between for most of the week as families pressed officials for the bodies of their loves ones, suddenly were being conducted with heartbreaking efficiency.