powered by
This class represents the upper triangular part of a symmetric variable.
SymmetricUpperTri(n, name = NA_character_)# S4 method for SymmetricUpperTri as.character(x)# S4 method for SymmetricUpperTri get_data(object)
# S4 method for SymmetricUpperTri as.character(x)
# S4 method for SymmetricUpperTri get_data(object)
The number of rows/columns in the matrix.
(Optional) A character string representing the name of the variable.
A '>SymmetricUpperTri object.
get_data: Returns list(n, name).
get_data
list(n, name)
id
(Internal) A unique identification number used internally.
n
rows
The number of rows in the variable.
cols
The number of columns in the variable.
name
primal_value
(Internal) The primal value of the variable stored internally.
# NOT RUN { x <- SymmetricUpperTri(3, name="s3") name(x) get_data(x) # }
Run the code above in your browser using DataLab