Skip to contents

[Experimental]

This function can be used in projectToSteady() to decide when sufficient convergence to steady state has been achieved.

Usage

distanceMaxRelRDI(params, current, previous)

Arguments

params

MizerParams

current

A named list with entries n, n_pp and n_other describing the current state

previous

A named list with entries n, n_pp and n_other describing the previous state

Value

The largest absolute relative change in rdi: max(abs((current_rdi - previous_rdi) / previous_rdi))

See also

Other distance functions: distanceSSLogN()