うーん。なんかリスト→Arrayが微妙…
import scala.util.Random
j=Random.shuffle(diff_data2.toList).toArray
var tmp=0.0; var rand1=(0 to data2.length).map{b=> tmp=tmp+Random.nextGau ssian();tmp}
うーん。なんかリスト→Arrayが微妙…
import scala.util.Random
j=Random.shuffle(diff_data2.toList).toArray
var tmp=0.0; var rand1=(0 to data2.length).map{b=> tmp=tmp+Random.nextGau ssian();tmp}