- AbstractDoubleTuple - Class in de.javagl.nd.tuples.d
-
- AbstractDoubleTuple() - Constructor for class de.javagl.nd.tuples.d.AbstractDoubleTuple
-
- AbstractIntTuple - Class in de.javagl.nd.tuples.i
-
Abstract base implementation of a
IntTuple.
- AbstractIntTuple() - Constructor for class de.javagl.nd.tuples.i.AbstractIntTuple
-
- AbstractLongTuple - Class in de.javagl.nd.tuples.j
-
- AbstractLongTuple() - Constructor for class de.javagl.nd.tuples.j.AbstractLongTuple
-
- AbstractMutableDoubleTuple - Class in de.javagl.nd.tuples.d
-
- AbstractMutableDoubleTuple() - Constructor for class de.javagl.nd.tuples.d.AbstractMutableDoubleTuple
-
- AbstractMutableIntTuple - Class in de.javagl.nd.tuples.i
-
- AbstractMutableIntTuple() - Constructor for class de.javagl.nd.tuples.i.AbstractMutableIntTuple
-
- AbstractMutableLongTuple - Class in de.javagl.nd.tuples.j
-
- AbstractMutableLongTuple() - Constructor for class de.javagl.nd.tuples.j.AbstractMutableLongTuple
-
- add(Collection<? extends DoubleTuple>, MutableDoubleTuple) - Static method in class de.javagl.nd.tuples.d.DoubleTupleCollections
-
Computes the component-wise sum of the given collection
of tuples.
- add(DoubleTuple, DoubleTuple, MutableDoubleTuple) - Static method in class de.javagl.nd.tuples.d.DoubleTuples
-
Add the given input tuples, and store the result in
the given result tuple.
- add(DoubleTuple, double, MutableDoubleTuple) - Static method in class de.javagl.nd.tuples.d.DoubleTuples
-
Add the given value to all elements of the given input
tuples, and store the result in the given result tuple.
- add(Collection<? extends IntTuple>, MutableIntTuple) - Static method in class de.javagl.nd.tuples.i.IntTupleCollections
-
Computes the component-wise sum of the given collection
of tuples.
- add(IntTuple, IntTuple, MutableIntTuple) - Static method in class de.javagl.nd.tuples.i.IntTuples
-
Add the given input tuples, and store the result in
the given result tuple.
- add(IntTuple, int, MutableIntTuple) - Static method in class de.javagl.nd.tuples.i.IntTuples
-
Add the given value to all elements of the given input
tuples, and store the result in the given result tuple.
- add(Collection<? extends LongTuple>, MutableLongTuple) - Static method in class de.javagl.nd.tuples.j.LongTupleCollections
-
Computes the component-wise sum of the given collection
of tuples.
- add(LongTuple, LongTuple, MutableLongTuple) - Static method in class de.javagl.nd.tuples.j.LongTuples
-
Add the given input tuples, and store the result in
the given result tuple.
- add(LongTuple, long, MutableLongTuple) - Static method in class de.javagl.nd.tuples.j.LongTuples
-
Add the given value to all elements of the given input
tuples, and store the result in the given result tuple.
- addScaled(DoubleTuple, double, DoubleTuple, MutableDoubleTuple) - Static method in class de.javagl.nd.tuples.d.DoubleTuples
-
Computes t0+factor*t1, and stores the result in the given
result tuple.
- addScaled(IntTuple, int, IntTuple, MutableIntTuple) - Static method in class de.javagl.nd.tuples.i.IntTuples
-
Computes t0+factor*t1, and stores the result in the given
result tuple.
- addScaled(LongTuple, long, LongTuple, MutableLongTuple) - Static method in class de.javagl.nd.tuples.j.LongTuples
-
Computes t0+factor*t1, and stores the result in the given
result tuple.
- apply(DoubleTuple, DoubleTuple, DoubleBinaryOperator, MutableDoubleTuple) - Static method in class de.javagl.nd.tuples.d.DoubleTupleFunctions
-
Applies the given binary operator to each pair of elements from the
given tuples, and stores the result in the given result tuple.
- apply(DoubleTuple, DoubleUnaryOperator, MutableDoubleTuple) - Static method in class de.javagl.nd.tuples.d.DoubleTupleFunctions
-
Applies the given unary operator to element from the given tuple,
and stores the result in the given result tuple.
- apply(IntTuple, IntTuple, IntBinaryOperator, MutableIntTuple) - Static method in class de.javagl.nd.tuples.i.IntTupleFunctions
-
Applies the given binary operator to each pair of elements from the
given tuples, and stores the result in the given result tuple.
- apply(IntTuple, IntUnaryOperator, MutableIntTuple) - Static method in class de.javagl.nd.tuples.i.IntTupleFunctions
-
Applies the given unary operator to element from the given tuple,
and stores the result in the given result tuple.
- apply(LongTuple, LongTuple, LongBinaryOperator, MutableLongTuple) - Static method in class de.javagl.nd.tuples.j.LongTupleFunctions
-
Applies the given binary operator to each pair of elements from the
given tuples, and stores the result in the given result tuple.
- apply(LongTuple, LongUnaryOperator, MutableLongTuple) - Static method in class de.javagl.nd.tuples.j.LongTupleFunctions
-
Applies the given unary operator to element from the given tuple,
and stores the result in the given result tuple.
- areElementsGreaterThan(DoubleTuple, DoubleTuple) - Static method in class de.javagl.nd.tuples.d.DoubleTuples
-
Returns whether one tuple is element-wise
greater than the other.
- areElementsGreaterThan(DoubleTuple, double) - Static method in class de.javagl.nd.tuples.d.DoubleTuples
-
Returns whether all elements of the given tuple
are greater than the given value.
- areElementsGreaterThan(IntTuple, IntTuple) - Static method in class de.javagl.nd.tuples.i.IntTuples
-
Returns whether one tuple is element-wise
greater than the other.
- areElementsGreaterThan(IntTuple, int) - Static method in class de.javagl.nd.tuples.i.IntTuples
-
Returns whether all elements of the given tuple
are greater than the given value.
- areElementsGreaterThan(LongTuple, LongTuple) - Static method in class de.javagl.nd.tuples.j.LongTuples
-
Returns whether one tuple is element-wise
greater than the other.
- areElementsGreaterThan(LongTuple, long) - Static method in class de.javagl.nd.tuples.j.LongTuples
-
Returns whether all elements of the given tuple
are greater than the given value.
- areElementsGreaterThanOrEqual(DoubleTuple, DoubleTuple) - Static method in class de.javagl.nd.tuples.d.DoubleTuples
-
Returns whether one tuple is element-wise
greater than or equal to the other.
- areElementsGreaterThanOrEqual(DoubleTuple, double) - Static method in class de.javagl.nd.tuples.d.DoubleTuples
-
Returns whether all elements of the given tuple
are greater than or equal to the given value.
- areElementsGreaterThanOrEqual(IntTuple, IntTuple) - Static method in class de.javagl.nd.tuples.i.IntTuples
-
Returns whether one tuple is element-wise
greater than or equal to the other.
- areElementsGreaterThanOrEqual(IntTuple, int) - Static method in class de.javagl.nd.tuples.i.IntTuples
-
Returns whether all elements of the given tuple
are greater than or equal to the given value.
- areElementsGreaterThanOrEqual(LongTuple, LongTuple) - Static method in class de.javagl.nd.tuples.j.LongTuples
-
Returns whether one tuple is element-wise
greater than or equal to the other.
- areElementsGreaterThanOrEqual(LongTuple, long) - Static method in class de.javagl.nd.tuples.j.LongTuples
-
Returns whether all elements of the given tuple
are greater than or equal to the given value.
- areElementsLessThan(DoubleTuple, DoubleTuple) - Static method in class de.javagl.nd.tuples.d.DoubleTuples
-
Returns whether one tuple is element-wise
less than the other
- areElementsLessThan(DoubleTuple, double) - Static method in class de.javagl.nd.tuples.d.DoubleTuples
-
Returns whether all elements of the given tuple
are less than the given value.
- areElementsLessThan(IntTuple, IntTuple) - Static method in class de.javagl.nd.tuples.i.IntTuples
-
Returns whether one tuple is element-wise
less than the other
- areElementsLessThan(IntTuple, int) - Static method in class de.javagl.nd.tuples.i.IntTuples
-
Returns whether all elements of the given tuple
are less than the given value.
- areElementsLessThan(LongTuple, LongTuple) - Static method in class de.javagl.nd.tuples.j.LongTuples
-
Returns whether one tuple is element-wise
less than the other
- areElementsLessThan(LongTuple, long) - Static method in class de.javagl.nd.tuples.j.LongTuples
-
Returns whether all elements of the given tuple
are less than the given value.
- areElementsLessThanOrEqual(DoubleTuple, DoubleTuple) - Static method in class de.javagl.nd.tuples.d.DoubleTuples
-
Returns whether one tuple is element-wise
less than or equal to the other
- areElementsLessThanOrEqual(DoubleTuple, double) - Static method in class de.javagl.nd.tuples.d.DoubleTuples
-
Returns whether all elements of the given tuple
are less than or equal to the given value.
- areElementsLessThanOrEqual(IntTuple, IntTuple) - Static method in class de.javagl.nd.tuples.i.IntTuples
-
Returns whether one tuple is element-wise
less than or equal to the other
- areElementsLessThanOrEqual(IntTuple, int) - Static method in class de.javagl.nd.tuples.i.IntTuples
-
Returns whether all elements of the given tuple
are less than or equal to the given value.
- areElementsLessThanOrEqual(LongTuple, LongTuple) - Static method in class de.javagl.nd.tuples.j.LongTuples
-
Returns whether one tuple is element-wise
less than or equal to the other
- areElementsLessThanOrEqual(LongTuple, long) - Static method in class de.javagl.nd.tuples.j.LongTuples
-
Returns whether all elements of the given tuple
are less than or equal to the given value.
- arithmeticMean(Collection<? extends DoubleTuple>, MutableDoubleTuple) - Static method in class de.javagl.nd.tuples.d.DoubleTupleCollections
-
Computes the component-wise arithmetic mean of the given collection
of
DoubleTuple objects.
- arithmeticMean(DoubleTuple) - Static method in class de.javagl.nd.tuples.d.DoubleTuples
-
Returns the arithmetic mean of the given tuple
- asList(DoubleTuple) - Static method in class de.javagl.nd.tuples.d.DoubleTuples
-
Returns a view on the given tuple as an unmodifiable list.
- asList(MutableDoubleTuple) - Static method in class de.javagl.nd.tuples.d.DoubleTuples
-
Returns a view on the given tuple as a list that does not
allow structural modifications.
- asList(IntTuple) - Static method in class de.javagl.nd.tuples.i.IntTuples
-
Returns a view on the given tuple as an unmodifiable list.
- asList(MutableIntTuple) - Static method in class de.javagl.nd.tuples.i.IntTuples
-
Returns a view on the given tuple as a list that does not
allow structural modifications.
- asList(LongTuple) - Static method in class de.javagl.nd.tuples.j.LongTuples
-
Returns a view on the given tuple as an unmodifiable list.
- asList(MutableLongTuple) - Static method in class de.javagl.nd.tuples.j.LongTuples
-
Returns a view on the given tuple as a list that does not
allow structural modifications.
- checkForEqualSize(Tuple, Tuple) - Static method in class de.javagl.nd.tuples.Utils
-
Checks whether given given
Tuples have equal
size, and throws an
IllegalArgumentException if not.
- checkForValidIndex(int, int) - Static method in class de.javagl.nd.tuples.Utils
-
Checks whether the given index is valid for accessing a tuple with
the given size, and throws an IndexOutOfBoundsException
if not.
- checkForValidSubTupleIndices(int, int, int) - Static method in class de.javagl.nd.tuples.Utils
-
Checks whether the given indices are valid indices for a sub-tuple
of a parent tuple with the given size, and throws an
IllegalArgumentException if not.
- clamp(DoubleTuple, double, double, MutableDoubleTuple) - Static method in class de.javagl.nd.tuples.d.DoubleTuples
-
Clamp the components of the given tuple to be in the specified range,
and write the result into the given result tuple.
- clamp(DoubleTuple, DoubleTuple, DoubleTuple, MutableDoubleTuple) - Static method in class de.javagl.nd.tuples.d.DoubleTuples
-
Clamp the components of the given tuple to be in the specified range,
and write the result into the given result tuple.
- clamp(IntTuple, int, int, MutableIntTuple) - Static method in class de.javagl.nd.tuples.i.IntTuples
-
Clamp the components of the given tuple to be in the specified range,
and write the result into the given result tuple.
- clamp(IntTuple, IntTuple, IntTuple, MutableIntTuple) - Static method in class de.javagl.nd.tuples.i.IntTuples
-
Clamp the components of the given tuple to be in the specified range,
and write the result into the given result tuple.
- clamp(LongTuple, long, long, MutableLongTuple) - Static method in class de.javagl.nd.tuples.j.LongTuples
-
Clamp the components of the given tuple to be in the specified range,
and write the result into the given result tuple.
- clamp(LongTuple, LongTuple, LongTuple, MutableLongTuple) - Static method in class de.javagl.nd.tuples.j.LongTuples
-
Clamp the components of the given tuple to be in the specified range,
and write the result into the given result tuple.
- comparator(Order) - Static method in class de.javagl.nd.tuples.d.DoubleTuples
-
Returns a comparator that compares tuples based on the specified
Order.
- comparator(Order) - Static method in class de.javagl.nd.tuples.i.IntTuples
-
Returns a comparator that compares tuples based on the specified
Order.
- comparator(Order) - Static method in class de.javagl.nd.tuples.j.LongTuples
-
Returns a comparator that compares tuples based on the specified
Order.
- compareColexicographically(DoubleTuple, DoubleTuple) - Static method in class de.javagl.nd.tuples.d.DoubleTuples
-
Compares two tuples colexicographically, starting with
the elements of the highest index.
- compareColexicographically(IntTuple, IntTuple) - Static method in class de.javagl.nd.tuples.i.IntTuples
-
Compares two tuples colexicographically, starting with
the elements of the highest index.
- compareColexicographically(LongTuple, LongTuple) - Static method in class de.javagl.nd.tuples.j.LongTuples
-
Compares two tuples colexicographically, starting with
the elements of the highest index.
- compareLexicographically(DoubleTuple, DoubleTuple) - Static method in class de.javagl.nd.tuples.d.DoubleTuples
-
Compares two tuples lexicographically, starting with
the elements of the lowest index.
- compareLexicographically(IntTuple, IntTuple) - Static method in class de.javagl.nd.tuples.i.IntTuples
-
Compares two tuples lexicographically, starting with
the elements of the lowest index.
- compareLexicographically(LongTuple, LongTuple) - Static method in class de.javagl.nd.tuples.j.LongTuples
-
Compares two tuples lexicographically, starting with
the elements of the lowest index.
- computeL2(DoubleTuple) - Static method in class de.javagl.nd.tuples.d.DoubleTuples
-
Computes the L2 norm (euclidean length) of the given tuple
- constant(int, double) - Static method in class de.javagl.nd.tuples.d.DoubleTuples
-
Returns a tuple with the specified size, where each
element is the given value.
- constant(int, int) - Static method in class de.javagl.nd.tuples.i.IntTuples
-
Returns a tuple with the specified size, where each
element is the given value.
- constant(int, long) - Static method in class de.javagl.nd.tuples.j.LongTuples
-
Returns a tuple with the specified size, where each
element is the given value.
- containsNaN(DoubleTuple) - Static method in class de.javagl.nd.tuples.d.DoubleTuples
-
Returns whether the given tuple contains an element that
is Not A Number
- copy(DoubleTuple) - Static method in class de.javagl.nd.tuples.d.DoubleTuples
-
Creates a new tuple which is a copy of
the given one.
- copy(IntTuple) - Static method in class de.javagl.nd.tuples.i.IntTuples
-
Creates a new tuple which is a copy of
the given one.
- copy(LongTuple) - Static method in class de.javagl.nd.tuples.j.LongTuples
-
Creates a new tuple which is a copy of
the given one.
- create(int, int, Collection<? super MutableDoubleTuple>) - Static method in class de.javagl.nd.tuples.d.DoubleTupleCollections
-
Create the specified number of tuples with the given dimensions
(
size), all initialized to zero, and place
them into the given target collection
- create(int, int) - Static method in class de.javagl.nd.tuples.d.DoubleTupleCollections
-
Create the specified number of tuples with the given dimensions
(
size), all initialized to zero, and
return them as a list
- create(int) - Static method in class de.javagl.nd.tuples.d.DoubleTuples
-
Creates a new tuple with the given size.
- create(int, int, Collection<? super MutableIntTuple>) - Static method in class de.javagl.nd.tuples.i.IntTupleCollections
-
Create the specified number of tuples with the given dimensions
(
size), all initialized to zero, and place
them into the given target collection
- create(int, int) - Static method in class de.javagl.nd.tuples.i.IntTupleCollections
-
Create the specified number of tuples with the given dimensions
(
size), all initialized to zero, and
return them as a list
- create(int) - Static method in class de.javagl.nd.tuples.i.IntTuples
-
Creates a new tuple with the given size.
- create(int, int, Collection<? super MutableLongTuple>) - Static method in class de.javagl.nd.tuples.j.LongTupleCollections
-
Create the specified number of tuples with the given dimensions
(
size), all initialized to zero, and place
them into the given target collection
- create(int, int) - Static method in class de.javagl.nd.tuples.j.LongTupleCollections
-
Create the specified number of tuples with the given dimensions
(
size), all initialized to zero, and
return them as a list
- create(int) - Static method in class de.javagl.nd.tuples.j.LongTuples
-
Creates a new tuple with the given size.
- createRandom(int, Random) - Static method in class de.javagl.nd.tuples.d.DoubleTuples
-
Creates a tuple with the given size that
is filled with random values in [0,1)
- createRandom(int, double, double, Random) - Static method in class de.javagl.nd.tuples.d.DoubleTuples
-
Creates a tuple with the given size that
is filled with random values in the given range.
- createRandomGaussian(int, Random) - Static method in class de.javagl.nd.tuples.d.DoubleTuples
-
Creates a tuple with the given size
that was filled with values from a gaussian
distribution with mean 0.0 and standard deviation 1.0
- de.javagl.nd.tuples - package de.javagl.nd.tuples
-
Base classes for multidimensional tuples.
- de.javagl.nd.tuples.d - package de.javagl.nd.tuples.d
-
Multidimensional tuples of double values
- de.javagl.nd.tuples.i - package de.javagl.nd.tuples.i
-
Multidimensional tuples of int values
- de.javagl.nd.tuples.j - package de.javagl.nd.tuples.j
-
Multidimensional tuples of long values
- deepCopy(Collection<? extends DoubleTuple>) - Static method in class de.javagl.nd.tuples.d.DoubleTupleCollections
-
Returns a deep copy of the given collection of tuples.
- deepCopy(Collection<? extends IntTuple>) - Static method in class de.javagl.nd.tuples.i.IntTupleCollections
-
Returns a deep copy of the given collection of tuples.
- deepCopy(Collection<? extends LongTuple>) - Static method in class de.javagl.nd.tuples.j.LongTupleCollections
-
Returns a deep copy of the given collection of tuples.
- divide(DoubleTuple, DoubleTuple, MutableDoubleTuple) - Static method in class de.javagl.nd.tuples.d.DoubleTuples
-
Divide the elements of the given input tuples, and store
the results in the given result tuple.
- divide(IntTuple, IntTuple, MutableIntTuple) - Static method in class de.javagl.nd.tuples.i.IntTuples
-
Divide the elements of the given input tuples, and store
the results in the given result tuple.
- divide(LongTuple, LongTuple, MutableLongTuple) - Static method in class de.javagl.nd.tuples.j.LongTuples
-
Divide the elements of the given input tuples, and store
the results in the given result tuple.
- dot(DoubleTuple, DoubleTuple) - Static method in class de.javagl.nd.tuples.d.DoubleTuples
-
Computes the dot product of the given tuples
- dot(IntTuple, IntTuple) - Static method in class de.javagl.nd.tuples.i.IntTuples
-
Computes the dot product of the given tuples
- dot(LongTuple, LongTuple) - Static method in class de.javagl.nd.tuples.j.LongTuples
-
Computes the dot product of the given tuples
- DoubleTuple - Interface in de.javagl.nd.tuples.d
-
Interface describing an N-dimensional tuple consisting
of double values.
- DoubleTupleCollections - Class in de.javagl.nd.tuples.d
-
Utility methods related to collections of
DoubleTuple
instances.
- DoubleTupleFunctions - Class in de.javagl.nd.tuples.d
-
Methods that perform bulk operations on the elements of
DoubleTuples
using functional interfaces.
- DoubleTuples - Class in de.javagl.nd.tuples.d
-
- inclusiveScan(DoubleTuple, DoubleBinaryOperator, MutableDoubleTuple) - Static method in class de.javagl.nd.tuples.d.DoubleTupleFunctions
-
Performs an inclusive scan on the elements of the given tuple, using
the provided associative accumulation function, and returns the
result.
- inclusiveScan(IntTuple, IntBinaryOperator, MutableIntTuple) - Static method in class de.javagl.nd.tuples.i.IntTupleFunctions
-
Performs an inclusive scan on the elements of the given tuple, using
the provided associative accumulation function, and returns the
result.
- inclusiveScan(LongTuple, LongBinaryOperator, MutableLongTuple) - Static method in class de.javagl.nd.tuples.j.LongTupleFunctions
-
Performs an inclusive scan on the elements of the given tuple, using
the provided associative accumulation function, and returns the
result.
- incrementColexicographically(IntTuple, IntTuple, IntTuple, MutableIntTuple) - Static method in class de.javagl.nd.tuples.i.IntTuples
-
Colexicographically increment the given tuple in the given range, and
store the result in the given result tuple.
- incrementColexicographically(LongTuple, LongTuple, LongTuple, MutableLongTuple) - Static method in class de.javagl.nd.tuples.j.LongTuples
-
Colexicographically increment the given tuple in the given range, and
store the result in the given result tuple.
- incrementLexicographically(IntTuple, IntTuple, IntTuple, MutableIntTuple) - Static method in class de.javagl.nd.tuples.i.IntTuples
-
Lexicographically increment the given tuple in the given range, and
store the result in the given result tuple.
- incrementLexicographically(LongTuple, LongTuple, LongTuple, MutableLongTuple) - Static method in class de.javagl.nd.tuples.j.LongTuples
-
Lexicographically increment the given tuple in the given range, and
store the result in the given result tuple.
- interpolate(DoubleTuple, DoubleTuple, double, MutableDoubleTuple) - Static method in class de.javagl.nd.tuples.d.DoubleTuples
-
Computes t0+alpha*(t1-t0), and stores the result in
the given result tuple.
- IntTuple - Interface in de.javagl.nd.tuples.i
-
Interface describing an N-dimensional tuple consisting
of int values.
- IntTupleCollections - Class in de.javagl.nd.tuples.i
-
Utility methods related to collections of
IntTuple
instances.
- IntTupleFunctions - Class in de.javagl.nd.tuples.i
-
Methods that perform bulk operations on the elements of
IntTuples
using functional interfaces.
- IntTuples - Class in de.javagl.nd.tuples.i
-
- max(Collection<? extends DoubleTuple>, MutableDoubleTuple) - Static method in class de.javagl.nd.tuples.d.DoubleTupleCollections
-
Computes the component-wise maximum of the given collection
of tuples.
- max(DoubleTuple) - Static method in class de.javagl.nd.tuples.d.DoubleTuples
-
Computes the maximum value that occurs in the given tuple,
or Double.NEGATIVE_INFINITY if the given tuple has a
size of 0.
- max(DoubleTuple, DoubleTuple, MutableDoubleTuple) - Static method in class de.javagl.nd.tuples.d.DoubleTuples
-
Compute the element-wise maximum of the the given input
tuples, and store the result in the given
result tuple.
- max(Collection<? extends IntTuple>, MutableIntTuple) - Static method in class de.javagl.nd.tuples.i.IntTupleCollections
-
Computes the component-wise maximum of the given collection
of tuples.
- max(IntTuple) - Static method in class de.javagl.nd.tuples.i.IntTuples
-
Computes the maximum value that occurs in the given tuple,
or Integer.MIN_VALUE if the given tuple has a
size of 0.
- max(IntTuple, IntTuple, MutableIntTuple) - Static method in class de.javagl.nd.tuples.i.IntTuples
-
Compute the element-wise maximum of the the given input
tuples, and store the result in the given
result tuple.
- max(Collection<? extends LongTuple>, MutableLongTuple) - Static method in class de.javagl.nd.tuples.j.LongTupleCollections
-
Computes the component-wise maximum of the given collection
of tuples.
- max(LongTuple) - Static method in class de.javagl.nd.tuples.j.LongTuples
-
Computes the maximum value that occurs in the given tuple,
or Long.MIN_VALUE if the given tuple has a
size of 0.
- max(LongTuple, LongTuple, MutableLongTuple) - Static method in class de.javagl.nd.tuples.j.LongTuples
-
Compute the element-wise maximum of the the given input
tuples, and store the result in the given
result tuple.
- min(Collection<? extends DoubleTuple>, MutableDoubleTuple) - Static method in class de.javagl.nd.tuples.d.DoubleTupleCollections
-
Computes the component-wise minimum of the given collection
of tuples.
- min(DoubleTuple) - Static method in class de.javagl.nd.tuples.d.DoubleTuples
-
Computes the minimum value that occurs in the given tuple,
or Double.POSITIVE_INFINITY if the given tuple has a
size of 0.
- min(DoubleTuple, DoubleTuple, MutableDoubleTuple) - Static method in class de.javagl.nd.tuples.d.DoubleTuples
-
Compute the element-wise minimum of the the given input
tuples, and store the result in the given
result tuple.
- min(Collection<? extends IntTuple>, MutableIntTuple) - Static method in class de.javagl.nd.tuples.i.IntTupleCollections
-
Computes the component-wise minimum of the given collection
of tuples.
- min(IntTuple) - Static method in class de.javagl.nd.tuples.i.IntTuples
-
Computes the minimum value that occurs in the given tuple,
or Integer.MAX_VALUE if the given tuple has a
size of 0.
- min(IntTuple, IntTuple, MutableIntTuple) - Static method in class de.javagl.nd.tuples.i.IntTuples
-
Compute the element-wise minimum of the the given input
tuples, and store the result in the given
result tuple.
- min(Collection<? extends LongTuple>, MutableLongTuple) - Static method in class de.javagl.nd.tuples.j.LongTupleCollections
-
Computes the component-wise minimum of the given collection
of tuples.
- min(LongTuple) - Static method in class de.javagl.nd.tuples.j.LongTuples
-
Computes the minimum value that occurs in the given tuple,
or Long.MAX_VALUE if the given tuple has a
size of 0.
- min(LongTuple, LongTuple, MutableLongTuple) - Static method in class de.javagl.nd.tuples.j.LongTuples
-
Compute the element-wise minimum of the the given input
tuples, and store the result in the given
result tuple.
- multiply(DoubleTuple, DoubleTuple, MutableDoubleTuple) - Static method in class de.javagl.nd.tuples.d.DoubleTuples
-
Multiply the elements of the given input tuples, and store
the results in the given result tuple.
- multiply(DoubleTuple, double, MutableDoubleTuple) - Static method in class de.javagl.nd.tuples.d.DoubleTuples
-
Multiply the given input tuple with the given factor, and
store the result in the given result tuple.
- multiply(IntTuple, IntTuple, MutableIntTuple) - Static method in class de.javagl.nd.tuples.i.IntTuples
-
Multiply the elements of the given input tuples, and store
the results in the given result tuple.
- multiply(IntTuple, int, MutableIntTuple) - Static method in class de.javagl.nd.tuples.i.IntTuples
-
Multiply the given input tuple with the given factor, and
store the result in the given result tuple.
- multiply(LongTuple, LongTuple, MutableLongTuple) - Static method in class de.javagl.nd.tuples.j.LongTuples
-
Multiply the elements of the given input tuples, and store
the results in the given result tuple.
- multiply(LongTuple, long, MutableLongTuple) - Static method in class de.javagl.nd.tuples.j.LongTuples
-
Multiply the given input tuple with the given factor, and
store the result in the given result tuple.
- MutableDoubleTuple - Interface in de.javagl.nd.tuples.d
-
Interface describing an N-dimensional mutable tuple of
double values.
- MutableIntTuple - Interface in de.javagl.nd.tuples.i
-
Interface describing an N-dimensional mutable tuple of
int values.
- MutableLongTuple - Interface in de.javagl.nd.tuples.j
-
Interface describing an N-dimensional mutable tuple of
long values.
- randomize(MutableDoubleTuple, double, double, Random) - Static method in class de.javagl.nd.tuples.d.DoubleTuples
-
Fill the given tuple with random values in
the specified range, using the given random number generator
- randomize(MutableDoubleTuple, Random) - Static method in class de.javagl.nd.tuples.d.DoubleTuples
-
Fill the given tuple with random values in
[0,1), using the given random number generator
- randomizeGaussian(MutableDoubleTuple, Random) - Static method in class de.javagl.nd.tuples.d.DoubleTuples
-
Randomize the given tuple with a gaussian
distribution with a mean of 0.0 and standard deviation of 1.0
- reduce(DoubleTuple, double, DoubleBinaryOperator) - Static method in class de.javagl.nd.tuples.d.DoubleTupleFunctions
-
Performs a reduction on the elements of the given tuple, using the
provided identity value and an associative accumulation function,
and returns the reduced value.
- reduce(IntTuple, int, IntBinaryOperator) - Static method in class de.javagl.nd.tuples.i.IntTupleFunctions
-
Performs a reduction on the elements of the given tuple, using the
provided identity value and an associative accumulation function,
and returns the reduced value.
- reduce(LongTuple, long, LongBinaryOperator) - Static method in class de.javagl.nd.tuples.j.LongTupleFunctions
-
Performs a reduction on the elements of the given tuple, using the
provided identity value and an associative accumulation function,
and returns the reduced value.
- rescaleElements(DoubleTuple, double, double, double, double, MutableDoubleTuple) - Static method in class de.javagl.nd.tuples.d.DoubleTuples
-
Rescale the elements of the given tuple, so that the specified
old range is mapped to the specified new range.
- reverse(DoubleTuple, MutableDoubleTuple) - Static method in class de.javagl.nd.tuples.d.DoubleTuples
-
Reverse the given tuple.
- reverse(IntTuple, MutableIntTuple) - Static method in class de.javagl.nd.tuples.i.IntTuples
-
Reverse the given tuple.
- reverse(LongTuple, MutableLongTuple) - Static method in class de.javagl.nd.tuples.j.LongTuples
-
Reverse the given tuple.
- reversed(DoubleTuple) - Static method in class de.javagl.nd.tuples.d.DoubleTuples
-
Creates a new tuple that is a reversed view on the given
tuple.
- reversed(MutableDoubleTuple) - Static method in class de.javagl.nd.tuples.d.DoubleTuples
-
Creates a new tuple that is a reversed view on the given
tuple.
- reversed(IntTuple) - Static method in class de.javagl.nd.tuples.i.IntTuples
-
Creates a new tuple that is a reversed view on the given
tuple.
- reversed(MutableIntTuple) - Static method in class de.javagl.nd.tuples.i.IntTuples
-
Creates a new tuple that is a reversed view on the given
tuple.
- reversed(LongTuple) - Static method in class de.javagl.nd.tuples.j.LongTuples
-
Creates a new tuple that is a reversed view on the given
tuple.
- reversed(MutableLongTuple) - Static method in class de.javagl.nd.tuples.j.LongTuples
-
Creates a new tuple that is a reversed view on the given
tuple.
- set(MutableDoubleTuple, double) - Static method in class de.javagl.nd.tuples.d.DoubleTuples
-
Set all elements of the given tuple to the given value
- set(int, double) - Method in interface de.javagl.nd.tuples.d.MutableDoubleTuple
-
Set the value at the given index.
- set(DoubleTuple) - Method in interface de.javagl.nd.tuples.d.MutableDoubleTuple
-
Set this tuple to be equal to the given one.
- set(MutableIntTuple, int) - Static method in class de.javagl.nd.tuples.i.IntTuples
-
Set all elements of the given tuple to the given value
- set(int, int) - Method in interface de.javagl.nd.tuples.i.MutableIntTuple
-
Set the value at the given index.
- set(IntTuple) - Method in interface de.javagl.nd.tuples.i.MutableIntTuple
-
Set this tuple to be equal to the given one.
- set(MutableLongTuple, long) - Static method in class de.javagl.nd.tuples.j.LongTuples
-
Set all elements of the given tuple to the given value
- set(int, long) - Method in interface de.javagl.nd.tuples.j.MutableLongTuple
-
Set the value at the given index.
- set(LongTuple) - Method in interface de.javagl.nd.tuples.j.MutableLongTuple
-
Set this tuple to be equal to the given one.
- standardDeviation(Collection<? extends DoubleTuple>, MutableDoubleTuple) - Static method in class de.javagl.nd.tuples.d.DoubleTupleCollections
-
Returns the component-wise standard deviation of the given collection
of
DoubleTuple objects.
- standardDeviation(DoubleTuple) - Static method in class de.javagl.nd.tuples.d.DoubleTuples
-
Returns the standard deviation of the given tuple.
- standardDeviationFromMean(Collection<? extends DoubleTuple>, DoubleTuple, MutableDoubleTuple) - Static method in class de.javagl.nd.tuples.d.DoubleTupleCollections
-
Returns the component-wise standard deviation of the given collection
of
DoubleTuple objects.
- standardDeviationFromMean(DoubleTuple, double) - Static method in class de.javagl.nd.tuples.d.DoubleTuples
-
Returns the standard deviation of the given tuple.
- standardDeviationFromVariance(DoubleTuple, MutableDoubleTuple) - Static method in class de.javagl.nd.tuples.d.DoubleTuples
-
Returns the standard deviation of the given variances (that is,
a tuple containing the square roots of the values in the given
tuple).
- standardize(Collection<? extends DoubleTuple>, List<MutableDoubleTuple>) - Static method in class de.javagl.nd.tuples.d.DoubleTupleCollections
-
Standardize the given input tuples.
- standardize(DoubleTuple, MutableDoubleTuple) - Static method in class de.javagl.nd.tuples.d.DoubleTuples
-
Standardize the given tuple.
- stream() - Method in interface de.javagl.nd.tuples.d.DoubleTuple
-
Returns a sequential DoubleStream with this tuple as its source.
- stream() - Method in interface de.javagl.nd.tuples.i.IntTuple
-
Returns a sequential IntStream with this tuple as its source.
- stream() - Method in interface de.javagl.nd.tuples.j.LongTuple
-
Returns a sequential LongStream with this tuple as its source.
- subtract(DoubleTuple, DoubleTuple, MutableDoubleTuple) - Static method in class de.javagl.nd.tuples.d.DoubleTuples
-
Subtract the given input tuples, and store the result in
the given result tuple.
- subtract(DoubleTuple, double, MutableDoubleTuple) - Static method in class de.javagl.nd.tuples.d.DoubleTuples
-
Subtract the given value from all elements of the given input
tuple, and store the result in the given result tuple.
- subtract(IntTuple, IntTuple, MutableIntTuple) - Static method in class de.javagl.nd.tuples.i.IntTuples
-
Subtract the given input tuples, and store the result in
the given result tuple.
- subtract(IntTuple, int, MutableIntTuple) - Static method in class de.javagl.nd.tuples.i.IntTuples
-
Subtract the given value from all elements of the given input
tuple, and store the result in the given result tuple.
- subtract(LongTuple, LongTuple, MutableLongTuple) - Static method in class de.javagl.nd.tuples.j.LongTuples
-
Subtract the given input tuples, and store the result in
the given result tuple.
- subtract(LongTuple, long, MutableLongTuple) - Static method in class de.javagl.nd.tuples.j.LongTuples
-
Subtract the given value from all elements of the given input
tuple, and store the result in the given result tuple.
- subTuple(int, int) - Method in interface de.javagl.nd.tuples.d.DoubleTuple
-
- subTuple(int, int) - Method in interface de.javagl.nd.tuples.d.MutableDoubleTuple
-
Returns a view on a portion of this tuple.
- subTuple(int, int) - Method in interface de.javagl.nd.tuples.i.IntTuple
-
- subTuple(int, int) - Method in interface de.javagl.nd.tuples.i.MutableIntTuple
-
Returns a view on a portion of this tuple.
- subTuple(int, int) - Method in interface de.javagl.nd.tuples.j.LongTuple
-
- subTuple(int, int) - Method in interface de.javagl.nd.tuples.j.MutableLongTuple
-
Returns a view on a portion of this tuple.
- subTuple(int, int) - Method in interface de.javagl.nd.tuples.Tuple
-
Returns a view on a portion of this tuple.