ClMtxExpr.NormL2 Method

Overload List

#SignatureDescription
1Double NormL2(TOpenCLMatrix X)Computes the L2 Norm for X.
2Double NormL2(TOpenCLMatrix X, TOpenCLMatrix Y, Boolean RelativeError)Computes the L1 Norm between X and Y.
3Double NormL2(TOpenCLVector X)Computes the L2 Norm for X.
4Double NormL2(TOpenCLVector X, TOpenCLVector Y, Boolean RelativeError)Computes the L1 Norm between X and Y.

Overload 1: Double NormL2(TOpenCLMatrix X)

Computes the L2 Norm for X.

#NameTypeDescription
1XTOpenCLMatrixsource TOpenCLMatrix

Returns: Double

Remarks:

Internally calls Dew.Math.clMatrix.NormL2

Overload 2: Double NormL2(TOpenCLMatrix X, TOpenCLMatrix Y, Boolean RelativeError)

Computes the L1 Norm between X and Y.

#NameTypeDescription
1XTOpenCLMatrixsource TOpenCLMatrix
2YTOpenCLMatrixsource TOpenCLMatrix
3RelativeErrorBoolean

Returns: Double

Remarks:

Internally calls Dew.Math.clMatrix.NormL1

Overload 3: Double NormL2(TOpenCLVector X)

Computes the L2 Norm for X.

#NameTypeDescription
1XTOpenCLVectorsource TOpenCLVector

Returns: Double

Remarks:

Internally calls Dew.Math.clVector.NormL2

Overload 4: Double NormL2(TOpenCLVector X, TOpenCLVector Y, Boolean RelativeError)

Computes the L1 Norm between X and Y.

#NameTypeDescription
1XTOpenCLVectorsource TOpenCLVector
2YTOpenCLVectorsource TOpenCLVector
3RelativeErrorBoolean

Returns: Double

Remarks:

Internally calls Dew.Math.clVector.NormL1