2D matrix operation (subtraction)

9il ilyayaroshenko at gmail.com
Sat Feb 22 08:29:32 UTC 2020


On Friday, 21 February 2020 at 13:42:24 UTC, Andre Pany wrote:
> Mir is great and actually I try to rewrite some Python Pandas 
> Dataframe index logic.

Maybe mir.series [1] can work for you.

Series!(Key*, Value*) - is a pair of two 1D ndslices, they can be 
sorted according to the first one ndslice (keys). Series has 
`get` methods.

Series!(Key*, Value*, 2) is a pair of 1D ndslice (keys) and 2D 
ndslice (values matrix).

Series has slicing primitives.

Keys corresponds to the first dimension.

http://mir-algorithm.libmir.org/mir_series.html#Series


More information about the Digitalmars-d-learn mailing list