Module ojalgo

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:
Access2D.ColumnView, Access2D.RowView, AnyTensor, Array1D, Array2D, ArrayAnyD, ArrayC128, ArrayH256, ArrayQ128, ArrayR032, ArrayR064, ArrayR128, ArrayR256, ArrayZ008, ArrayZ016, ArrayZ032, ArrayZ064, BasicArray, BufferArray, ColumnsSupplier, ColumnsSupplier.SingleView, DenseArray, GenericStore, ImageData, 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, PlainArray, PolynomialC128, PolynomialQ128, PolynomialR032, PolynomialR064, PolynomialR128, PolynomialR256, Primitive1D, Primitive2D, PrimitiveAnyD, PrimitiveArray, R032Store, R064CSC.Builder, R064CSR.Builder, R064Store, RawStore, ReferenceTypeArray, RowsSupplier, RowsSupplier.SingleView, ScalarArray, SparseArray, SparseStore, SparseStore.Builder, VectorTensor

public interface Mutate1D extends Structure1D
1-dimensional mutator methods
Author:
apete
  • Method Details

    • 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, 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)