You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 098c54e
Browse filesBrowse the repository at this point in the historyBrowse files
Integrate MatrixFunctionViaTaylor with the exponential interface
Register a pure-Julia scaling-and-squaring Taylor algorithm as
`MatrixFunctionViaTaylor` and fit it to the exponential interface: the
`(τ, A)` forms reuse the existing generic method, and it becomes the
default algorithm for all dense matrices (`DiagonalAlgorithm` still
handles `Diagonal`). Being LAPACK-free, it also covers arbitrary
precision, where `LinearAlgebra.exp` has no method.
The truncation order and number of squarings are chosen to minimize the
Paterson-Stockmeyer matrix-multiplication count under the Taylor
remainder bound, the polynomial is evaluated with incrementally built
coefficients, and squaring reuses a ping-pong buffer. `balance!` is
rewritten as a clean, type-generic Parlett-Reinsch scaling and wired in
as an optional preprocessing step.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments