The prime minister is speaking as he announces a national inquiry into the mass shooting that left 15 people dead.