| EuclRandVarList-class {RandVar} | R Documentation |
List of Euclidean random variables
Description
Create a list of Euclidean random variables
Objects from the Class
Objects can be created by calls of the form new("EuclRandVarList", ...).
More frequently they are created via the generating function
EuclRandVarList.
Slots
.DataObject of class
"list". A list of Euclidean random variables.
Extends
Class "list", from data part.
Class "vector", by class "list".
Methods
- coerce
signature(from = "EuclRandVariable", to = "EuclRandVarList"): create a"EuclRandVarList"object from a Euclidean random variable.- coerce
signature(from = "EuclRandMatrix", to = "EuclRandVarList"): create a"EuclRandVarList"object from a Euclidean random matrix.- numberOfMaps
signature(object = "EuclRandVarList"): number of functions contained in the slotsMapof the members ofobject.- dimension
signature(object = "EuclRandVarList"): dimension of the Euclidean random variable.- evalRandVar
signature(RandVar = "EuclRandVarList", x = "numeric"): evaluate the elements ofRandVaratx.- evalRandVar
signature(RandVar = "EuclRandVarList", x = "matrix"): evaluate the elements ofRandVarat rows ofx.- evalRandVar
signature(RandVar = "EuclRandVarList", x = "numeric", distr = "Distribution"): evaluate the elements ofRandVaratxassuming a probability space with distributiondistr. In casexdoes not lie in the support ofdistrNAis returned.- evalRandVar
signature(RandVar = "EuclRandVarList", x = "matrix", distr = "Distribution"): evaluate the elements ofRandVarat rows ofxassuming a probability space with distributiondistr. For those rows ofxwhich do not lie in the support ofdistrNAis returned.- imageDistr
signature(RandVar = "EuclRandVarList", distr = "Distribution"): image distribution ofdistrunderRandVar. Returns an object of class"DistrList".- show
signature(object = "EuclRandVarList")- t
signature(x = "EuclRandVarList"): returns an object of class"EuclRandVarList"where the rhe results of the functions in the slotsMapof the members ofxare transposed.- %m%
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 ofxandy. Generates an object of class"EuclRandMatrix".- %*%
signature(x = "EuclRandVarList", y = "matrix"): matrix multiplication ofxandy. Generates an object of class"EuclRandMatrix".- Arith
signature(e1 = "numeric", e2 = "EuclRandVarList"): Given a numeric vectore1, a list of Euclidean random variablese2and an arithmetic operatorop, the list of Euclidean random variablese1 op e2is returned.- Arith
signature(e1 = "EuclRandVarList", e2 = "numeric"): Given a numeric vectore2, a list of Euclidean random variablese1and an arithmetic operatorop, the list of Euclidean random variablese1 op e2is returned.- Arith
signature(e1 = "EuclRandVarList", e2 = "EuclRandVarList"): Given two lists of Euclidean random variablese1,e2and an arithmetic operatorop, the list of Euclidean random variablese1 op e2is returned.- Math
signature(x = "EuclRandVarList"): Given a"Math"group genericfct, the list of Euclidean random variablesfct(x)is returned.- E
signature(object = "UnivariateDistribution", fun = "EuclRandVarList", cond = "missing"): expectation offununder univariate distributions.- E
signature(object = "AbscontDistribution", fun = "EuclRandVarList", cond = "missing"): expectation offununder absolutely continuous univariate distributions.- E
signature(object = "DiscreteDistribution", fun = "EuclRandVarList", cond = "missing"): expectation offununder discrete univariate distributions.- E
signature(object = "MultivariateDistribution", fun = "EuclRandVarList", cond = "missing"): expectation offununder multivariate distributions.- E
signature(object = "DiscreteMVDistribution", fun = "EuclRandVarList", cond = "missing"): expectation offununder discrete multivariate distributions.- E
signature(object = "UnivariateCondDistribution", fun = "EuclRandVarList", cond = "numeric"): expectation offununder conditional univariate distributions.- E
signature(object = "AbscontCondDistribution", fun = "EuclRandVarList", cond = "numeric"): expectation offununder absolutely continuous conditional univariate distributions.- E
signature(object = "DiscreteCondDistribution", fun = "EuclRandVarList", cond = "numeric"): expectation offununder discrete conditional univariate distributions.
Author(s)
Matthias Kohl Matthias.Kohl@stamats.de
See Also
EuclRandMatrix, RandVariable-class,
EuclRandVariable-class, EuclRandMatrix-class,
Distribution-class, Arith,
Math, E
Examples
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]])