shift_state_indices: R starts counting vector indices at 1, c++ starts at 0, so...

View source: R/shift_state_indices.R

shift_state_indicesR Documentation

R starts counting vector indices at 1, c++ starts at 0, so reduce all state numbers in the Cpp function definition by 1

Description

R starts counting vector indices at 1, c++ starts at 0, so reduce all state numbers in the Cpp function definition by 1

Usage

shift_state_indices(ode_def, n = -1)

Arguments

ode_def

ODE definition

n

add/subtract what number, default = -1


PKPDsim documentation built on March 7, 2023, 5:40 p.m.