unit_open_scalar: Open-unit-interval scalar S7 property

unit_open_scalarR Documentation

Open-unit-interval scalar S7 property

Description

S7 property accepting a single finite double strictly in (0, 1).

Usage

unit_open_scalar

Value

An S7 property object.

Author(s)

EDG

Examples

Boost <- S7::new_class("Boost", properties = list(learning_rate = unit_open_scalar))
Boost(learning_rate = 0.1)@learning_rate
# Bounds are exclusive: 0 and 1 are rejected
try(Boost(learning_rate = 1))

rtemis.core documentation built on Sept. 20, 2026, 9:06 a.m.