LsqFailure

it.grypho.scala.leonardo.optimize.LsqFailure
enum LsqFailure

Why lsqfit or curveFit declined (F_0052 Decision A: a reason at the Scala level, which the REPL appends as a note). The node itself stays symbolic.

Attributes

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

Members list

Type members

Enum entries

final case class InvalidInput(detail: String)

The problem as written is malformed; detail says how.

The problem as written is malformed; detail says how.

Attributes

final case class MaxIterations(limit: Int, cosine: Double)

MaxLsqIterations was reached; cosine is the certificate's measure that was left.

MaxLsqIterations was reached; cosine is the certificate's measure that was left.

Attributes

case NotEvaluable extends LsqFailure

The residual or its Jacobian is not real at the starting point.

The residual or its Jacobian is not real at the starting point.

Attributes

final case class NotIdentifiable(rank: Int, params: Int)

The Jacobian has numerical rank rank of params at the solution (Decision B): the minimiser is a continuum, any point returned would be arbitrary.

The Jacobian has numerical rank rank of params at the solution (Decision B): the minimiser is a continuum, any point returned would be arbitrary.

Attributes

final case class Stalled(cosine: Double)

Progress stopped short of the certificate; cosine is what was left.

Progress stopped short of the certificate; cosine is what was left.

Attributes

final case class TooLarge(rows: Int, params: Int)

rows residuals in params parameters exceed the work cap.

rows residuals in params parameters exceed the work cap.

Attributes