Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

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

Search the Archive

Re: For Loop and Array related

  • To: mathgroup at smc.vnet.net
  • Subject: [mg58077] Re: For Loop and Array related
  • From: Andrzej Kozlowski <andrzej at akikoz.net>
  • Date: Fri, 17 Jun 2005 07:09:25 -0400 (EDT)
  • References: <200506150958.FAA29716@smc.vnet.net> <d8rhni$i8c$1@smc.vnet.net> <paul-C478B8.17580817062005@news.uwa.edu.au>
  • Sender: owner-wri-mathgroup at wolfram.com

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