##// END OF EJS Templates
Completed README with basic informations....
Completed README with basic informations. Added SciQLop logo. Added GPLv3 license file. Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r188:a02da6065266
r236:da92dd478eb7
Show More
ScalarSeries.cpp
13 lines | 416 B | text/x-c | CppLexer
#include <Data/ScalarSeries.h>
ScalarSeries::ScalarSeries(int size, const Unit &xAxisUnit, const Unit &valuesUnit)
: DataSeries{std::make_shared<ArrayData<1> >(size), xAxisUnit,
std::make_shared<ArrayData<1> >(size), valuesUnit}
{
}
void ScalarSeries::setData(int index, double x, double value) noexcept
{
xAxisData()->setData(index, x);
valuesData()->setData(index, value);
}