Examples

How to use?

Note

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*idtrue
julia> 5*i*i*i == -5*itrue
julia> (1+i)*(1+i) == 2*itrue
julia> (1+i)*(1-i) == 2*idtrue

ℝ² 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*idtrue
julia> i\j == 0*idtrue
julia> i^j == ijtrue
julia> (i + 2*j)\(5*i+2*j) == 9*idtrue