1
0
mirror of https://github.com/kalmarek/PropertyT.jl.git synced 2024-11-23 08:15:29 +01:00

make EOI a one-liner

This commit is contained in:
kalmar 2017-07-21 17:11:25 +02:00
parent e74b4c49ef
commit 95bc1eaff5

View File

@ -23,9 +23,7 @@ end
(x, tol::Real) = rationalize(BigInt, x, tol=tol)
function EOI{T<:Number}(Δ::GroupRingElem{T}, λ::T)
return Δ*Δ - λ*Δ
end
EOI{T<:Number}(Δ::GroupRingElem{T}, λ::T) = Δ*Δ - λ*Δ
function groupring_square(vect::AbstractVector, elt::GroupRingElem)
zzz = zeros(eltype(vect), length(elt.coeffs))