22 __all__ = [
"PointKey",
"CovarianceMatrixKey"]
27 from ._table
import Point2IKey, Point2DKey, \
28 CovarianceMatrix2fKey, CovarianceMatrix3fKey, CovarianceMatrix4fKey, CovarianceMatrixXfKey, \
29 CovarianceMatrix2dKey, CovarianceMatrix3dKey, CovarianceMatrix4dKey, CovarianceMatrixXdKey
33 TEMPLATE_PARAMS = (
"dtype",
"dim")
34 TEMPLATE_DEFAULTS = (
None, 2)
37 PointKey.register((np.int32, 2), Point2IKey)
38 PointKey.register((np.float64, 2), Point2DKey)
47 TEMPLATE_PARAMS = (
"dtype",
"dim")
50 CovarianceMatrixKey.register((np.float32, 2), CovarianceMatrix2fKey)
51 CovarianceMatrixKey.register((np.float32, 3), CovarianceMatrix3fKey)
52 CovarianceMatrixKey.register((np.float32, 4), CovarianceMatrix4fKey)
53 CovarianceMatrixKey.register(
54 (np.float32,
None), CovarianceMatrixXfKey)
55 CovarianceMatrixKey.register((np.float64, 2), CovarianceMatrix2dKey)
56 CovarianceMatrixKey.register((np.float64, 3), CovarianceMatrix3dKey)
57 CovarianceMatrixKey.register((np.float64, 4), CovarianceMatrix4dKey)
58 CovarianceMatrixKey.register(
59 (np.float64,
None), CovarianceMatrixXdKey)