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) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -