so is this actually doing anything or does everyth...
# getting-started
h
so is this actually doing anything or does everything inside of
forEach
only occur in its scope and thus the
population
remains unchanged?
Copy code
val population = Matrix(100, 291).apply { forEach { chromosome -> chromosome.map { 0.03 * Random().nextGaussian() } } }