Package org.ojalgo.structure
Class Primitive1D.Simple
- java.lang.Object
-
- org.ojalgo.structure.Primitive1D
-
- org.ojalgo.structure.Primitive1D.Simple
-
- All Implemented Interfaces:
Access1D<java.lang.Double>
,Mutate1D
,Structure1D
- Enclosing class:
- Primitive1D
static final class Primitive1D.Simple extends Primitive1D
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.ojalgo.structure.Primitive1D
Primitive1D.Simple, Primitive1D.Wrapper
-
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 Modifier and Type Field Description private double[]
myValues
-
Fields inherited from class org.ojalgo.structure.Primitive1D
EMPTY
-
-
Constructor Summary
Constructors Constructor Description Simple(double[] values)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
doubleValue(int index)
void
set(int index, double value)
int
size()
The total number of elements in this structure.-
Methods inherited from class org.ojalgo.structure.Primitive1D
get, newInstance, of, set, toString, wrap
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.ojalgo.structure.Access1D
asCollectable1D, asKeyed1D, axpy, byteValue, byteValue, dot, doubleValue, elements, floatValue, floatValue, intValue, intValue, longValue, longValue, nonzeros, select, shortValue, shortValue, supplyTo, toRawCopy1D
-
Methods inherited from interface org.ojalgo.structure.Mutate1D
reset, set, set, set, set, set, set, set, set, set, set, set
-
Methods inherited from interface org.ojalgo.structure.Structure1D
count
-
-
-
-
Method Detail
-
doubleValue
public double doubleValue(int index)
-
set
public void set(int index, double value)
-
size
public int size()
Description copied from interface:Structure1D
The total number of elements in this structure.
-
-