A B C D E F G H I L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- abs() - Method in class io.github.hakkelt.ndarrays.AbstractComplexNDArray
- abs() - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
-
Returns a new array holding the magnitude / absolute values of the elements.
- abs() - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArrayMaskView
- abs() - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArrayPermuteDimsView
- abs() - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArrayReshapeView
- abs() - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArraySliceView
- AbstractBigDecimalNDArray - Class in io.github.hakkelt.ndarrays
-
Abstract NDArray class for arbitrary precision floating point values.
- AbstractBigIntegerNDArray - Class in io.github.hakkelt.ndarrays
-
Abstract NDArray class for arbitrary precision integer values.
- AbstractByteNDArray - Class in io.github.hakkelt.ndarrays
-
Abstract NDArray class for byte (8-bit integer) values.
- AbstractComplexNDArray<T extends Number> - Class in io.github.hakkelt.ndarrays
-
Abstract NDArray class for Complex values.
- AbstractDoubleNDArray - Class in io.github.hakkelt.ndarrays
-
Abstract NDArray class for double (8-bit integer) values.
- AbstractFloatNDArray - Class in io.github.hakkelt.ndarrays
-
Abstract NDArray class for float (8-bit integer) values.
- AbstractIntegerNDArray - Class in io.github.hakkelt.ndarrays
-
Abstract NDArray class for int (8-bit integer) values.
- AbstractLongNDArray - Class in io.github.hakkelt.ndarrays
-
Abstract NDArray class for long (8-bit integer) values.
- AbstractNDArray<T,T2 extends Number> - Class in io.github.hakkelt.ndarrays.internal
-
Base class for all NDArrays and NDArray views.
- AbstractNDArray() - Constructor for class io.github.hakkelt.ndarrays.internal.AbstractNDArray
- AbstractNDArrayMaskView<T,T2 extends Number> - Class in io.github.hakkelt.ndarrays.internal
- AbstractNDArrayPermuteDimsView<T,T2 extends Number> - Class in io.github.hakkelt.ndarrays.internal
- AbstractNDArrayReshapeView<T,T2 extends Number> - Class in io.github.hakkelt.ndarrays.internal
- AbstractNDArraySliceView<T,T2 extends Number> - Class in io.github.hakkelt.ndarrays.internal
- AbstractNDArrayView<T,T2 extends Number> - Class in io.github.hakkelt.ndarrays.internal
- AbstractNDArrayView() - Constructor for class io.github.hakkelt.ndarrays.internal.AbstractNDArrayView
- AbstractRealNDArray<T extends Number> - Class in io.github.hakkelt.ndarrays.internal
- AbstractRealNDArray() - Constructor for class io.github.hakkelt.ndarrays.internal.AbstractRealNDArray
- AbstractShortNDArray - Class in io.github.hakkelt.ndarrays
-
Abstract NDArray class for short (8-bit integer) values.
- accumulate(BinaryOperator<Complex>, int...) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- accumulate(BinaryOperator<T>) - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArray
- accumulate(BinaryOperator<T>) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Returns the result of accumulation of all elements in this NDArray.
- accumulate(BinaryOperator<T>, int...) - Method in interface io.github.hakkelt.ndarrays.internal.RealNDArray
- accumulate(BinaryOperator<T>, int...) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Returns the accumulation of all elements along the specified dimensions in this NDArray.
- AccumulateOperators - Enum in io.github.hakkelt.ndarrays.internal
- accumulator() - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArrayCollector
- accumulator() - Method in class io.github.hakkelt.ndarrays.internal.RealNDArrayCollector
- add(byte) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- add(byte) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Creates a new NDArray of the same shape and fills it with the values of this NDArray incremented by the given value.
- add(double) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- add(double) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Creates a new NDArray of the same shape and fills it with the values of this NDArray incremented by the given value.
- add(float) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- add(float) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Creates a new NDArray of the same shape and fills it with the values of this NDArray incremented by the given value.
- add(int) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- add(int) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Creates a new NDArray of the same shape and fills it with the values of this NDArray incremented by the given value.
- add(long) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- add(long) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Creates a new NDArray of the same shape and fills it with the values of this NDArray incremented by the given value.
- add(short) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- add(short) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Creates a new NDArray of the same shape and fills it with the values of this NDArray incremented by the given value.
- add(ComplexNDArray<T2>, Object...) - Method in class io.github.hakkelt.ndarrays.internal.ArrayOperations
- add(AbstractNDArray<T, T2>, Object...) - Method in class io.github.hakkelt.ndarrays.internal.ArrayOperations
- add(NDArray<?>) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- add(NDArray<?>) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Creates a new NDArray of the same shape and fills it with the element-wise sum of this NDArray and the NDArray given as parameter.
- add(Object...) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- add(Object...) - Method in interface io.github.hakkelt.ndarrays.internal.RealNDArray
- add(Object...) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Creates a new NDArray of the same shape and fills it with the element-wise sum of this NDArray and the parameter NDArrays and scalars.
- ADD - io.github.hakkelt.ndarrays.internal.AccumulateOperators
- addInplace(byte) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- addInplace(byte) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Updates this NDArray by incrementing all entries with the given value.
- addInplace(double) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- addInplace(double) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Updates this NDArray by incrementing all entries with the given value.
- addInplace(float) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- addInplace(float) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Updates this NDArray by incrementing all entries with the given value.
- addInplace(int) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- addInplace(int) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Updates this NDArray by incrementing all entries with the given value.
- addInplace(long) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- addInplace(long) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Updates this NDArray by incrementing all entries with the given value.
- addInplace(short) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- addInplace(short) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Updates this NDArray by incrementing all entries with the given value.
- addInplace(ComplexNDArray<T2>, Object...) - Method in class io.github.hakkelt.ndarrays.internal.ArrayOperations
- addInplace(AbstractNDArray<T, T2>, Object...) - Method in class io.github.hakkelt.ndarrays.internal.ArrayOperations
- addInplace(NDArray<?>) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- addInplace(NDArray<?>) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Updates this NDArray with the element-wise sum of this NDArray and the one given as parameter.
- addInplace(Object...) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- addInplace(Object...) - Method in interface io.github.hakkelt.ndarrays.internal.RealNDArray
- addInplace(Object...) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Updates this NDArray with the element-wise sum of this NDArray and the ones given as parameters.
- ALL - Static variable in class io.github.hakkelt.ndarrays.Range
- ALL_DIMS_DROPPED - Static variable in class io.github.hakkelt.ndarrays.internal.Errors
-
Cannot drop all dimensions!
- apply(UnaryOperator<Complex>) - Method in class io.github.hakkelt.ndarrays.AbstractComplexNDArray
- apply(UnaryOperator<Complex>) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- apply(UnaryOperator<Complex>) - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArrayMaskView
- apply(UnaryOperator<Complex>) - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArrayPermuteDimsView
- apply(UnaryOperator<Complex>) - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArrayReshapeView
- apply(UnaryOperator<Complex>) - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArraySliceView
- apply(UnaryOperator<T>) - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArray
- apply(UnaryOperator<T>) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Apply the given function to each element of the array, and override each entry with the calculated new values.
- applyOnComplexSlices(BiFunction<ComplexNDArray<T>, int[], NDArray<?>>, int...) - Method in class io.github.hakkelt.ndarrays.AbstractComplexNDArray
- applyOnComplexSlices(BiFunction<ComplexNDArray<T>, int[], NDArray<?>>, int...) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
-
Apply the given function to each slices of the array, and override each entry with the returned slice.
- applyOnComplexSlices(BiFunction<ComplexNDArray<T>, int[], NDArray<?>>, int...) - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArrayMaskView
- applyOnComplexSlices(BiFunction<ComplexNDArray<T>, int[], NDArray<?>>, int...) - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArrayPermuteDimsView
- applyOnComplexSlices(BiFunction<ComplexNDArray<T>, int[], NDArray<?>>, int...) - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArrayReshapeView
- applyOnComplexSlices(BiFunction<ComplexNDArray<T>, int[], NDArray<?>>, int...) - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArraySliceView
- applyOnSlices(ComplexNDArray<T>, BiFunction<ComplexNDArray<T>, int[], NDArray<?>>, int...) - Static method in class io.github.hakkelt.ndarrays.internal.SliceOperations
- applyOnSlices(NDArray<T>, BiFunction<NDArray<T>, int[], NDArray<?>>, int...) - Static method in class io.github.hakkelt.ndarrays.internal.SliceOperations
- applyOnSlices(BiFunction<NDArray<T>, int[], NDArray<?>>, int...) - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArray
- applyOnSlices(BiFunction<NDArray<T>, int[], NDArray<?>>, int...) - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArrayMaskView
- applyOnSlices(BiFunction<NDArray<T>, int[], NDArray<?>>, int...) - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArrayPermuteDimsView
- applyOnSlices(BiFunction<NDArray<T>, int[], NDArray<?>>, int...) - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArrayReshapeView
- applyOnSlices(BiFunction<NDArray<T>, int[], NDArray<?>>, int...) - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArraySliceView
- applyOnSlices(BiFunction<NDArray<T>, int[], NDArray<?>>, int...) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Apply the given function to each slices of the array, and override each entry with the returned slice.
- applyWithCartesianIndices(BiFunction<Complex, int[], Complex>) - Method in class io.github.hakkelt.ndarrays.AbstractComplexNDArray
- applyWithCartesianIndices(BiFunction<Complex, int[], Complex>) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- applyWithCartesianIndices(BiFunction<Complex, int[], Complex>) - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArrayMaskView
- applyWithCartesianIndices(BiFunction<Complex, int[], Complex>) - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArrayPermuteDimsView
- applyWithCartesianIndices(BiFunction<Complex, int[], Complex>) - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArrayReshapeView
- applyWithCartesianIndices(BiFunction<Complex, int[], Complex>) - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArraySliceView
- applyWithCartesianIndices(BiFunction<T, int[], T>) - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArray
- applyWithCartesianIndices(BiFunction<T, int[], T>) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Apply the given function to each element of the array, and override each entry with the calculated new values.
- applyWithLinearIndices(BiFunction<Complex, Integer, Complex>) - Method in class io.github.hakkelt.ndarrays.AbstractComplexNDArray
- applyWithLinearIndices(BiFunction<Complex, Integer, Complex>) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- applyWithLinearIndices(BiFunction<Complex, Integer, Complex>) - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArrayMaskView
- applyWithLinearIndices(BiFunction<Complex, Integer, Complex>) - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArrayPermuteDimsView
- applyWithLinearIndices(BiFunction<Complex, Integer, Complex>) - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArrayReshapeView
- applyWithLinearIndices(BiFunction<Complex, Integer, Complex>) - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArraySliceView
- applyWithLinearIndices(BiFunction<T, Integer, T>) - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArray
- applyWithLinearIndices(BiFunction<T, Integer, T>) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Apply the given function to each element of the array, and override each entry with the calculated new values.
- argument() - Method in class io.github.hakkelt.ndarrays.AbstractComplexNDArray
- argument() - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
-
Returns a new array holding the argument / argument of the elements.
- argument() - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArrayMaskView
- argument() - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArrayPermuteDimsView
- argument() - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArrayReshapeView
- argument() - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArraySliceView
- ArrayOperations<T,T2 extends Number> - Class in io.github.hakkelt.ndarrays.internal
-
Utility class for array operations (e.g.
- ArrayOperations() - Constructor for class io.github.hakkelt.ndarrays.internal.ArrayOperations
- ARRAYS_DIFFER_IN_SHAPE - Static variable in class io.github.hakkelt.ndarrays.internal.Errors
-
Shape of input arrays are not the same!
B
- BasicBigDecimalNDArray - Class in io.github.hakkelt.ndarrays.basic
-
Reference implementation for the NDArray of BigDecimal (arbitrary precision floating-point) values.
- BasicBigDecimalNDArray(int...) - Constructor for class io.github.hakkelt.ndarrays.basic.BasicBigDecimalNDArray
-
Simple constructor that defines only the shape of the NDArray and fills it with zeros.
- BasicBigDecimalNDArray(NDArray<? extends Number>) - Constructor for class io.github.hakkelt.ndarrays.basic.BasicBigDecimalNDArray
-
Copy constructor.
- BasicBigIntegerNDArray - Class in io.github.hakkelt.ndarrays.basic
-
Reference implementation for the NDArray of BigInteger (arbitrary precision integer) values.
- BasicBigIntegerNDArray(int...) - Constructor for class io.github.hakkelt.ndarrays.basic.BasicBigIntegerNDArray
-
Simple constructor that defines only the shape of the NDArray and fills it with zeros.
- BasicBigIntegerNDArray(NDArray<? extends Number>) - Constructor for class io.github.hakkelt.ndarrays.basic.BasicBigIntegerNDArray
-
Copy constructor.
- BasicByteNDArray - Class in io.github.hakkelt.ndarrays.basic
-
Reference implementation for the NDArray of byte (8 bit integer) values.
- BasicByteNDArray(int...) - Constructor for class io.github.hakkelt.ndarrays.basic.BasicByteNDArray
-
Simple constructor that defines only the shape of the NDArray and fills it with zeros.
- BasicByteNDArray(NDArray<? extends Number>) - Constructor for class io.github.hakkelt.ndarrays.basic.BasicByteNDArray
-
Copy constructor.
- BasicComplexDoubleNDArray - Class in io.github.hakkelt.ndarrays.basic
-
Reference implementation for the NDArray of complex double (single-precision, 32 bit doubleing point) values.
- BasicComplexDoubleNDArray(int...) - Constructor for class io.github.hakkelt.ndarrays.basic.BasicComplexDoubleNDArray
-
Simple constructor that defines only the shape of the NDArray and fills it with zeros.
- BasicComplexDoubleNDArray(NDArray<?>) - Constructor for class io.github.hakkelt.ndarrays.basic.BasicComplexDoubleNDArray
-
Copy constructor.
- BasicComplexDoubleNDArray(NDArray<? extends Number>, NDArray<? extends Number>) - Constructor for class io.github.hakkelt.ndarrays.basic.BasicComplexDoubleNDArray
-
Copy constructor.
- BasicComplexFloatNDArray - Class in io.github.hakkelt.ndarrays.basic
-
Reference implementation for the NDArray of complex float (single-precision, 32 bit floating point) values.
- BasicComplexFloatNDArray(int...) - Constructor for class io.github.hakkelt.ndarrays.basic.BasicComplexFloatNDArray
-
Simple constructor that defines only the shape of the NDArray and fills it with zeros.
- BasicComplexFloatNDArray(NDArray<?>) - Constructor for class io.github.hakkelt.ndarrays.basic.BasicComplexFloatNDArray
-
Copy constructor.
- BasicComplexFloatNDArray(NDArray<? extends Number>, NDArray<? extends Number>) - Constructor for class io.github.hakkelt.ndarrays.basic.BasicComplexFloatNDArray
-
Copy constructor.
- BasicDoubleNDArray - Class in io.github.hakkelt.ndarrays.basic
-
Reference implementation for the NDArray of double (double precision, 64 bit floating-point) values.
- BasicDoubleNDArray(int...) - Constructor for class io.github.hakkelt.ndarrays.basic.BasicDoubleNDArray
-
Simple constructor that defines only the shape of the NDArray and fills it with zeros.
- BasicDoubleNDArray(NDArray<? extends Number>) - Constructor for class io.github.hakkelt.ndarrays.basic.BasicDoubleNDArray
-
Copy constructor.
- BasicFloatNDArray - Class in io.github.hakkelt.ndarrays.basic
-
Reference implementation for the NDArray of float (single precision, 32 bit floating-point) values.
- BasicFloatNDArray(int...) - Constructor for class io.github.hakkelt.ndarrays.basic.BasicFloatNDArray
-
Simple constructor that defines only the shape of the NDArray and fills it with zeros.
- BasicFloatNDArray(NDArray<? extends Number>) - Constructor for class io.github.hakkelt.ndarrays.basic.BasicFloatNDArray
-
Copy constructor.
- BasicIntegerNDArray - Class in io.github.hakkelt.ndarrays.basic
-
Reference implementation for the NDArray of int (32 bit integer) values.
- BasicIntegerNDArray(int...) - Constructor for class io.github.hakkelt.ndarrays.basic.BasicIntegerNDArray
-
Simple constructor that defines only the shape of the NDArray and fills it with zeros.
- BasicIntegerNDArray(NDArray<? extends Number>) - Constructor for class io.github.hakkelt.ndarrays.basic.BasicIntegerNDArray
-
Copy constructor.
- BasicLongNDArray - Class in io.github.hakkelt.ndarrays.basic
-
Reference implementation for the NDArray of long (64 bit integer) values.
- BasicLongNDArray(int...) - Constructor for class io.github.hakkelt.ndarrays.basic.BasicLongNDArray
-
Simple constructor that defines only the shape of the NDArray and fills it with zeros.
- BasicLongNDArray(NDArray<? extends Number>) - Constructor for class io.github.hakkelt.ndarrays.basic.BasicLongNDArray
-
Copy constructor.
- BasicShortNDArray - Class in io.github.hakkelt.ndarrays.basic
-
Reference implementation for the NDArray of short (16 bit integer) values.
- BasicShortNDArray(int...) - Constructor for class io.github.hakkelt.ndarrays.basic.BasicShortNDArray
-
Simple constructor that defines only the shape of the NDArray and fills it with zeros.
- BasicShortNDArray(NDArray<? extends Number>) - Constructor for class io.github.hakkelt.ndarrays.basic.BasicShortNDArray
-
Copy constructor.
- BIGDECIMAL - Static variable in class io.github.hakkelt.ndarrays.internal.DataTypeEnum
- BIGINTEGER - Static variable in class io.github.hakkelt.ndarrays.internal.DataTypeEnum
- boundaryCheck(int[], int[]) - Static method in class io.github.hakkelt.ndarrays.NDArrayUtils
- boundaryCheck(int, int) - Static method in class io.github.hakkelt.ndarrays.NDArrayUtils
- BYTE - Static variable in class io.github.hakkelt.ndarrays.internal.DataTypeEnum
C
- calculateLength(int[]) - Static method in class io.github.hakkelt.ndarrays.NDArrayUtils
- calculateMultipliers(int[]) - Static method in class io.github.hakkelt.ndarrays.NDArrayUtils
- CANNOT_DROP_DIM_NEGATIVE - Static variable in class io.github.hakkelt.ndarrays.internal.Errors
-
Axis %d cannot be dropped
- CANNOT_DROP_DIM_OVERFLOW - Static variable in class io.github.hakkelt.ndarrays.internal.Errors
-
Axis %d cannot be dropped because the array has only %d dimensions
- CANNOT_FIND_DTYPE2 - Static variable in class io.github.hakkelt.ndarrays.internal.Errors
-
Cannot find secondary data type (precision)!
- CANNOT_SELECT_DIM_NEGATIVE - Static variable in class io.github.hakkelt.ndarrays.internal.Errors
-
Axis %d cannot be selected
- CANNOT_SELECT_DIM_OVERFLOW - Static variable in class io.github.hakkelt.ndarrays.internal.Errors
-
Axis %d cannot be selected because the array has only %d dimensions
- CARTESIAN_BOUNDS_ERROR - Static variable in class io.github.hakkelt.ndarrays.internal.Errors
-
Bounds error: Attempt to access element of %s array at index %s!
- CartesianIndexSpliterator - Class in io.github.hakkelt.ndarrays.internal
- CartesianIndexSpliterator(int[]) - Constructor for class io.github.hakkelt.ndarrays.internal.CartesianIndexSpliterator
- CartesianIndexSpliterator(int[], int[]) - Constructor for class io.github.hakkelt.ndarrays.internal.CartesianIndexSpliterator
- CartesianIndexSpliterator(int[], int[], int[], int[], int) - Constructor for class io.github.hakkelt.ndarrays.internal.CartesianIndexSpliterator
- cartesianIndicesToLinearIndex(int[], int[]) - Static method in class io.github.hakkelt.ndarrays.NDArrayUtils
- characteristics() - Method in class io.github.hakkelt.ndarrays.internal.CartesianIndexSpliterator
- characteristics() - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArrayCollector
- characteristics() - Method in class io.github.hakkelt.ndarrays.internal.RealNDArrayCollector
- checkAgainstParentDims(int[], int, Supplier<String>) - Method in class io.github.hakkelt.ndarrays.internal.NormalizedRange
- checkDroppedDims(int, int...) - Static method in class io.github.hakkelt.ndarrays.internal.ViewOperations
- checkDTypeCompatibility(NDArray<?>, Object) - Static method in class io.github.hakkelt.ndarrays.NDArrayUtils
- checkSelectedDims(int, int...) - Static method in class io.github.hakkelt.ndarrays.internal.ViewOperations
- checkShapeCompatibility(NDArray<?>, int[]) - Static method in class io.github.hakkelt.ndarrays.NDArrayUtils
- COMBINE_SHAPE_MISMATCH - Static variable in class io.github.hakkelt.ndarrays.internal.Errors
-
shape of array (%s) given as parameter doesn't match the shape of the array (%s) on the left side!
- COMBINE_TYPE_MISMATCH - Static variable in class io.github.hakkelt.ndarrays.internal.Errors
-
All parameters of %s must be either NDArray, Integer, Float or Double, but %s is given!
- COMBINE_TYPE_MISMATCH_WITH_COMPLEX - Static variable in class io.github.hakkelt.ndarrays.internal.Errors
-
All parameters of %s must be either NDArray, Integer, Float, Double or Complex, but %s is given!
- combiner() - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArrayCollector
- combiner() - Method in class io.github.hakkelt.ndarrays.internal.RealNDArrayCollector
- COMPLEX_BIGDECIMAL - Static variable in class io.github.hakkelt.ndarrays.internal.DataTypeEnum
- COMPLEX_BIGINTEGER - Static variable in class io.github.hakkelt.ndarrays.internal.DataTypeEnum
- COMPLEX_BYTE - Static variable in class io.github.hakkelt.ndarrays.internal.DataTypeEnum
- COMPLEX_DOUBLE - Static variable in class io.github.hakkelt.ndarrays.internal.DataTypeEnum
- COMPLEX_FLOAT - Static variable in class io.github.hakkelt.ndarrays.internal.DataTypeEnum
- COMPLEX_INTEGER - Static variable in class io.github.hakkelt.ndarrays.internal.DataTypeEnum
- COMPLEX_LONG - Static variable in class io.github.hakkelt.ndarrays.internal.DataTypeEnum
- COMPLEX_SHORT - Static variable in class io.github.hakkelt.ndarrays.internal.DataTypeEnum
- ComplexNDArray<T extends Number> - Interface in io.github.hakkelt.ndarrays
-
General N-dimensional arrays holding complex values.
- ComplexNDArrayCollector<T extends Number> - Class in io.github.hakkelt.ndarrays.internal
-
Collector to collect values from a stream of Complex values into the specified ComplexNDArray.
- ComplexNDArrayCollector(ComplexNDArray<T>) - Constructor for class io.github.hakkelt.ndarrays.internal.ComplexNDArrayCollector
- ComplexNDArrayMaskView<T extends Number> - Class in io.github.hakkelt.ndarrays.internal
-
A view for a ComplexNDArray that selects values based on a specified mask.
- ComplexNDArrayMaskView(NDArray<Complex>, NDArray<?>, boolean) - Constructor for class io.github.hakkelt.ndarrays.internal.ComplexNDArrayMaskView
- ComplexNDArrayMaskView(NDArray<Complex>, BiPredicate<Complex, ?>, boolean) - Constructor for class io.github.hakkelt.ndarrays.internal.ComplexNDArrayMaskView
- ComplexNDArrayMaskView(NDArray<Complex>, Predicate<Complex>) - Constructor for class io.github.hakkelt.ndarrays.internal.ComplexNDArrayMaskView
- ComplexNDArrayPermuteDimsView<T extends Number> - Class in io.github.hakkelt.ndarrays.internal
-
A view for a ComplexNDArray that permutes the order of dimensions.
- ComplexNDArrayPermuteDimsView(NDArray<Complex>, int...) - Constructor for class io.github.hakkelt.ndarrays.internal.ComplexNDArrayPermuteDimsView
- ComplexNDArrayReshapeView<T extends Number> - Class in io.github.hakkelt.ndarrays.internal
-
A view for a ComplexNDArray that changes the shape of the parent NDArray.
- ComplexNDArrayReshapeView(NDArray<Complex>, int...) - Constructor for class io.github.hakkelt.ndarrays.internal.ComplexNDArrayReshapeView
- ComplexNDArraySliceView<T extends Number> - Class in io.github.hakkelt.ndarrays.internal
-
A view for a ComplexNDArray that slices the parent ComplexNDArray.
- ComplexNDArraySliceView(NDArray<Complex>, Range[]) - Constructor for class io.github.hakkelt.ndarrays.internal.ComplexNDArraySliceView
- computeDims(Object[]) - Static method in class io.github.hakkelt.ndarrays.NDArrayUtils
- concatenate(int, NDArray<?>...) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- concatenate(int, NDArray<?>...) - Method in interface io.github.hakkelt.ndarrays.internal.RealNDArray
- concatenate(int, NDArray<?>...) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Creates a new NDArray that contains the elements of this NDArrays and all other NDArrays concatenated along the dimension/axis specified by the first parameter.
- concatenate(ComplexNDArray<T2>, int, NDArray<?>...) - Method in class io.github.hakkelt.ndarrays.internal.ArrayOperations
- concatenate(AbstractNDArray<T, T2>, int, NDArray<?>...) - Method in class io.github.hakkelt.ndarrays.internal.ArrayOperations
- CONCATENATION_SHAPE_MISMATCH - Static variable in class io.github.hakkelt.ndarrays.internal.Errors
-
Cannot concatenate %s array to the current array of shape %s along dimension %d!
- contains(Object) - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArray
- contains(Object) - Method in interface io.github.hakkelt.ndarrays.NDArray
- contentToString() - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArray
- contentToString() - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Returns a String containing tabular representation of the array.
- contentToString(String) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
-
Returns a String containing tabular representation of the array.
- contentToString(String) - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArray
- contentToString(String) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Returns a String containing tabular representation of the array.
- contentToString(String, String, String, String, BiFunction<Integer, String, String>, int[], int[]) - Static method in class io.github.hakkelt.ndarrays.internal.Printer
- copy() - Method in class io.github.hakkelt.ndarrays.AbstractComplexNDArray
- copy() - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- copy() - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArray
- copy() - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArrayView
- copy() - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArrayMaskView
- copy() - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArrayPermuteDimsView
- copy() - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArrayReshapeView
- copy() - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArraySliceView
- copy() - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Returns a copy of this NDArray.
- COPY_FROM_UNSUPPORTED_TYPE - Static variable in class io.github.hakkelt.ndarrays.internal.Errors
-
Cannot initialize new ComplexNDArray from NDArray of type %s!
- copyFrom(byte[]) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- copyFrom(byte[]) - Method in interface io.github.hakkelt.ndarrays.internal.RealNDArray
- copyFrom(byte[]) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Updates this NDArray with the elements of the array given as parameter.
- copyFrom(byte[], byte[]) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
-
Updates this NDArray with the elements of the arrays given as parameters.
- copyFrom(double[]) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- copyFrom(double[]) - Method in interface io.github.hakkelt.ndarrays.internal.RealNDArray
- copyFrom(double[]) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Updates this NDArray with the elements of the array given as parameter.
- copyFrom(double[], double[]) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
-
Updates this NDArray with the elements of the arrays given as parameters.
- copyFrom(float[]) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- copyFrom(float[]) - Method in interface io.github.hakkelt.ndarrays.internal.RealNDArray
- copyFrom(float[]) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Updates this NDArray with the elements of the array given as parameter.
- copyFrom(float[], float[]) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
-
Updates this NDArray with the elements of the arrays given as parameters.
- copyFrom(int[]) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- copyFrom(int[]) - Method in interface io.github.hakkelt.ndarrays.internal.RealNDArray
- copyFrom(int[]) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Updates this NDArray with the elements of the array given as parameter.
- copyFrom(int[], int[]) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
-
Updates this NDArray with the elements of the arrays given as parameters.
- copyFrom(long[]) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- copyFrom(long[]) - Method in interface io.github.hakkelt.ndarrays.internal.RealNDArray
- copyFrom(long[]) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Updates this NDArray with the elements of the array given as parameter.
- copyFrom(long[], long[]) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
-
Updates this NDArray with the elements of the arrays given as parameters.
- copyFrom(short[]) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- copyFrom(short[]) - Method in interface io.github.hakkelt.ndarrays.internal.RealNDArray
- copyFrom(short[]) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Updates this NDArray with the elements of the array given as parameter.
- copyFrom(short[], short[]) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
-
Updates this NDArray with the elements of the arrays given as parameters.
- copyFrom(ComplexNDArray<T2>, byte[]) - Method in class io.github.hakkelt.ndarrays.internal.CopyFromOperations
- copyFrom(ComplexNDArray<T2>, byte[], byte[]) - Method in class io.github.hakkelt.ndarrays.internal.CopyFromOperations
- copyFrom(ComplexNDArray<T2>, double[]) - Method in class io.github.hakkelt.ndarrays.internal.CopyFromOperations
- copyFrom(ComplexNDArray<T2>, double[], double[]) - Method in class io.github.hakkelt.ndarrays.internal.CopyFromOperations
- copyFrom(ComplexNDArray<T2>, float[]) - Method in class io.github.hakkelt.ndarrays.internal.CopyFromOperations
- copyFrom(ComplexNDArray<T2>, float[], float[]) - Method in class io.github.hakkelt.ndarrays.internal.CopyFromOperations
- copyFrom(ComplexNDArray<T2>, int[]) - Method in class io.github.hakkelt.ndarrays.internal.CopyFromOperations
- copyFrom(ComplexNDArray<T2>, int[], int[]) - Method in class io.github.hakkelt.ndarrays.internal.CopyFromOperations
- copyFrom(ComplexNDArray<T2>, long[]) - Method in class io.github.hakkelt.ndarrays.internal.CopyFromOperations
- copyFrom(ComplexNDArray<T2>, long[], long[]) - Method in class io.github.hakkelt.ndarrays.internal.CopyFromOperations
- copyFrom(ComplexNDArray<T2>, short[]) - Method in class io.github.hakkelt.ndarrays.internal.CopyFromOperations
- copyFrom(ComplexNDArray<T2>, short[], short[]) - Method in class io.github.hakkelt.ndarrays.internal.CopyFromOperations
- copyFrom(ComplexNDArray<T2>, NDArray<?>) - Method in class io.github.hakkelt.ndarrays.internal.CopyFromOperations
- copyFrom(ComplexNDArray<T2>, NDArray<? extends Number>, NDArray<? extends Number>) - Method in class io.github.hakkelt.ndarrays.internal.CopyFromOperations
- copyFrom(ComplexNDArray<T2>, Object[]) - Method in class io.github.hakkelt.ndarrays.internal.CopyFromOperations
- copyFrom(ComplexNDArray<T2>, Object[], Object[]) - Method in class io.github.hakkelt.ndarrays.internal.CopyFromOperations
- copyFrom(AbstractNDArray<T, T2>, byte[]) - Method in class io.github.hakkelt.ndarrays.internal.CopyFromOperations
- copyFrom(AbstractNDArray<T, T2>, double[]) - Method in class io.github.hakkelt.ndarrays.internal.CopyFromOperations
- copyFrom(AbstractNDArray<T, T2>, float[]) - Method in class io.github.hakkelt.ndarrays.internal.CopyFromOperations
- copyFrom(AbstractNDArray<T, T2>, int[]) - Method in class io.github.hakkelt.ndarrays.internal.CopyFromOperations
- copyFrom(AbstractNDArray<T, T2>, long[]) - Method in class io.github.hakkelt.ndarrays.internal.CopyFromOperations
- copyFrom(AbstractNDArray<T, T2>, short[]) - Method in class io.github.hakkelt.ndarrays.internal.CopyFromOperations
- copyFrom(AbstractNDArray<T, T2>, Object[]) - Method in class io.github.hakkelt.ndarrays.internal.CopyFromOperations
- copyFrom(RealNDArray<T2>, NDArray<?>) - Method in class io.github.hakkelt.ndarrays.internal.CopyFromOperations
- copyFrom(NDArray<?>) - Method in class io.github.hakkelt.ndarrays.basic.BasicBigDecimalNDArray
- copyFrom(NDArray<?>) - Method in class io.github.hakkelt.ndarrays.basic.BasicBigIntegerNDArray
- copyFrom(NDArray<?>) - Method in class io.github.hakkelt.ndarrays.basic.BasicByteNDArray
- copyFrom(NDArray<?>) - Method in class io.github.hakkelt.ndarrays.basic.BasicComplexDoubleNDArray
- copyFrom(NDArray<?>) - Method in class io.github.hakkelt.ndarrays.basic.BasicComplexFloatNDArray
- copyFrom(NDArray<?>) - Method in class io.github.hakkelt.ndarrays.basic.BasicDoubleNDArray
- copyFrom(NDArray<?>) - Method in class io.github.hakkelt.ndarrays.basic.BasicFloatNDArray
- copyFrom(NDArray<?>) - Method in class io.github.hakkelt.ndarrays.basic.BasicIntegerNDArray
- copyFrom(NDArray<?>) - Method in class io.github.hakkelt.ndarrays.basic.BasicLongNDArray
- copyFrom(NDArray<?>) - Method in class io.github.hakkelt.ndarrays.basic.BasicShortNDArray
- copyFrom(NDArray<?>) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- copyFrom(NDArray<?>) - Method in class io.github.hakkelt.ndarrays.internal.AbstractRealNDArray
- copyFrom(NDArray<?>) - Method in class io.github.hakkelt.ndarrays.internal.RealNDArrayMaskView
- copyFrom(NDArray<?>) - Method in class io.github.hakkelt.ndarrays.internal.RealNDArrayPermuteDimsView
- copyFrom(NDArray<?>) - Method in class io.github.hakkelt.ndarrays.internal.RealNDArrayReshapeView
- copyFrom(NDArray<?>) - Method in class io.github.hakkelt.ndarrays.internal.RealNDArraySliceView
- copyFrom(NDArray<?>) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Updates this NDArray with the elements of the NDArray given as parameter.
- copyFrom(NDArray<? extends Number>, NDArray<? extends Number>) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
-
Updates this NDArray with the elements of the arrays given as parameters.
- copyFrom(Object[]) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- copyFrom(Object[]) - Method in interface io.github.hakkelt.ndarrays.internal.RealNDArray
- copyFrom(Object[]) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Updates this NDArray with the elements of the array given as parameter.
- copyFrom(Object[], Object[]) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
-
Updates this NDArray with the elements of the arrays given as parameters.
- COPYFROM_INPUT_TYPE_DIFERS - Static variable in class io.github.hakkelt.ndarrays.internal.Errors
-
Type of the two input arrays must be the same!
- copyFromMagnitudePhase(ComplexNDArray<T2>, NDArray<? extends Number>, NDArray<? extends Number>) - Method in class io.github.hakkelt.ndarrays.internal.CopyFromOperations
- CopyFromOperations<T,T2 extends Number> - Class in io.github.hakkelt.ndarrays.internal
-
Utility class for operations where the NDArray is filled with values copied from a primitive array or another NDArray.
- CopyFromOperations() - Constructor for class io.github.hakkelt.ndarrays.internal.CopyFromOperations
D
- dataTypeAsString() - Method in class io.github.hakkelt.ndarrays.AbstractComplexNDArray
- dataTypeAsString() - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArrayView
- dataTypeAsString() - Method in class io.github.hakkelt.ndarrays.internal.AbstractRealNDArray
- dataTypeAsString() - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Returns a String representation of element type.
- DataTypeEnum - Class in io.github.hakkelt.ndarrays.internal
- DEFAULT_FLOATING_POINT_FORMAT - Static variable in class io.github.hakkelt.ndarrays.internal.Printer
- DEFAULT_INTEGER_FORMAT - Static variable in class io.github.hakkelt.ndarrays.internal.Printer
- DIMENSION_MISMATCH - Static variable in class io.github.hakkelt.ndarrays.internal.Errors
-
Number of indices (%d) doesn't match the number of dimensions (%d)!
- dimsToString(int[]) - Static method in class io.github.hakkelt.ndarrays.internal.Printer
- divide(byte) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- divide(byte) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Creates a new NDArray of the same shape and fills it with the values of this NDArray divided by the given value.
- divide(double) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- divide(double) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Creates a new NDArray of the same shape and fills it with the values of this NDArray divided by the given value.
- divide(float) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- divide(float) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Creates a new NDArray of the same shape and fills it with the values of this NDArray divided by the given value.
- divide(int) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- divide(int) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Creates a new NDArray of the same shape and fills it with the values of this NDArray divided by the given value.
- divide(long) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- divide(long) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Creates a new NDArray of the same shape and fills it with the values of this NDArray divided by the given value.
- divide(short) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- divide(short) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Creates a new NDArray of the same shape and fills it with the values of this NDArray divided by the given value.
- divide(ComplexNDArray<T2>, Object...) - Method in class io.github.hakkelt.ndarrays.internal.ArrayOperations
- divide(AbstractNDArray<T, T2>, Object...) - Method in class io.github.hakkelt.ndarrays.internal.ArrayOperations
- divide(NDArray<?>) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- divide(NDArray<?>) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Creates a new NDArray of the same shape and fills it with the element-wise division of this NDArray and the NDArray given as parameter.
- divide(Object...) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- divide(Object...) - Method in interface io.github.hakkelt.ndarrays.internal.RealNDArray
- divide(Object...) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Creates a new NDArray of the same shape and fills it with the result of the element-wise division of this NDArray by the parameter NDArrays and scalars.
- DIVIDE - io.github.hakkelt.ndarrays.internal.AccumulateOperators
- divideInplace(byte) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- divideInplace(byte) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Updates the elements this NDArray with the values of this NDArray divided by the given value.
- divideInplace(double) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- divideInplace(double) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Updates the elements this NDArray with the values of this NDArray divided by the given value.
- divideInplace(float) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- divideInplace(float) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Updates the elements this NDArray with the values of this NDArray divided by the given value.
- divideInplace(int) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- divideInplace(int) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Updates the elements this NDArray with the values of this NDArray divided by the given value.
- divideInplace(long) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- divideInplace(long) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Updates the elements this NDArray with the values of this NDArray divided by the given value.
- divideInplace(short) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- divideInplace(short) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Updates the elements this NDArray with the values of this NDArray divided by the given value.
- divideInplace(ComplexNDArray<T2>, Object...) - Method in class io.github.hakkelt.ndarrays.internal.ArrayOperations
- divideInplace(AbstractNDArray<T, T2>, Object...) - Method in class io.github.hakkelt.ndarrays.internal.ArrayOperations
- divideInplace(NDArray<?>) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- divideInplace(NDArray<?>) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Updates the elements this NDArray with the element-wise division of this NDArray and the NDArray given as parameter.
- divideInplace(Object...) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- divideInplace(Object...) - Method in interface io.github.hakkelt.ndarrays.internal.RealNDArray
- divideInplace(Object...) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Updates the elements this NDArray with the result of the element-wise division of this NDArray by the parameter NDArrays and scalars.
- DOUBLE - Static variable in class io.github.hakkelt.ndarrays.internal.DataTypeEnum
- dropDims(int...) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- dropDims(int...) - Method in interface io.github.hakkelt.ndarrays.internal.RealNDArray
- dropDims(int...) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Returns a view that references this NDArray as parent, and skips all singleton dimensions included in the parameter list.
- dropDims(ComplexNDArray<T2>, int...) - Method in class io.github.hakkelt.ndarrays.internal.ViewOperations
- dropDims(AbstractNDArray<T, T2>, int...) - Method in class io.github.hakkelt.ndarrays.internal.ViewOperations
- DROPDIMS_NOT_SINGLETON - Static variable in class io.github.hakkelt.ndarrays.internal.Errors
-
Cannot drop dimension %d because it is not singleton!
- dtype() - Method in class io.github.hakkelt.ndarrays.AbstractBigDecimalNDArray
- dtype() - Method in class io.github.hakkelt.ndarrays.AbstractBigIntegerNDArray
- dtype() - Method in class io.github.hakkelt.ndarrays.AbstractByteNDArray
- dtype() - Method in class io.github.hakkelt.ndarrays.AbstractComplexNDArray
- dtype() - Method in class io.github.hakkelt.ndarrays.AbstractDoubleNDArray
- dtype() - Method in class io.github.hakkelt.ndarrays.AbstractFloatNDArray
- dtype() - Method in class io.github.hakkelt.ndarrays.AbstractIntegerNDArray
- dtype() - Method in class io.github.hakkelt.ndarrays.AbstractLongNDArray
- dtype() - Method in class io.github.hakkelt.ndarrays.AbstractShortNDArray
- dtype() - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArrayView
- dtype() - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Returns the type of values returned by get method.
- dtype2() - Method in class io.github.hakkelt.ndarrays.AbstractComplexNDArray
- dtype2() - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
-
Returns the type of values returned by getReal and getImag methods.
- dtype2() - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArrayView
E
- END - Static variable in class io.github.hakkelt.ndarrays.Range
- endIndex() - Method in class io.github.hakkelt.ndarrays.internal.NormalizedRange
- equals(Object) - Method in class io.github.hakkelt.ndarrays.basic.BasicBigDecimalNDArray
- equals(Object) - Method in class io.github.hakkelt.ndarrays.basic.BasicBigIntegerNDArray
- equals(Object) - Method in class io.github.hakkelt.ndarrays.basic.BasicByteNDArray
- equals(Object) - Method in class io.github.hakkelt.ndarrays.basic.BasicComplexDoubleNDArray
- equals(Object) - Method in class io.github.hakkelt.ndarrays.basic.BasicComplexFloatNDArray
- equals(Object) - Method in class io.github.hakkelt.ndarrays.basic.BasicDoubleNDArray
- equals(Object) - Method in class io.github.hakkelt.ndarrays.basic.BasicFloatNDArray
- equals(Object) - Method in class io.github.hakkelt.ndarrays.basic.BasicIntegerNDArray
- equals(Object) - Method in class io.github.hakkelt.ndarrays.basic.BasicLongNDArray
- equals(Object) - Method in class io.github.hakkelt.ndarrays.basic.BasicShortNDArray
- equals(Object) - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArray
- equals(Object) - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArrayMaskView
- equals(Object) - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArrayPermuteDimsView
- equals(Object) - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArraySliceView
- equals(Object) - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArrayView
- equals(Object) - Method in class io.github.hakkelt.ndarrays.internal.SlicingExpression
- equals(Object) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Compares the specified object with this NDArray for equality.
- Errors - Class in io.github.hakkelt.ndarrays.internal
-
Enum of error messages.
- estimateSize() - Method in class io.github.hakkelt.ndarrays.internal.CartesianIndexSpliterator
F
- FileOperations<T,T2 extends Number> - Class in io.github.hakkelt.ndarrays.internal
-
Utility class for operations where the NDArray is filled with values read from a file.
- FileOperations() - Constructor for class io.github.hakkelt.ndarrays.internal.FileOperations
- fill(double) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
-
Fill this NDArray with the specified value
- fill(double) - Method in interface io.github.hakkelt.ndarrays.internal.RealNDArray
- fill(double) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Fill this NDArray with the specified value
- fill(ComplexNDArray<T2>, double) - Method in class io.github.hakkelt.ndarrays.internal.ArrayOperations
- fill(ComplexNDArray<T2>, Complex) - Method in class io.github.hakkelt.ndarrays.internal.ArrayOperations
- fill(ComplexNDArray<T2>, T2) - Method in class io.github.hakkelt.ndarrays.internal.ArrayOperations
- fill(AbstractNDArray<T, T2>, double) - Method in class io.github.hakkelt.ndarrays.internal.ArrayOperations
- fill(AbstractNDArray<T, T2>, T) - Method in class io.github.hakkelt.ndarrays.internal.ArrayOperations
- fill(Complex) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
-
Fill this NDArray with the specified value
- fill(T) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
-
Fill this NDArray with the specified value
- fill(T) - Method in interface io.github.hakkelt.ndarrays.internal.RealNDArray
- fill(T) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Fill this NDArray with the specified value
- fillUsingCartesianIndices(Function<int[], Complex>) - Method in class io.github.hakkelt.ndarrays.AbstractComplexNDArray
- fillUsingCartesianIndices(Function<int[], Complex>) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- fillUsingCartesianIndices(Function<int[], Complex>) - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArrayMaskView
- fillUsingCartesianIndices(Function<int[], Complex>) - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArrayPermuteDimsView
- fillUsingCartesianIndices(Function<int[], Complex>) - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArrayReshapeView
- fillUsingCartesianIndices(Function<int[], Complex>) - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArraySliceView
- fillUsingCartesianIndices(Function<int[], T>) - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArray
- fillUsingCartesianIndices(Function<int[], T>) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Apply the given function to each element of the array, and override each entry with the calculated new values.
- fillUsingLinearIndices(IntFunction<Complex>) - Method in class io.github.hakkelt.ndarrays.AbstractComplexNDArray
- fillUsingLinearIndices(IntFunction<Complex>) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- fillUsingLinearIndices(IntFunction<Complex>) - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArrayMaskView
- fillUsingLinearIndices(IntFunction<Complex>) - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArrayPermuteDimsView
- fillUsingLinearIndices(IntFunction<Complex>) - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArrayReshapeView
- fillUsingLinearIndices(IntFunction<Complex>) - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArraySliceView
- fillUsingLinearIndices(IntFunction<T>) - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArray
- fillUsingLinearIndices(IntFunction<T>) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Apply the given function to each element of the array, and override each entry with the calculated new values.
- finisher() - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArrayCollector
- finisher() - Method in class io.github.hakkelt.ndarrays.internal.RealNDArrayCollector
- FLOAT - Static variable in class io.github.hakkelt.ndarrays.internal.DataTypeEnum
- forEach(Consumer<? super T>) - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArray
- forEach(Consumer<? super T>) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Apply the given function to each element of the array, and override each entry with the calculated new values.
- forEachRemaining(Consumer<? super int[]>) - Method in class io.github.hakkelt.ndarrays.internal.CartesianIndexSpliterator
- forEachWithCartesianIndices(BiConsumer<T, int[]>) - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArray
- forEachWithCartesianIndices(BiConsumer<T, int[]>) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Apply the given function to each element of the array, and override each entry with the calculated new values.
- forEachWithLinearIndices(ObjIntConsumer<T>) - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArray
- forEachWithLinearIndices(ObjIntConsumer<T>) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Apply the given function to each element of the array, and override each entry with the calculated new values.
G
- Generated - Annotation Type in io.github.hakkelt.ndarrays.internal
-
Methods annotated with this annotation are excluded from Jacoco code coverage reports.
- get(int) - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArray
- get(int) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Returns an element specified by linear indexing.
- get(int...) - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArray
- get(int...) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Returns an element specified by cartesian indexing.
- getCollector(int...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicBigDecimalNDArray
- getCollector(int...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicBigIntegerNDArray
- getCollector(int...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicByteNDArray
- getCollector(int...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicComplexDoubleNDArray
- getCollector(int...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicComplexFloatNDArray
- getCollector(int...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicDoubleNDArray
- getCollector(int...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicFloatNDArray
- getCollector(int...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicIntegerNDArray
- getCollector(int...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicLongNDArray
- getCollector(int...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicShortNDArray
- getDimsOrder() - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArrayPermuteDimsView
- getDType(Object) - Static method in class io.github.hakkelt.ndarrays.NDArrayUtils
- getEndCartesianIndex(int[]) - Static method in class io.github.hakkelt.ndarrays.NDArrayUtils
- getExpressions() - Method in class io.github.hakkelt.ndarrays.internal.SlicingExpression
- getImag(int) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
-
Returns the imaginary part of an element specified by linear indexing.
- getImag(int) - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArray
- getImag(int...) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
-
Returns the imaginary part of an element specified by cartesian indexing.
- getImag(int...) - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArray
- getIndex(String) - Static method in class io.github.hakkelt.ndarrays.internal.DataTypeEnum
- getIndicesOfSingletonDims(int...) - Static method in class io.github.hakkelt.ndarrays.internal.ViewOperations
- getMultipliers() - Method in class io.github.hakkelt.ndarrays.internal.CartesianIndexSpliterator
- getNamePrefix() - Method in class io.github.hakkelt.ndarrays.basic.BasicBigDecimalNDArray
- getNamePrefix() - Method in class io.github.hakkelt.ndarrays.basic.BasicBigIntegerNDArray
- getNamePrefix() - Method in class io.github.hakkelt.ndarrays.basic.BasicByteNDArray
- getNamePrefix() - Method in class io.github.hakkelt.ndarrays.basic.BasicComplexDoubleNDArray
- getNamePrefix() - Method in class io.github.hakkelt.ndarrays.basic.BasicComplexFloatNDArray
- getNamePrefix() - Method in class io.github.hakkelt.ndarrays.basic.BasicDoubleNDArray
- getNamePrefix() - Method in class io.github.hakkelt.ndarrays.basic.BasicFloatNDArray
- getNamePrefix() - Method in class io.github.hakkelt.ndarrays.basic.BasicIntegerNDArray
- getNamePrefix() - Method in class io.github.hakkelt.ndarrays.basic.BasicLongNDArray
- getNamePrefix() - Method in class io.github.hakkelt.ndarrays.basic.BasicShortNDArray
- getNamePrefix() - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArrayView
- getNamePrefix() - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Returns a string that identifies the implementation behind this current object.
- getParent() - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArrayView
- getReal(int) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
-
Returns the real part of an element specified by linear indexing.
- getReal(int) - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArray
- getReal(int...) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
-
Returns the real part of an element specified by cartesian indexing.
- getReal(int...) - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArray
- getStringRepresentation(byte) - Static method in class io.github.hakkelt.ndarrays.internal.DataTypeEnum
- getTopMostParent() - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArrayView
H
- hashCode() - Method in class io.github.hakkelt.ndarrays.basic.BasicBigDecimalNDArray
- hashCode() - Method in class io.github.hakkelt.ndarrays.basic.BasicBigIntegerNDArray
- hashCode() - Method in class io.github.hakkelt.ndarrays.basic.BasicByteNDArray
- hashCode() - Method in class io.github.hakkelt.ndarrays.basic.BasicComplexDoubleNDArray
- hashCode() - Method in class io.github.hakkelt.ndarrays.basic.BasicComplexFloatNDArray
- hashCode() - Method in class io.github.hakkelt.ndarrays.basic.BasicDoubleNDArray
- hashCode() - Method in class io.github.hakkelt.ndarrays.basic.BasicFloatNDArray
- hashCode() - Method in class io.github.hakkelt.ndarrays.basic.BasicIntegerNDArray
- hashCode() - Method in class io.github.hakkelt.ndarrays.basic.BasicLongNDArray
- hashCode() - Method in class io.github.hakkelt.ndarrays.basic.BasicShortNDArray
- hashCode() - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArray
- hashCode() - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArrayMaskView
- hashCode() - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArrayPermuteDimsView
- hashCode() - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArraySliceView
- hashCode() - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArrayView
- hashCode() - Method in class io.github.hakkelt.ndarrays.internal.SlicingExpression
- hashCode() - Method in interface io.github.hakkelt.ndarrays.NDArray
-
This method is unsupported because NDArrays should not be used as keys in hash-based collections.
I
- IDENTIFIER_STRING - Static variable in class io.github.hakkelt.ndarrays.internal.FileOperations
- ILLEGAL_SLICING_EXPRESSION - Static variable in class io.github.hakkelt.ndarrays.internal.Errors
-
Illegal slicing expression: %s
- imaginary() - Method in class io.github.hakkelt.ndarrays.AbstractComplexNDArray
- imaginary() - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
-
Returns a new array holding the imaginary part of the array
- imaginary() - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArrayMaskView
- imaginary() - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArrayPermuteDimsView
- imaginary() - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArrayReshapeView
- imaginary() - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArraySliceView
- INCOMPATIBLE_SHAPE - Static variable in class io.github.hakkelt.ndarrays.internal.Errors
-
The shape of the input (%d) is incompatible with the given dimensions: %s!
- intArrayToList(int[]) - Static method in class io.github.hakkelt.ndarrays.internal.ViewOperations
- intArrayToSet(int[]) - Static method in class io.github.hakkelt.ndarrays.internal.ViewOperations
- INTEGER - Static variable in class io.github.hakkelt.ndarrays.internal.DataTypeEnum
- internalSlice(ComplexNDArray<T2>, NormalizedRange[]) - Method in class io.github.hakkelt.ndarrays.internal.ViewOperations
- internalSlice(RealNDArray<T2>, NormalizedRange[]) - Method in class io.github.hakkelt.ndarrays.internal.ViewOperations
- INVALID_PERMUTATOR - Static variable in class io.github.hakkelt.ndarrays.internal.Errors
-
The permutation vector (%s) is not a valid permutation vector for the array to be permutated (%s)!
- INVALID_RANGE - Static variable in class io.github.hakkelt.ndarrays.internal.Errors
-
Invalid range: [%d, %d)
- INVALID_RANGE_EXPRESSION - Static variable in class io.github.hakkelt.ndarrays.internal.Errors
-
Invalid range expression: %s!
- inverseMask(NDArray<?>) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- inverseMask(NDArray<?>) - Method in interface io.github.hakkelt.ndarrays.internal.RealNDArray
- inverseMask(NDArray<?>) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Returns an array view referencing this NDArray as parent that gives read-write access to a specific elements of the array selected by the given inverseMask.
- io.github.hakkelt.ndarrays - package io.github.hakkelt.ndarrays
-
General framework for N-dimensional arrays holding either complex or real values.
- io.github.hakkelt.ndarrays.basic - package io.github.hakkelt.ndarrays.basic
-
Simple reference implementation for NDArrays backed by 1D arrays of primitive values.
- io.github.hakkelt.ndarrays.internal - package io.github.hakkelt.ndarrays.internal
-
Internal classes meant to be used for developing new NDArray-based packages, but should not be used directly.
- isScalar() - Method in class io.github.hakkelt.ndarrays.internal.NormalizedRange
- isThisPermutationAnIdentityOperation(int...) - Static method in class io.github.hakkelt.ndarrays.internal.ViewOperations
- isThisReshapingAnIdentityOperation(int[], int[]) - Static method in class io.github.hakkelt.ndarrays.internal.ViewOperations
- isThisSlicingAnIdentityOperation(NDArray<?>, NormalizedRange[]) - Static method in class io.github.hakkelt.ndarrays.internal.ViewOperations
- ITERATION_DIMENSIONS_MUST_BE_INCREASING - Static variable in class io.github.hakkelt.ndarrays.internal.Errors
-
Iteration dimensions must be provided in increasing order and no duplicates allowed!
- iterator() - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArray
- iterator() - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Returns an iterator over the elements in this collection.
- ITERATOR_OUT_OF_BOUNDS - Static variable in class io.github.hakkelt.ndarrays.internal.Errors
-
Bounds error: Iterator already reached the end of the array!
L
- length() - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArray
- length() - Method in class io.github.hakkelt.ndarrays.internal.NormalizedRange
- length() - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Returns the number of elements within this NDArray.
- LINEAR_BOUNDS_ERROR - Static variable in class io.github.hakkelt.ndarrays.internal.Errors
-
Bounds error: Attempt to access element of array with %d elements at linear index %d!
- linearIndexToCartesianIndices(int, int[]) - Static method in class io.github.hakkelt.ndarrays.NDArrayUtils
- linearIndexToViewIndices(int) - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArrayView
- LONG - Static variable in class io.github.hakkelt.ndarrays.internal.DataTypeEnum
M
- map(UnaryOperator<Complex>) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- map(UnaryOperator<T>) - Method in interface io.github.hakkelt.ndarrays.internal.RealNDArray
- map(UnaryOperator<T>) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Apply the given function to each element of the array, and create a new NDArray with the calculated new values.
- mapOnComplexSlices(BiFunction<ComplexNDArray<T>, int[], NDArray<?>>, int...) - Method in class io.github.hakkelt.ndarrays.AbstractComplexNDArray
- mapOnComplexSlices(BiFunction<ComplexNDArray<T>, int[], NDArray<?>>, int...) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
-
Apply the given function to each slices of the array, and create a new NDArray with the calculated new values.
- mapOnComplexSlices(BiFunction<ComplexNDArray<T>, int[], NDArray<?>>, int...) - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArrayMaskView
- mapOnComplexSlices(BiFunction<ComplexNDArray<T>, int[], NDArray<?>>, int...) - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArrayPermuteDimsView
- mapOnComplexSlices(BiFunction<ComplexNDArray<T>, int[], NDArray<?>>, int...) - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArrayReshapeView
- mapOnComplexSlices(BiFunction<ComplexNDArray<T>, int[], NDArray<?>>, int...) - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArraySliceView
- mapOnSlices(BiFunction<NDArray<T>, int[], NDArray<?>>, int...) - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArray
- mapOnSlices(BiFunction<NDArray<T>, int[], NDArray<?>>, int...) - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArrayMaskView
- mapOnSlices(BiFunction<NDArray<T>, int[], NDArray<?>>, int...) - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArrayPermuteDimsView
- mapOnSlices(BiFunction<NDArray<T>, int[], NDArray<?>>, int...) - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArrayReshapeView
- mapOnSlices(BiFunction<NDArray<T>, int[], NDArray<?>>, int...) - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArraySliceView
- mapOnSlices(BiFunction<NDArray<T>, int[], NDArray<?>>, int...) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Apply the given function to each slices of the array, and create a new NDArray with the calculated new values.
- mapWithCartesianIndices(BiFunction<Complex, int[], Complex>) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- mapWithCartesianIndices(BiFunction<T, int[], T>) - Method in interface io.github.hakkelt.ndarrays.internal.RealNDArray
- mapWithCartesianIndices(BiFunction<T, int[], T>) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Apply the given function to each element of the array, and create a new NDArray with the calculated new values.
- mapWithLinearIndices(BiFunction<Complex, Integer, Complex>) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- mapWithLinearIndices(BiFunction<T, Integer, T>) - Method in interface io.github.hakkelt.ndarrays.internal.RealNDArray
- mapWithLinearIndices(BiFunction<T, Integer, T>) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Apply the given function to each element of the array, and create a new NDArray with the calculated new values.
- mask(ComplexNDArray<T2>, NDArray<?>, boolean) - Method in class io.github.hakkelt.ndarrays.internal.ViewOperations
- mask(ComplexNDArray<T2>, BiPredicate<Complex, ?>, boolean) - Method in class io.github.hakkelt.ndarrays.internal.ViewOperations
- mask(ComplexNDArray<T2>, Predicate<Complex>) - Method in class io.github.hakkelt.ndarrays.internal.ViewOperations
- mask(RealNDArray<T2>, NDArray<?>, boolean) - Method in class io.github.hakkelt.ndarrays.internal.ViewOperations
- mask(RealNDArray<T2>, BiPredicate<T2, ?>, boolean) - Method in class io.github.hakkelt.ndarrays.internal.ViewOperations
- mask(RealNDArray<T2>, Predicate<T2>) - Method in class io.github.hakkelt.ndarrays.internal.ViewOperations
- mask(NDArray<?>) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- mask(NDArray<?>) - Method in interface io.github.hakkelt.ndarrays.internal.RealNDArray
- mask(NDArray<?>) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Returns an array view referencing this NDArray as parent that gives read-write access to a specific elements of the array selected by the given mask.
- mask(Predicate<Complex>) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- mask(Predicate<T>) - Method in interface io.github.hakkelt.ndarrays.internal.RealNDArray
- mask(Predicate<T>) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Returns an array view referencing this NDArray as parent that gives read-write access to a specific elements for which the given function returns true.
- MASK_DIMENSION_MISMATCH - Static variable in class io.github.hakkelt.ndarrays.internal.Errors
-
Mask must have same shape as the array to be masked, but the array has shape of %s and the mask is of the shape %s!
- maskWithCartesianIndices(BiPredicate<Complex, int[]>) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- maskWithCartesianIndices(BiPredicate<T, int[]>) - Method in interface io.github.hakkelt.ndarrays.internal.RealNDArray
- maskWithCartesianIndices(BiPredicate<T, int[]>) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Returns an array view referencing this NDArray as parent that gives read-write access to a specific elements for which the given function returns true.
- maskWithLinearIndices(BiPredicate<Complex, Integer>) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- maskWithLinearIndices(BiPredicate<T, Integer>) - Method in interface io.github.hakkelt.ndarrays.internal.RealNDArray
- maskWithLinearIndices(BiPredicate<T, Integer>) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Returns an array view referencing this NDArray as parent that gives read-write access to a specific elements for which the given function returns true.
- maybeParallelStream() - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArray
-
Returns a sequential Stream with this collection as its source.
- multiply(byte) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- multiply(byte) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Creates a new NDArray of the same shape and fills it with the values of this NDArray multiplied by the given value.
- multiply(double) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- multiply(double) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Creates a new NDArray of the same shape and fills it with the values of this NDArray multiplied by the given value.
- multiply(float) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- multiply(float) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Creates a new NDArray of the same shape and fills it with the values of this NDArray multiplied by the given value.
- multiply(int) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- multiply(int) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Creates a new NDArray of the same shape and fills it with the values of this NDArray multiplied by the given value.
- multiply(long) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- multiply(long) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Creates a new NDArray of the same shape and fills it with the values of this NDArray multiplied by the given value.
- multiply(short) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- multiply(short) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Creates a new NDArray of the same shape and fills it with the values of this NDArray multiplied by the given value.
- multiply(ComplexNDArray<T2>, Object...) - Method in class io.github.hakkelt.ndarrays.internal.ArrayOperations
- multiply(AbstractNDArray<T, T2>, Object...) - Method in class io.github.hakkelt.ndarrays.internal.ArrayOperations
- multiply(NDArray<?>) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- multiply(NDArray<?>) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Creates a new NDArray of the same shape and fills it with the element-wise product of this NDArray and the NDArray given as parameter.
- multiply(Object...) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- multiply(Object...) - Method in interface io.github.hakkelt.ndarrays.internal.RealNDArray
- multiply(Object...) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Creates a new NDArray of the same shape and fills it with the element-wise product of this NDArray and the parameter NDArrays and scalars.
- MULTIPLY - io.github.hakkelt.ndarrays.internal.AccumulateOperators
- multiplyInplace(byte) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- multiplyInplace(byte) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Updates the elements of this NDArray with the values of this NDArray multiplied by the given value.
- multiplyInplace(double) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- multiplyInplace(double) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Updates the elements of this NDArray with the values of this NDArray multiplied by the given value.
- multiplyInplace(float) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- multiplyInplace(float) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Updates the elements of this NDArray with the values of this NDArray multiplied by the given value.
- multiplyInplace(int) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- multiplyInplace(int) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Updates the elements of this NDArray with the values of this NDArray multiplied by the given value.
- multiplyInplace(long) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- multiplyInplace(long) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Updates the elements of this NDArray with the values of this NDArray multiplied by the given value.
- multiplyInplace(short) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- multiplyInplace(short) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Updates the elements of this NDArray with the values of this NDArray multiplied by the given value.
- multiplyInplace(ComplexNDArray<T2>, Object...) - Method in class io.github.hakkelt.ndarrays.internal.ArrayOperations
- multiplyInplace(AbstractNDArray<T, T2>, Object...) - Method in class io.github.hakkelt.ndarrays.internal.ArrayOperations
- multiplyInplace(NDArray<?>) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- multiplyInplace(NDArray<?>) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Updates the elements of this NDArray with the element-wise product of this NDArray and the NDArray given as parameter.
- multiplyInplace(Object...) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- multiplyInplace(Object...) - Method in interface io.github.hakkelt.ndarrays.internal.RealNDArray
- multiplyInplace(Object...) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Updates the elements of this NDArray with the element-wise product of this NDArray and the parameter NDArrays and scalars.
N
- NDArray<T> - Interface in io.github.hakkelt.ndarrays
-
General N-dimensional arrays holding either complex or real values.
- NDArrayUtils - Class in io.github.hakkelt.ndarrays
-
Utility class to help conversion between linear indexing and Cartesian indexing, and ease checks against "out of bounds" and "incompatible shape" errors.
- ndim() - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArray
- ndim() - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Returns the number of dimensions.
- NEGATIVE_NORM - Static variable in class io.github.hakkelt.ndarrays.internal.Errors
-
p must be a positive real number!
- norm() - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArray
- norm() - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Returns the 2-norm (Euclidean norm) of the vectorized array.
- norm(int) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Returns the p-norm of the vectorized array.
- norm(Double) - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArray
- norm(Double) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Returns the p-norm of the vectorized array.
- NormalizedRange - Class in io.github.hakkelt.ndarrays.internal
- NormalizedRange(Range, int) - Constructor for class io.github.hakkelt.ndarrays.internal.NormalizedRange
- normalizeRanges(Range[], int[]) - Static method in class io.github.hakkelt.ndarrays.internal.NormalizedRange
O
- of(byte...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicBigDecimalNDArray
-
Factory method that creates an NDArray from a list or 1D array of BigDecimal values.
- of(byte...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicBigIntegerNDArray
-
Factory method that creates an NDArray from a list or 1D array of BigInteger values.
- of(byte...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicByteNDArray
-
Factory method that creates an NDArray from a list or 1D array of byte values.
- of(byte...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicComplexDoubleNDArray
-
Factory method that creates a ComplexNDArray from a list or 1D array of byte values.
- of(byte...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicComplexFloatNDArray
-
Factory method that creates a ComplexNDArray from a list or 1D array of byte values.
- of(byte...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicDoubleNDArray
-
Factory method that creates an NDArray from a list or 1D array of double values.
- of(byte...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicFloatNDArray
-
Factory method that creates an NDArray from a list or 1D array of float values.
- of(byte...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicIntegerNDArray
-
Factory method that creates an NDArray from a list or 1D array of int values.
- of(byte...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicLongNDArray
-
Factory method that creates an NDArray from a list or 1D array of long values.
- of(byte...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicShortNDArray
-
Factory method that creates an NDArray from a list or 1D array of short values.
- of(byte[], byte[]) - Static method in class io.github.hakkelt.ndarrays.basic.BasicComplexDoubleNDArray
-
Factory method that creates a ComplexNDArray from two 1D array of byte values.
- of(byte[], byte[]) - Static method in class io.github.hakkelt.ndarrays.basic.BasicComplexFloatNDArray
-
Factory method that creates a ComplexNDArray from two 1D array of byte values.
- of(double...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicBigDecimalNDArray
-
Factory method that creates an NDArray from a list or 1D array of BigDecimal values.
- of(double...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicBigIntegerNDArray
-
Factory method that creates an NDArray from a list or 1D array of BigInteger values.
- of(double...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicByteNDArray
-
Factory method that creates an NDArray from a list or 1D array of byte values.
- of(double...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicComplexDoubleNDArray
-
Factory method that creates a ComplexNDArray from a list or 1D array of double values.
- of(double...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicComplexFloatNDArray
-
Factory method that creates a ComplexNDArray from a list or 1D array of double values.
- of(double...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicDoubleNDArray
-
Factory method that creates an NDArray from a list or 1D array of double values.
- of(double...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicFloatNDArray
-
Factory method that creates an NDArray from a list or 1D array of float values.
- of(double...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicIntegerNDArray
-
Factory method that creates an NDArray from a list or 1D array of int values.
- of(double...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicLongNDArray
-
Factory method that creates an NDArray from a list or 1D array of long values.
- of(double...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicShortNDArray
-
Factory method that creates an NDArray from a list or 1D array of short values.
- of(double[], double[]) - Static method in class io.github.hakkelt.ndarrays.basic.BasicComplexDoubleNDArray
-
Factory method that creates a ComplexNDArray from two 1D array of double values.
- of(double[], double[]) - Static method in class io.github.hakkelt.ndarrays.basic.BasicComplexFloatNDArray
-
Factory method that creates a ComplexNDArray from two 1D array of double values.
- of(float...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicBigDecimalNDArray
-
Factory method that creates an NDArray from a list or 1D array of BigDecimal values.
- of(float...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicBigIntegerNDArray
-
Factory method that creates an NDArray from a list or 1D array of BigInteger values.
- of(float...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicByteNDArray
-
Factory method that creates an NDArray from a list or 1D array of byte values.
- of(float...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicComplexDoubleNDArray
-
Factory method that creates a ComplexNDArray from a list or 1D array of float values.
- of(float...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicComplexFloatNDArray
-
Factory method that creates a ComplexNDArray from a list or 1D array of float values.
- of(float...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicDoubleNDArray
-
Factory method that creates an NDArray from a list or 1D array of double values.
- of(float...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicFloatNDArray
-
Factory method that creates an NDArray from a list or 1D array of float values.
- of(float...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicIntegerNDArray
-
Factory method that creates an NDArray from a list or 1D array of int values.
- of(float...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicLongNDArray
-
Factory method that creates an NDArray from a list or 1D array of long values.
- of(float...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicShortNDArray
-
Factory method that creates an NDArray from a list or 1D array of short values.
- of(float[], float[]) - Static method in class io.github.hakkelt.ndarrays.basic.BasicComplexDoubleNDArray
-
Factory method that creates a ComplexNDArray from two 1D array of float values.
- of(float[], float[]) - Static method in class io.github.hakkelt.ndarrays.basic.BasicComplexFloatNDArray
-
Factory method that creates a ComplexNDArray from two 1D array of float values.
- of(int...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicBigDecimalNDArray
-
Factory method that creates an NDArray from a list or 1D array of BigDecimal values.
- of(int...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicBigIntegerNDArray
-
Factory method that creates an NDArray from a list or 1D array of BigInteger values.
- of(int...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicByteNDArray
-
Factory method that creates an NDArray from a list or 1D array of byte values.
- of(int...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicComplexDoubleNDArray
-
Factory method that creates a ComplexNDArray from a list or 1D array of int values.
- of(int...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicComplexFloatNDArray
-
Factory method that creates a ComplexNDArray from a list or 1D array of int values.
- of(int...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicDoubleNDArray
-
Factory method that creates an NDArray from a list or 1D array of double values.
- of(int...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicFloatNDArray
-
Factory method that creates an NDArray from a list or 1D array of float values.
- of(int...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicIntegerNDArray
-
Factory method that creates an NDArray from a list or 1D array of int values.
- of(int...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicLongNDArray
-
Factory method that creates an NDArray from a list or 1D array of long values.
- of(int...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicShortNDArray
-
Factory method that creates an NDArray from a list or 1D array of short values.
- of(int[], int[]) - Static method in class io.github.hakkelt.ndarrays.basic.BasicComplexDoubleNDArray
-
Factory method that creates a ComplexNDArray from two 1D array of int values.
- of(int[], int[]) - Static method in class io.github.hakkelt.ndarrays.basic.BasicComplexFloatNDArray
-
Factory method that creates a ComplexNDArray from two 1D array of int values.
- of(long...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicBigDecimalNDArray
-
Factory method that creates an NDArray from a list or 1D array of BigDecimal values.
- of(long...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicBigIntegerNDArray
-
Factory method that creates an NDArray from a list or 1D array of BigInteger values.
- of(long...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicByteNDArray
-
Factory method that creates an NDArray from a list or 1D array of byte values.
- of(long...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicComplexDoubleNDArray
-
Factory method that creates a ComplexNDArray from a list or 1D array of long values.
- of(long...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicComplexFloatNDArray
-
Factory method that creates a ComplexNDArray from a list or 1D array of long values.
- of(long...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicDoubleNDArray
-
Factory method that creates an NDArray from a list or 1D array of double values.
- of(long...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicFloatNDArray
-
Factory method that creates an NDArray from a list or 1D array of float values.
- of(long...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicIntegerNDArray
-
Factory method that creates an NDArray from a list or 1D array of int values.
- of(long...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicLongNDArray
-
Factory method that creates an NDArray from a list or 1D array of long values.
- of(long...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicShortNDArray
-
Factory method that creates an NDArray from a list or 1D array of short values.
- of(long[], long[]) - Static method in class io.github.hakkelt.ndarrays.basic.BasicComplexDoubleNDArray
-
Factory method that creates a ComplexNDArray from two 1D array of long values.
- of(long[], long[]) - Static method in class io.github.hakkelt.ndarrays.basic.BasicComplexFloatNDArray
-
Factory method that creates a ComplexNDArray from two 1D array of long values.
- of(short...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicBigDecimalNDArray
-
Factory method that creates an NDArray from a list or 1D array of BigDecimal values.
- of(short...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicBigIntegerNDArray
-
Factory method that creates an NDArray from a list or 1D array of BigInteger values.
- of(short...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicByteNDArray
-
Factory method that creates an NDArray from a list or 1D array of byte values.
- of(short...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicComplexDoubleNDArray
-
Factory method that creates a ComplexNDArray from a list or 1D array of short values.
- of(short...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicComplexFloatNDArray
-
Factory method that creates a ComplexNDArray from a list or 1D array of short values.
- of(short...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicDoubleNDArray
-
Factory method that creates an NDArray from a list or 1D array of double values.
- of(short...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicFloatNDArray
-
Factory method that creates an NDArray from a list or 1D array of float values.
- of(short...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicIntegerNDArray
-
Factory method that creates an NDArray from a list or 1D array of int values.
- of(short...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicLongNDArray
-
Factory method that creates an NDArray from a list or 1D array of long values.
- of(short...) - Static method in class io.github.hakkelt.ndarrays.basic.BasicShortNDArray
-
Factory method that creates an NDArray from a list or 1D array of short values.
- of(short[], short[]) - Static method in class io.github.hakkelt.ndarrays.basic.BasicComplexDoubleNDArray
-
Factory method that creates a ComplexNDArray from two 1D array of short values.
- of(short[], short[]) - Static method in class io.github.hakkelt.ndarrays.basic.BasicComplexFloatNDArray
-
Factory method that creates a ComplexNDArray from two 1D array of short values.
- of(Object[]) - Static method in class io.github.hakkelt.ndarrays.basic.BasicBigDecimalNDArray
-
Factory method that creates an NDArray from a multi-dimensional array of numeric values.
- of(Object[]) - Static method in class io.github.hakkelt.ndarrays.basic.BasicBigIntegerNDArray
-
Factory method that creates an NDArray from a multi-dimensional array of numeric values.
- of(Object[]) - Static method in class io.github.hakkelt.ndarrays.basic.BasicByteNDArray
-
Factory method that creates an NDArray from a multi-dimensional array of numeric values.
- of(Object[]) - Static method in class io.github.hakkelt.ndarrays.basic.BasicComplexDoubleNDArray
-
Factory method that creates an NDArray from a multi-dimensional array of numeric values (including Complex type).
- of(Object[]) - Static method in class io.github.hakkelt.ndarrays.basic.BasicComplexFloatNDArray
-
Factory method that creates an NDArray from a multi-dimensional array of numeric values (including Complex type).
- of(Object[]) - Static method in class io.github.hakkelt.ndarrays.basic.BasicDoubleNDArray
-
Factory method that creates an NDArray from a multi-dimensional array of numeric values.
- of(Object[]) - Static method in class io.github.hakkelt.ndarrays.basic.BasicFloatNDArray
-
Factory method that creates an NDArray from a multi-dimensional array of numeric values.
- of(Object[]) - Static method in class io.github.hakkelt.ndarrays.basic.BasicIntegerNDArray
-
Factory method that creates an NDArray from a multi-dimensional array of numeric values.
- of(Object[]) - Static method in class io.github.hakkelt.ndarrays.basic.BasicLongNDArray
-
Factory method that creates an NDArray from a multi-dimensional array of numeric values.
- of(Object[]) - Static method in class io.github.hakkelt.ndarrays.basic.BasicShortNDArray
-
Factory method that creates an NDArray from a multi-dimensional array of numeric values.
- of(Object[], Object[]) - Static method in class io.github.hakkelt.ndarrays.basic.BasicComplexDoubleNDArray
-
Factory method that creates a ComplexNDArray from two multi-dimensional arrays of numeric values.
- of(Object[], Object[]) - Static method in class io.github.hakkelt.ndarrays.basic.BasicComplexFloatNDArray
-
Factory method that creates a ComplexNDArray from two multi-dimensional arrays of numeric values.
- ofMagnitudePhase(NDArray<? extends Number>, NDArray<? extends Number>) - Static method in class io.github.hakkelt.ndarrays.basic.BasicComplexDoubleNDArray
-
Factory method that creates a ComplexNDArray from two multi-dimensional arrays of numeric values.
- ofMagnitudePhase(NDArray<? extends Number>, NDArray<? extends Number>) - Static method in class io.github.hakkelt.ndarrays.basic.BasicComplexFloatNDArray
-
Factory method that creates a ComplexNDArray from two multi-dimensional arrays of numeric values.
- ofMagnitudePhase(Object[], Object[]) - Static method in class io.github.hakkelt.ndarrays.basic.BasicComplexDoubleNDArray
-
Factory method that creates a ComplexNDArray from two multi-dimensional arrays of numeric values.
- ofMagnitudePhase(Object[], Object[]) - Static method in class io.github.hakkelt.ndarrays.basic.BasicComplexFloatNDArray
-
Factory method that creates a ComplexNDArray from two multi-dimensional arrays of numeric values.
P
- PARALLEL_STREAM_THRESHOLD - Static variable in class io.github.hakkelt.ndarrays.NDArrayUtils
- parallelStream() - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArray
- parallelStream() - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Returns a parallel Stream with this collection as its source.
- PARAMETER_MUST_BE_BETWEEN - Static variable in class io.github.hakkelt.ndarrays.internal.Errors
-
Parameter '%s' must be between %d and %d, but %d is given!
- parseExpressions(Object...) - Static method in class io.github.hakkelt.ndarrays.Range
- PERMUTATOR_SHAPE_MISMATCH - Static variable in class io.github.hakkelt.ndarrays.internal.Errors
-
The permutation vector (%s) doesn't fit the shape of the array to be permutated (%s)!
- permuteDims(int...) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- permuteDims(int...) - Method in interface io.github.hakkelt.ndarrays.internal.RealNDArray
- permuteDims(int...) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Returns a view that references this NDArray as parent, but the order of dimensions are swiched in this view.
- permuteDims(ComplexNDArray<T2>, int...) - Method in class io.github.hakkelt.ndarrays.internal.ViewOperations
- permuteDims(RealNDArray<T2>, int...) - Method in class io.github.hakkelt.ndarrays.internal.ViewOperations
- Printer - Class in io.github.hakkelt.ndarrays.internal
- printVector(int[]) - Static method in class io.github.hakkelt.ndarrays.internal.Printer
- prod() - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArray
- prod() - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Returns the product of all elements in this NDArray.
- prod(int...) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- prod(int...) - Method in interface io.github.hakkelt.ndarrays.internal.RealNDArray
- prod(int...) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Returns the product of all elements along the specified dimensions in this NDArray.
R
- Range - Class in io.github.hakkelt.ndarrays
- Range(Integer) - Constructor for class io.github.hakkelt.ndarrays.Range
- Range(Integer, Range.EndType) - Constructor for class io.github.hakkelt.ndarrays.Range
- Range(Integer, Integer) - Constructor for class io.github.hakkelt.ndarrays.Range
- Range(Integer, Integer, Range.EndType) - Constructor for class io.github.hakkelt.ndarrays.Range
- Range(Integer, Integer, Integer) - Constructor for class io.github.hakkelt.ndarrays.Range
- RANGE_ZERO_STEPSIZE - Static variable in class io.github.hakkelt.ndarrays.internal.Errors
-
Step size cannot be zero!
- READ_FROM_FILE_WRONG_FILE_IDENTIFIER - Static variable in class io.github.hakkelt.ndarrays.internal.Errors
-
Cannot read the given file: It is not a properly formatted NDArray file!
- readComplexFromFile(DoubleBuffer, A) - Method in class io.github.hakkelt.ndarrays.internal.FileOperations
- readComplexFromFile(FloatBuffer, A) - Method in class io.github.hakkelt.ndarrays.internal.FileOperations
- readFromFile(File) - Static method in class io.github.hakkelt.ndarrays.basic.BasicBigDecimalNDArray
-
Load the content of the given file into a new BasicBigDecimalNDArray.
- readFromFile(File) - Static method in class io.github.hakkelt.ndarrays.basic.BasicBigIntegerNDArray
-
Load the content of the given file into a new BasicBigIntegerNDArray.
- readFromFile(File) - Static method in class io.github.hakkelt.ndarrays.basic.BasicByteNDArray
-
Load the content of the given file into a new BasicByteNDArray.
- readFromFile(File) - Static method in class io.github.hakkelt.ndarrays.basic.BasicComplexDoubleNDArray
-
Load the content of the given file into a new BasicByteNDArray.
- readFromFile(File) - Static method in class io.github.hakkelt.ndarrays.basic.BasicComplexFloatNDArray
-
Load the content of the given file into a new BasicByteNDArray.
- readFromFile(File) - Static method in class io.github.hakkelt.ndarrays.basic.BasicDoubleNDArray
-
Load the content of the given file into a new BasicDoubleNDArray.
- readFromFile(File) - Static method in class io.github.hakkelt.ndarrays.basic.BasicFloatNDArray
-
Load the content of the given file into a new BasicFloatNDArray.
- readFromFile(File) - Static method in class io.github.hakkelt.ndarrays.basic.BasicIntegerNDArray
-
Load the content of the given file into a new BasicIntegerNDArray.
- readFromFile(File) - Static method in class io.github.hakkelt.ndarrays.basic.BasicLongNDArray
-
Load the content of the given file into a new BasicLongNDArray.
- readFromFile(File) - Static method in class io.github.hakkelt.ndarrays.basic.BasicShortNDArray
-
Load the content of the given file into a new BasicShortNDArray.
- readFromFile(File, Function<int[], A>) - Method in class io.github.hakkelt.ndarrays.internal.FileOperations
- readFromFile(ByteBuffer, A) - Method in class io.github.hakkelt.ndarrays.internal.FileOperations
- readFromFile(DoubleBuffer, A) - Method in class io.github.hakkelt.ndarrays.internal.FileOperations
- readFromFile(FloatBuffer, A) - Method in class io.github.hakkelt.ndarrays.internal.FileOperations
- readFromFile(IntBuffer, A) - Method in class io.github.hakkelt.ndarrays.internal.FileOperations
- readFromFile(LongBuffer, A) - Method in class io.github.hakkelt.ndarrays.internal.FileOperations
- readFromFile(ShortBuffer, A) - Method in class io.github.hakkelt.ndarrays.internal.FileOperations
- real() - Method in class io.github.hakkelt.ndarrays.AbstractComplexNDArray
- real() - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
-
Returns a new array holding the real part of the array
- real() - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArrayMaskView
- real() - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArrayPermuteDimsView
- real() - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArrayReshapeView
- real() - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArraySliceView
- RealNDArray<T extends Number> - Interface in io.github.hakkelt.ndarrays.internal
-
General N-dimensional arrays holding real values.
- RealNDArrayCollector<T extends Number> - Class in io.github.hakkelt.ndarrays.internal
-
Collector to collect values from a stream of Number values into the specified NDArray.
- RealNDArrayCollector(NDArray<T>) - Constructor for class io.github.hakkelt.ndarrays.internal.RealNDArrayCollector
- RealNDArrayMaskView<T extends Number> - Class in io.github.hakkelt.ndarrays.internal
-
A view for an NDArray holding real values that selects values based on a specified mask.
- RealNDArrayMaskView(NDArray<T>, NDArray<?>, boolean) - Constructor for class io.github.hakkelt.ndarrays.internal.RealNDArrayMaskView
- RealNDArrayMaskView(NDArray<T>, BiPredicate<T, ?>, boolean) - Constructor for class io.github.hakkelt.ndarrays.internal.RealNDArrayMaskView
- RealNDArrayMaskView(NDArray<T>, Predicate<T>) - Constructor for class io.github.hakkelt.ndarrays.internal.RealNDArrayMaskView
- RealNDArrayPermuteDimsView<T extends Number> - Class in io.github.hakkelt.ndarrays.internal
-
A view for an NDArray holding real values that permutes the order of dimensions.
- RealNDArrayPermuteDimsView(NDArray<T>, int...) - Constructor for class io.github.hakkelt.ndarrays.internal.RealNDArrayPermuteDimsView
- RealNDArrayReshapeView<T extends Number> - Class in io.github.hakkelt.ndarrays.internal
-
A view for an NDArray holding real values that changes the shape of the parent NDArray.
- RealNDArrayReshapeView(NDArray<T>, int...) - Constructor for class io.github.hakkelt.ndarrays.internal.RealNDArrayReshapeView
- RealNDArraySliceView<T extends Number> - Class in io.github.hakkelt.ndarrays.internal
-
A view for an NDArray holding real values that slices the parent NDArray.
- RealNDArraySliceView(NDArray<T>, NormalizedRange[]) - Constructor for class io.github.hakkelt.ndarrays.internal.RealNDArraySliceView
- reduceComplexSlices(ComplexNDArray<T>, BiFunction<ComplexNDArray<T>, int[], Complex>, int...) - Static method in class io.github.hakkelt.ndarrays.internal.SliceOperations
- reduceComplexSlices(BiFunction<ComplexNDArray<T>, int[], Complex>, int...) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
-
Reduces slices along the specified dimensions in this NDArray to scalar values, reducing the number of dimensions.
- reduceComplexSlices(BiFunction<ComplexNDArray<T>, int[], Complex>, int...) - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArrayMaskView
- reduceComplexSlices(BiFunction<ComplexNDArray<T>, int[], Complex>, int...) - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArrayPermuteDimsView
- reduceComplexSlices(BiFunction<ComplexNDArray<T>, int[], Complex>, int...) - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArrayReshapeView
- reduceComplexSlices(BiFunction<ComplexNDArray<T>, int[], Complex>, int...) - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArraySliceView
- reduceSlices(NDArray<T>, BiFunction<NDArray<T>, int[], T>, int...) - Static method in class io.github.hakkelt.ndarrays.internal.SliceOperations
- reduceSlices(BiFunction<NDArray<T>, int[], T>, int...) - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArray
- reduceSlices(BiFunction<NDArray<T>, int[], T>, int...) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Reduces slices along the specified dimensions in this NDArray to scalar values, reducing the number of dimensions.
- reshape(int...) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- reshape(int...) - Method in interface io.github.hakkelt.ndarrays.internal.RealNDArray
- reshape(int...) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Returns a view that references this NDArray as parent but has a different shape.
- reshape(ComplexNDArray<T2>, int...) - Method in class io.github.hakkelt.ndarrays.internal.ViewOperations
- reshape(RealNDArray<T2>, int...) - Method in class io.github.hakkelt.ndarrays.internal.ViewOperations
- RESHAPE_LENGTH_MISMATCH - Static variable in class io.github.hakkelt.ndarrays.internal.Errors
-
Cannot reshape %s array to new shape %s: Number of elements doesn't match!
- resolveToParentIndices(int[]) - Method in class io.github.hakkelt.ndarrays.internal.SlicingExpression
- resolveViewDims() - Method in class io.github.hakkelt.ndarrays.internal.SlicingExpression
S
- selectDims(int...) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- selectDims(int...) - Method in interface io.github.hakkelt.ndarrays.internal.RealNDArray
- selectDims(int...) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Returns a view that references this NDArray as parent, and skips all singleton dimensions not included in the parameter list.
- selectDims(ComplexNDArray<T2>, int...) - Method in class io.github.hakkelt.ndarrays.internal.ViewOperations
- selectDims(AbstractNDArray<T, T2>, int...) - Method in class io.github.hakkelt.ndarrays.internal.ViewOperations
- selectedDimsToSlicingExpression(int[], Set<Integer>) - Static method in class io.github.hakkelt.ndarrays.internal.ViewOperations
- set(Number, int) - Method in class io.github.hakkelt.ndarrays.AbstractBigDecimalNDArray
- set(Number, int) - Method in class io.github.hakkelt.ndarrays.AbstractBigIntegerNDArray
- set(Number, int) - Method in class io.github.hakkelt.ndarrays.AbstractByteNDArray
- set(Number, int) - Method in class io.github.hakkelt.ndarrays.AbstractComplexNDArray
- set(Number, int) - Method in class io.github.hakkelt.ndarrays.AbstractDoubleNDArray
- set(Number, int) - Method in class io.github.hakkelt.ndarrays.AbstractFloatNDArray
- set(Number, int) - Method in class io.github.hakkelt.ndarrays.AbstractIntegerNDArray
- set(Number, int) - Method in class io.github.hakkelt.ndarrays.AbstractLongNDArray
- set(Number, int) - Method in class io.github.hakkelt.ndarrays.AbstractShortNDArray
- set(Number, int) - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArrayMaskView
- set(Number, int) - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArrayPermuteDimsView
- set(Number, int) - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArrayReshapeView
- set(Number, int) - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArraySliceView
- set(Number, int) - Method in class io.github.hakkelt.ndarrays.internal.RealNDArrayMaskView
- set(Number, int) - Method in class io.github.hakkelt.ndarrays.internal.RealNDArrayPermuteDimsView
- set(Number, int) - Method in class io.github.hakkelt.ndarrays.internal.RealNDArrayReshapeView
- set(Number, int) - Method in class io.github.hakkelt.ndarrays.internal.RealNDArraySliceView
- set(Number, int) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Sets the value of an element specified by linear indexing.
- set(Number, int...) - Method in class io.github.hakkelt.ndarrays.AbstractBigDecimalNDArray
- set(Number, int...) - Method in class io.github.hakkelt.ndarrays.AbstractBigIntegerNDArray
- set(Number, int...) - Method in class io.github.hakkelt.ndarrays.AbstractByteNDArray
- set(Number, int...) - Method in class io.github.hakkelt.ndarrays.AbstractComplexNDArray
- set(Number, int...) - Method in class io.github.hakkelt.ndarrays.AbstractDoubleNDArray
- set(Number, int...) - Method in class io.github.hakkelt.ndarrays.AbstractFloatNDArray
- set(Number, int...) - Method in class io.github.hakkelt.ndarrays.AbstractIntegerNDArray
- set(Number, int...) - Method in class io.github.hakkelt.ndarrays.AbstractLongNDArray
- set(Number, int...) - Method in class io.github.hakkelt.ndarrays.AbstractShortNDArray
- set(Number, int...) - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArrayMaskView
- set(Number, int...) - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArrayPermuteDimsView
- set(Number, int...) - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArrayReshapeView
- set(Number, int...) - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArraySliceView
- set(Number, int...) - Method in class io.github.hakkelt.ndarrays.internal.RealNDArrayMaskView
- set(Number, int...) - Method in class io.github.hakkelt.ndarrays.internal.RealNDArrayPermuteDimsView
- set(Number, int...) - Method in class io.github.hakkelt.ndarrays.internal.RealNDArrayReshapeView
- set(Number, int...) - Method in class io.github.hakkelt.ndarrays.internal.RealNDArraySliceView
- set(Number, int...) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Sets the value of an element specified by cartesian indexing.
- set(T, int) - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArray
- set(T, int) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Sets the value of an element specified by linear indexing.
- set(T, int...) - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArray
- set(T, int...) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Sets the value of an element specified by cartesian indexing.
- setImag(Number, int) - Method in class io.github.hakkelt.ndarrays.AbstractComplexNDArray
- setImag(Number, int) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
-
Sets the imaginary part of an element specified by linear indexing.
- setImag(Number, int) - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArrayMaskView
- setImag(Number, int) - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArrayPermuteDimsView
- setImag(Number, int) - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArrayReshapeView
- setImag(Number, int) - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArraySliceView
- setImag(Number, int...) - Method in class io.github.hakkelt.ndarrays.AbstractComplexNDArray
- setImag(Number, int...) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
-
Sets the imaginary part of an element specified by cartesian indexing.
- setImag(Number, int...) - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArrayMaskView
- setImag(Number, int...) - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArrayPermuteDimsView
- setImag(Number, int...) - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArrayReshapeView
- setImag(Number, int...) - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArraySliceView
- setImag(T2, int) - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArray
- setImag(T2, int...) - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArray
- setReal(Number, int) - Method in class io.github.hakkelt.ndarrays.AbstractComplexNDArray
- setReal(Number, int) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
-
Sets the real part of an element specified by linear indexing.
- setReal(Number, int) - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArrayMaskView
- setReal(Number, int) - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArrayPermuteDimsView
- setReal(Number, int) - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArrayReshapeView
- setReal(Number, int) - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArraySliceView
- setReal(Number, int...) - Method in class io.github.hakkelt.ndarrays.AbstractComplexNDArray
- setReal(Number, int...) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
-
Sets the real part of an element specified by cartesian indexing.
- setReal(Number, int...) - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArrayMaskView
- setReal(Number, int...) - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArrayPermuteDimsView
- setReal(Number, int...) - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArrayReshapeView
- setReal(Number, int...) - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArraySliceView
- setReal(T2, int) - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArray
- setReal(T2, int...) - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArray
- shape() - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArray
- shape() - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Returns the dimensions of the array.
- shape(int) - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArray
- shape(int) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Returns the shape of the array along a specific dimension/axis.
- SHORT - Static variable in class io.github.hakkelt.ndarrays.internal.DataTypeEnum
- similar() - Method in class io.github.hakkelt.ndarrays.AbstractComplexNDArray
- similar() - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- similar() - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArray
- similar() - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArrayView
- similar() - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArrayMaskView
- similar() - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArrayPermuteDimsView
- similar() - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArrayReshapeView
- similar() - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArraySliceView
- similar() - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Returns a new array of the same shape as this NDArray filled with zeros.
- slice(ComplexNDArray<T2>, Object...) - Method in class io.github.hakkelt.ndarrays.internal.ViewOperations
- slice(RealNDArray<T2>, Object...) - Method in class io.github.hakkelt.ndarrays.internal.ViewOperations
- slice(Object...) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- slice(Object...) - Method in interface io.github.hakkelt.ndarrays.internal.RealNDArray
- slice(Object...) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Returns an array view referencing this NDArray as parent that gives read-write access to a specific multi-dimensional slice of the array.
- SLICE_DIMENSION_MISMATCH - Static variable in class io.github.hakkelt.ndarrays.internal.Errors
-
Dimension mismatch: cannot slice %s array with the following slicing expression: %s
- SLICE_OUT_OF_BOUNDS - Static variable in class io.github.hakkelt.ndarrays.internal.Errors
-
Bounds error: cannot slice %s array with the following slicing expression: %s
- SliceOperations - Class in io.github.hakkelt.ndarrays.internal
- SlicingExpression - Class in io.github.hakkelt.ndarrays.internal
- SlicingExpression(int[], NormalizedRange[]) - Constructor for class io.github.hakkelt.ndarrays.internal.SlicingExpression
- SlicingExpression(int[], Range[]) - Constructor for class io.github.hakkelt.ndarrays.internal.SlicingExpression
- SlicingExpression(SlicingExpression, NormalizedRange[]) - Constructor for class io.github.hakkelt.ndarrays.internal.SlicingExpression
- SlicingExpression(SlicingExpression, Range[]) - Constructor for class io.github.hakkelt.ndarrays.internal.SlicingExpression
- spliterator() - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArray
- spliterator() - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Creates a Spliterator over the elements in this collection.
- squeeze() - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- squeeze() - Method in interface io.github.hakkelt.ndarrays.internal.RealNDArray
- squeeze() - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Returns a view that references this NDArray as parent, and skips all singleton dimensions.
- squeeze(ComplexNDArray<T2>) - Method in class io.github.hakkelt.ndarrays.internal.ViewOperations
- squeeze(AbstractNDArray<T, T2>) - Method in class io.github.hakkelt.ndarrays.internal.ViewOperations
- startIndex() - Method in class io.github.hakkelt.ndarrays.internal.NormalizedRange
- step() - Method in class io.github.hakkelt.ndarrays.internal.NormalizedRange
- stream() - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArray
- stream() - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Returns a sequential Stream with this collection as its source.
- streamCartesianIndices() - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArray
- streamCartesianIndices() - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Returns a stream of cartesian indices.
- streamCartesianIndices(int...) - Static method in interface io.github.hakkelt.ndarrays.NDArray
-
Returns a stream of int arrays that represent all Cartesian indices of a virtual n-dimensional array with the specified shape.
- streamLinearIndices() - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArray
- streamLinearIndices() - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Returns a stream of linear indices.
- subtract(byte) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- subtract(byte) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Creates a new NDArray of the same shape and fills it with the values of this NDArray minus the given value.
- subtract(double) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- subtract(double) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Creates a new NDArray of the same shape and fills it with the values of this NDArray minus the given value.
- subtract(float) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- subtract(float) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Creates a new NDArray of the same shape and fills it with the values of this NDArray minus the given value.
- subtract(int) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- subtract(int) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Creates a new NDArray of the same shape and fills it with the values of this NDArray minus the given value.
- subtract(long) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- subtract(long) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Creates a new NDArray of the same shape and fills it with the values of this NDArray minus the given value.
- subtract(short) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- subtract(short) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Creates a new NDArray of the same shape and fills it with the values of this NDArray minus the given value.
- subtract(ComplexNDArray<T2>, Object...) - Method in class io.github.hakkelt.ndarrays.internal.ArrayOperations
- subtract(AbstractNDArray<T, T2>, Object...) - Method in class io.github.hakkelt.ndarrays.internal.ArrayOperations
- subtract(NDArray<?>) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- subtract(NDArray<?>) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Creates a new NDArray of the same shape and fills it with the element-wise subtraction of the given NDArray from this NDArray.
- subtract(Object...) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- subtract(Object...) - Method in interface io.github.hakkelt.ndarrays.internal.RealNDArray
- subtract(Object...) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Creates a new NDArray of the same shape and fills it with the result of the element-wise substraction the parameter NDArrays and scalars from this NDArray.
- SUBTRACT - io.github.hakkelt.ndarrays.internal.AccumulateOperators
- subtractInplace(byte) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- subtractInplace(byte) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Updates this NDArray by subtracting the given value from all entries of this NDArray.
- subtractInplace(double) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- subtractInplace(double) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Updates this NDArray by subtracting the given value from all entries of this NDArray.
- subtractInplace(float) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- subtractInplace(float) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Updates this NDArray by subtracting the given value from all entries of this NDArray.
- subtractInplace(int) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- subtractInplace(int) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Updates this NDArray by subtracting the given value from all entries of this NDArray.
- subtractInplace(long) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- subtractInplace(long) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Updates this NDArray by subtracting the given value from all entries of this NDArray.
- subtractInplace(short) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- subtractInplace(short) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Updates this NDArray by subtracting the given value from all entries of this NDArray.
- subtractInplace(ComplexNDArray<T2>, Object...) - Method in class io.github.hakkelt.ndarrays.internal.ArrayOperations
- subtractInplace(AbstractNDArray<T, T2>, Object...) - Method in class io.github.hakkelt.ndarrays.internal.ArrayOperations
- subtractInplace(NDArray<?>) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- subtractInplace(NDArray<?>) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Updates this NDArray with the element-wise subtraction of the given NDArray from this NDArray.
- subtractInplace(Object...) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- subtractInplace(Object...) - Method in interface io.github.hakkelt.ndarrays.internal.RealNDArray
- subtractInplace(Object...) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Updates the elements this NDArray with the result of the element-wise subtraction the parameter NDArrays and scalars from this NDArray.
- sum() - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArray
- sum() - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Returns the sum of all elements in this NDArray.
- sum(int...) - Method in interface io.github.hakkelt.ndarrays.ComplexNDArray
- sum(int...) - Method in interface io.github.hakkelt.ndarrays.internal.RealNDArray
- sum(int...) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Returns the sum of all elements along the specified dimensions in this NDArray.
- supplier() - Method in class io.github.hakkelt.ndarrays.internal.ComplexNDArrayCollector
- supplier() - Method in class io.github.hakkelt.ndarrays.internal.RealNDArrayCollector
T
- toArray() - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArray
- toArray() - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Returns an array containing all of the elements in this collection.
- toArray(A) - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArray
- toArray(A) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Returns an array containing all of the elements in this collection; the runtime type of the returned array is that of the specified array.
- toArray(IntFunction<A>) - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArray
- toArray(IntFunction<A>) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Returns an array containing all of the elements in this collection, using the provided generator function to allocate the returned array.
- TOARRAY_COMPLEX_TO_REAL_ARRAY - Static variable in class io.github.hakkelt.ndarrays.internal.Errors
-
Cannot copy complex values to a real array!
- TOARRAY_DEPTH_MISMATCH - Static variable in class io.github.hakkelt.ndarrays.internal.Errors
-
The depth of the input array (%d) doesn't match the number of dimensions (%d) in this NDArray!
- toString() - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArray
- toString() - Method in class io.github.hakkelt.ndarrays.internal.SlicingExpression
- toString() - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Returns a String containing type and shape information.
- toString() - Method in class io.github.hakkelt.ndarrays.Range
- toString(Range[]) - Static method in class io.github.hakkelt.ndarrays.internal.SlicingExpression
- tryAdvance(Consumer<? super int[]>) - Method in class io.github.hakkelt.ndarrays.internal.CartesianIndexSpliterator
- trySplit() - Method in class io.github.hakkelt.ndarrays.internal.CartesianIndexSpliterator
U
- UNSUPPORTED_TYPE - Static variable in class io.github.hakkelt.ndarrays.internal.Errors
-
Reading values from an array of type %s is not supported!
- unwrap(int[], int[]) - Static method in class io.github.hakkelt.ndarrays.NDArrayUtils
- unwrap(int, int) - Static method in class io.github.hakkelt.ndarrays.NDArrayUtils
V
- valueOf(String) - Static method in enum io.github.hakkelt.ndarrays.internal.AccumulateOperators
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum io.github.hakkelt.ndarrays.internal.AccumulateOperators
-
Returns an array containing the constants of this enum type, in the order they are declared.
- ViewOperations<T,T2 extends Number> - Class in io.github.hakkelt.ndarrays.internal
-
Utility class for operations creating views: slice, permuteDims, reshape, mask, concatenate, selectDims, dropDims, squeeze.
- ViewOperations() - Constructor for class io.github.hakkelt.ndarrays.internal.ViewOperations
W
- writeToFile(File) - Method in class io.github.hakkelt.ndarrays.internal.AbstractNDArray
- writeToFile(File) - Method in interface io.github.hakkelt.ndarrays.NDArray
-
Save content of the NDArray to the given file.
- writeToFile(File, AbstractNDArray<T, T2>) - Method in class io.github.hakkelt.ndarrays.internal.FileOperations
All Classes All Packages