SciSharp / NumSharp

High Performance Computation for N-D Tensors in .NET, similar API to NumPy.
https://github.com/SciSharp
Apache License 2.0
1.36k stars 189 forks source link

np.less not implemented for two NDArrays #385

Closed JamieMair closed 4 years ago

JamieMair commented 4 years ago

If I have two NDArrays, a and b, which both have the same shape, I want to be able to write: c = a < b Such that c is the same shape as a and b and of boolean type. I see this as an implementation of the np.less function but this is not bound. At the moment I get the following error: NumSharp.IncorrectShapeException HResult=0x80131500 Message=This method does not work with this shape or was not already implemented. Source=NumSharp.Core StackTrace: at NumSharp.NDArray.op_Implicit(NDArray nd)...

JamieMair commented 4 years ago

This is related to https://github.com/SciSharp/NumSharp/issues/362. The methods are simply not implemented.