flipper.kernel.moves.LinearTransformation

class flipper.kernel.moves.LinearTransformation(source_triangulation, target_triangulation, geometric, algebraic)[source]

Bases: flipper.kernel.moves.Move

Represents the change to a lamination caused by a linear map.

applied_geometric(lamination, action)[source]

Return the action and condition matrices describing the PL map applied to the geometric coordinates of the given lamination after post-multiplying by the action matrix.

apply_algebraic(vector)[source]

Return the list of algebraic intersection numbers corresponding to the image of the given lamination under self.

apply_geometric(vector)[source]

Return the list of geometric intersection numbers corresponding to the image of the given lamination under self.

encode()

Return the Encoding induced by this isometry.

inverse()[source]

Return the inverse of this map.

Note that these do not exist and so NotImplemented is returned.

package()[source]

Return a small amount of data such that self.source_triangulation.encode([data]) == self.encode().

pl_action(index, action)[source]

Return the action and condition matrices describing the PL map applied to the geometric coordinates by the cell of the specified index after post-multiplying by the action matrix.