comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Use of ++ operator to count frequency of an entry (Was: Majority Voting)
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Use of ++ operator to count frequency of an entry (Was: Majority Voting) [message #65551 is a reply to message #65473] Mon, 09 March 2009 08:40 Go to previous messageGo to previous message
Allan Whiteford is currently offline  Allan Whiteford
Messages: 117
Registered: June 2006
Senior Member
Carsten,

Carsten Lechte wrote:
> Allan Whiteford wrote:
>
>>
>> a = [1, 2]
>> a [[0, 0, 1, 0]]++
>> print,a"
>>
>
> Is a line missing here?

Kind of but not really: I was trying to cut and paste verbatim from the
e-mail from ITTVIS without modifying what they'd said. The answer (see
below) was implied in my original question so they didn't quote it in
their reply.

> What is the expected value of a
> according to ITT? [4,3]?
>

Yep, [4,3] which is what the current implementation gives.

Thanks,

Allan
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: CORRELATE where is the problem?
Next Topic: Re: Problem with labeling contour lines in IDL

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Tue Dec 02 14:45:15 PST 2025

Total time taken to generate the page: 0.01165 seconds