CARVIEW |
Select Language
HTTP/2 200
date: Sat, 11 Oct 2025 06:14:15 GMT
content-type: text/html; charset=UTF-8
server: cloudflare
x-frame-options: DENY
x-content-type-options: nosniff
x-xss-protection: 1;mode=block
vary: accept-encoding
cf-cache-status: DYNAMIC
content-encoding: gzip
set-cookie: _csrf-frontend=3845cd8d99344903fb9473a276a5b768e7478370f7a31352737875dba637964ca%3A2%3A%7Bi%3A0%3Bs%3A14%3A%22_csrf-frontend%22%3Bi%3A1%3Bs%3A32%3A%22tY5mEJKw2_CDhjdhXoE2k57qtDR1FBbY%22%3B%7D; HttpOnly; Path=/
cf-ray: 98cc375a3b00a45e-BLR
fe_tester() - Pastebin.com
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function fe_tester()
- N = [10, 30, 50, 70, 100, 300, 500, 700, 1000];
- D = [0.05, 0.1, 0.15, 0.2, 0.25, 0.3];
- for n = N
- for d = D
- data_count = d * n * n;
- if data_count < n
- display("impossible to create invertible matrix");
- display(n);
- display(d);
- display("");
- continue;
- endif
- A = sprand(n, n, d);
- A = full(A);
- A = tril(A);
- A = A + eye(n); % Make sure matrix is invertible
- [cidx, ridx, data] = full_to_csr(A);
- x = rand(n, 1);
- b = A * x;
- tic();
- x_sparse = sparse_fe(cidx, ridx, data, b);
- elapsed_time = toc();
- tic();
- x_full = forward_elim(A, b);
- full_elapsed_time = toc();
- display(norm(x - x_sparse));
- display(n);
- display(d);
- display(elapsed_time);
- display(full_elapsed_time);
- display(full_elapsed_time - elapsed_time);
- display("");
- endfor
- endfor
- endfunction
Advertisement
Add Comment
Please, Sign In to add comment
-
⭐ Instant BTC Profit Method ✅ NEVER SEEN BEFO...
JavaScript | 13 sec ago | 0.24 KB
-
⭐ Instant BTC Profit Method ✅ NEVER SEEN BEFO...
JavaScript | 20 sec ago | 0.24 KB
-
⭐✅ MAKE $2000 INSTANTLY ✅ NEVER SEEN BEFORE ⭐...
JavaScript | 29 sec ago | 0.24 KB
-
⭐ Free Crypto Method ✅ NEVER SEEN BEFORE ⭐⭐⭐
JavaScript | 38 sec ago | 0.24 KB
-
✅⭐ Make huge profits on trading ✅ NEVER SEEN...
JavaScript | 48 sec ago | 0.24 KB
-
⭐✅ Marketplace Glitch ✅ Working ✅ NEVER SEEN...
JavaScript | 57 sec ago | 0.24 KB
-
✅⭐ Make $2500 in 15 minutes ✅ NEVER SEEN BEFO...
JavaScript | 1 min ago | 0.24 KB
-
⭐✅ Trading Profit Method ✅ NEVER SEEN BEFORE...
JavaScript | 1 min ago | 0.24 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand