Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[january-dev] Dataset resize function

Dear Peter, 

I would like to know what is the difference between a resize and a Slice, because here:

double[] obj = new double[] { 4.2, -7.9, 6.10, 0.0 };

Dataset input = DatasetFactory.createFromObject(class1, obj);
input.resize(1,2);
System.out.println(input.toString(true));


This is showing me: Dataset [[4,1999998, -7,9000001]]

So I lose some values by doing the resize, is it like a Slice?


Thanks a lot,


Best regards.


Sachot Pierre.


Back to the top