vec_math
Class Bootstrap.ExchangedData

java.lang.Object
  extended by vec_math.Bootstrap.ExchangedData
Enclosing class:
Bootstrap

private static class Bootstrap.ExchangedData
extends Object

Helper class containing an exchanged data set. This class can do nothing except storing of multiple vectors needed for a regression.


Field Summary
private  VectorG err
          Measurement errors, might be null.
private  VectorG errdrop
          These data is those dropped from the original set, meas errs.
private  VectorG[] x
          The values of the dependables where y was measured.
private  VectorG[] xdrop
          These data is those dropped from the original set, dependent x.
private  VectorG y
          The measured values.
private  VectorG ydrop
          These data is those dropped from the original set, measures.
 
Constructor Summary
private Bootstrap.ExchangedData(VectorG[] xsim, VectorG ysim, VectorG errsim)
          Constructs a new container for a simulated data set.
private Bootstrap.ExchangedData(VectorG[] xsim, VectorG ysim, VectorG errsim, VectorG[] xd, VectorG yd, VectorG errd)
          Constructs a new container for a simulated data set.
 
Method Summary
 VectorG getDroppedErr()
          Returns the errors dropped from the original set or null if unspecified.
 VectorG[] getDroppedX()
          Returns the dependables dropped from the original set.
 VectorG getDroppedY()
          Returns the measurements dropped from the original set.
 VectorG getErr()
          Returns the errors or null if unspecified.
 VectorG[] getX()
          Returns the dependables.
 VectorG getY()
          Returns the measurements.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

x

private VectorG[] x
The values of the dependables where y was measured.


y

private VectorG y
The measured values.


err

private VectorG err
Measurement errors, might be null.


xdrop

private VectorG[] xdrop
These data is those dropped from the original set, dependent x.


ydrop

private VectorG ydrop
These data is those dropped from the original set, measures.


errdrop

private VectorG errdrop
These data is those dropped from the original set, meas errs.

Constructor Detail

Bootstrap.ExchangedData

private Bootstrap.ExchangedData(VectorG[] xsim,
                                VectorG ysim,
                                VectorG errsim)
Constructs a new container for a simulated data set.


Bootstrap.ExchangedData

private Bootstrap.ExchangedData(VectorG[] xsim,
                                VectorG ysim,
                                VectorG errsim,
                                VectorG[] xd,
                                VectorG yd,
                                VectorG errd)
Constructs a new container for a simulated data set.

Method Detail

getX

public VectorG[] getX()
Returns the dependables.


getY

public VectorG getY()
Returns the measurements.


getErr

public VectorG getErr()
Returns the errors or null if unspecified.


getDroppedX

public VectorG[] getDroppedX()
Returns the dependables dropped from the original set.


getDroppedY

public VectorG getDroppedY()
Returns the measurements dropped from the original set.


getDroppedErr

public VectorG getDroppedErr()
Returns the errors dropped from the original set or null if unspecified.