MathGroup Archive 2004

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

Search the Archive

newbie question on functions

  • To: mathgroup at
  • Subject: [mg51750] newbie question on functions
  • From: Todd Allen <genesplicer28 at>
  • Date: Sun, 31 Oct 2004 01:17:36 -0500 (EST)
  • Sender: owner-wri-mathgroup at

Hi all,
     I have what is probably a nieve question, but it is giving me some difficulty.  I am trying to generate a function in which I pass two columns of information from a matrix to this function to perform some calculations.  I can successfully pass the data and get the resulting calculation......but the problem is the function returns the results but does not save the results in memory to perform subsequent calculations with.  How can I get the function to keep the result?  Is there a way to assign the function output to a new variable before mathematica discards the results.  Does this behavior have anything to do with the Head of the function  being symbolic, rather than say a list??
Below is the relevant code:

I appreciate any insight you might have.  Thanks.

  • Prev by Date: Re: gridlines styles.
  • Next by Date: Re: 3D plotting problem
  • Previous by thread: plot variance(s)