Complex class
Definition at line 7 of file complex.py.
◆ __init__()
def sophus.complex.Complex.__init__ |
( |
|
self, |
|
|
|
real, |
|
|
|
imag |
|
) |
| |
◆ __add__()
def sophus.complex.Complex.__add__ |
( |
|
self, |
|
|
|
right |
|
) |
| |
◆ __eq__()
def sophus.complex.Complex.__eq__ |
( |
|
self, |
|
|
|
other |
|
) |
| |
◆ __getitem__()
def sophus.complex.Complex.__getitem__ |
( |
|
self, |
|
|
|
key |
|
) |
| |
We use the following convention [real, imag]
Definition at line 32 of file complex.py.
◆ __mul__()
def sophus.complex.Complex.__mul__ |
( |
|
self, |
|
|
|
right |
|
) |
| |
complex multiplication
Definition at line 14 of file complex.py.
◆ __neg__()
def sophus.complex.Complex.__neg__ |
( |
|
self | ) |
|
◆ __repr__()
def sophus.complex.Complex.__repr__ |
( |
|
self | ) |
|
◆ __truediv__()
def sophus.complex.Complex.__truediv__ |
( |
|
self, |
|
|
|
scalar |
|
) |
| |
◆ conj()
def sophus.complex.Complex.conj |
( |
|
self | ) |
|
◆ Da_a_mul_b()
def sophus.complex.Complex.Da_a_mul_b |
( |
|
a, |
|
|
|
b |
|
) |
| |
|
static |
derivatice of complex muliplication wrt left multiplier a
Definition at line 72 of file complex.py.
◆ Db_a_mul_b()
def sophus.complex.Complex.Db_a_mul_b |
( |
|
a, |
|
|
|
b |
|
) |
| |
|
static |
derivatice of complex muliplication wrt right multiplicand b
Definition at line 78 of file complex.py.
◆ identity()
def sophus.complex.Complex.identity |
( |
| ) |
|
|
static |
◆ inv()
def sophus.complex.Complex.inv |
( |
|
self | ) |
|
◆ simplify()
def sophus.complex.Complex.simplify |
( |
|
self | ) |
|
◆ squared_norm()
def sophus.complex.Complex.squared_norm |
( |
|
self | ) |
|
squared norm when considering the complex number as tuple
Definition at line 39 of file complex.py.
◆ subs()
def sophus.complex.Complex.subs |
( |
|
self, |
|
|
|
x, |
|
|
|
y |
|
) |
| |
◆ zero()
def sophus.complex.Complex.zero |
( |
| ) |
|
|
static |
◆ imag
sophus.complex.Complex.imag |
◆ real
sophus.complex.Complex.real |
The documentation for this class was generated from the following file: