ClMtxExpr.NormL2 Method

Overload List

#SignatureDescription
1function NormL2(const X: TOpenCLMatrix): double; overload;Computes the L2 Norm for X.
2function NormL2(const X,Y: TOpenCLMatrix; RelativeError: boolean = False): double; overload;Computes the L1 Norm between X and Y.
3function NormL2(const X: TOpenCLVector): double; overload;Computes the L2 Norm for X.
4function NormL2(const X,Y: TOpenCLVector; RelativeError: boolean = False): double; overload;Computes the L1 Norm between X and Y.

Overload 1: function NormL2(const X: TOpenCLMatrix): double; overload;

Computes the L2 Norm for X.

#NameTypeDescription
1XTOpenCLMatrixsource TOpenCLMatrix

Returns: double

Remarks:

Internally calls clMatrix.NormL2

Overload 2: function NormL2(const X,Y: TOpenCLMatrix; RelativeError: boolean = False): double; overload;

Computes the L1 Norm between X and Y.

#NameTypeDescription
1XTOpenCLMatrixsource TOpenCLMatrix
2YTOpenCLMatrixsource TOpenCLMatrix
3RelativeErrorBoolean

Returns: double

Remarks:

Internally calls clMatrix.NormL1

Overload 3: function NormL2(const X: TOpenCLVector): double; overload;

Computes the L2 Norm for X.

#NameTypeDescription
1XTOpenCLVectorsource TOpenCLVector

Returns: double

Remarks:

Internally calls clVector.NormL2

Overload 4: function NormL2(const X,Y: TOpenCLVector; RelativeError: boolean = False): double; overload;

Computes the L1 Norm between X and Y.

#NameTypeDescription
1XTOpenCLVectorsource TOpenCLVector
2YTOpenCLVectorsource TOpenCLVector
3RelativeErrorBoolean

Returns: double

Remarks:

Internally calls clVector.NormL1