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, toString
Methods inherited from interface net.algart.arrays.PArray
asImmutable, asTrustedImmutable, bitsPerElement, getDouble, indexOf, isZeroFilled, jaByte, jaDouble, jaFloat, jaInt, jaLong, jaShort, lastIndexOf, maxPossibleValue, minPossibleValue, mutableClone, updatableClone
Methods inherited from interface net.algart.arrays.PNumberArray
mutableType, type, updatableType
Methods inherited from interface net.algart.arrays.UpdatableArray
asCopyOnNextWrite, copy, copy, copy, setData, setData, setElement, setNonNew, shallowClone, swap, swap, swap
Methods 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:Array
Equivalent tomatrix
(thisArray, dim).- Specified by:
matrix
in interfaceArray
- Specified by:
matrix
in interfacePArray
- Specified by:
matrix
in interfacePNumberArray
- Specified by:
matrix
in interfaceUpdatableArray
- Specified by:
matrix
in interfaceUpdatablePArray
- Parameters:
dim
- the matrix dimensions.- Returns:
- new matrix backed by array with the given dimensions.
-