SignalFloat32x4Mod4 class

Inheritance
Available Extensions

Constructors

SignalFloat32x4Mod4(int size)
SignalFloat32x4Mod4.from(List<double> values)
factory
SignalFloat32x4Mod4.fromEntries(List<Float32x4> entries, int size)
factory

Properties

capacity int
returns the values capacity. Can be bigger than length and the value should be "entryBlockSize * entriesLength".
no setterinherited
entries List<Float32x4>
Returns all entries.
no setterinherited
entriesLength int
Returns entries length.
no setterinherited
entryBlockSize int
The block size of an entry.
no setteroverride
entryEmpty Float32x4
A constant empty entry (filled with zeroes).
no setterinherited
first double
The first element.
getter/setter pairinherited
format String
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
isEmpty bool
Whether this collection has no elements.
no setterinherited
isNotEmpty bool
Whether this collection has at least one element.
no setterinherited
iterator Iterator<double>
A new Iterator that allows iterating the elements of this Iterable.
no setterinherited
last double
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
one double
Number 1 as N.
no setterinherited
reversed Iterable<double>
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 double
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<double>
Returns the values as a List<N>.
no setterinherited
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 double
Number 0 as N.
no setterinherited

Methods

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

Static Properties

EMPTY SignalFloat32x4Mod4
final
ENTRY_BLOCK_SIZE int
final

Static Methods

calcEntriesCapacity(int size) int
override