Interface for a factor.
More...
#include <interfaces.hpp>
|
| Type | type () const |
| |
| virtual void | set (size_t i, size_t v)=0 |
| |
| virtual void | set_level (size_t il, std::string vl)=0 |
| |
| virtual size_t | size () const =0 |
| |
| virtual void | set_name (size_t i, std::string n)=0 |
| |
| virtual void | set_missing (size_t i)=0 |
| |
Interface for a factor.
This is considered a "vector" in terms of its indices, not its levels. So, settings like Vector::use_names() and Vector::is_scalar() refer to the underlying integer indices.
◆ set()
| virtual void uzuki2::Factor::set |
( |
size_t | i, |
|
|
size_t | v ) |
|
pure virtual |
Set the value of a factor element.
- Parameters
-
| i | Index of a factor element. |
| v | Value of the factor element, as an integer index that references the levels. |
◆ set_level()
| virtual void uzuki2::Factor::set_level |
( |
size_t | il, |
|
|
std::string | vl ) |
|
pure virtual |
Set the levels of the factor.
- Parameters
-
| il | Index of the level element. |
| vl | Value of the level element. |
◆ type()
| Type uzuki2::Factor::type |
( |
| ) |
const |
|
inlinevirtual |
The documentation for this class was generated from the following file: