mirror of
https://github.com/kalmarek/GroupRings.jl.git
synced 2024-12-29 11:00:28 +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