MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: For Loop and Array related


You misunderstood what I meant (perhaps I did not make it clear). I  
was referring to the use of lower case letters. I have always  
believed you had to write

<<DiscreteMath`

Andrzej.

On 17 Jun 2005, at 18:58, Paul Abbott wrote:

> 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: Transformation rule problem
  • Next by Date: Re: Numbering equations
  • Previous by thread: Re: For Loop and Array related
  • Next by thread: Re: For Loop and Array related