[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Narray question

Michaels

8/17/2007 7:39:00 PM

Hello, I am having an issue with a large dataset I am using. My
problem is I try to convert from an array to Narray and it seems like
the size is changing.

To check this, in the middle of my script I wrote

puts f.size
puts count.size
puts count
x=NArray.to_na(count)
puts x.size

the results
900
900
[the numbers in a column]
1754


3 Answers

Michaels

8/17/2007 8:03:00 PM

0

sorry, made a mistake in code.

On Aug 17, 3:39 pm, Michaels <fixedincome...@gmail.com> wrote:
> Hello, I am having an issue with a large dataset I am using. My
> problem is I try to convert from an array to Narray and it seems like
> the size is changing.
>
> To check this, in the middle of my script I wrote
>
> puts f.size
> puts count.size
> puts count
> x=NArray.to_na(count)
> puts x.size
>
> the results
> 900
> 900
> [the numbers in a column]
> 1754


:))

2/15/2011 1:46:00 AM

0

On Mon, 14 Feb 2011 17:46:04 -0800 (PST), "Su'ngM16"
<sungm16@yahoo.com> wrote:

>Mr. Vee,
>
>Linh mu.c Ly' dda~ ke^u go.i a(n chay thay vi` tuye^.t thu*.c
>
>A(n chay co' lo*.i cho su*'c khoe? va` ti'ch cu*.c ho*n la` tuye^.t
>thu*.c
>
>http://www.nguoi-viet.com/absolutenm/anmviewer.asp?a=127012...

------------------------------------------------------------------------------------------------------------------------
Bo? bu dzo^`i !

Phen na`y Dr. Nach co' le~ se~ pha?i tu*. thie^u tre^n tha^.p tu*.
gia' ro^`i.

No way out my fence ! :-)

Dr. Nách

2/15/2011 4:47:00 AM

0


>
..> Phen na`y Dr. Nach co' le~ se~ pha?i tu*. thie^u tre^n tha^.p tu*.
> gia' ro^`i.
>
> No way out my fence !  :-)

Thu' tha^.t vo*'i ca'c anh ca'c chi., to^i co' 1 ca'i ddanh to tuo*'ng
ddang muo^'n ddo'ng xuo^'ng va`o ca'i lo^~ na`o ma` tuye^.t thu*.c
dda~ la^`u thi` no' m*i te^ ta'i co~I lo`ng


Y' to^i noa'i la` ca`ng nhi. la^u thi` a(n ka`ng ngon KAHKAKAKAK :)))

PS: Bo^' khi?, chu*a co' 1 ca'i cuo^'c ra na`o ma` nguo*`i da^n tranh
dda^'u cho ba^'t cu*' va^'n dde^` gi` thi ho. gia^'u ma(.t nhu*ng la.i
tuye^.t thu*.c Online va` ca'i mo^`m oang oang ho*n la'i lo^~ ra('m
va`o internet ????