swarmauri.core.vector_stores.IReflect module
- class swarmauri.core.vector_stores.IReflect.IReflect[source]
Bases:
ABC
Interface for reflecting a vector across a specified plane or axis.
- abstract reflect_vector(vector, normal)[source]
Reflects a vector across a plane or axis defined by a normal vector.
Parameters: - vector (List[float]): The vector to be reflected. - normal (List[float]): The normal vector of the plane across which the vector will be reflected.
Returns: - List[float]: The reflected vector.
- Return type:
List
[float
]