public class MouldArrayImpl extends WrapperArrayImpl
| Constructor and Description |
|---|
MouldArrayImpl(NDArray nda,
NDShape shape)
Creates a new ArrayImpl which which uses the pixels from an underlying
NDArray moulded into a different shape (origin/dimensions).
|
| Modifier and Type | Method and Description |
|---|---|
OrderedNDShape |
getShape()
Returns an object representing the shape (origin and dimensions)
and pixel sequence of this object.
|
canMap, close, getAccess, getBadValue, getMapped, getType, getWrapped, isRandom, isReadable, isWritable, multipleAccess, open, toStringpublic MouldArrayImpl(NDArray nda, NDShape shape)
nda - the base NDArray which will supply the pixelsshape - the shape which this NDArray is to haveIllegalArgumentException - if shape is does not have the
same number of pixels as the shape of ndapublic OrderedNDShape getShape()
ArrayImplgetShape in interface ArrayImplgetShape in class WrapperArrayImplCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.