Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Divide doesn't evaluate' topicStudent Support Forum > General > "Divide doesn't evaluate"

< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic
Author Comment/Response
Peter Pein
10/06/07 10:12am

Hello Humphrey,

have a look at

In[1]:=
FullForm[a/b]

Out[1]//FullForm=
Times[a, Power[b, -1]]

so you have to define the reciprocal of your datatype

DateSeries /: Power[b_DateSeries,-1]:=...

Regards,
Peter

URL: ,

Subject (listing for 'Divide doesn't evaluate')
Author Date Posted
Divide doesn't evaluate Humphrey 09/20/07 07:22am
Re: Divide doesn't evaluate Peter Pein 10/06/07 10:12am
Re: Re: Divide doesn't evaluate Humphrey Dru... 10/09/07 5:40pm
< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic