Class MatrixParameterDescriptors

    • Field Detail

      • numRow

        protected final ParameterDescriptor<Integer> numRow
        The descriptor for the "num_row" parameter.
      • numCol

        protected final ParameterDescriptor<Integer> numCol
        The descriptor for the "num_col" parameter.
      • prefix

        protected final String prefix
        The prefix to insert in front of parameter name for each matrix elements.
      • separator

        protected final char separator
        The separator between the row and the column index in parameter names.
    • Constructor Detail

      • MatrixParameterDescriptors

        public MatrixParameterDescriptors​(Map<String,​?> properties)
        Constructs a parameter group with default name format matching Well Known Text usages.
        Parameters:
        properties - Set of properties. Should contains at least "name".
      • MatrixParameterDescriptors

        public MatrixParameterDescriptors​(Map<String,​?> properties,
                                          ParameterDescriptor<?>[] parameters,
                                          String prefix,
                                          char separator)
        Constructs a parameter group. The properties map is given unchanged to the super-class constructor. The parameters array should contains parameters other than matrix elements. The first parameter is assumed to be the number of rows, and the second parameter the number of columns. All extra parameters are ignored.
        Parameters:
        properties - Set of properties. Should contains at least "name".
        parameters - The "num_row" and "num_col" parameters.
        prefix - The prefix to insert in front of parameter name for each matrix elements.
        separator - The separator between the row and the column index in parameter names.