mirror of
https://github.com/kalmarek/Groups.jl.git
synced 2024-12-26 18:30:29 +01:00
use rmul!/lmul! in the definitions of R/LTransvect
This commit is contained in:
parent
8532767170
commit
a4e0b821b9
@ -167,14 +167,12 @@ end
|
|||||||
#
|
#
|
||||||
|
|
||||||
function (ϱ::RTransvect)(v, pow::Integer=1)
|
function (ϱ::RTransvect)(v, pow::Integer=1)
|
||||||
append!(v[ϱ.i], v[ϱ.j]^pow)
|
rmul!(v[ϱ.i], v[ϱ.j]^pow)
|
||||||
freereduce!(v[ϱ.i])
|
|
||||||
return v
|
return v
|
||||||
end
|
end
|
||||||
|
|
||||||
function (λ::LTransvect)(v, pow::Integer=1)
|
function (λ::LTransvect)(v, pow::Integer=1)
|
||||||
prepend!(v[λ.i], v[λ.j]^pow)
|
lmul!(v[λ.i], v[λ.j]^pow)
|
||||||
freereduce!(v[λ.i])
|
|
||||||
return v
|
return v
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user