TomographicImaging / CIL

A versatile python framework for tomographic imaging
https://tomographicimaging.github.io/CIL/
Apache License 2.0
94 stars 41 forks source link

Extend SAPYB to array multiplication #1908

Open MargaretDuff opened 3 weeks ago

MargaretDuff commented 3 weeks ago

Description

E.g. in SPDHG the line self.x.sapyb(1., self._zbar, -self._tau, out=self._x_tmp), if self._tau is an array then -self._tau assigns another array, with increased memory usage.

Something that implements z = a * a_arr * x + b * b_arr * y efficiently will add more flexibility

MargaretDuff commented 2 weeks ago

SANYB?