233 |
} |
} |
234 |
|
|
235 |
// get the space for the data vector |
// get the space for the data vector |
236 |
int len = DataArrayView::noValues(tempShape); |
int len = DataTypes::noValues(tempShape); |
237 |
DataVector temp_data(len, 0.0, len); |
DataVector temp_data(len, 0.0, len); |
238 |
DataArrayView temp_dataView(temp_data, tempShape); |
DataArrayView temp_dataView(temp_data, tempShape); |
239 |
temp_dataView.copy(value); |
temp_dataView.copy(value); |
257 |
{ |
{ |
258 |
// |
// |
259 |
// resize data array to the required size |
// resize data array to the required size |
260 |
m_data.resize(noSamples,noDataPointsPerSample,DataArrayView::noValues(shape)); |
m_data.resize(noSamples,noDataPointsPerSample,DataTypes::noValues(shape)); |
261 |
// |
// |
262 |
// create the data view of the data array |
// create the data view of the data array |
263 |
DataArrayView temp(m_data.getData(),shape); |
DataArrayView temp(m_data.getData(),shape); |