Comments (5)
This is just the input error. Errors accumulate during LU factorization. Using floats can easily lead to larger errors in the output, or even INF or NAN output. Typically for circuit simulation, we need the accuracy at least 1e-12, or the simulated circuit response may be incorrect. If you application can tolerate large errors, and the matrix is very well-conditioned (condition number is very small), using floats may generate correct LU factorization results. But this is just a special case.
from cktso.
float has much lower precision and smaller value range so it can easily lead to large round-off errors and numerical overflow. float has almost no practical use in sparse solvers.
from cktso.
For a 3-decimal calculation, does it have to be double precision?
from cktso.
No relation with how simple input data are. For a simple example, you can print 1.1 to see what it is. For float, it is 1.1000000238418579.... For double, it is 1.1000000000000001...
from cktso.
To me, the error is absolutely acceptable …
from cktso.
Related Issues (12)
- Support in-place transpose `x` in `CKTSO_L_MV` HOT 4
- Need some help on weird outputs of the benchmark demo. HOT 10
- Parallel performance HOT 7
- FPGA utilization? HOT 3
- Native support when b is a 2D matrix HOT 9
- Support Apple Silicon M1 and M2 Series HOT 4
- Support custom or natural ordering HOT 2
- Paper access HOT 2
- always return -8 from factorization HOT 8
- Support inplace for CKTSO_L_SolveMV HOT 1
- Helper function for the case when B is an identity matrix HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cktso.