-
- 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,Access2D.ColumnView,Access2D.RowView,AnyTensor,Array1D,Array2D,ArrayAnyD,ArrayC128,ArrayH256,ArrayQ128,ArrayR032,ArrayR064,ArrayR128,ArrayR256,ArrayZ008,ArrayZ016,ArrayZ032,ArrayZ064,BasicArray,BufferArray,BufferR032,BufferR064,BufferZ008,BufferZ016,BufferZ032,BufferZ064,ColumnsSupplier,ColumnsSupplier.SingleView,CompressedSparseR064.Builder,DenseArray,DenseMutator2D,DenseTableau,EntrySet.KeyedPrimitives,EntrySet.ObjectByte,EntrySet.ObjectDouble,EntrySet.ObjectFloat,EntrySet.ObjectInt,EntrySet.ObjectLong,EntrySet.ObjectShort,GenericStore,HouseholderColumn,HouseholderRow,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,R064CSC.Builder,R064CSR.Builder,R064Store,RawStore,ReferenceTypeArray,RowsSupplier,RowsSupplier.SingleView,ScalarArray,ScalarPolynomial,SegmentedArray,SimplexTableau,SparseArray,SparseLU.PermutationEta,SparseMutator2D,SparseStore,SparseStore.Builder,SparseTableau,Subregion2D,Subregion2D.ColumnsRegion,Subregion2D.LimitRegion,Subregion2D.OffsetRegion,Subregion2D.RowsRegion,Subregion2D.SynchronizedRegion,Subregion2D.TransposedRegion,Subregion2D.WrapperRegion,VectorTensor
public interface Mutate1D extends Structure1D
1-dimensional mutator methods
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceMutate1D.Fillable<N extends java.lang.Comparable<N>>Fills the targetstatic interfaceMutate1D.Mixable<N extends java.lang.Comparable<N>>Mix/combine the previously existing value, at index, with the supplied addend.static interfaceMutate1D.Modifiable<N extends java.lang.Comparable<N>>static interfaceMutate1D.ModifiableReceiver<N extends java.lang.Comparable<N>>static interfaceMutate1D.Receiver<N extends java.lang.Comparable<N>>Anything/everything that does not require interaction with already existing elements.static interfaceMutate1D.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
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static voidcopyComplexArgument(Access1D<ComplexNumber> source, Mutate1D destination)Copies the argument of the ComplexNumber elements to the destination.static voidcopyComplexImaginary(Access1D<ComplexNumber> source, Mutate1D destination)Copies the imaginary part of the ComplexNumber elements to the destination.static voidcopyComplexModulus(Access1D<ComplexNumber> source, Mutate1D destination)Copies the modulus of the ComplexNumber elements to the destination.static voidcopyComplexModulusAndArgument(Access1D<ComplexNumber> source, Mutate1D modDest, Mutate1D argDest)Simultaneously copies the modulus and argument of the ComplexNumber elements to the destinations.static voidcopyComplexReal(Access1D<ComplexNumber> source, Mutate1D destination)Copies the real part of the ComplexNumber elements to the destination.static voidcopyComplexRealAndImaginary(Access1D<ComplexNumber> source, Mutate1D realDest, Mutate1D imagDest)Simultaneously copies the real and imaginary parts of the ComplexNumber elements to the destinations.default voidreset()Reset this mutable structure to some standard (all zeros) initial state.default voidset(int index, byte value)voidset(int index, double value)default voidset(int index, float value)default voidset(int index, int value)default voidset(int index, long value)default voidset(int index, short value)default voidset(long index, byte value)default voidset(long index, double value)default voidset(long index, float value)default voidset(long index, int value)default voidset(long index, long value)default voidset(long index, short value)voidset(long index, java.lang.Comparable<?> value)-
Methods inherited from interface org.ojalgo.structure.Structure1D
count, size
-
-
-
-
Method Detail
-
copyComplexArgument
static void copyComplexArgument(Access1D<ComplexNumber> source, Mutate1D destination)
Copies the argument of the ComplexNumber elements to the destination.
-
copyComplexImaginary
static void copyComplexImaginary(Access1D<ComplexNumber> source, Mutate1D destination)
Copies the imaginary part of the ComplexNumber elements to the destination.
-
copyComplexModulus
static void copyComplexModulus(Access1D<ComplexNumber> source, Mutate1D destination)
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
static void copyComplexReal(Access1D<ComplexNumber> source, Mutate1D destination)
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
void set(long index, java.lang.Comparable<?> value)
-
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)
-
-