Re: Re: Number of monominals
- To: mathgroup at smc.vnet.net
- Subject: [mg87102] Re: [mg87078] Re: Number of monominals
- From: Artur <grafix at csl.pl>
- Date: Tue, 1 Apr 2008 03:19:34 -0500 (EST)
- References: <fsnbd3$d8q$1@smc.vnet.net> <200803310704.CAA17169@smc.vnet.net>
- Reply-to: grafix at csl.pl
I was installed today upgrade to ver. 6.02 and all working correct now.
My Mathematica first process run during 2 weeks and I was working on 2
process.
ARTUR
Alexey Popkov pisze:
> On Mar 30, 10:19 am, Patrick Klitzke <philologo... at gmx.de> wrote:
>
>> According to the documentation, the function Length[expr] gives the
>> number of elements in expr.
>> Also "The length of a symbol is 0".
>> You have to write it as a list, if you want the expression to be counted.
>> Length[{f[1]}]
>>
>> The other inputs are working, because Length counts the elements of the
>> function Plus:
>>
>> In[1]:=Length[Plus[f[1],f[2],f[3]]]
>> Out[1]:=3
>> OK!
>> In[2]:=Length[Plus[f[1],f[2]]]
>> Out[2]:=2
>> In[3]:=Length[f[1]]
>> Out[3]:=0
>>
>> I hope, that I could answer your question.
>>
>> Patrick
>>
>
> Hello,
> I can not reproduce such behavour in Mathematica 5.2 and 6.02. How do
> you do that?
> In[1]:= Length[f[1]]
> Out[1]= 1
>
>
> __________ NOD32 Informacje 2701 (20071204) __________
>
> Wiadomosc zostala sprawdzona przez System Antywirusowy NOD32
> http://www.nod32.com lub http://www.nod32.pl
>
>
>
>