BIE::Data Class Reference

Defines a single data point, now with multiple attributes. More...

#include <Data.h>

List of all members.

Public Member Functions

 Data (int length)
 Constructor.
double & weight ()
 Get weight of data point.
void resize (int size)
 Resize data.
vector< double > & attribute ()
 Get attribute data.
void set_x (double x_in)
 Set the x-value.
void set_y (double y_in)
 Set the y-value.
void set_w (double w_in)
 Set the weight value.
void set_attrib (int position, double value)
 Set the attribute at at.
double & operator[] (int i)
 Overloaded [] to get attributes of data point.
double operator[] (int i) const
 Constant.
double & x ()
 Get X value of data.
double x () const
 Constant.
double & y ()
 Get X value of data.
double y () const
 Constant.


Detailed Description

Defines a single data point, now with multiple attributes.

Member Function Documentation

double& BIE::Data::operator[] ( int  i  )  [inline]

Overloaded [] to get attributes of data point.

Assignable

double& BIE::Data::x (  )  [inline]

Get X value of data.

Assignable

double& BIE::Data::y (  )  [inline]

Get X value of data.

Assignable

void BIE::Data::set_attrib ( int  position,
double  value 
) [inline]

Set the attribute at at.

Parameters:
position to
value 


The documentation for this class was generated from the following file:
  • /home/weinberg/src/BIE/include/Data.h

Send suggestions, questions, and feedback to WEINBERG at ASTRO dot UMASS dot EDU.
Documentation generated at Fri Mar 26 00:35:12 2010 by doxygen