public class VHolder
extends java.lang.Object
Constructor and Description |
---|
VHolder()
Dummy initialisator
|
VHolder(DataHolder dh)
Get Vectors from multidimensional data container
|
VHolder(F1D ff)
Create a VHolder object with F1D function
|
VHolder(H1D hh)
Create a VHolder object with H1D histogram
|
Modifier and Type | Method and Description |
---|---|
int |
dimen()
Return the dimension of the data
|
void |
doc()
Show online documentation.
|
java.lang.Double[][] |
getData()
Return a Vector with the data (rows of the dimension obtained by calling
dimen()).
|
java.lang.String[] |
getNames()
Return Vector with the names
|
java.lang.String |
getTitle()
Get title of the container
|
void |
setData(double[] data)
Set data from 1D array
|
void |
setData(double[][] data)
Set data from 2D array
|
int |
size()
Return the size of the data, i.e.
|
public VHolder()
public VHolder(H1D hh)
hh
- Input histogrampublic VHolder(F1D ff)
ff
- Input functionpublic VHolder(DataHolder dh)
dh
- Input datapublic java.lang.String getTitle()
public java.lang.String[] getNames()
public java.lang.Double[][] getData()
public void setData(double[][] data)
data
- 2D arraypublic void setData(double[] data)
data
- 1D arraypublic int dimen()
public int size()
public void doc()
JHepSim. A part of HSTOOLS. version-1.2