mirror of
https://github.com/kalmarek/GroupRings.jl.git
synced 2024-12-28 18:50:29 +01:00
add missing dropzeros!
This commit is contained in:
parent
e4e5121a71
commit
edc6d5cefa
@ -81,6 +81,11 @@ end
|
||||
#
|
||||
###############################################################################
|
||||
|
||||
function SparseArrays.dropzeros!(X::GroupRingElem; trim::Bool=true)
|
||||
dropzeros!(X.coeffs, trim=trim)
|
||||
return X
|
||||
end
|
||||
|
||||
LinearAlgebra.norm(X::GroupRingElem, p::Int=2) = norm(X.coeffs, p)
|
||||
|
||||
function _dealias(res::GroupRingElem, x::GroupRingElem, y::GroupRingElem)
|
||||
|
Loading…
Reference in New Issue
Block a user