Skip to contents

Inductive linearization solver

Arguments

cSub

= Current subject number

op
  • rxode2 solving options

tp
  • Prior time point/time zero

yp
  • Prior state; vector size = neq; Final state is updated here

tf
  • Final Time

InfusionRate

= Rates of each compartment; vector size = neq

on

Indicator for if the compartment is "on"

cache

0 = no Cache When doIndLin == 0, cache > 0 = nInf-1

ME

the rxode2 matrix exponential function

IndF

The rxode2 Inductive Linearization function F

Value

Returns a status for solving

1 = Successful solve

-1 = Maximum number of iterations reached when doing inductive linearization