sub! Just what I was looking for! it works like a charm
On Saturday, May 30, 2015 at 3:35:50 PM UTC-7, Tim Holy wrote: > > Not tested, but > > xsub = sub(x, 10:20) > Base.LinAlg.axpy!(a, y, xsub) > > should work just fine. > > --Tim > > On Saturday, May 30, 2015 02:35:01 PM Gabriel Goh wrote: > > Hey All, > > > > I'm wondering if its easy to do an in place assignment, say > > > > x[10:20] = x[10:20] + a*y > > > > using the axpy! library. I want to avoid the use of any temporary > variables > > if possible! > > > > Thanks! > > Gabe > >
