MathGroup Archive 2008

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

Search the Archive

Symbols in expression

  • To: mathgroup at
  • Subject: [mg19] Symbols in expression
  • From: sigmundv at
  • Date: Sun, 25 May 2008 02:02:52 -0400 (EDT)

Dear all,

Define, say,

r = {Cos[u] Sin[v],Sin[u] Sin[v],Cos[v]}.

How can I write a function, which takes r as an argument and returns a
list {u,v}? If we defined r[u_,v_]:=... it could be achieved fairly
easily using DownValues. But how can I achieve it in this case?

Kind regards,
Sigmund Vestergaard

  • Prev by Date: Re: How export the 0<x<10^-6 numbers to a text file correctly
  • Next by Date: Solve's Strange Output
  • Previous by thread: estimating parameters in a differential equation with mathematica 6
  • Next by thread: Symbols in expression