Come onnn

parent e0f44bad
......@@ -22,9 +22,9 @@ function antsym(a::SU3{T}) where T <: AbstractFloat
end
Base.:*(a::U3alg{T},b::SU3fund{T}) where T <: AbstractFloat = SU3fund{T}(a.u11*b.t1 + a.u12*b.t2 + a.u13*b.t3,
-a.u12*b.t1 + a.u22*b.t2 + a.u23*b.t3,
-a.u13*b.t1 - a.u23*b.t2 + a.u33*b.t3)
Base.:*(a::U3alg{T},b::SU3fund{T}) where T <: AbstractFloat = SU3fund{T}(a.u11*b.t1 + a.u12*b.t4 + a.u13*b.t5,
-a.u12*b.t4 + a.u22*b.t2 + a.u23*b.t6,
-a.u13*b.t5 - a.u23*b.t6 + a.u33*b.t3)
Base.:+(a::U3alg{T},b::U3alg{T}) where T <: AbstractFloat = U3alg{T}(a.u11 + b.u11, a.u22 + b.u22, a.u33 + b.u33, a.u12 + b.u12, a.u13 + b.u13, a.u23 + b.u23)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment