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++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

xcode - Swift Playground - Files are not readable -

jboss7.x - JBoss AS 7.3 vs 7.4 and differences -