Package org.ojalgo.array
Class PrimitiveArray
- java.lang.Object
-
- org.ojalgo.array.BasicArray<N>
-
- org.ojalgo.array.DenseArray<N>
-
- org.ojalgo.array.PlainArray<java.lang.Double>
-
- org.ojalgo.array.PrimitiveArray
-
- All Implemented Interfaces:
java.util.RandomAccess
,Access1D<java.lang.Double>
,Access1D.Aggregatable<java.lang.Double>
,Access1D.Collectable<java.lang.Double,Mutate1D>
,Access1D.Visitable<java.lang.Double>
,Factory1D.Builder<DenseArray<java.lang.Double>>
,Mutate1D
,Mutate1D.Fillable<java.lang.Double>
,Mutate1D.Modifiable<java.lang.Double>
,Mutate1D.Sortable
,Structure1D
public abstract class PrimitiveArray extends PlainArray<java.lang.Double> implements Mutate1D.Sortable
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.ojalgo.array.DenseArray
DenseArray.Factory<N extends java.lang.Comparable<N>>
-
Nested classes/interfaces inherited from interface org.ojalgo.structure.Access1D
Access1D.Aggregatable<N extends java.lang.Comparable<N>>, Access1D.Collectable<N extends java.lang.Comparable<N>,R extends Mutate1D>, Access1D.ElementView<N extends java.lang.Comparable<N>>, Access1D.SelectionView<N extends java.lang.Comparable<N>>, Access1D.Sliceable<N extends java.lang.Comparable<N>>, Access1D.Visitable<N extends java.lang.Comparable<N>>
-
Nested classes/interfaces inherited from interface org.ojalgo.structure.Mutate1D
Mutate1D.Fillable<N extends java.lang.Comparable<N>>, Mutate1D.Mixable<N extends java.lang.Comparable<N>>, Mutate1D.Modifiable<N extends java.lang.Comparable<N>>, Mutate1D.ModifiableReceiver<N extends java.lang.Comparable<N>>, Mutate1D.Receiver<N extends java.lang.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 Constructor Description PrimitiveArray(DenseArray.Factory<java.lang.Double> factory, int size)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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 Detail
-
PrimitiveArray
PrimitiveArray(DenseArray.Factory<java.lang.Double> factory, int size)
-
-
Method Detail
-
make
public static PrimitiveArray make(int size)
-
wrap
public static PrimitiveArray wrap(double... data)
-
wrap
public static PrimitiveArray wrap(float... data)
-
-