I have a problem with the following situation. Instead of using a standard datatype in my datatable column I have the following XYSet structure.
public struct XYSet
{
public int x1;
public int y1;
public int x2;
public int y2;
public double rc;
public double offset;
}
m_resultTable.Columns.Add(new DataColumn("A", typeof(XYSet)));
m_resultTable.Columns.Add(new DataColumn("B", typeof(XYSet)));
Now I would like to use the Compute function of DataTable in order to calculate the standard deviation of the rc values in both A and B XYSet column. Is it possible the use the Compute function or do I have t create a new datatable having all structure values in a their own column after which the Compute function can be used.
Thanks for helping me out.
Regards,
Frank