#if !defined HINDEXTRANSFORM_H
#define HINDEXTRANSFORM_H

//-------------------------------------------------------------------------
//
// File name:       hindextransform.h
// Subject:         Index transformations between multi and one dimensional
//                  arrays.
// Author:          D.Vasiliev (INFN-LNS, Catania) "vassili@lns.infn.it"
// Date:            February 2000
//
//-------------------------------------------------------------------------
//
// Description:
//
// This file contains the declaration of the class HIndexTransform.
// This class contains a set of static functions which allow to perform
// index transformations between multi and one dimensional arrays.
//
//-------------------------------------------------------------------------

#include "TObject.h"

class HIndexTransform : public TObject {

 public:

  HIndexTransform() : TObject() {}
  virtual ~HIndexTransform() {}
  static Int_t  mult2lin(Int_t n, Int_t* maxind, Int_t* idx);
  static Bool_t lin2mult(Int_t n, Int_t* maxind, Int_t idx, Int_t* retar);
  static void  print(Int_t n, Int_t* maxind, Int_t* idx);
  static void print(Int_t n, Int_t* maxind, Int_t idx);

 public:
  
  ClassDef(HIndexTransform,0) //Index transformations between multi and one dimensional arrays

};

#endif






Last change: Sat May 22 12:58:11 2010
Last generated: 2010-05-22 12:58

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.