Documentation of 'org.jlab.groot.matrix.SparseIndex' Java class
SparseIndex
org.jlab.groot.matrix

Class SparseIndex



  • public class SparseIndex
    extends java.lang.Object
    • Constructor Detail

      • SparseIndex

        public SparseIndex(int[] binsPerAxis)
    • Method Detail

      • getKey

        public long getKey(int[] bin)
      • isCompatible

        public boolean isCompatible(SparseIndex sindex)
        Checks two SparseIndex classes for compatability. The rank as well as the number of bins in each dimension have to be equal for the SparseIndex to be compatible !
        Parameters:
        sindex - SparseIndex class
        Returns:
        true is compatible, false otherwise
      • getKeyFast

        public long getKeyFast(int[] bin)
      • getIndex

        public void getIndex(long key,
                             int[] bin)
      • getOffset

        public int getOffset(int axis)
      • getRank

        public int getRank()
      • getBinsPerAxis

        public int[] getBinsPerAxis()
      • getBinsPerAxisCopy

        public int[] getBinsPerAxisCopy()
      • getBitsPerAxis

        public int[] getBitsPerAxis()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.