ucar.ma2
Class ArrayFloat.D4

java.lang.Object
  extended by ucar.ma2.Array
      extended by ucar.ma2.ArrayFloat
          extended by ucar.ma2.ArrayFloat.D4
Enclosing class:
ArrayFloat

public static class ArrayFloat.D4
extends ArrayFloat

Concrete implementation of Array specialized for floats, rank 4.


Nested Class Summary
 
Nested classes/interfaces inherited from class ucar.ma2.ArrayFloat
ArrayFloat.D0, ArrayFloat.D1, ArrayFloat.D2, ArrayFloat.D3, ArrayFloat.D4, ArrayFloat.D5, ArrayFloat.D6, ArrayFloat.D7
 
Field Summary
 
Fields inherited from class ucar.ma2.ArrayFloat
storage
 
Fields inherited from class ucar.ma2.Array
indexCalc, rank, unsigned
 
Constructor Summary
ArrayFloat.D4(int len0, int len1, int len2, int len3)
          Constructor for array of shape {len0,len1,len2,len3}.
 
Method Summary
 float get(int i, int j, int k, int l)
          get the value.
 void set(int i, int j, int k, int l, float value)
          set the value.
 
Methods inherited from class ucar.ma2.ArrayFloat
get, getBoolean, getBoolean, getByte, getByte, getChar, getChar, getDataAsByteBuffer, getDouble, getDouble, getElementType, getFloat, getFloat, getInt, getInt, getLong, getLong, getObject, getObject, getShort, getShort, getStorage, set, setBoolean, setBoolean, setByte, setByte, setChar, setChar, setDouble, setDouble, setFloat, setFloat, setInt, setInt, setLong, setLong, setObject, setObject, setShort, setShort
 
Methods inherited from class ucar.ma2.Array
arraycopy, copy, copyTo1DJavaArray, copyToNDJavaArray, factory, factory, factory, factory, factory, factory, factoryConstant, flip, get1DJavaArray, getIndex, getIndexIterator, getIndexIteratorFast, getIndexPrivate, getRangeIterator, getRank, getShape, getSize, getSizeBytes, hasNext, isConstant, isUnsigned, makeArray, makeArray, makeArray, next, nextBoolean, nextByte, nextChar, nextDouble, nextFloat, nextInt, nextLong, nextShort, permute, reduce, reduce, resetLocalIterator, reshape, reshapeNoCopy, section, section, section, sectionNoReduce, sectionNoReduce, setUnsigned, shapeToString, slice, toString, transpose
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ArrayFloat.D4

public ArrayFloat.D4(int len0,
                     int len1,
                     int len2,
                     int len3)
Constructor for array of shape {len0,len1,len2,len3}.

Method Detail

get

public float get(int i,
                 int j,
                 int k,
                 int l)
get the value.


set

public void set(int i,
                int j,
                int k,
                int l,
                float value)
set the value.



Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.