Interface MutateAnyD.Fillable<N extends Comparable<N>>

All Superinterfaces:
Mutate1D, Mutate1D.Fillable<N>, MutateAnyD, Structure1D, StructureAnyD
All Known Subinterfaces:
MutateAnyD.ModifiableReceiver<N>, MutateAnyD.Receiver<N>
All Known Implementing Classes:
AnyTensor, ArrayAnyD
Enclosing interface:
MutateAnyD

public static interface MutateAnyD.Fillable<N extends Comparable<N>> extends MutateAnyD, Mutate1D.Fillable<N>
  • Method Details

    • fillCompatible

      default void fillCompatible(AccessAnyD<N> left, BinaryFunction<N> operator, AccessAnyD<N> right)
      'this' needs to be of a size compatible with the 'left' and 'right' matrices. No checks are performed. The term "compatible" refers to MATLAB's rules for "array broadcasting". The result will be the same as if the 'left' and 'right' matrices where expanded (repeated) so that all three where of the same size, and then the operation was performed. The actual implementation may be more efficient than that.
    • fillSet

      void fillSet(int dimension, long dimensionalIndex, N value)
    • fillSet

      void fillSet(int dimension, long dimensionalIndex, NullaryFunction<?> supplier)
    • fillSet

      void fillSet(long[] initial, int dimension, N value)
    • fillSet

      void fillSet(long[] initial, int dimension, NullaryFunction<?> supplier)