java.lang.Object
org.ojalgo.array.BasicArray<N>
org.ojalgo.array.DenseArray<N>
- All Implemented Interfaces:
Access1D<N>,Access1D.Aggregatable<N>,Access1D.Collectable<N,,Mutate1D> Access1D.Visitable<N>,Factory1D.Builder<DenseArray<N>>,Mutate1D,Mutate1D.Fillable<N>,Mutate1D.Modifiable<N>,Structure1D
- Direct Known Subclasses:
OffHeapArray,PlainArray
public abstract class DenseArray<N extends Comparable<N>>
extends BasicArray<N>
implements Factory1D.Builder<DenseArray<N>>
Each and every element occupies memory and holds a value.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDenseArray.Factory<N extends Comparable<N>,A extends DenseArray<N>> Nested classes/interfaces inherited from class org.ojalgo.array.BasicArray
BasicArray.BaseFactory<N extends Comparable<N>,A extends BasicArray<N>> Nested classes/interfaces inherited from interface org.ojalgo.structure.Access1D
Access1D.Aggregatable<N extends Comparable<N>>, Access1D.Collectable<N extends Comparable<N>,R extends Mutate1D>, Access1D.ElementView<N extends Comparable<N>>, Access1D.SelectionView<N extends Comparable<N>>, Access1D.Sliceable<N extends Comparable<N>>, Access1D.Visitable<N extends Comparable<N>> Nested classes/interfaces inherited from interface org.ojalgo.structure.Mutate1D
Mutate1D.Fillable<N extends Comparable<N>>, Mutate1D.Mixable<N extends Comparable<N>>, Mutate1D.Modifiable<N extends Comparable<N>>, Mutate1D.ModifiableReceiver<N extends Comparable<N>>, Mutate1D.Receiver<N extends Comparable<N>>, Mutate1D.SortableNested 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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()(package private) abstract voidmodify(long extIndex, int intIndex, BinaryFunction<N> function, Access1D<N> right) (package private) abstract voidmodify(long extIndex, int intIndex, UnaryFunction<N> function) (package private) abstract voidmodify(long extIndex, int intIndex, Access1D<N> left, BinaryFunction<N> function) Methods inherited from class org.ojalgo.array.BasicArray
aggregateRange, equals, exchange, factory, fill, fill, getMathType, hashCode, indexOfLargest, indexOfLargest, isPrimitive, modify, modify, modify, modifyAll, modifyMatching, modifyMatching, modifyRange, supplyTo, toString, visit, visitAll, visitRange, wrapInArray1D, wrapInArray2D, wrapInArrayAnyDMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.ojalgo.structure.Access1D
asCollectable1D, asKeyed1D, asList, axpy, byteValue, byteValue, dot, doubleValue, doubleValue, elements, floatValue, floatValue, get, intValue, intValue, longValue, longValue, nonzeros, select, shortValue, shortValue, supplyTo, toList, toRawCopy1DMethods inherited from interface org.ojalgo.structure.Access1D.Aggregatable
aggregateAllMethods inherited from interface org.ojalgo.structure.Access1D.Collectable
collectMethods inherited from interface org.ojalgo.structure.Access1D.Visitable
visitOneMethods inherited from interface org.ojalgo.structure.Mutate1D
reset, set, set, set, set, set, set, set, set, set, set, set, set, setMethods inherited from interface org.ojalgo.structure.Mutate1D.Fillable
fillAll, fillAll, fillCompatible, fillMatching, fillMatching, fillMatching, fillRange, fillRangeMethods inherited from interface org.ojalgo.structure.Mutate1D.Modifiable
add, add, add, add, add, add, add, add, add, add, add, add, add, modifyOneMethods inherited from interface org.ojalgo.structure.Structure1D
count, size
-
Constructor Details
-
DenseArray
-
-
Method Details
-
build
- Specified by:
buildin interfaceFactory1D.Builder<N extends Comparable<N>>
-
modify
-
modify
-
modify
-