jhplot
Class DProxy
- java.lang.Object
- jhplot.DProxy
- All Implemented Interfaces:
- Serializable
public class DProxyextends Objectimplements Serializable
A proxy for all DataMelt objects. This does not save graphical options since designed for interchange between different programs.- See Also:
- Serialized Form
Constructor Summary
Constructors Constructor and Description DProxy()
DProxy(H1D h)
Create a proxy for histogram.DProxy(P0D hh)
Create a proxy for D2 of DMelt.DProxy(P0I hh)
DProxy(P1D hh)
Create a proxy for D2 of DMelt.DProxy(P2D hh)
Create a proxy for D2 of DMelt.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description void
doc()
Show online documentation.Object
get()
Get objects.Double[]
getD1()
Return a 1D Vector with the D1Double[][]
getD2()
Return a 2D Vector with the D2String[]
getNames()
Return Vector with the namesString
getTitle()
Get the title of the function.String
getType()
Get type of this function.void
setD1(Double[] D1)
Set D1 from 2D arrayvoid
setD2(Double[][] D2)
Set D2 from 2D arrayvoid
setNames(String[] names)
Set names from 2D arrayvoid
setTitle(String title)
Set title.void
setType(String type)
String
toString()
Constructor Detail
DProxy
public DProxy()
DProxy
public DProxy(H1D h)
Create a proxy for histogram.- Parameters:
h
- input histogram
DProxy
public DProxy(P1D hh)
Create a proxy for D2 of DMelt.- Parameters:
P1D
- hh
DProxy
public DProxy(P2D hh)
Create a proxy for D2 of DMelt.- Parameters:
P2D
- hh
DProxy
public DProxy(P0D hh)
Create a proxy for D2 of DMelt.- Parameters:
P2D
- hh
DProxy
public DProxy(P0I hh)
Method Detail
get
public Object get()
Get objects.- Returns:
- corresponding object.
getType
public String getType()
Get type of this function.- Returns:
- type. 100+dimension - P1D type
getTitle
public String getTitle()
Get the title of the function.- Returns:
- Title
setTitle
public void setTitle(String title)
Set title.- Parameters:
title
-
setType
public void setType(String type)
getD2
public Double[][] getD2()
Return a 2D Vector with the D2- Returns:
- actual D2
setD1
public void setD1(Double[] D1)
Set D1 from 2D array- Parameters:
D1
- 2D array
getD1
public Double[] getD1()
Return a 1D Vector with the D1- Returns:
- actual D1
setD2
public void setD2(Double[][] D2)
Set D2 from 2D array- Parameters:
D2
- 2D array
setNames
public void setNames(String[] names)
Set names from 2D array- Parameters:
D2
- 2D array
doc
public void doc()
Show online documentation.
getNames
public String[] getNames()
Return Vector with the names- Returns:
- Names of the columns
DMelt 2.7 © DataMelt by jWork.ORG