MoTBFs (version 1.2)

Class-JointMoTBF: Class "jointmotbf"

Description

Defines an object of class "jointmotbf" and other basis functions for manipulating "jointmotbf" objects.

Usage

jointmotbf(x = 0)

# S3 method for jointmotbf print(x, ...)

# S3 method for jointmotbf as.character(x, ...)

# S3 method for jointmotbf as.list(x, ...)

is.jointmotbf(x, class = "jointmotbf")

Arguments

x

Preferably, a list containing, a joint expression and other posibles elements like a "numeric" matrix with the domain of the variables, the dimension of the variables, the number of iterations needed to solve the optimization problem, among others. Any R object can be entered, but the utility of this function is not to transform objects of other classes into objects of class "jointmotbf".

class

By default is "jointmotbf".

...

Additional arguments, not needed for these methods.

See Also

jointMoTBF

Examples

Run this code
# NOT RUN {
## n.parameters is the product of the dimensions
dim <- c(3,3)
param <- seq(1,prod(dim), by=1)
## Joint Function 
f <- list(Parameters=param, Dimensions=dim)
jointF <- jointMoTBF(f)

print(jointF) ## jointF
as.character(jointF)
as.list(jointF)
is(jointF)
is.jointmotbf(jointF)
# }

Run the code above in your browser using DataLab