# `Sidereon.LeastSquares.Result`
[🔗](https://github.com/neilberkman/sidereon-ex/blob/main/lib/sidereon/least_squares.ex#L52)

A single converged trust-region solve.

`jacobian` is the `m`-by-`n` Jacobian at the solution (a list of rows);
`status` is the SciPy-compatible termination code (`1` gtol, `2` ftol,
`3` xtol, `4` ftol and xtol, `0` max evaluations).

# `t`

```elixir
@type t() :: %Sidereon.LeastSquares.Result{
  cost: float(),
  grad: [float()],
  jacobian: [[float()]],
  nfev: non_neg_integer(),
  njev: non_neg_integer(),
  optimality: float(),
  residuals: [float()],
  status: integer(),
  success: boolean(),
  x: [float()]
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
