sorbetto.geometry.linear_fractional_transformation module

class sorbetto.geometry.linear_fractional_transformation.LinearFractionalTransformation(a: float, b: float, c: float, d: float)[source]

Bases: object

This class is used to represent linear fractional transformations. \(x \mapsto \frac{ a x + b }{ c x + d }\) https://en.wikipedia.org/wiki/Linear_fractional_transformation

property a: float

The coefficient \(a\).

Returns:

The paramater \(a\) of the linear fractional transformation.

Return type:

float

property b: float

The coefficient \(b\).

Returns:

The paramater \(b\) of the linear fractional transformation.

Return type:

float

property c: float

The coefficient \(c\).

Returns:

The paramater \(c\) of the linear fractional transformation.

Return type:

float

property d: float

The coefficient \(d\).

Returns:

The paramater \(d\) of the linear fractional transformation.

Return type:

float

getInverse() Self[source]

Computes the inverse of this linear fractional transformation.

Returns:

the inverse linear fractional transformation

Return type:

Self