span><span class="hl-0">]);</span><br/><br/><span class="hl-8">// complex l2 norm</span><br/><span class="hl-3">console</span><span class="hl-0">.</span><span class="hl-6">log</span><span class="hl-0">(</span><span class="hl-6">dznrm2</span><span class="hl-0">(</span><span class="hl-7">2</span><span class="hl-0">, </span><span class="hl-3">c16</span><span class="hl-0">, </span><span class="hl-7">1</span><span class="hl-0">));</span><br/><span class="hl-8">// sqrt(1^2 + 2^2 + 3^2 + 4^2) ~ 5.477</span>
</code