clifford.ConformalLayout¶
-
class
clifford.
ConformalLayout
(*args, layout=None, **kwargs)[source]¶ A layout for a conformal algebra, which adds extra constants and helpers.
Typically these should be constructed via
clifford.conformalize()
.New in version 1.2.0.
-
ep
¶ The first added basis element, \(e_{+}\), usually with \(e_{+}^2 = +1\)
- Type
-
en
¶ The first added basis element, \(e_{-}\), usually with \(e_{-}^2 = -1\)
- Type
-
eo
¶ The null basis vector at the origin, \(e_o = 0.5(e_{-} - e_{+})\)
- Type
-
einf
¶ The null vector at infinity, \(e_\infty = e_{-} + e_{+}\)
- Type
-
E0
¶ The minkowski subspace bivector, \(e_\infty \wedge e_o\)
- Type
-
I_base
¶ The pseudoscalar of the base ga, in cga layout
- Type
-
Attributes
the psuedoScalar |
|
List of blades in this layout matching the order of self.bladeTupList |
|
the psuedoScalar |
|
the scalar of value 1, for this GA (a MultiVector object) |
Methods
create a multivector in this layout |
|
Initialize self. |
|
Returns a dictionary mapping basis element names to their MultiVector instances, optionally for specific grades |
|
return all blades of a given grade, |
|
Takes a dictionary of coefficient values and converts it into a MultiVector object |
|
down-project a vector from CGA to GA |
|
Generates the dual function for the pseudoscalar |
|
Generates the vee product function |
|
Returns the matrix M_g that performs grade projection via left multiplication eg. |
|
This produces the matrix X that performs left multiplication with x eg. |
|
This produces the matrix X that performs right multiplication with x eg. |
|
homogenize a CGA vector |
|
Takes a ga file Checks it is the same signature as this layout Loads the data into an MVArray |
|
Parses a multivector string into a MultiVector object |
|
Convenience method to create a random multivector. |
|
generate a random Rotor. |
|
generate n random 1-vector s |
|
up-project a vector from GA to CGA |