RxODE (version 0.9.0-8)

rxOptExpr: Optimize RxODE for computer evaluation

Description

This optimizes RxODE code for computer evaluation by only calculating redundant expressions once.

Usage

rxOptExpr(x)

Arguments

x

RxODE model that can be access by rxNorm

Value

Optimized RxODE model text. The order and type lhs and state variables is maintained while the evaluation is sped up. While parameters names are maintained, their order may be modified.