Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2003
*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 2003

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

Search the Archive

RE: Getting rid of syntactical sugar

  • To: mathgroup at smc.vnet.net
  • Subject: [mg41849] RE: [mg41818] Getting rid of syntactical sugar
  • From: "David Park" <djmp at earthlink.net>
  • Date: Sat, 7 Jun 2003 00:08:39 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Emilio,

Try

Definition[CriticalPoints] // Developer`ContextFreeForm

David Park
djmp at earthlink.net
http://home.earthlink.net/~djmp/

From: Emilio Martin-Serrano [mailto:EMartinSerrano at houston.sns.slb.com]
To: mathgroup at smc.vnet.net

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



  • Prev by Date: Re: Re: structs/records in mathematica
  • Next by Date: Learning to work with non-commutative oscillators
  • Previous by thread: Getting rid of syntactical sugar
  • Next by thread: Numerical Optimization of Expensive Functions