List of Euclidean random variables
Create a list of Euclidean random variables
Objects can be created by calls of the form new("EuclRandVarList", ...).
More frequently they are created via the generating function
EuclRandVarList.
.DataObject of class "list". A list of Euclidean
random variables.
Class "list", from data part.
Class "vector", by class "list".
signature(from = "EuclRandVariable", to = "EuclRandVarList"):
create a "EuclRandVarList" object from a Euclidean random variable.
signature(from = "EuclRandMatrix", to = "EuclRandVarList"):
create a "EuclRandVarList" object from a Euclidean random matrix.
signature(object = "EuclRandVarList"):
number of functions contained in the slots Map of
the members of object.
signature(object = "EuclRandVarList"):
dimension of the Euclidean random variable.
signature(RandVar = "EuclRandVarList", x = "numeric"):
evaluate the elements of RandVar at x.
signature(RandVar = "EuclRandVarList", x = "matrix"):
evaluate the elements of RandVar at rows of x.
signature(RandVar = "EuclRandVarList", x = "numeric", distr = "Distribution"):
evaluate the elements of RandVar at x assuming
a probability space with distribution distr. In case x
does not lie in the support of distr NA is returned.
signature(RandVar = "EuclRandVarList", x = "matrix", distr = "Distribution"):
evaluate the elements of RandVar at rows of x
assuming a probability space with distribution distr. For those
rows of x which do not lie in the support of distr
NA is returned.
signature(RandVar = "EuclRandVarList", distr = "Distribution"):
image distribution of distr under RandVar. Returns
an object of class "DistrList".
signature(object = "EuclRandVarList")
signature(x = "EuclRandVarList"):
returns an object of class "EuclRandVarList" where the
rhe results of the functions in the slots Map of the members of
x are transposed.
signature(x = "EuclRandVarList", y = "EuclRandVarList"):
matrix multiplication for objects of class "EuclRandVarList".
Generates an object of class "EuclRandVarList".
signature(x = "matrix", y = "EuclRandVarList"):
matrix multiplication of x and y. Generates
an object of class "EuclRandMatrix".
signature(x = "EuclRandVarList", y = "matrix"):
matrix multiplication of x and y. Generates
an object of class "EuclRandMatrix".
signature(e1 = "numeric", e2 = "EuclRandVarList"):
Given a numeric vector e1, a list of Euclidean random variables e2
and an arithmetic operator op, the list of Euclidean random variables
e1 op e2 is returned.
signature(e1 = "EuclRandVarList", e2 = "numeric"):
Given a numeric vector e2, a list of Euclidean random variables e1
and an arithmetic operator op, the list of Euclidean random variables
e1 op e2 is returned.
signature(e1 = "EuclRandVarList", e2 = "EuclRandVarList"):
Given two lists of Euclidean random variables e1, e2 and an
arithmetic operator op, the list of Euclidean random variables
e1 op e2 is returned.
signature(x = "EuclRandVarList"):
Given a "Math" group generic fct, the list of Euclidean random
variables fct(x) is returned.
signature(object = "UnivariateDistribution", fun = "EuclRandVarList", cond = "missing"):
expectation of fun under univariate distributions.
signature(object = "AbscontDistribution", fun = "EuclRandVarList", cond = "missing"):
expectation of fun under absolutely continuous univariate distributions.
signature(object = "DiscreteDistribution", fun = "EuclRandVarList", cond = "missing"):
expectation of fun under discrete univariate distributions.
signature(object = "MultivariateDistribution", fun = "EuclRandVarList", cond = "missing"):
expectation of fun under multivariate distributions.
signature(object = "DiscreteMVDistribution", fun = "EuclRandVarList", cond = "missing"):
expectation of fun under discrete multivariate distributions.
signature(object = "UnivariateCondDistribution", fun = "EuclRandVarList", cond = "numeric"):
expectation of fun under conditional univariate distributions.
signature(object = "AbscontCondDistribution", fun = "EuclRandVarList", cond = "numeric"):
expectation of fun under absolutely continuous conditional univariate distributions.
signature(object = "DiscreteCondDistribution", fun = "EuclRandVarList", cond = "numeric"):
expectation of fun under discrete conditional univariate distributions.
Matthias Kohl Matthias.Kohl@stamats.de
L1 <- list(function(x){x}, function(x){x^2}, function(x){x^3}, function(x){x^4},
function(x){x^5}, function(x){x^6})
L2 <- list(function(x){exp(x)}, function(x){abs(x)},
function(x){sin(x)}, function(x){floor(x)})
R1 <- new("EuclRandVariable", Map = L2, Domain = Reals(), Range = Reals())
R2 <- EuclRandMatrix(Map = L1, ncol = 2, Domain = Reals(), dimension = 1)
R3 <- EuclRandMatrix(Map = L2, ncol = 2, Domain = Reals(), dimension = 1)
(RL1 <- new("EuclRandVarList", list(R1, R2, R3)))
dimension(RL1)
as(R1, "EuclRandVarList")
as(R2, "EuclRandVarList")
Map(exp(RL1)[[1]]) # "Math" group
## "Arith" group
Map((1 + RL1)[[1]])
Map((RL1 * 2)[[2]])
Map((RL1 / RL1)[[3]])Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.