## Reef-fish example: see Fenichel and Abbott (2014)
data("GOM")
param <- GOM$param
nodes <- chebnodegen(
param$nodes,
param$lowerK,
param$upperK
)
## Chebyshev polynomial basis
chebbasisgen(nodes, 20, 0.1, 1.5)
## First derivative of the Chebyshev polynomial basis
chebbasisgen(nodes, 20, 0.1, 1.5, dorder = 1)
Run the code above in your browser using DataLab