Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoiding the for loop in solve #3

Open
mpariente opened this issue Nov 5, 2020 · 1 comment
Open

Avoiding the for loop in solve #3

mpariente opened this issue Nov 5, 2020 · 1 comment

Comments

@mpariente
Copy link

Hey Floris,

I wonder if you'd consider removing the for-loop in solve by using a method similar to this i.e treating the whole system with a block diagonal A where the batches are the blocks?

I guess the speed-up would be quite large compared to the for loop (and doubled since it is used in forward and backward).

@flaport
Copy link
Owner

flaport commented Nov 5, 2020

Thanks Manuel!

Representing the system as a block diagonal matrix might indeed be a smart way of speeding up the operation. However, I'm very busy at the moment and I'm a bit unsure when I'll have time to work on the implementation...

Feel free to give it a go yourself in the meantime if you like (no pressure 😉).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants