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:
parent
e74b4c49ef
commit
95bc1eaff5
@ -23,9 +23,7 @@ end
|
|||||||
|
|
||||||
ℚ(x, tol::Real) = rationalize(BigInt, x, tol=tol)
|
ℚ(x, tol::Real) = rationalize(BigInt, x, tol=tol)
|
||||||
|
|
||||||
function EOI{T<:Number}(Δ::GroupRingElem{T}, λ::T)
|
EOI{T<:Number}(Δ::GroupRingElem{T}, λ::T) = Δ*Δ - λ*Δ
|
||||||
return Δ*Δ - λ*Δ
|
|
||||||
end
|
|
||||||
|
|
||||||
function groupring_square(vect::AbstractVector, elt::GroupRingElem)
|
function groupring_square(vect::AbstractVector, elt::GroupRingElem)
|
||||||
zzz = zeros(eltype(vect), length(elt.coeffs))
|
zzz = zeros(eltype(vect), length(elt.coeffs))
|
||||||
|
Loading…
Reference in New Issue
Block a user