SignalInt32x4 class

Inheritance
Available Extensions

Constructors

SignalInt32x4(int size)
SignalInt32x4.from(List<int> values)
factory
SignalInt32x4.fromEntries(List<Int32x4> entries, int size)
factory

Properties

capacity int
returns the values capacity. Can be bigger than length and the value should be "entryBlockSize * entriesLength".
no setteroverride
entries List<Int32x4>
Returns all entries.
no setteroverride
entriesLength int
Returns entries length.
no setteroverride
entryBlockSize int
The block size of an entry.
no setteroverride
entryEmpty Int32x4
A constant empty entry (filled with zeroes).
no setteroverride
first int
The first element.
getter/setter pairinherited
format String
no setteroverride
hashCode int
The hash code for this object.
no setteroverride
isEmpty bool
Whether this collection has no elements.
no setterinherited
isNotEmpty bool
Whether this collection has at least one element.
no setterinherited
iterator Iterator<int>
A new Iterator that allows iterating the elements of this Iterable.
no setterinherited
last int
The last element.
getter/setter pairinherited
lastEntryLength int
Returns the length of the last entry.
no setterinherited
length int
Returns values length.
getter/setter pairinherited-setteroverride-getter
one int
Number 1 as N.
no setteroverride
reversed Iterable<int>
An Iterable of the objects in this list in reverse order.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
single int
Checks that this iterable has only one element, and returns that element.
no setterinherited
statistics DataStatistics<num>
Returns a DataStatistics of values.
no setterinherited
values List<int>
Returns the values as a List<N>.
no setteroverride
valuesAsDouble List<double>
Returns the values as a List<double>.
no setterinherited
valuesAsString List<String>
Returns the values as a List<String>.
no setterinherited
zero int
Number 0 as N.
no setteroverride

Methods

