Dense Matrix BLAS Level-2 Elimination Engine
Executes row multiplier scalings m_{ik} and rank-1 outer product subtractions A_{i,k:n} ← A_{i,k:n} − m_{ik}·A_{k,k:n} in 64-bit IEEE 754 precision.
Solve dense n×n linear algebraic systems Ax = b using Gaussian elimination with row-scaled partial pivoting, eliminate numerical instability from vanishingly small pivot elements, and extract the asymptotic floating-point operational scaling constant C = 2/3 ≈ 0.667 FLOPs/n³ via ordinary least-squares regression. Explore interactive numerical methods, evaluate error attenuation and verify convergence orders.
Ready to execute n = 20.0.
Adjust n, then execute computation.
Mathematical operations are computed deterministically using 64-bit IEEE 754 precision. Residuals reflect ordinary least-squares regression across successive observations.
Dense Gaussian elimination scales as O(n³), making it computationally prohibitive for massive systems (n > 20,000) without sparse techniques. The numerical simulation model evaluates dense n×n linear systems with partial pivoting across dimensions n = [10, 20, 30, 40, 50, 60]. Normalized cubic coordinate: x = n³/1000 = [1.00, 8.00, 27.00, 64.00, 125.00, 216.00]. Theoretical forward elimination FLOP count: FLOPs(n) = (2/3)n³ = [0.667, 5.333, 18.000, 42.667, 83.333, 144.000] kFLOPs. Ordinary least-squares linear regression of elimination FLOPs against x = n³/1000 produces an empirical slope C = 0.66667 and Y-intercept b = 0.000 with coefficient of determination R² = 1.000000. The empirical scaling constant C = 0.667 matches the analytical constant C = 2/3 = 0.66667 within 0.0000% deviation.
Executes row multiplier scalings m_{ik} and rank-1 outer product subtractions A_{i,k:n} ← A_{i,k:n} − m_{ik}·A_{k,k:n} in 64-bit IEEE 754 precision.
Scans column k for the maximal absolute entry max_{i≥k} |a_{ik}| and exchanges rows to suppress round-off amplification.
Solves upper-triangular system Ux = c via backward recurrence x_i = (c_i − ∑_{j>i} u_{ij}x_j)/u_{ii} in O(n²) operations.
Records cumulative multiplication and subtraction operations across the forward elimination phase.
Visualizes non-zero matrix elements, pivot selection highlights, and progressive upper-triangular formation.
Evaluates the pivot growth factor ρ_n = max_{i,j,k} |a_{ij}^{(k)}| / max_{i,j} |a_{ij}| to verify numerical stability.
Solve dense n×n linear algebraic systems Ax = b using Gaussian elimination with row-scaled partial pivoting, eliminate numerical instability from vanishingly small pivot elements, and extract the asymptotic floating-point operational scaling constant C = 2/3 ≈ 0.667 FLOPs/n³ via ordinary least-squares regression. Standardized input settings: 10.0, 20.0, 30.0, 40.0, 50.0, 60.0 rows.
Initialize an n×n dense linear system Ax = b across dimensions n ∈ {10, 20, 30, 40, 50, 60}. Verify that det(A) ≠ 0.
At step k, scan column elements |a_{i,k}| for i = k, ..., n. Locate row p having the largest absolute magnitude: |a_{p,k}| = max_{i≥k} |a_{i,k}|. If p ≠ k, swap row k and row p in both A and b.
For each row i from k + 1 to n, compute the multiplier m_{i,k} = a_{i,k} / a_{k,k}. Subtract m_{i,k} times row k from row i: a_{i,j} ← a_{i,j} − m_{i,k} · a_{k,j} for j = k+1, ..., n, and b_i ← b_i − m_{i,k} · b_k.
Repeat steps 2 and 3 for all columns k = 1 to n − 1 until the coefficient matrix is reduced to upper-triangular form U.
Solve the upper-triangular system Ux = c from row n down to row 1: x_n = c_n / u_{n,n}, and x_i = (c_i − ∑_{j=i+1}^n u_{i,j} x_j) / u_{i,i}.
Plot elimination FLOPs against normalized cubic dimension x = n³/1000. Perform ordinary least-squares regression to extract empirical slope C = 0.667, verifying theoretical (2/3)n³ FLOP scaling.
Points are your recorded observations. The solid regression line validates Gaussian Elimination mathematical scaling.
| # | Matrix Dimension n (rows) | Triangular Elimination FLOPs (kFLOPs) | Normalized Dimension Cubic n³/1000 | Triangular Elimination Operations (kFLOPs) | Remove |
|---|
No readings yet. Execute a computation and record it.