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

Home » Public Forums » archive » Combination
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Combination [message #75403] Mon, 28 February 2011 12:55
fgg is currently offline  fgg
Messages: 67
Registered: April 2010
Member
Hi,

I should probably know this by now... what's going on below?

IDL> c = factorial(21)/(factorial(3)*factorial(21-3))
IDL> print, c
1330.0000
IDL> myvec = dblarr(c)
IDL> help, myvec
MYVEC DOUBLE = Array[1329]

I'd like myvec to have 1330 elements... not 1329.

Thanks in advance.
[Message index]
 
Read Message
Previous Topic: L-moments
Next Topic: Re: Combination

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

Current Time: Fri Oct 10 08:57:29 PDT 2025

Total time taken to generate the page: 0.88213 seconds