Documentation API of the 'jhplot.VHolder' Java class
VHolder
jhplot

Class VHolder



  • public class VHolderextends Object
    A class to transform any HPlot container (H1D,H2D,P1D..) to a vector for further manipulations
    • Constructor Detail

      • VHolder

        public VHolder()
        Dummy initialisator
      • VHolder

        public VHolder(H1D hh)
        Create a VHolder object with H1D histogram
        Parameters:
        hh - Input histogram
      • VHolder

        public VHolder(F1D ff)
        Create a VHolder object with F1D function
        Parameters:
        ff - Input function
      • VHolder

        public VHolder(DataHolder dh)
        Get Vectors from multidimensional data container
        Parameters:
        dh - Input data
      • VHolder

        public VHolder(PND hh)
        Show PND
        Parameters:
        hh -
      • VHolder

        public VHolder(PNI hh)
        Show PNI
        Parameters:
        hh -
      • VHolder

        public VHolder(P1D hh)
        Create a VHolder object from P1D container. The size of the vectors will be adjusted depending on the size of P1D
        Parameters:
        hh - Input P1D container
      • VHolder

        public VHolder(P2D hh)
        Create a VHolder object from P2D container. The size of the vectors will be adjusted depending on the size of P2D
        Parameters:
        hh - Input P2D container
      • VHolder

        public VHolder(P0D hh)
        Create a VHolder object from P0D container. The size of the vectors will be adjusted depending on the size of P0D
        Parameters:
        hh - Input P0D container
      • VHolder

        public VHolder(P0I hh)
        Create a VHolder object from P0I container. The size of the vectors will be adjusted depending on the size of P0I
        Parameters:
        hh - Input P0I container
      • VHolder

        public VHolder(P3D hh)
        Create a VHolder object from P3D container. The size of the vectors will be adjusted depending on the size of P3D
        Parameters:
        hh - Input P3D container
    • Method Detail

      • getTitle

        public String getTitle()
        Get title of the container
        Returns:
        Title
      • getNames

        public String[] getNames()
        Return Vector with the names
        Returns:
        Names of the columns
      • getData

        public Double[][] getData()
        Return a Vector with the data (rows of the dimension obtained by calling dimen()).
        Returns:
        actual data
      • setData

        public void setData(double[][] data)
        Set data from 2D array
        Parameters:
        data - 2D array
      • setData

        public void setData(double[] data)
        Set data from 1D array
        Parameters:
        data - 1D array
      • dimen

        public int dimen()
        Return the dimension of the data
        Returns:
        Dimension
      • size

        public int size()
        Return the size of the data, i.e. the number of rows
        Returns:
        The number of rows
      • doc

        public void doc()
        Show online documentation.

SCaVis 2.2 © jWork.ORG

Warning: You see this message because an access to the SCaVis documentation for third-party Java classes is denied. Guests can only view jhplot Java API. To enable the description of all Java classes of SCaVis, please request the full SCaVis membership.

If you are already a full member, please login to the SCaVis member area before visiting this documentation.