- All Superinterfaces:
Structure1D
- All Known Subinterfaces:
Mutate2D.Mixable<N>,MutateAnyD.Mixable<N>
- All Known Implementing Classes:
Array1D,Array2D,ArrayAnyD,LongToNumberMap,NumberList
- Enclosing interface:
Mutate1D
Mix/combine the previously existing value, at index, with the supplied addend. The intention is that
implementations should make this method thread safe even if the class as a whole is not (which is
usually the case).
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ojalgo.structure.Structure1D
Structure1D.BasicMapper<T>, Structure1D.IndexMapper<T>, Structure1D.IntIndex, Structure1D.Logical<S extends Structure1D,B extends Structure1D.Logical<S, B>>, Structure1D.LongIndex, Structure1D.LoopCallback -
Method Summary
Modifier and TypeMethodDescriptiondoublemix(long index, BinaryFunction<N> mixer, double addend) mix(long index, BinaryFunction<N> mixer, N addend) Methods inherited from interface org.ojalgo.structure.Structure1D
count, size
-
Method Details
-
mix
- Returns:
- The new/mixed value
-
mix
-