public interface Mutate1D extends Structure1D
Modifier and Type | Interface and Description |
---|---|
static interface |
Mutate1D.Fillable<N extends Number>
Fills the target
|
static interface |
Mutate1D.Mixable<N extends Number>
Mix/combine the previously existing value, at index, with the supplied addend.
|
static interface |
Mutate1D.Modifiable<N extends Number> |
static interface |
Mutate1D.ModifiableReceiver<N extends Number>
A utility interface to simplify declaring to implement "everything mutable".
|
static interface |
Mutate1D.Receiver<N extends Number>
Anything/everything that does not require interaction with already existing elements.
|
static interface |
Mutate1D.Sortable |
Structure1D.BasicMapper<T>, Structure1D.IndexCallback, Structure1D.IndexMapper<T>, Structure1D.IntIndex, Structure1D.Logical<S extends Structure1D,B extends Structure1D.Logical<S,?>>, Structure1D.LongIndex, Structure1D.LoopCallback
Modifier and Type | Method and Description |
---|---|
void |
add(long index,
double addend) |
void |
add(long index,
Number addend) |
static 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.
|
void |
set(long index,
double value) |
void |
set(long index,
Number value) |
count, index, loopAll, loopMatching, loopRange, mapper, size
static void copyComplexArgument(Access1D<ComplexNumber> source, Mutate1D destination)
static void copyComplexImaginary(Access1D<ComplexNumber> source, Mutate1D destination)
static void copyComplexModulus(Access1D<ComplexNumber> source, Mutate1D destination)
static void copyComplexModulusAndArgument(Access1D<ComplexNumber> source, Mutate1D modDest, Mutate1D argDest)
static void copyComplexReal(Access1D<ComplexNumber> source, Mutate1D destination)
static void copyComplexRealAndImaginary(Access1D<ComplexNumber> source, Mutate1D realDest, Mutate1D imagDest)
void add(long index, double addend)
void add(long index, Number addend)
default void reset()
void set(long index, double value)
void set(long index, Number value)
Copyright © 2019 Optimatika. All rights reserved.