Package org.ojalgo.array
Class OffHeapR064
- All Implemented Interfaces:
Access1D<Double>
,Access1D.Aggregatable<Double>
,Access1D.Collectable<Double,
,Mutate1D> Access1D.Visitable<Double>
,Factory1D.Builder<DenseArray<Double>>
,Mutate1D
,Mutate1D.Fillable<Double>
,Mutate1D.Modifiable<Double>
,Structure1D
-
Nested Class Summary
Nested classes/interfaces inherited from class org.ojalgo.array.OffHeapArray
OffHeapArray.Factory
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.Sortable
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 -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(long index, Comparable<?> addend) double
doubleValue
(int index) double
doubleValue
(long index) float
floatValue
(int index) float
floatValue
(long index) void
reset()
Reset this mutable structure to some standard (all zeros) initial state.void
set
(int index, double value) void
set
(long index, double value) void
set
(long index, float value) void
set
(long index, Comparable<?> value) Methods inherited from class org.ojalgo.array.OffHeapArray
add, add, add, add, add, add, count, exchange, fillAll, get, modify, modify, modify, modifyOne, size, visitOne
Methods inherited from class org.ojalgo.array.DenseArray
build
Methods inherited from class org.ojalgo.array.BasicArray
aggregateRange, equals, factory, fill, fill, getMathType, hashCode, indexOfLargest, indexOfLargest, isPrimitive, modify, modify, modify, modifyAll, modifyMatching, modifyMatching, modifyRange, supplyTo, toString, visit, visitAll, visitRange, wrapInArray1D, wrapInArray2D, wrapInArrayAnyD
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.ojalgo.structure.Access1D
asCollectable1D, asKeyed1D, axpy, byteValue, byteValue, dot, elements, intValue, intValue, longValue, longValue, nonzeros, select, shortValue, shortValue, supplyTo, toRawCopy1D
Methods inherited from interface org.ojalgo.structure.Access1D.Aggregatable
aggregateAll
Methods inherited from interface org.ojalgo.structure.Access1D.Collectable
collect
Methods inherited from interface org.ojalgo.structure.Mutate1D
set, set, set, set, set, set, set, set, set
Methods inherited from interface org.ojalgo.structure.Mutate1D.Fillable
fillAll, fillCompatible, fillMatching, fillMatching, fillMatching, fillRange, fillRange
-
Field Details
-
myPointer
private final long myPointer
-
-
Constructor Details
-
OffHeapR064
OffHeapR064(long count)
-
-
Method Details
-
add
-
doubleValue
public double doubleValue(int index) -
doubleValue
public double doubleValue(long index) -
floatValue
public float floatValue(int index) -
floatValue
public float floatValue(long index) -
reset
public void reset()Description copied from interface:Mutate1D
Reset this mutable structure to some standard (all zeros) initial state. It must still be usuable after this call, and the structure/size/shape must not change. -
set
public void set(int index, double value) -
set
-
set
public void set(long index, double value) -
set
public void set(long index, float value)
-