MathGroup Archive 2007

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

Search the Archive

Re: Please help in creating/installing my package

  • To: mathgroup at smc.vnet.net
  • Subject: [mg79481] Re: Please help in creating/installing my package
  • From: Peter Pein <petsie at dordos.net>
  • Date: Fri, 27 Jul 2007 06:03:10 -0400 (EDT)
  • References: <f84j48$pmr$1@smc.vnet.net><f86ot9$hcm$1@smc.vnet.net> <f89q38$5n2$1@smc.vnet.net>

jeremito schrieb:
> On Jul 25, 5:36 am, Albert <a... at arcor.net> wrote:
>>> The following line should be Begin["Private`"] instead of Begin["Arnoldi]
>>>> Begin["Arnoldi`"]
> 
> Changing this made my package work. Thanks for the help!
> 
> Jeremy
> 
> 
Just a hint for users of versions below 6:

If you define ConstantArray=Array[Function[#1],#2]& , this wil go to the
Global` context and works with Begin["Arnoldi`"] in this package but not
with Begin["`Arnoldi`"] or Begin["`Private`"]. You'll have to define
System`ConstantArray=Array[Function[#1],#2]& to make it work (or more
complicated: change BeginPackage["Arnoldi"] to
BeginPackage["Arnoldi","Global`"]).

Peter


  • Prev by Date: Re: style question
  • Next by Date: Re: Can Mathematica do this?
  • Previous by thread: Re: Please help in creating/installing my package
  • Next by thread: Integrating product of three pdf (triangular dist. is disturbing)