public static class SparseLocalDerivative.FlexibleSparseLocalDerivative extends Stack<SparseLocalDerivative.SparseDeriativeEntry> implements SparseLocalDerivative
SparseLocalDerivative.EmptySparseLocalEntry, SparseLocalDerivative.FixedSparseLocalDerivative, SparseLocalDerivative.FlexibleSparseLocalDerivative, SparseLocalDerivative.SparseDeriativeEntry, SparseLocalDerivative.TrivialSparseLocalDerivative
capacityIncrement, elementCount, elementData
modCount
Constructor and Description |
---|
FlexibleSparseLocalDerivative() |
Modifier and Type | Method and Description |
---|---|
void |
add(int paramIdx,
double derivative)
This adds a new derivative to this sparse representation.
|
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, forEach, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, iterator, lastElement, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeIf, removeRange, replaceAll, retainAll, set, setElementAt, setSize, size, sort, spliterator, subList, toArray, toArray, toString, trimToSize
finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, iterator, spliterator
parallelStream, stream
public void add(int paramIdx, double derivative)
add
in interface SparseLocalDerivative
paramIdx
- the index of the parameter for which we have a non-zero
derivative.derivative
- the derivative value itself.Copyright (C) 2013-2015 Benjamin Paaßen, Georg Zentgraf, AG Theoretical Computer Science, Centre of Excellence Cognitive Interaction Technology (CITEC), University of Bielefeld, licensed under the AGPL v. 3: http://openresearch.cit-ec.de/projects/tcs . This documentation is licensed under the conditions of CC-BY-SA 4.0: https://creativecommons.org/licenses/by-sa/4.0/