CompositeFactory¶
-
class
kona.linalg.vectors.composite.
CompositeFactory
(memory, vec_type)[source]¶ Bases:
object
A factory-like object that generates composite vectors.
It is intended to mimic the function of basic VectorFactory objects.
Parameters: - memory (KonaMemory) – All-knowing Kona memory manager.
- vec_type (CompositeVector-like) – Type of composite vector the factory will produce.
Variables: - _memory (KonaMemory) – All-knowing Kona memory manager.
- _vec_type (CompositeVector-like) – Type of composite vector the factory will produce.
- _factories (list of VectorFactory or CompositeFactory) – Vector factories used in generating the composite vector of choice.