Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2012

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

Search the Archive

Re: How to look for this kind of error

  • To: mathgroup at smc.vnet.net
  • Subject: [mg124591] Re: How to look for this kind of error
  • From: Murray Eisenberg <murray at math.umass.edu>
  • Date: Wed, 25 Jan 2012 07:10:50 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <201201241008.FAA20312@smc.vnet.net>
  • Reply-to: murray at math.umass.edu

Remember that Mathematica applies particular rules before it applies 
general rules. So a lot depends on how TestCodazzi is defined.

On 1/24/12 5:08 AM, Sam Takoy wrote:
> Hi,
>
> Suppose I have a very complicated function TestCodazzi and
>
> TestCodazzi[0,2,3]
>
> returns one answer while
>
> TestCodazzi[0, x, y] //FullSimplify /. {x->2, y->3}
>
> returns a totally different answer. Now, there is a lot going on and I
> could start testing different parts of my code. However, could
> Mathematica show me the instances where it was making certain
> assumptions that may not be true, and so help me in tracking down this
> discrepancy?
>
> Many thanks in advance,
>
> Sam
>

-- 
Murray Eisenberg                     murray at math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305



  • Prev by Date: Re: How to look for this kind of error
  • Next by Date: Mapping a curve to a surface using Manipulate
  • Previous by thread: Re: How to look for this kind of error
  • Next by thread: Problem with compile fct. and Thread