System.Math.Norm
Delphi
function Norm(const Data: array of Single): Single;
function Norm(const Data: array of Double): Double;
function Norm(const Data: array of Extended): Extended;
C++
extern DELPHI_PACKAGE float __fastcall Norm(const float *Data, const int Data_High)/* overload */;
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | System.Math.pas System.Math.hpp |
System.Math | System.Math |
説明
ユークリッドの 'L-2' ノルムを返します。
Norm は、Data 配列内の値の 'L-2' ユークリッド ノルムを返します。'L-2' ノルムは二乗和の平方根です。
メモ: C++ では、Data は値の配列であり、Data_Size は配列内の最終値のインデックス(値の数 - 1)です。