Package org.ojalgo.structure
Interface Mutate1D
- All Superinterfaces:
Structure1D
- All Known Subinterfaces:
DecompositionStore<N>
,Factory1D.Builder<I>
,Factory2D.Builder<I>
,FactoryAnyD.Builder<I>
,Mutate1D.Fillable<N>
,Mutate1D.ModifiableReceiver<N>
,Mutate1D.Receiver<N>
,Mutate2D
,Mutate2D.Fillable<N>
,Mutate2D.ModifiableReceiver<N>
,Mutate2D.Receiver<N>
,MutateAnyD
,MutateAnyD.Fillable<N>
,MutateAnyD.ModifiableReceiver<N>
,MutateAnyD.Receiver<N>
,PhysicalStore<N>
,PolynomialFunction<N>
,TransformableRegion<N>
- All Known Implementing Classes:
AbstractPolynomial
,AnyTensor
,Array1D
,Array2D
,ArrayAnyD
,ArrayC128
,ArrayH256
,ArrayQ128
,ArrayR032
,ArrayR064
,ArrayR128
,ArrayR256
,ArrayZ008
,ArrayZ016
,ArrayZ032
,ArrayZ064
,BasicArray
,BufferArray
,BufferR032
,BufferR064
,BufferZ008
,BufferZ016
,BufferZ032
,BufferZ064
,ColumnsSupplier
,DenseArray
,DenseMutator2D
,DenseTableau
,EntrySet.KeyedPrimitives
,EntrySet.ObjectByte
,EntrySet.ObjectDouble
,EntrySet.ObjectFloat
,EntrySet.ObjectInt
,EntrySet.ObjectLong
,EntrySet.ObjectShort
,GenericStore
,ImageData
,ImageData.SingleChannel
,IndexedMap.MappedPrimitives
,MatrixC128.DenseReceiver
,MatrixC128.SparseReceiver
,MatrixH256.DenseReceiver
,MatrixH256.SparseReceiver
,MatrixQ128.DenseReceiver
,MatrixQ128.SparseReceiver
,MatrixR032.DenseReceiver
,MatrixR032.SparseReceiver
,MatrixR064.DenseReceiver
,MatrixR064.SparseReceiver
,MatrixR128.DenseReceiver
,MatrixR128.SparseReceiver
,MatrixTensor
,NumberList
,OffHeapArray
,OffHeapR032
,OffHeapR064
,OffHeapZ008
,OffHeapZ016
,OffHeapZ032
,OffHeapZ064
,PlainArray
,PolynomialC128
,PolynomialQ128
,PolynomialR032
,PolynomialR064
,PolynomialR128
,PolynomialR256
,Primitive1D
,Primitive1D.Simple
,Primitive1D.Wrapper
,Primitive2D
,Primitive2D.Simple
,Primitive2D.Wrapper
,PrimitiveAnyD
,PrimitiveAnyD.Simple
,PrimitiveAnyD.Wrapper
,PrimitiveArray
,R032Store
,R064Store
,RawStore
,ReferenceTypeArray
,RowsSupplier
,ScalarArray
,ScalarPolynomial
,SegmentedArray
,SimplexTableau
,SparseArray
,SparseMutator2D
,SparseStore
,SparseStore.Builder
,SparseTableau
,Subregion2D
,Subregion2D.ColumnsRegion
,Subregion2D.LimitRegion
,Subregion2D.OffsetRegion
,Subregion2D.RowsRegion
,Subregion2D.SynchronizedRegion
,Subregion2D.TransposedRegion
,Subregion2D.WrapperRegion
,VectorTensor
1-dimensional mutator methods
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
Mutate1D.Fillable<N extends Comparable<N>>
Fills the targetstatic interface
Mutate1D.Mixable<N extends Comparable<N>>
Mix/combine the previously existing value, at index, with the supplied addend.static interface
Mutate1D.Modifiable<N extends Comparable<N>>
static interface
Mutate1D.ModifiableReceiver<N extends Comparable<N>>
static interface
Mutate1D.Receiver<N extends Comparable<N>>
Anything/everything that does not require interaction with already existing elements.static interface
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 -
Method Summary
Modifier and TypeMethodDescriptionstatic void
copyComplexArgument
(Access1D<ComplexNumber> source, Mutate1D destination) Copies the argument of the ComplexNumber elements to the destination.static void
copyComplexImaginary
(Access1D<ComplexNumber> source, Mutate1D destination) Copies the imaginary part of the ComplexNumber elements to the destination.static void
copyComplexModulus
(Access1D<ComplexNumber> source, Mutate1D destination) Copies the modulus of the ComplexNumber elements to the destination.static void
copyComplexModulusAndArgument
(Access1D<ComplexNumber> source, Mutate1D modDest, Mutate1D argDest) Simultaneously copies the modulus and argument of the ComplexNumber elements to the destinations.static void
copyComplexReal
(Access1D<ComplexNumber> source, Mutate1D destination) Copies the real part of the ComplexNumber elements to the destination.static void
copyComplexRealAndImaginary
(Access1D<ComplexNumber> source, Mutate1D realDest, Mutate1D imagDest) Simultaneously copies the real and imaginary parts of the ComplexNumber elements to the destinations.default void
reset()
Reset this mutable structure to some standard (all zeros) initial state.default void
set
(int index, byte value) void
set
(int index, double value) default void
set
(int index, float value) default void
set
(int index, int value) default void
set
(int index, long value) default void
set
(int index, short value) default void
set
(long index, byte value) default void
set
(long index, double value) default void
set
(long index, float value) default void
set
(long index, int value) default void
set
(long index, long value) default void
set
(long index, short value) void
set
(long index, Comparable<?> value) Methods inherited from interface org.ojalgo.structure.Structure1D
count, size
-
Method Details
-
copyComplexArgument
Copies the argument of the ComplexNumber elements to the destination. -
copyComplexImaginary
Copies the imaginary part of the ComplexNumber elements to the destination. -
copyComplexModulus
Copies the modulus of the ComplexNumber elements to the destination. -
copyComplexModulusAndArgument
static void copyComplexModulusAndArgument(Access1D<ComplexNumber> source, Mutate1D modDest, Mutate1D argDest) Simultaneously copies the modulus and argument of the ComplexNumber elements to the destinations. -
copyComplexReal
Copies the real part of the ComplexNumber elements to the destination. -
copyComplexRealAndImaginary
static void copyComplexRealAndImaginary(Access1D<ComplexNumber> source, Mutate1D realDest, Mutate1D imagDest) Simultaneously copies the real and imaginary parts of the ComplexNumber elements to the destinations. -
reset
default void reset()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
default void set(int index, byte value) -
set
void set(int index, double value) -
set
default void set(int index, float value) -
set
default void set(int index, int value) -
set
default void set(int index, long value) -
set
default void set(int index, short value) -
set
default void set(long index, byte value) -
set
-
set
default void set(long index, double value) -
set
default void set(long index, float value) -
set
default void set(long index, int value) -
set
default void set(long index, long value) -
set
default void set(long index, short value)
-