mycubic function

Compute roots of the cubic equation

Compute roots of the cubic equation

mycubic(parameters, mydelta, Rmax)

Arguments

  • parameters: A vector of parameters (real numbers) that is generated by estimating the short, intermediate and auxiliary regressions.
  • mydelta: Value of delta (real number).
  • Rmax: Value of Rmax (real number).

Returns

A vector containing the three roots of the cubic equation defined by the parameters, delta and Rmax.

  • Maintainer: Deepankar Basu
  • License: MIT + file LICENSE
  • Last published: 2022-03-28