public override void Add(Floatarray v, int c)
{
CHECK_ARG(NarrayUtil.Min(v) >= 0.0f && NarrayUtil.Max(v) <= 1.0f, "float8: value out of range (0..1)");
CHECK_ARG(c >= -1, "c>=-1");
if (c >= nc) nc = c + 1;
if (nf < 0) nf = v.Length();
Narray<byte> newDataItem = data.Push(new Narray<byte>());
Copy(newDataItem, v);
classes.Push(c);
CHECK_ARG(nc > 0, "nc>0");
CHECK_ARG(nf > 0, "nf>0");
}