You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would it be fine to add the following operations (probably to flint/fmpq.jl)? This is just for the sake of a beginner OSCAR user, the initiated know that .* and .*= exist.
Division
/(::Vector{QQFieldElem}, ::QQFieldElem)
/(::Vector{QQFieldElem}, ::ZZRingElem)
Multiplication
*(::Vector{QQFieldElem}, ::ZZRingElem)
*(::ZZRingElem, ::Vector{QQFieldElem})
The operations above work if the scalar is Int or Rational thanks to generic implementations in Base/arraymath.jl:
julia> @which QQ.([0,0,0])*1//1
*(A::AbstractArray, B::Number)
@ Base arraymath.jl:24
The text was updated successfully, but these errors were encountered:
Would it be fine to add the following operations (probably to
flint/fmpq.jl
)? This is just for the sake of a beginner OSCAR user, the initiated know that.*
and.*=
exist.Division
/(::Vector{QQFieldElem}, ::QQFieldElem)
/(::Vector{QQFieldElem}, ::ZZRingElem)
Multiplication
*(::Vector{QQFieldElem}, ::ZZRingElem)
*(::ZZRingElem, ::Vector{QQFieldElem})
The operations above work if the scalar is
Int
orRational
thanks to generic implementations inBase/arraymath.jl
:The text was updated successfully, but these errors were encountered: