function result = sum(v)

result = sum(v.memmap.data);
