ETcVnNormalizationType

Offers normalization types.

Syntax

Definition:

TYPE ETcVnNormalizationType :
(
    TCVN_NT_INF               := 1,
    TCVN_NT_L1                := 2,
    TCVN_NT_L2                := 4,
    TCVN_NT_L2SQR             := 5,
    TCVN_NT_HAMMING           := 6,
    TCVN_NT_HAMMING2          := 7,
    TCVN_NT_RELATIVE_INF      := 9,
    TCVN_NT_RELATIVE_L1       := 10,
    TCVN_NT_RELATIVE_L2       := 12,
    TCVN_NT_RELATIVE_L2SQR    := 13,
    TCVN_NT_RELATIVE_HAMMING  := 14,
    TCVN_NT_RELATIVE_HAMMING2 := 15,
    TCVN_NT_MINMAX            := 32
)DINT;
END_TYPE

Values

Name

Description

TCVN_NT_INF

Infinity norm

TCVN_NT_L1

L1 norm

TCVN_NT_L2

L2 (euclidean) norm

TCVN_NT_L2SQR

Squared L2 norm

TCVN_NT_HAMMING

Hamming distance (bitwise)

TCVN_NT_HAMMING2

Hamming distance (each 2 bits combined to one)

TCVN_NT_RELATIVE_INF

Infinity norm (when comparing 2 arrays, the norm of their difference is divided by the norm of the second array)

TCVN_NT_RELATIVE_L1

L1 norm (when comparing 2 arrays, the norm of their difference is divided by the norm of the second array)

TCVN_NT_RELATIVE_L2

L2 (euclidean) norm (when comparing 2 arrays, the norm of their difference is divided by the norm of the second array)

TCVN_NT_RELATIVE_L2SQR

Squared L2 norm (when comparing 2 arrays, the norm of their difference is divided by the norm of the second array)

TCVN_NT_RELATIVE_HAMMING

Hamming distance (bitwise; when comparing 2 arrays, the norm of their difference is divided by the norm of the second array)

TCVN_NT_RELATIVE_HAMMING2

Hamming distance (each 2 bits combined to one; when comparing 2 arrays, the norm of their difference is divided by the norm of the second array)

TCVN_NT_MINMAX

Normalize the values to a range given by a minimum and a maximum value.

Verwandte Funktionen