Closed kojix2 closed 5 years ago
Hello.
How do we convert a Ruby Array to Numo:: NArray?
The ways I know is,
Numo::SFloat[*ar] Numo::SFloat.cast(ar)
Is there any other recommended way?
NArray was designed for scientific computing. But with the success of Rumale, it's likely that more Web developers will use NArray in the future. So I want to be clear about how to convert a Ruby Array to NArray.
Yes, that's all.
Thank you for your explanation!
Hello.
How do we convert a Ruby Array to Numo:: NArray?
The ways I know is,
Is there any other recommended way?
NArray was designed for scientific computing. But with the success of Rumale, it's likely that more Web developers will use NArray in the future. So I want to be clear about how to convert a Ruby Array to NArray.