MathGroup Archive 2009

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

Search the Archive

Re: Log[]//TraditionalForm


U¿ytkownik "Louis A. Talman" <talmanl at mscd.edu> napisa³ w wiadomo¶ci 
news:gn3btj$q33$1 at smc.vnet.net...
> Or how hard it is for some people to notice a tongue planted firmly
> in a cheek.

It is very very simple, Lui, you should practise yourself. :)

BTW, Log vs. ln is an aesthetic problem. The serious troubles are caused by 
CForm and FortranForm. These "forms" produces output unreadable by 
compilers. Therefore it is not possible to use Mathematica to generate 
source code in C language. You need a proof?  Here is an example:

In[1]:= Series[Sin[x],{x,0,5}]
Out[1]= x-x^3/6+x^5/120+O[x]^6
In[2]:= Series[Sin[x],{x,0,5}]//CForm
Out[2]//CForm=
SeriesData(x,0,List(1,0,-0.16666666666666666,0,0.008333333333333333),1,
   6,1)
In[3]:= Series[Sin[x],{x,0,5}]//FortranForm
Out[3]//FortranForm=
        SeriesData(x,0,List(1,0,-0.16666666666666666,0,
     -   0.008333333333333333),1,6,1)

Neither C/C++ nor Fortran (II/IV/77/95) have got "List" or "SeriesData".

Have nice a day, little Lui.

slawek



  • Prev by Date: Re: Chain Matrix
  • Next by Date: Re: Default Input / Output and TraditionalForm
  • Previous by thread: Re: Re: Re: Log[x]//TraditionalForm
  • Next by thread: Re: Log[]//TraditionalForm