Generalised inner product and methods for class "MixComp"
inner.Rd
Generalised inner product and methods for class MixComp. The methods for MixComp provide for very convenient computing with MixAR models.
Details
inner
computes a generalised inner product x . y
, where
multiplication and summation can be replaced by other functions.
The default method of inner
applies star
to the
corresponding pairs of elements and combines them with plus
.
There is no recycling, if x
and y
have different
lengths, an error is raised. The elements of x
and y
are accessed with "[[". plus
should be an n
-ary
operation.
Methods
Methods for inner product between a "MixComp"
object and a
vector are similar to a product between a matrix and a vector but
comply with the conventions of class "MixComp"
. For this reason
they are described in the help page for class
"MixComp"
, along with methods for other functions
and operators applied to "MixComp"
objects.
signature(x = "ANY", y = "ANY", star = "ANY", plus = "ANY")
This is the default method, see section Details.
signature(x = "MixComp", y = "missing", star = "missing", plus = "missing")
see
"MixComp"
.signature(x = "MixComp", y = "numeric", star = "missing", plus = "missing")
see
"MixComp"
.signature(x = "numeric", y = "MixComp", star = "missing", plus = "missing")
see
"MixComp"
.signature(x = "MixComp", y = "numeric", star = "ANY", plus = "ANY")
see
"MixComp"
.signature(x = "MixComp", y = "numeric", star = "ANY", plus = "missing")
see
"MixComp"
.
See also
"MixComp"