thanks. Although I ran into a weird restriction wh...
# announcements
h
thanks. Although I ran into a weird restriction where it was unable to figure out whether to use
Vector.plus(w: Vector)
or
Vector.plusAssign(w: Vector)
when I would use e.g.
A[i, l..n] += s * U[k, l..n]
. I'm pretty sure if it can't decide if to do either
A.set(i, l..n, A.get(i, l..n).plus(s * U.get(k, l..n)))
or
A.get(i, l..n).plusAssign(s * U.get(k, l..n))
. The former would get recorded into the matrix (and what I want), and the latter would not. Is it possible to bake a default priority into the language or is that a bad idea? Is there a priority system to annotations that I could use or could be implemented in the language?