NormTypes
Objective-C
NS_ENUM(int, NormTypes) {
NORM_INF = 1,
NORM_L1 = 2,
NORM_L2 = 4,
NORM_L2SQR = 5,
NORM_HAMMING = 6,
NORM_HAMMING2 = 7,
NORM_TYPE_MASK = 7,
NORM_RELATIVE = 8,
NORM_MINMAX = 32
}
Swift
enum NormTypes : Int32
-
Declaration
Objective-C
NORM_INF = 1
Swift
case NORM_INF = 1
-
Declaration
Objective-C
NORM_L1 = 2
Swift
case NORM_L1 = 2
-
Declaration
Objective-C
NORM_L2 = 4
Swift
case NORM_L2 = 4
-
Declaration
Objective-C
NORM_L2SQR = 5
Swift
case NORM_L2SQR = 5
-
Declaration
Objective-C
NORM_HAMMING = 6
Swift
case NORM_HAMMING = 6
-
Declaration
Objective-C
NORM_HAMMING2 = 7
Swift
case NORM_HAMMING2 = 7
-
Declaration
Objective-C
NORM_TYPE_MASK = 7
Swift
static var NORM_TYPE_MASK: NormTypes { get }
-
Declaration
Objective-C
NORM_RELATIVE = 8
Swift
case NORM_RELATIVE = 8
-
Declaration
Objective-C
NORM_MINMAX = 32
Swift
case NORM_MINMAX = 32