Examples
How to use?
Since the system is in its implementation phase, new examples will be added in the future.
Complex Plane
This example demonstrates a way to work with complex numbers using the Mingal library, in a user-friendly manner with regard to notation:
Complex = Algebra(0, 1, ["i"])
julia> i*i == -1*id
true
julia> 5*i*i*i == -5*i
true
julia> (1+i)*(1+i) == 2*i
true
julia> (1+i)*(1-i) == 2*id
true
ℝ² plane
This example demonstrates a way to work with the ℝ² vectors using the Mingal library, in a user-friendly manner with regard to notation:
R2 = Algebra(2,0,["i","j"])
julia> i^i == 0*id
true
julia> i\j == 0*id
true
julia> i^j == ij
true
julia> (i + 2*j)\(5*i+2*j) == 9*id
true