ArxFailure

it.grypho.scala.leonardo.control.ArxFailure
enum ArxFailure

Why an ARX call declined (F_0052 Decision A: the reason travels as data, and the REPL turns it into a note).

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 InvalidOrders(detail: String)

An order is not a whole number in range: na ≥ 0, nb ≥ 1, nk ≥ 0.

An order is not a whole number in range: na ≥ 0, nb ≥ 1, nk ≥ 0.

Attributes

case NoState extends ArxFailure

A static gain (na = 0, nk = 0, nb = 1) has no state for arx2ss to realise.

A static gain (na = 0, nk = 0, nb = 1) has no state for arx2ss to realise.

Attributes

final case class NotExcited(rank: Int, coefficients: Int)

The data does not excite the model: the regressor matrix has numerical rank below its column count, so a least-squares fit would be an artefact of rounding, not of the plant.

The data does not excite the model: the regressor matrix has numerical rank below its column count, so a least-squares fit would be an artefact of rounding, not of the plant.

Value parameters

coefficients

the column count

rank

the numerical rank at the session precision

Attributes

final case class NotNumeric(what: String)

An operand is not numeric — symbolic, or holding a non-finite sample.

An operand is not numeric — symbolic, or holding a non-finite sample.

Attributes

final case class ShapeMismatch(detail: String)

The operands do not have the shapes the model needs: an output that is not a vector, an input with no side as long as the output, a b that is not nb×m.

The operands do not have the shapes the model needs: an output that is not a vector, an input with no side as long as the output, a b that is not nb×m.

Attributes

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

The regressor matrix is past the size the library decomposes (matrix.MaxMatrixCells, or the SVD's own work cap).

The regressor matrix is past the size the library decomposes (matrix.MaxMatrixCells, or the SVD's own work cap).

Attributes

final case class TooShort(samples: Int, equations: Int, coefficients: Int)

The series gives fewer equations than there are coefficients to fit.

The series gives fewer equations than there are coefficients to fit.

Value parameters

coefficients

the columns, na + m·nb

equations

the regressor rows they give, N − max(na, nk + nb − 1)

samples

the number of output samples

Attributes