# VComposable¶

class menpo.transform.base.composable.VComposable[source]

Bases: object

Mix-in for Vectorizable ComposableTransform s.

Use this mix-in with ComposableTransform if the ComposableTransform in question is Vectorizable as this adds from_vector() variants to the ComposableTransform interface.

These can be tuned for performance.

compose_after_from_vector_inplace(vector)[source]

Specialised inplace composition with a vector. This should be overridden to provide specific cases of composition whereby the current state of the transform can be derived purely from the provided vector.

Parameters: vector ((n_parameters,) ndarray) – Vector to update the transform state with.