This class represents a parameter, either scalar or a matrix.
class
Parameter( rows =NULL, cols =NULL, name =NA_character_, value =NA_real_,...)## S4 method for signature 'Parameter'get_data(object)## S4 method for signature 'Parameter'name(x)## S4 method for signature 'Parameter'value(object)## S4 replacement method for signature 'Parameter'value(object)<- value
## S4 method for signature 'Parameter'grad(object)## S4 method for signature 'Parameter'parameters(object)## S4 method for signature 'Parameter'canonicalize(object)
Arguments
rows: The number of rows in the parameter.
cols: The number of columns in the parameter.
name: (Optional) A character string representing the name of the parameter.
value: (Optional) A numeric element, vector, matrix, or data.frame. Defaults to NA and may be changed with value<- later.
...: Additional attribute arguments. See Leaf for details.