Package org.ojalgo.array
Class PrimitiveArray
- All Implemented Interfaces:
RandomAccess
,Access1D<Double>
,Access1D.Aggregatable<Double>
,Access1D.Collectable<Double,
,Mutate1D> Access1D.Visitable<Double>
,Factory1D.Builder<DenseArray<Double>>
,Mutate1D
,Mutate1D.Fillable<Double>
,Mutate1D.Modifiable<Double>
,Mutate1D.Sortable
,Structure1D
-
Nested Class Summary
Nested classes/interfaces inherited from class org.ojalgo.array.DenseArray
DenseArray.Factory<N extends Comparable<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.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 inherited from class org.ojalgo.array.PlainArray
CHARACTERISTICS, MAX_SIZE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PrimitiveArray
make
(int size) static PrimitiveArray
wrap
(double... data) static PrimitiveArray
wrap
(float... data) Methods inherited from class org.ojalgo.array.PlainArray
add, add, add, add, add, add, add, add, add, add, add, add, add, add, byteValue, byteValue, count, doubleValue, doubleValue, exchange, exchange, fill, fill, fill, fill, fillAll, fillAll, fillOne, fillOne, fillOne, fillRange, fillRange, floatValue, floatValue, get, get, indexOfLargest, indexOfLargest, intValue, intValue, isAbsolute, isSmall, longValue, longValue, modify, modify, modify, modify, modify, modify, modifyOne, modifyOne, searchAscending, set, set, set, set, set, set, set, set, set, set, set, set, set, set, shortValue, shortValue, size, sortAscending, sortDescending, visit, visit, visitOne, visitOne
Methods inherited from class org.ojalgo.array.DenseArray
build, modify, modify, modify
Methods inherited from class org.ojalgo.array.BasicArray
aggregateRange, equals, factory, getMathType, hashCode, indexOfLargest, isPrimitive, modifyAll, modifyMatching, modifyMatching, modifyRange, supplyTo, toString, 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, dot, elements, nonzeros, select, 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.Fillable
fillCompatible, fillMatching, fillMatching, fillMatching
Methods inherited from interface org.ojalgo.structure.Mutate1D.Sortable
sortAscending, sortDescending
Methods inherited from interface org.ojalgo.structure.Structure1D
count, size
-
Constructor Details
-
PrimitiveArray
PrimitiveArray(DenseArray.Factory<Double> factory, int size)
-
-
Method Details
-
make
-
wrap
-
wrap
-