Research Article

ScalaLab and GroovyLab: Comparing Scala and Groovy for Scientific Computing

Algorithm 2

defupdate(row: Int, col: Int, value: Double): Unit  =  {
     sm.set(row, col, value)
}