Learn R Programming

elliptic (version 1.5-0)

mob: Moebius transformations

Description

Moebius transformations

Usage

mob(M, x)
M %mob% x

Value

Returns a value with the same attributes as x. Elementwise, if

$$M=\left(\begin{array}{cc}a&b\\c&d\end{array}\right)$$

then mob(M,x) is \(\frac{ax+b}{cx+d}\).

Arguments

M

2-by-2 matrix of integers

x

vector of values to be transformed

Author

Robin K. S. Hankin

References

Wikipedia contributors, "Mobius transformation," Wikipedia, The Free Encyclopedia (accessed February 13, 2011).

See Also

unimodular

Examples

Run this code
M <- matrix(c(11,6,9,5),2,2)
x <- seq(from=1+1i,to=10-2i,len=6)

M %mob% x
plot(mob(M,x))

Run the code above in your browser using DataLab