Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Are some Maple packages always loaded? example Galois Field (GF)?

12 views
Skip to first unread message

Nasser M. Abbasi

unread,
Nov 19, 2009, 6:15:00 AM11/19/09
to
hi;
Maple 12.

when I do ?index[packages], one the packages listed is Galois Field (GF)

but if I do with(GaloisField) or with(GF) I get an error that there is not
such package.

Are there such "special" packages that do not need to be loaded?

If GF is not a package, then why is it listed in the ?index[packages]
command? even though ?GF says it is a pckage.


Same problem I had with ToolboxInstaller[Data]

--Nasser


Thomas Richard

unread,
Nov 20, 2009, 3:41:33 AM11/20/09
to
On 19 Nov., 12:15, "Nasser M. Abbasi" <n...@12000.org> wrote:

> Maple 12.
>
> when I do ?index[packages], one the packages listed is  Galois Field (GF)
>
> but if I do with(GaloisField) or with(GF) I get an error that there is not
> such package.

Technically speaking, GF is a command, so it cannot be with'ed.
But as it generates modules which in turn contain procedures,
it's quite close to a common package.
AFAIK, it has been designed this way because it provides a
computational "environment" (a finite field) where the operators
have a specific meaning.

> If GF is not a package, then why is it listed in the ?index[packages]
> command? even though ?GF says it is a pckage.

The headline of that page is indeed a bit misleading, but the rest
of it (the Description in particular) clarifies the situation.

> Same problem I had with ToolboxInstaller[Data]

That's another special case: auxiliary routines for accessing
data in user-defined installers.

BTW, these cases demonstrate that accurately counting
commands is tricky. Another reason is that packages can
be nested. See particularly DifferentialGeometry, Student
(which has 6 sub-packages in Maple 13), GraphTheory, ...

I'm not going to enter that discussion in the other thread,
but if I recall correctly, Maple 7 already had ~4k commands.

--
Thomas Richard
Technical Support Maple/MapleSim
Scientific Computers GmbH
http://www.scientific.de

0 new messages