CUQI-DTU / CUQIpy

https://cuqi-dtu.github.io/CUQIpy/
Apache License 2.0
48 stars 9 forks source link

Add method to display easy-to-read string for Samples object #468

Closed taniagoia11 closed 3 months ago

taniagoia11 commented 3 months ago

Description

when calling the function print on the array .sample(n>1) the output is cuqi.samples._samples.Samples object at 0x0000013513CFA3C0

It would be more useful to display some meaningful information, such as its dimension.

chaozg commented 3 months ago

Hi @taniagoia11 , thanks for raising this issue. I agree it might be more convenient if we display more custom information about the Samples object.