Getting rid of syntactical sugar
- To: mathgroup at smc.vnet.net
- Subject: [mg41818] Getting rid of syntactical sugar
- From: Emilio Martin-Serrano <EMartinSerrano at houston.sns.slb.com>
- Date: Fri, 6 Jun 2003 09:50:48 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Hi Group, In the package, say, *PVectorCalculus*, stored in the folder *Personal*, I have a function called *CriticalPoints*. When asking for the definition of that function by using ??CriticalPoints I get: >CriticalPoints[func,vars] computes the critical points of .... >CriticalPoints [Personal`PVectorCalulus` Private`f_,Personal`PVectorCalculus`Private`vars_List]:= Solve[EqSystem[Grad[Personal` `PVectorCalculus`Private`f,`PVectorCalculus`Private`vars]],`PVectorCalculus`Private`vars] Where every 'variable' is attached to *Personal`PVectorCalulus` Private`* yielding a definition difficult to read. For clarity, I would preferred to have >CriticalPoints [f_,vars_List]:= Solve[EqSystem[Grad[f,vars]],vars] Getting rid of *Personal`PVectorCalulus` Private`* Any clue? ___________________________________ Emilio Martin-Serrano 1325 South Dairy Ashford Road Houston, TX 77077 Tel. +1 (281) 285 1223 Fax +1 (281) 285 1626