mirror of
https://github.com/kalmarek/GroupRings.jl.git
synced 2024-08-17 02:11:57 +02: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)
|
LinearAlgebra.norm(X::GroupRingElem, p::Int=2) = norm(X.coeffs, p)
|
||||||
|
|
||||||
function _dealias(res::GroupRingElem, x::GroupRingElem, y::GroupRingElem)
|
function _dealias(res::GroupRingElem, x::GroupRingElem, y::GroupRingElem)
|
||||||
|
Loading…
Reference in New Issue
Block a user