swarmauri.core.vector_stores.IVectorArithmetic module
- class swarmauri.core.vector_stores.IVectorArithmetic.IVectorArithmetic[source]
Bases:
ABC
- abstract add(vector1, vector2)[source]
Vector addition of ‘vector1’ and ‘vector2’.
- Return type:
List
[float
]
- abstract divide(vector, scalar)[source]
Scalar division of ‘vector’ by ‘scalar’.
- Return type:
List
[float
]