Linear class
Specifies a linear sequence of buckets that all have the same width (except overflow and underflow). Each bucket represents a constant absolute uncertainty on the specific value in the bucket.There are num_finite_buckets + 2 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-1): offset + (width * i).Lower bound (1 <= i < N): offset + (width * (i - 1)).
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
numFiniteBuckets
→ Input<
int> ? -
Must be greater than 0.
final
-
offset
→ Input<
double> ? -
Lower bound of the first bucket.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
width
→ Input<
double> ? -
Must be greater than 0.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited