FreeHEP API
Version current

hep.io.hbook
Interface PawDoubleArray

All Superinterfaces:
PawArray

public interface PawDoubleArray
extends PawArray

An array whose elements are of type double

Source Code:
PawDoubleArray.java

Method Summary
 double[] getAsJavaArray()
          Convert the PAW array to a Java array.
 double getDouble(int i)
          Convenience method for accessing elements of 1 dimension arrays Note for compatibility with Fortran/PAW all arrays are indexed from 1
 double getDouble(int[] i)
          Access an element of an array of arbitrary dimension
 double getDouble(int i, int j)
          Convenience method for accessing elements of 2 dimension arrays Note for compatibility with Fortran/PAW all arrays are indexed from 1
 double getDouble(int i, int j, int k)
          Convenience method for accessing elements of 3 dimension arrays Note for compatibility with Fortran/PAW all arrays are indexed from 1
 
Methods inherited from interface hep.io.hbook.PawArray
getDimension, getNDimensions
 

Method Detail

getAsJavaArray

public double[] getAsJavaArray()
Convert the PAW array to a Java array. All of the element of the array are returned as a single 1-dimensional Java array.


getDouble

public double getDouble(int i)
Convenience method for accessing elements of 1 dimension arrays Note for compatibility with Fortran/PAW all arrays are indexed from 1


getDouble

public double getDouble(int i,
                        int j)
Convenience method for accessing elements of 2 dimension arrays Note for compatibility with Fortran/PAW all arrays are indexed from 1


getDouble

public double getDouble(int i,
                        int j,
                        int k)
Convenience method for accessing elements of 3 dimension arrays Note for compatibility with Fortran/PAW all arrays are indexed from 1


getDouble

public double getDouble(int[] i)
Access an element of an array of arbitrary dimension

Parameters:
i - The index for the element to access Note for compatibility with Fortran/PAW all arrays are indexed from 1

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.