add(int element) → void
Adds value to the end of this list, extending the length by one.
inherited
addAll(Iterable<int> iterable) → void
Appends all objects of iterable to the end of this list.
inherited
addToEntry(int index, Int32x4 entry) → void
Adds entry to entry at index.
override
addToValue(int valueIndex, int value) → void
Adds value at valueIndex.
inherited
addValueFromEntry(Int32x4 entry, int offset, int value) Int32x4
override
any(bool test(int element)) bool
Checks whether any element of this iterable satisfies test.
inherited
asMap() Map<int, int>
An unmodifiable Map view of this list.
inherited
calcEntriesCapacityForSize(int size) int
override
cast<R>() List<R>
Returns a view of this list as a list of R instances.
inherited
clear() → void
Removes all objects from this list; the length of the list becomes zero.
inherited
computeSumSquares() int
Computes the sum of sqaues of values.
inherited
computeSumSquaresMean() double
Computes the sum of squares mean of values.
inherited
contains(Object? element) bool
Whether the collection contains an element equal to element.
inherited
copy() SignalInt32x4
Copy instance.
override
createEntry(List<int> values) Int32x4
Creates an entry with values.
inherited
createEntry1(int v0) Int32x4
override
createEntry2(int v0, int v1) Int32x4
override
createEntry3(int v0, int v1, int v2) Int32x4
override
createEntry4(int v0, int v1, int v2, int v3) Int32x4
override
createEntryFrom(Int32x4 other, [int? v0, int? v1, int? v2, int? v3]) Int32x4
override
createEntryFullOf(int v) Int32x4
Creates an entry full of value v.
override
createInstance(int size) SignalInt32x4
Creates a instance with size.
override
createInstanceFullOfValue(int size, int value) SignalInt32x4
Creates a Signal instance full of value.
inherited
createInstanceOfSameLength() SignalInt32x4
Creates an isntance of same length of this.
inherited
createInstanceOfSameLengthFullOfValue(int value) SignalInt32x4
inherited
createInstanceWithEntries(int size, List<Int32x4> entries) SignalInt32x4
override
createInstanceWithValues(List<int> values) SignalInt32x4
Creates a Signal instance full with values.
inherited
createRandomEntries(int size, int randomScale, [Random? rand]) List<Int32x4>
Creates a list of random entries.
inherited
createRandomEntry(int scale, [Random? rand]) Int32x4
Creates a random entry.
override
createRandomInstance(int size, int randomScale, [Random? rand]) SignalInt32x4
Creates a random instances.
override
createRandomValue(int scale, [Random? rand]) int
Creates a random value.
override
diff(List<int> otherValues) List<int>
Returns the differences of this instances values to otherValues.
inherited
diffAbs(List<int> values) List<int>
Returns the absolute differences of this instances values to otherValues.
inherited
elementAt(int index) int
Returns the indexth element.
inherited
ensureEntriesLengthMod(List<Int32x4> entries) → void
override
entryOperationDivide(Int32x4 entry1, Int32x4 entry2) Int32x4
Divide operation (SIMD).
override
entryOperationMultiply(Int32x4 entry1, Int32x4 entry2) Int32x4
Multiply operation (SIMD).
override
entryOperationSubtract(Int32x4 entry1, Int32x4 entry2) Int32x4
Subtract operation (SIMD).
override
entryOperationSum(Int32x4 entry1, Int32x4 entry2) Int32x4
Sum operation (SIMD).
override
entryOperationSumLane(Int32x4 entry) int
Sum lane operation (SIMD).
override
entryOperationSumLanePartial(Int32x4 entry, int size) int
Sum lane partially (until size) operation (SIMD).
override
entryOperationSumSquaresLane(Int32x4 entry) int
Sum squares of lane operation (SIMD).
override
entryOperationSumSquaresLanePartial(Int32x4 entry, int size) int
Sum squares of lane partially (until size) operation (SIMD).
override
errorGlobalMean(List<int> output) double
Returns the mean of errors.
inherited
errorGlobalSquareMean(List<int> output) double
Returns the square mean of errors.
inherited
errorGlobalSquareMeanRoot(List<int> output) double
Returns the square mean root of errors.
inherited
errors(List<int> output) List<int>
Same as diff.
inherited
errorsAbs(List<int> output) List<int>
Same as diffAbs.
inherited
every(bool test(int element)) bool
Checks whether every element of this iterable satisfies test.
inherited
expand<T>(Iterable<T> f(int element)) Iterable<T>
Expands each element of this Iterable into zero or more elements.
inherited
fillRange(int start, int end, [int? fill]) → void
Overwrites a range of elements with fillValue.
inherited
firstWhere(bool test(int element), {int orElse()?}) int
The first element that satisfies the given predicate test.
inherited
fold<T>(T initialValue, T combine(T previousValue, int element)) → T
Reduces a collection to a single value by iteratively combining each element of the collection with an existing value
inherited
followedBy(Iterable<int> other) Iterable<int>
Creates the lazy concatenation of this iterable and other.
inherited
forEach(void action(int element)) → void
Invokes action on each element of this iterable in iteration order.
inherited
getEntries([int? length]) List<Int32x4>
inherited
getEntry(int index) Int32x4
Returns entry at index.
override
getEntryFiltered(int index, int filter(int n)) Int32x4
Returns entry at index with values filtered by filter.
override
getEntryFilteredX4(int index, Int32x4 filter(Int32x4 entry)) Int32x4
override
getRange(int start, int end) Iterable<int>
Creates an Iterable that iterates over a range of elements.
inherited
getValue(int valueIndex) int
Returns a value at valueIndex.
inherited
getValueEntryIndex(int valueIndex) int
inherited
getValueFromEntry(Int32x4 entry, int offset) int
override
getValues([int? length]) List<int>
Get values with length.
inherited
indexOf(Object? element, [int start = 0]) int
The first index of element in this list.
inherited
indexWhere(bool test(int element), [int start = 0]) int
The first index in the list that satisfies the provided test.
inherited
insert(int index, int element) → void
Inserts element at position index in this list.
inherited
insertAll(int index, Iterable<int> iterable) → void
Inserts all objects of iterable at position index in this list.
inherited
join([String separator = ""]) String
Converts each element to a String and concatenates the strings.
inherited
lastIndexOf(Object? element, [int? start]) int
The last index of element in this list.
inherited
lastIndexWhere(bool test(int element), [int? start]) int
The last index in the list that satisfies the provided test.
inherited
lastWhere(bool test(int element), {int orElse()?}) int
The last element that satisfies the given predicate test.
inherited
map<T>(T f(int element)) Iterable<T>
The current elements of this iterable modified by toElement.
inherited
multiply(SignalInt32x4 other) SignalInt32x4
Multiply all entries with other entries.
override
multiplyAllEntriesAddingTo(Int32x4 entry, SignalInt32x4 destiny) → void
Multiply all entries with entry and add to destiny.
override
multiplyAllEntriesTo(Int32x4 entry, SignalInt32x4 destiny) → void
Multiply all entries with entry and save to destiny.
override
multiplyAllValuesAddingTo(int value, SignalInt32x4 destiny) → void
Multiply all values with value and add to destiny.
inherited
multiplyEntries(Int32x4 entry) SignalInt32x4
override
multiplyTo(SignalInt32x4 other, SignalInt32x4 destiny) → void
Multiply all entries with other entries and save to destiny.
override
multiplyValueTo(int value, SignalInt32x4 destiny) → void
inherited
normalize(Scale<int> scale) SignalInt32x4
Creates a Signal instance normalized with scale.
inherited
normalizeEntry(Int32x4 entry, Scale<int> scale) Int32x4
Normalizes an entry E with scale.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
nToString(int n) String
Converts n to String.
override
reduce(int combine(int previousValue, int element)) int
Reduces a collection to a single value by iteratively combining elements of the collection using the provided function.
inherited
remove(Object? element) bool
Removes the first occurrence of value from this list.
inherited
removeAt(int index) int
Removes the object at position index from this list.
inherited
removeLast() int
Removes and returns the last object in this list.
inherited
removeRange(int start, int end) → void
Removes a range of elements from the list.
inherited
removeWhere(bool test(int element)) → void
Removes all objects from this list that satisfy test.
inherited
replaceRange(int start, int end, Iterable<int> newContents) → void
Replaces a range of elements with the elements of replacements.
inherited
retainWhere(bool test(int element)) → void
Removes all objects from this list that fail to satisfy test.
inherited
set(SignalInt32x4 other, [int? entriesLength]) → void
inherited
setAll(int index, Iterable<int> iterable) → void
Overwrites elements with the objects of iterable.
inherited
setAllEntriesEmpty() → void
Set all entries empty (zeroes).
inherited
setAllEntriesWith(SignalInt32x4 other) → void
Set all entries with other entries.
inherited
setAllEntriesWithValue(int value) → void
Set all entries with value.
inherited
setEntry(int index, Int32x4 entry) → void
Set entry at index with entry.
override
setEntryEmpty(int index) → void
Sets entry at index empty (zeroes).
inherited
setEntryFiltered(int index, int filter(int n)) Int32x4
Sets entry at index with values filtered by filter.
inherited
setEntryFilteredX4(int index, Int32x4 filter(Int32x4 entry)) Int32x4
inherited
setEntryValues1(int entryIndex, int v0) → void
Sets entry at entryIndex and value 1 to v0.
inherited
setEntryValues2(int entryIndex, int v0, int v1) → void
Sets entry at entryIndex and values 1 and 2 to v0 and v1.
inherited
setEntryValues3(int entryIndex, int v0, int v1, int v2) → void
Sets entry at entryIndex and values 1, 2 and 3 to v0, v1 and v2.
inherited
setEntryValues4(int entryIndex, int v0, int v1, int v2, int v3) → void
Sets entry at entryIndex and values 1, 2, 3 and 4 to v0, v1, v2 and v3.
inherited
setEntryWithRandomValues(int index, int scale, [Random? rand]) Int32x4
Sets entry at index with a random value.
inherited
setEntryWithValue(int index, int value) Int32x4
Sets entry at index with value.
inherited
setExtraValues(int value) → void
Set the extra values (values over length) with value.
inherited
setExtraValuesToOne() → void
Set extra values to one. Calls setExtraValues with one.
inherited
setExtraValuesToZero() → void
Set extra values to zero. Calls setExtraValues with zero.
inherited
setRange(int start, int end, Iterable<int> iterable, [int skipCount = 0]) → void
Writes some elements of iterable into a range of this list.
inherited
setValue(int valueIndex, int newValue) → void
Sets a value at valueIndex with newValue.
inherited
setValueFromEntry(Int32x4 entry, int offset, int value) Int32x4
override
shuffle([Random? random]) → void
Shuffles the elements of this list randomly.
inherited
singleWhere(bool test(int element), {int orElse()?}) int
The single element that satisfies test.
inherited
skip(int count) Iterable<int>
Creates an Iterable that provides all but the first count elements.
inherited
skipWhile(bool test(int element)) Iterable<int>
Creates an Iterable that skips leading elements while test is satisfied.
inherited
sort([int compare(int a, int b)?]) → void
Sorts this list according to the order specified by the compare function.
inherited
sublist(int start, [int? end]) List<int>
Returns a new list containing the elements between start and end.
inherited
subtract(SignalInt32x4 other) SignalInt32x4
Subtract all entries with other entries.
override
subtractAllEntriesTo(Int32x4 entry, SignalInt32x4 destiny) → void
Multiply all entries with entry and subtract from destiny.
override
subtractTo(SignalInt32x4 other, SignalInt32x4 destiny) → void
Subtract all entries with other and save to destiny.
override
subtractToEntry(int index, Int32x4 entry) → void
override
take(int count) Iterable<int>
Creates a lazy iterable of the count first elements of this iterable.
inherited
takeWhile(bool test(int element)) Iterable<int>
Creates a lazy iterable of the leading elements satisfying test.
inherited
toList({bool growable = true}) List<int>
Creates a List containing the elements of this Iterable.
inherited
toN(num n) int
Converts num n to N.
override
toSet() Set<int>
Creates a Set containing the same elements as this iterable.
inherited
toString({int maxElements = 10, bool entries = false, bool infos = false}) String
A string representation of this object.
inherited
toStringEntries([int maxEntriesToString = 4]) String
inherited
toStringValues([int maxValuesToString = 10]) String
inherited
toStringWithEntries([int maxEntriesToString = 4]) String
inherited
toStringWithValues([int maxValuesToString = 10]) String
inherited
valuesToEntries(List<int> values) List<Int32x4>
Converts values to a List of entries E.
inherited
where(bool test(int element)) Iterable<int>
Creates a new lazy Iterable with all elements that satisfy the predicate test.
inherited
whereType<T>() Iterable<T>
Creates a new lazy Iterable with all elements that have type T.
inherited

Operators

operator +(List<int> other) List<int>
Returns the concatenation of this list and other.
inherited
operator ==(Object other) bool
The equality operator.
override
operator [](int valueIndex) int
The object at the given index in the list.
inherited
operator []=(int valueIndex, int value) → void
Sets the value at the given index in the list to value.
inherited

Static Properties

EMPTY SignalInt32x4
final
ENTRY_BLOCK_SIZE int
final

Static Methods

calcEntriesCapacity(int size) int