Skip to main content

Module fzero

Module fzero 

Source
Expand description

MATLAB-compatible fzero builtin for scalar nonlinear root finding.

fzero searches for a scalar zero from either a two-point bracket or a scalar initial guess. It supports MATLAB’s four output arities:

  • x = fzero(fun, x0)
  • x = fzero(fun, x0, options)
  • [x, fval] = fzero(...)
  • [x, fval, exitflag] = fzero(...)
  • [x, fval, exitflag, output] = fzero(...)

Constants§

FUSION_SPEC
FZERO_DESCRIPTOR
GPU_SPEC