Package net.algart.arrays
Interface UpdatablePNumberArray
- All Superinterfaces:
Array,ArrayExchanger,PArray,PNumberArray,UpdatableArray,UpdatablePArray
- All Known Subinterfaces:
MutableByteArray,MutableDoubleArray,MutableFloatArray,MutableIntArray,MutableLongArray,MutablePFloatingArray,MutablePIntegerArray,MutablePNumberArray,MutableShortArray,UpdatableByteArray,UpdatableDoubleArray,UpdatableFloatArray,UpdatableIntArray,UpdatableLongArray,UpdatablePFloatingArray,UpdatablePIntegerArray,UpdatableShortArray
- All Known Implementing Classes:
AbstractUpdatableByteArray,AbstractUpdatableDoubleArray,AbstractUpdatableFloatArray,AbstractUpdatableIntArray,AbstractUpdatableLongArray,AbstractUpdatableShortArray
AlgART array of any primitive numeric elements (byte, short, int, long, float or double), read-only access.
Any class implementing this interface must implement one of
UpdatableByteArray, UpdatableShortArray,
UpdatableIntArray, UpdatableLongArray,
UpdatableFloatArray, UpdatableDoubleArray,
subinterfaces.
- Author:
- Daniel Alievsky
-
Method Summary
Modifier and TypeMethodDescriptiondefault Matrix<? extends UpdatablePNumberArray>matrix(long... dim) Equivalent tomatrix(thisArray, dim).Methods inherited from interface net.algart.arrays.Array
buffer, buffer, buffer, buffer, byteOrder, capacity, checkUnallowedMutation, elementType, equals, flushResources, flushResources, freeResources, freeResources, getData, getData, getElement, hashCode, isCopyOnNextWrite, isEmpty, isImmutable, isLazy, isNew, isNewReadOnlyView, isUnresizable, ja, length, length32, loadResources, newJavaArray, toStringMethods inherited from interface net.algart.arrays.PArray
asImmutable, asTrustedImmutable, bitsPerElement, getDouble, indexOf, isZeroFilled, jaByte, jaDouble, jaFloat, jaInt, jaLong, jaShort, lastIndexOf, maxPossibleValue, minPossibleValue, mutableClone, updatableCloneMethods inherited from interface net.algart.arrays.PNumberArray
mutableType, type, updatableTypeMethods inherited from interface net.algart.arrays.UpdatableArray
asCopyOnNextWrite, copy, copy, copy, setData, setData, setElement, setNonNew, shallowClone, swap, swap, swapMethods inherited from interface net.algart.arrays.UpdatablePArray
asUnresizable, fill, fill, fill, fill, setDouble, setInt, setLong, subArr, subArray, updatableType
-
Method Details
-
matrix
Description copied from interface:ArrayEquivalent tomatrix(thisArray, dim).- Specified by:
matrixin interfaceArray- Specified by:
matrixin interfacePArray- Specified by:
matrixin interfacePNumberArray- Specified by:
matrixin interfaceUpdatableArray- Specified by:
matrixin interfaceUpdatablePArray- Parameters:
dim- the matrix dimensions.- Returns:
- new matrix backed by array with the given dimensions.
-