httk.core.vectors.vector_backend¶
The abstract base class for all vector backends.
Classes¶
Abstract base class for all backends of vector (tensor) data. |
Module Contents¶
- class httk.core.vectors.vector_backend.VectorBackend(backend, **hints)[source]¶
Bases:
httk.core.views.Backend[VectorBackend],httk.core.vectors.vector_api.VectorAPIAbstract base class for all backends of vector (tensor) data.
Concrete backends carry a native representation (an exact FracVector, plain nested sequences, or a numpy array) and produce the canonical exactness-preserving
fractionsinterchange declared byVectorAPIfrom it.Concrete subclasses select the accepted input and optional dispatch hints in their
_backend_adopthooks.- backend_classes: ClassVar[list[type[httk.core.views.Backend[Any]]]]¶