scala - Convert Array[Array[Double]] to Array[Double] -


how can convert array of arrays of doubles array of doubles using scala 2.10.4?

convert: array[array[double]] => array[double]

use flatten:

val r: array[double] = doubledouble.flatten 

Comments

Popular posts from this blog

c - CUDA code not processing if block properly -

oracle11g - get root domain from url Oracle sql regex_substr -

xcode - Swift Playground - Files are not readable -