Pretty-printing D arrays with Mir

tastyminerals tastyminerals at gmail.com
Thu Jun 11 18:37:04 UTC 2020


On Monday, 1 June 2020 at 21:25:02 UTC, jmh530 wrote:
> On Monday, 1 June 2020 at 19:51:34 UTC, tastyminerals wrote:
>> [...]
>
> Yeah, mir is kind of bare bones for some stuff.
>
> I had meant to include the link before
> https://github.com/libmir/numir/pull/10
> If you look at some of the unittests you can see how it's 
> different. I separated out the different tensors with extra 
> lines between them, which isn't as easy to read. However, I 
> think bigger than a 3-d tensor is relatively uncommon. It might 
> be some work to get it to work since all the functions would 
> need to be re-written to take into account the mir's new format 
> facilities, but I probably wouldn't have to change the 
> unittests too much.
>
> [...]

I see. I shall take a look, thanks.


More information about the Digitalmars-d-announce mailing list