12153 Reputation

19 Badges

8 years, 2 days

MaplePrimes Activity

These are answers submitted by vv

The documentation of SubgroupLattice says:

The algorithm used does not find any perfect subgroups of G, other than potentially G itself, its soluble residual, and the trivial group. If the soluble residual of G is of size at least 360, then it may contain other nontrivial perfect subgroups. These will not be found by the algorithm.

Maybe there are other omissions.

The denominator has many very small values ==> large roundoff errors.
Increasing Digits (e.g. Digits:=15) solves the problem.

If the matrix A has both exact and float entries, then it is obvious that some computations (e.g. the value of a discontinuous function) may return "unexpected" results.
Rank is such a discontinuous function. You have to accept this fact.
E.g. if A has two columns such that the first one is symbolic with at least an irrational entry,
and the second column is nonzero with float entries, the rank(A) is always 2.


v:=<sqrt(3), 2, 0>:


Matrix(3, 2, {(1, 1) = sqrt(3), (1, 2) = 1.732050807568877293527446, (2, 1) = 2, (2, 2) = 2., (3, 1) = 0, (3, 2) = 0.})


LinearAlgebra:-Rank(A);        # exact



LinearAlgebra:-Rank(evalf(A)); # "approx" but probably "expected"




Just replace in param1,...,param4:  alpha*gamma=0.004;   with   gamma=0.004/alpha;
(or use algsubs).

- don't load packages which are not needed
- gamma is a Maple constant, don't use it as a variable
- linalg is deprecated; use LinearAlgebra instead.


convert(EllipticK(x), Int): 
eval(%,x=1); value(%);



g:=DrawSubgroupLattice(SmallGroup(200, 31), labels = ids, output=graph):
GraphTheory:-DrawGraph(g, size=[1200,800]);



before Generators(...), then copy.
To restore the old settings:




There are only a few automatic simplifications. c*infinity  and  c+infinity  are not automatically simplified even when c is constant (containing symbolic objects).

Pi*infinity, Pi+infinity;

Pi*infinity, Pi+infinity








cos(0) + infinity is simplified to infinity, but this is during the evaluation, not an automatic simplification.

cos(0) + infinity, 'cos(0) + infinity';