Cholesky-Banachiewicz Square-Root Engine
Computes diagonal l_{jj} = √(a_{jj} − ∑_{k=1}^{j-1} l_{jk}²) and off-diagonal l_{ij} = (a_{ij} − ∑_{k=1}^{j-1} l_{ik}l_{jk})/l_{jj}.
Factorize symmetric positive-definite covariance and stiffness matrices A into lower-triangular factor L (A = LLᵀ) using the Cholesky-Banachiewicz algorithm, evaluate Sylvester's criterion on leading principal minors, and extract the half-cost operational constant C = 1/3 ≈ 0.333 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.
Strictly restricted to symmetric positive-definite matrices; cannot be used for general unsymmetric or indefinite systems. The numerical simulation model executes Cholesky-Banachiewicz factorization on symmetric positive-definite matrices 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 Cholesky FLOP count: FLOPs(n) = (1/3)n³ = [0.333, 2.667, 9.000, 21.333, 41.667, 72.000] kFLOPs. Ordinary least-squares linear regression on these coordinates produces an empirical slope C = 0.33333 and Y-intercept b = 0.000 with coefficient of determination R² = 1.000000. The empirical efficiency constant C = 0.333 matches the analytical benchmark C = 1/3 = 0.33333 within 0.0000% deviation.
Computes diagonal l_{jj} = √(a_{jj} − ∑_{k=1}^{j-1} l_{jk}²) and off-diagonal l_{ij} = (a_{ij} − ∑_{k=1}^{j-1} l_{ik}l_{jk})/l_{jj}.
Monitors the discriminant under the square root; flags non-positive definite matrices if argument ≤ 0.
Stores only the lower triangle of A, cutting memory requirements by 50% compared to general LU.
Verifies that the operation count scales strictly as (1/3)n³ rather than (2/3)n³.
Visualizes lower-triangular factor L and demonstrates how LLᵀ reconstructs symmetric matrix A.
Evaluates ‖L‖·‖L⁻¹‖ to assess matrix conditioning and forward error bounds.
Factorize symmetric positive-definite covariance and stiffness matrices A into lower-triangular factor L (A = LLᵀ) using the Cholesky-Banachiewicz algorithm, evaluate Sylvester's criterion on leading principal minors, and extract the half-cost operational constant C = 1/3 ≈ 0.333 FLOPs/n³ via ordinary least-squares regression. Standardized input settings: 10.0, 20.0, 30.0, 40.0, 50.0, 60.0 rows.
Initialize symmetric n×n matrix A (A = Aᵀ) across dimensions n ∈ {10, 20, 30, 40, 50, 60}. Verify that all diagonal entries a_{ii} > 0.
Compute top-left diagonal entry: l_{1,1} = √a_{1,1}. For i = 2 to n, compute column entries: l_{i,1} = a_{i,1} / l_{1,1}.
Compute diagonal entry: l_{j,j} = √(a_{j,j} − ∑_{k=1}^{j-1} l_{j,k}²). If the argument under the square root is ≤ 0, terminate: matrix is not positive-definite.
For i = j + 1 to n, compute off-diagonal elements: l_{i,j} = (a_{i,j} − ∑_{k=1}^{j-1} l_{i,k} · l_{j,k}) / l_{j,j}.
Solve Ly = b via forward substitution in n²/2 operations. Solve Lᵀx = y via back substitution in n²/2 operations.
Plot factorization FLOPs against n³/1000. Perform ordinary least-squares regression to extract empirical slope C = 0.333, confirming that Cholesky requires exactly half the operations of general LU.
Points are your recorded observations. The solid regression line validates Cholesky Decomposition mathematical scaling.
| # | Matrix Dimension n (rows) | Cholesky Factorization FLOPs (kFLOPs) | Normalized Dimension Cubic n³/1000 | Factorization Operations (kFLOPs) | Remove |
|---|
No readings yet. Execute a computation and record it.