Back to LAPACK/BLAS
la.utilities.balance
Balance a matrix to improve eigenvalue computation.
Syntax
la.utilities.balance(A)
Description
Balance a matrix to improve eigenvalue computation. Balancing uses diagonal similarity transformations to make the rows and columns of the matrix as close in norm as possible. This can improve the accuracy of eigenvalue computations. This is a pure TypeScript implementation of matrix balancing.
Parameters
| Name | Description |
|---|---|
| A | - Input square matrix (n × n) |
Returns
BalanceResult