ArxModel

it.grypho.scala.leonardo.control.ArxModel
final case class ArxModel(a: Vector[Double], b: Vector[Vector[Double]])

An identified ARX model in the predictor form (F_0060 Decision A): y[k] = Σᵢ aᵢ·y[k−i] + Σⱼ Σₗ bₗⱼ·uⱼ[k−nk−l+1].

The sign of a is stated because it cannot be inferred: MATLAB's arx/idpoly write A(q) = 1 + a₁q⁻¹ + …, so their a is the negative of this one (a_MATLAB = −a). The predictor sign is the one every recurrence and regression in this library already uses.

Value parameters

a

the na autoregressive coefficients, a₁ first; empty for a finite impulse response

b

per input j, its nb coefficients b₁ⱼ … b_nb,j, applied from lag nk on

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