distanceMaxRelRDI: Measure distance between current and previous state in terms...

View source: R/steady.R

distanceMaxRelRDIR Documentation

Measure distance between current and previous state in terms of RDI

Description

[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()


mizer documentation built on April 26, 2023, 5:12 p.m.