mirror of
https://github.com/kalmarek/GroupRings.jl.git
synced 2025-01-01 03:40:29 +01:00
adapt for groupring_mlt! in-place modification
This commit is contained in:
parent
2461d54d8a
commit
6dec41ad18
@ -243,13 +243,13 @@ function groupring_mult!(X,Y,pm,result)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
return result
|
|
||||||
end
|
end
|
||||||
|
|
||||||
function groupring_mult{T<:Number}(X::AbstractVector{T}, Y::AbstractVector{T},
|
function groupring_mult{T<:Number}(X::AbstractVector{T}, Y::AbstractVector{T},
|
||||||
pm::Array{Int,2})
|
pm::Array{Int,2})
|
||||||
result = zeros(X)
|
result = zeros(X)
|
||||||
return groupring_mult!(X,Y,pm,result)
|
groupring_mult!(X,Y,pm,result)
|
||||||
|
return result
|
||||||
end
|
end
|
||||||
|
|
||||||
function groupring_mult(X::AbstractVector, Y::AbstractVector, pm::Array{Int,2})
|
function groupring_mult(X::AbstractVector, Y::AbstractVector, pm::Array{Int,2})
|
||||||
|
Loading…
Reference in New Issue
Block a user