Commit Graph

320 Commits

Author SHA1 Message Date
kalmar 27e0b03b3c move type-related functions to one location 2017-07-11 15:58:02 +02:00
kalmar 63b4a0594f Revert "add mul! and addeq! for MatrixSpace construction"
This reverts commit 5fb131c390.
2017-07-10 19:29:53 +02:00
kalmar 688dfa5062 result is the firs argument of mul! 2017-07-10 19:28:19 +02:00
kalmar dd518574ff fix: zero result coeffs before jumping into loopy mul! 2017-07-10 19:27:28 +02:00
kalmar 8463b928cb add RG(i::Int) = i*(id) function 2017-07-10 19:26:44 +02:00
kalmar 3b9e405565 use a single zero object to compare 2017-07-10 19:25:52 +02:00
kalmar 56a0964f30 better printing 2017-07-10 19:21:38 +02:00
kalmar 5fb131c390 add mul! and addeq! for MatrixSpace construction 2017-07-09 14:56:11 +02:00
kalmar e4ed91b473 rename generators(G::Group) -> gens(G::Group) 2017-07-06 17:30:19 +02:00
kalmar 7fb68f8c68 initial @compat changes, works on v0.6 without warnings 2017-07-06 17:29:10 +02:00
kalmar db02dbb97c add zero(RG::GroupRing) 2017-07-06 10:09:43 +02:00
kalmar 19f6906d33 add parent_type(::Type{GroupRingElem}) 2017-07-06 10:06:17 +02:00
kalmar 6a22b91c1e drop 0.5 from julia REQUIRE 2017-07-05 13:25:14 +02:00
kalmar 35fc74e6f2 fix multiple dispatch of scalar * 2017-06-06 22:29:02 +02:00
kalmar 962a9e6e73 Revert "reparametrise parent call overloads"
This reverts commit 4b86d5d075.
2017-06-06 22:25:01 +02:00
kalmar a726462488 Merge branch 'enh/Nemoification' of git.wmi.amu.edu.pl:kalmar/GroupRings.jl into enh/Nemoification
# Conflicts:
#	src/GroupRings.jl
2017-06-06 18:46:11 +02:00
kalmar e61b573642 multiple dispatch of * and mul! 2017-06-06 18:44:53 +02:00
kalmar 292806db17 multiple dispatch of * instead of scalar mult 2017-06-06 18:44:00 +02:00
kalmar 61ed1f7870 rename groupring_mult[!] -> mul[!] 2017-06-06 11:46:15 +02:00
kalmar fe1f552b26 Merge branch 'enh/Nemoification' of https://git.wmi.amu.edu.pl/kalmar/GroupRings.jl into enh/Nemoification 2017-06-06 00:12:15 +02:00
kalmar 4b86d5d075 reparametrise parent call overloads 2017-06-06 00:03:38 +02:00
kalmar 43d78c97f8 parametrise GroupRing by Group and GroupElem
as suggested by thofma
2017-06-05 23:50:15 +02:00
kalmar 1e75372068 in setindex! perform coercion only when necessary 2017-06-05 21:38:03 +02:00
kalmar b2231c44e6 coercion to GroupRing via specified function on underlying groups 2017-06-05 21:37:11 +02:00
kalmar 7ba59d6508 safer coercion of GroupRingElem to GroupRing 2017-06-05 21:36:31 +02:00
kalmar 0972cd1fdc tests: fix GroupRingElem printing 2017-06-05 11:14:24 +02:00
kalmar a03420e6d3 tests: fix GroupRing initialisation 2017-06-05 11:14:09 +02:00
kalmar 986dd3dae1 deprecate groupring_mult in favour of multiple dispatch of (*) 2017-06-05 11:03:37 +02:00
kalmar 2eeb85d2ed Allow limited use of GroupRings without basis 2017-06-05 11:02:38 +02:00
kalmar 1e990f5896 better show of ::GroupRingElem 2017-05-19 10:32:09 +02:00
kalmar 6379c76646 change full -> initialise keyword; the default is to initialise by default 2017-05-19 10:00:41 +02:00
kalmar 5a26aaa5cb need vector for basis; collect(Base.product) preserves the structure 2017-05-18 21:50:57 +02:00
kalmar faf1b94bae remove generators (for now) 2017-05-18 21:49:57 +02:00
kalmar 27e9ce254f try to coerce before throwing error 2017-05-18 21:49:12 +02:00
kalmar 45fc421da7 more tests 2017-05-18 17:58:31 +02:00
kalmar ca3ec95ea2 rationalize for Integral Group Rings 2017-05-18 17:58:13 +02:00
kalmar 92daac300b one(GroupRing) returns multiplicative identity 2017-05-18 17:57:15 +02:00
kalmar e3fa702507 length of GroupRingElem is the size of its support 2017-05-18 17:56:46 +02:00
kalmar c7477dd25f more tests 2017-05-18 12:19:52 +02:00
kalmar 148c8e2611 rational division for integral group rings 2017-05-18 12:19:41 +02:00
kalmar 486f2cff9a add eltype(::GroupRingElem) 2017-05-18 12:19:12 +02:00
kalmar 9048eb656d first batch of tests 2017-05-17 17:45:19 +02:00
kalmar 3c8022b59d export complete, create_pm 2017-05-17 17:45:03 +02:00
kalmar 408c5a34e3 create_pm convenience 2017-05-17 17:44:51 +02:00
kalmar 07cc7eff16 generators of GroupRing (symmetric generating set) 2017-05-17 17:44:36 +02:00
kalmar 396f5b529c check basis equality for (==) of GroupRings 2017-05-17 17:44:13 +02:00
kalmar 4f5f6c685a format 2017-05-17 17:43:37 +02:00
kalmar bef0b67af6 modify reverse_dict to allow generator arg
e.g. reverse_dict(elements(G))
2017-05-17 17:43:11 +02:00
kalmar e18e90ddaf fix equality of GroupRing elements with different types of coeffs
eg. SparseVector vs Vector
2017-05-17 17:41:34 +02:00
kalmar 4491078b9e adapt GroupRing constructors to new type definition 2017-05-17 17:40:32 +02:00