All Downloads are FREE. Search and download functionalities are using the official Maven repository.

au.csiro.variantspark.work.BreezeTest.scala Maven / Gradle / Ivy

The newest version!
package au.csiro.variantspark.work

import breeze.linalg.DenseVector

object BreezeTest {
  def main(argv: Array[String]) {

    val a = Array.fill(10)(1.0)

    val v = DenseVector(a)
    println(v)
    v *= 2.0
    val k = v - DenseVector.fill(10)(0.5)
    k *= 10.0
    println(k)
    println(a.toList)

  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy