LsqResult

it.grypho.scala.leonardo.optimize.LsqResult
case class LsqResult(p: Vector[Double], residualNorm: Double, iterations: Int, covariance: Option[_MatrixValue], active: Vector[Int])

A certified least-squares fit.

Value parameters

active

the indices of the parameters held at a bound, ascending

covariance

σ²·(RᵀR)⁻¹, σ² = ‖r‖²/(m − n); absent when m = n (no residual degrees of freedom) or when a bound is active (the linearised Gaussian approximation does not hold at a boundary)

iterations

how many iterations the solver took

p

the parameters

residualNorm

‖r(p)‖

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product