| Mobius | R Documentation |
A Möbius transformation is given by a matrix of complex numbers with non-null determinant.
aget or set a
bget or set b
cget or set c
dget or set d
new()Create a new Mobius object.
Mobius$new(M)
Mthe matrix corresponding to the Möbius transformation
A new Mobius object.
print()Show instance of a Mobius object.
Mobius$print(...)
...ignored
Mobius$new(rbind(c(1+1i,2),c(0,3-2i)))
getM()Get the matrix corresponding to the Möbius transformation.
Mobius$getM()
compose()Compose the reference Möbius transformation with another Möbius transformation
Mobius$compose(M1, left = TRUE)
M1a Mobius object
leftlogical, whether to compose at left or at right (i.e.
returns M1 o M0 or M0 o M1)
A Mobius object.
inverse()Inverse of the reference Möbius transformation.
Mobius$inverse()
A Mobius object.
power()Power of the reference Möbius transformation.
Mobius$power(k)
kan integer, possibly negative
The Möbius transformation M^k,
where M is the reference Möbius transformation.
gpower()Generalized power of the reference Möbius transformation.
Mobius$gpower(k)
ka real number, possibly negative
A Mobius object, the generalized k-th power of
the reference Möbius transformation.
M <- Mobius$new(rbind(c(1+1i,2),c(0,3-2i))) Mroot <- M$gpower(1/2) Mroot$compose(Mroot) # should be M
transform()Transformation of a point by the reference Möbius transformation.
Mobius$transform(M)
Ma point or Inf
A point or Inf, the image of M.
Mob <- Mobius$new(rbind(c(1+1i,2),c(0,3-2i))) Mob$transform(c(1,1)) Mob$transform(Inf)
fixedPoints()Returns the fixed points of the reference Möbius transformation.
Mobius$fixedPoints()
One point, or a list of two points, or a message in the case when the transformation is the identity map.
transformCircle()Transformation of a circle by the reference Möbius transformation.
Mobius$transformCircle(circ)
circa Circle object
A Circle object or a Line object.
transformLine()Transformation of a line by the reference Möbius transformation.
Mobius$transformLine(line)
linea Line object
A Circle object or a Line object.
transformGcircle()Transformation of a generalized circle (i.e. a circle or a line) by the reference Möbius transformation.
Mobius$transformGcircle(gcirc)
gcirca Circle object or a Line object
A Circle object or a Line object.
clone()The objects of this class are cloneable with this method.
Mobius$clone(deep = FALSE)
deepWhether to make a deep clone.
MobiusMappingThreePoints to create a Möbius
transformation, and also the compose method of the
Inversion R6 class.
## ------------------------------------------------
## Method `Mobius$print`
## ------------------------------------------------
Mobius$new(rbind(c(1+1i,2),c(0,3-2i)))
## ------------------------------------------------
## Method `Mobius$gpower`
## ------------------------------------------------
M <- Mobius$new(rbind(c(1+1i,2),c(0,3-2i)))
Mroot <- M$gpower(1/2)
Mroot$compose(Mroot) # should be M
## ------------------------------------------------
## Method `Mobius$transform`
## ------------------------------------------------
Mob <- Mobius$new(rbind(c(1+1i,2),c(0,3-2i)))
Mob$transform(c(1,1))
Mob$transform(Inf)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.