← Back to team overview

dolfin team mailing list archive

x[:] syntax for DOLFIN vectors

 

What happens behind the scenes when for

   x = Vector(100)

ones does

  x[:]

?

I've added GenericVector operator+= and -= for doubles, and would like
to be sure that this can be used from Python without unnecessary
copies being made.

Garth


Follow ups