powered by
This function computes the locations of the extrema of the cusp catastrophe potential function.
cusp.extrema(alpha, beta)
Ordered vector with locations of extremes.
(single) value of normal/symmetry factor
(single) value of bifurcation/splitting factor
Raoul Grasman
The locations are determined by computing the solutions to the equation $$\alpha+\beta\,X - X^3 = 0.$$
http://www.scholarpedia.org/article/Cusp_bifurcation
cusp.bifset
# simple use cusp.extrema(2,3) # using vectorize to allow for array input; # returns a matrix with locations in each column Vectorize(cusp.extrema)(-3:3, 2)
Run the code above in your browser using DataLab