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 |
---|
SparseLocalDerivative.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, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, iterator, lastElement, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize
public SparseLocalDerivative.FlexibleSparseLocalDerivative()
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, 2014 Benjamin Paaßen, Charlie Krüger, 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