rxIsAutoSwitch: Check whether an ODE method string is an AutoSwitch composite...

View source: R/rxsolve.R

rxIsAutoSwitchR Documentation

Check whether an ODE method string is an AutoSwitch composite pair

Description

Returns TRUE for strings containing "+", such as "dop853+ros43".

Usage

rxIsAutoSwitch(method)

Arguments

method

Character vector of method names.

Value

Logical vector the same length as method.

See Also

odeMethodToInt(), rxIsNonStiff(), rxIsStiff()

Examples

rxIsAutoSwitch("dop853+ros43")  # TRUE
rxIsAutoSwitch("dop853")        # FALSE
rxIsAutoSwitch(c("dop853+ros43", "liblsoda"))  # TRUE FALSE


rxode2 documentation built on July 28, 2026, 5:08 p.m.