MathGroup Archive 2012

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

Search the Archive

Re: Unrelated variable affects rsolve result

  • To: mathgroup at smc.vnet.net
  • Subject: [mg124683] Re: Unrelated variable affects rsolve result
  • From: Szabolcs <szhorvat at gmail.com>
  • Date: Tue, 31 Jan 2012 05:37:54 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <jg5qh8$hbo$1@smc.vnet.net>
  • Reply-to: comp.soft-sys.math.mathematica at googlegroups.com

Generally, it is best to avoid names starting with capital letters in Mathematica.  This way you can make sure that none of your symbols will conflict with system symbols.

If you evaluate

?K

you will see that K is a system symbol.  For some reason it is not protected, and I have never seen any use of it.  But apparently it can cause trouble, as you show in your example.

Szabolcs



  • Prev by Date: Making an Installed Stylesheet Permanent
  • Next by Date: Re: Get rid of left margin reserved for In/Out labels
  • Previous by thread: Re: Unrelated variable affects rsolve result
  • Next by thread: Fit data