mirror of
https://igit.ific.uv.es/alramos/latticegpu.jl.git
synced 2025-05-14 11:13:42 +02:00
Typo in documentation
This commit is contained in:
parent
30d3c2ae89
commit
9e30ec0500
2 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@ end
|
|||
"""
|
||||
antsym(a::SU2{T}) where T <: AbstractFloat
|
||||
|
||||
Returns the antisymmetrization of the SU2 element `a`, that is `\`\ a - a^{\\dagger} `\`. This method returns al element of `U2alg{T}`.
|
||||
Returns the antisymmetrization of the SU2 element `a`, that is `\`\` `a - a^{\\dagger}` `\`. This method returns al element of `U2alg{T}`.
|
||||
"""
|
||||
function antsym(a::SU2{T}) where T <: AbstractFloat
|
||||
return U2alg{T}(2.0*imag(a.t1),-2.0*imag(a.t1),2.0*a.t2)
|
||||
|
|
|
@ -17,7 +17,7 @@ end
|
|||
"""
|
||||
antsym(a::SU3{T}) where T <: AbstractFloat
|
||||
|
||||
Returns the antisymmetrization of the SU3 element `a`, that is `\`\ a - a^{\\dagger} `\`. This method returns al element of `U3alg{T}`.
|
||||
Returns the antisymmetrization of the SU3 element `a`, that is `\`\` `a - a^{\\dagger}` `\`. This method returns al element of `U3alg{T}`.
|
||||
"""
|
||||
function antsym(a::SU3{T}) where T <: AbstractFloat
|
||||
t1 = 2.0*imag(a.u11)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue