GroupalFenwickTree<T> class
abstract
A MonoidalFenwickTree that has an inverse operation.
- Implemented types
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
increase(
{required int index, required T value}) → void -
Increases the value at
index
byvalue
.inherited -
length(
) → int -
Returns the amount of items that this contains.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
range_sum(
{required int index_from, required int index_to}) → T - Returns the sum between two indices.
-
sum(
{required int index_to}) → T -
Returns the sum up to the given index
index_to
.inherited -
toString(
) → String -
A string representation of this object.
inherited
-
update(
{required int index, required T value}) → void -
Sets the value at
index
to bevalue
.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited