Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
sophus.complex.Complex Class Reference

Public Member Functions

def __add__ (self, right)
 
def __eq__ (self, other)
 
def __getitem__ (self, key)
 
def __init__ (self, real, imag)
 
def __mul__ (self, right)
 
def __neg__ (self)
 
def __repr__ (self)
 
def __truediv__ (self, scalar)
 
def conj (self)
 
def inv (self)
 
def simplify (self)
 
def squared_norm (self)
 
def subs (self, x, y)
 

Static Public Member Functions

def Da_a_mul_b (a, b)
 
def Db_a_mul_b (a, b)
 
def identity ()
 
def zero ()
 

Public Attributes

 imag
 
 real
 

Detailed Description

Complex class 

Definition at line 7 of file complex.py.

Constructor & Destructor Documentation

◆ __init__()

def sophus.complex.Complex.__init__ (   self,
  real,
  imag 
)

Definition at line 10 of file complex.py.

Member Function Documentation

◆ __add__()

def sophus.complex.Complex.__add__ (   self,
  right 
)

Definition at line 19 of file complex.py.

◆ __eq__()

def sophus.complex.Complex.__eq__ (   self,
  other 
)

Definition at line 59 of file complex.py.

◆ __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)

Definition at line 22 of file complex.py.

◆ __repr__()

def sophus.complex.Complex.__repr__ (   self)

Definition at line 29 of file complex.py.

◆ __truediv__()

def sophus.complex.Complex.__truediv__ (   self,
  scalar 
)
scalar division 

Definition at line 25 of file complex.py.

◆ conj()

def sophus.complex.Complex.conj (   self)
complex conjugate 

Definition at line 43 of file complex.py.

◆ 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

Definition at line 52 of file complex.py.

◆ inv()

def sophus.complex.Complex.inv (   self)
complex inverse 

Definition at line 47 of file complex.py.

◆ simplify()

def sophus.complex.Complex.simplify (   self)

Definition at line 67 of file complex.py.

◆ 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 
)

Definition at line 64 of file complex.py.

◆ zero()

def sophus.complex.Complex.zero ( )
static

Definition at line 56 of file complex.py.

Member Data Documentation

◆ imag

sophus.complex.Complex.imag

Definition at line 12 of file complex.py.

◆ real

sophus.complex.Complex.real

Definition at line 11 of file complex.py.


The documentation for this class was generated from the following file:


sophus
Author(s): Hauke Strasdat
autogenerated on Wed Mar 2 2022 01:01:48