I need to save/serialize three data structures [viz., one DenseVector, one DenseMatrix and one double] at the same time and subsequently retrieve those. Probably I need to create a class in Scala with these three members, create an object and finally serialize the object. Is there any other/better way to do the same in Scala?
Thanks and regards,