val a = 0 val b = 0 val c = 0 val ds = doubleArray(a.toDouble(), b.toDouble(), c.toDouble())