Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 4405

The study of the properties of fluids and gases in motion

3 votes

Getting singular matrices for lid driven cavity problem

Determinants are a poor way to check singularity, since they are badly scaled. For instance, computing the determinant of $0.1I$ in Float64 (double precision) returns zero for dimension $n\geq 324$, b …
Federico Poloni's user avatar
5 votes
Accepted

How should I solve generalized eigenvalue problems in Python? (Orr-Sommerfeld equation)

The performance of the two methods should be very close, because scipy.linalg.eig internally calls Lapack's ggev, which itself calls hgeqz to compute a QZ decomposition. So, typically, most of the CPU …
Federico Poloni's user avatar
7 votes

Why does this implementation of the Block Tridiagonal Thomas algorithm give such large errors?

10^-2 likely means you have a mistake in your formulas, not just an accuracy problem. There is no simple and painless solution: you'll have to grab a cup of coffee, sit down, and figure out where the …
Federico Poloni's user avatar