We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
LoewnerReductor
I've found several cases that lead to errors with LoewnerReductor.
from pymor.reductors.loewner import LoewnerReductor n = 100 s = (np.arange(n)+1)*1j Hs = np.random.rand(n, 3, 1) # BUG 1 about types L = LoewnerReductor(s, Hs, mimo_handling='random') # this works #rom = L.reduce() L = LoewnerReductor(s, Hs, mimo_handling='full') # this doesn't #rom = L.reduce() # BUG 2 about shapes Hs = np.random.rand(n, 3, 1) + 1j # add 1j to make complex L = LoewnerReductor(s, Hs) # this works rom = L.reduce() Hs = Hs.transpose(0, 2, 1) L = LoewnerReductor(s, Hs) # this doesn't rom = L.reduce()
@lbalicki We should fix those and add tests for them!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I've found several cases that lead to errors with
LoewnerReductor
.@lbalicki We should fix those and add tests for them!
The text was updated successfully, but these errors were encountered: