Optionalmethod"Higham08.b" (default): Higham's scaling and squaring with Padé approximants after balancing (LAPACK's
dgebal, permutation then scaling). "Higham08": the same without balancing. "Pade" and "Taylor" (and
"PadeO", "TaylorO", which compute the same): scaling and squaring with a diagonal Padé approximant or a
Taylor polynomial of degree order (Shapira and Firth's code in the expm package).
OptionalorderDegree of the Padé approximant or the Taylor polynomial (a positive integer up to 2147483647, R's integer range,
and with order * (n^3 + 64) at most 2^31 for an n x n matrix, a bound on the time), used only by "Pade",
"Taylor", "PadeO" and "TaylorO". Default: 8.
Options for expm.