Avoiding Null output marker from a function
- To: mathgroup at smc.vnet.net
- Subject: [mg92388] Avoiding Null output marker from a function
- From: amannuc1 <Anthony.J.Mannucci at jpl.nasa.gov>
- Date: Tue, 30 Sep 2008 07:35:30 -0400 (EDT)
Dear Mathematica community, I am having difficulties that the documentation has not resolved to date for me. It is this: I have defined a function in a Mathematica notebook and then saved it as text to include it in a package. The package currently contains two functions. The function of interest returns a 2-element list. The numbers the function computes appears to be OK, but an annoying "Null^3" is appended, presumably as a placeholder for supressed output. Something like: \!\({\(-0.00005337553998992267`\)\ Null\^3, 5000.147261086986`\ Null \^3}\) I would like to eliminate that from the output. When I run the function from the notebook, no such 'Null's are seen. The function consists of several steps, intermediate variables, a call to FindRoot, etc. Semicolons separate these steps, as required. Your help is greatly appreciated. -Tony
- Follow-Ups:
- Re: Avoiding Null output marker from a function
- From: Curtis Osterhoudt <cfo@lanl.gov>
- Re: Avoiding Null output marker from a function