News for hackers. Stuff that matters.
Re:Smile – Statistical Machine Intelligence and Learning Engine by haifeng on Wednesday March 29, 2017 @02:40PM (#13989259)
Is there something wrong in your code? I don't see the effect.

smile> val x = Array(1.0, 2.0, 3.0, 4.0)

x: Array[Double] = Array(1.0, 2.0, 3.0, 4.0)

smile> val y = Array(4.0, 3.0, 2.0, 1.0)

y: Array[Double] = Array(4.0, 3.0, 2.0, 1.0)

smile> x + y

res2: smile.math.VectorAddVector = Array(5.0, 5.0, 5.0, 5.0)

Re:Smile – Statistical Machine Intelligence and Learning Engine by sampo on Wednesday March 29, 2017 @02:44PM (#13989317)
I just quoted the example in the webpage (section "Vector Operations"), I didn't run it myself.
Re:Smile – Statistical Machine Intelligence and Learning Engine by haifeng on Wednesday March 29, 2017 @02:54PM (#13989432)
Good eyes :) It should be a c&p error.