|
[Date Index]
[Thread Index]
[Author Index]
Re: For Loop and Array related
- To: mathgroup at smc.vnet.net
- Subject: [mg58076] Re: For Loop and Array related
- From: Paul Abbott <paul at physics.uwa.edu.au>
- Date: Fri, 17 Jun 2005 07:09:24 -0400 (EDT)
- Organization: The University of Western Australia
- References: <200506150958.FAA29716@smc.vnet.net> <d8rhni$i8c$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
In article <d8rhni$i8c$1 at smc.vnet.net>,
Andrzej Kozlowski <andrzej at akikoz.net> wrote:
> One more thing. I have no idea why
>
> << discretemath`
>
> loads all discrete math packages.
I use this construct all the time. Actually, it does _not_ load the
packages -- it just loads the package Stubs
> I noticed Maxim doing so I tried it and it worked this but I don't think
> it is a documented feature. Does anyone know?
Look up Stub in the Help Browser. There it says that
Stub is an attribute which specifies that if a symbol is ever used,
Needs should automatically be called on the context of the symbol.
This is used in all the StandardPackages.
> Of course what really is needed above is only the Combinatorica
> package and the normal, documented way of reading it in is
>
> <<DiscreteMath`Combinatorica`
Using Stub, only this package gets loaded.
Cheers,
Paul
--
Paul Abbott Phone: +61 8 6488 2734
School of Physics, M013 Fax: +61 8 6488 1014
The University of Western Australia (CRICOS Provider No 00126G)
AUSTRALIA http://physics.uwa.edu.au/~paul
http://InternationalMathematicaSymposium.org/IMS2005/
Prev by Date:
Re: delete something from a complex list
Next by Date:
Re: Mathematica 5.0 eps generation
Previous by thread:
Re: For Loop and Array related
Next by thread:
Re: For Loop and Array related
|