The function you're after is numpy.linalg.norm . (I reckon it should be in base numpy as a property of an array -- say x.norm() -- but oh ...
確定! 回上一頁