SciSharp / NumSharp

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

Unhandled Exception: System.NotSupportedException: Specified method is not supported. #471

Open KabindaEX opened 2 years ago

KabindaEX commented 2 years ago

I am getting an error at this line of code: double theta3_2 = Math.Atan2(a3, d4) - Math.Atan2(K / p3, -np.sqrt(np.power(1 - (K / p3), 2)));

Unhandled Exception: System.NotSupportedException: Specified method is not supported. at NumSharp.Backends.DefaultEngine.Negate(NDArray& nd) in D:\SciSharp\NumSharp\src\NumSharp.Core\Backends\Default\Math\Default.Negate.cs:line 119 at NumSharp.NDArray.op_UnaryNegation(NDArray x) in D:\SciSharp\NumSharp\src\NumSharp.Core\Operations\Elementwise\NDArray.Primitive.cs:line 10 at Robotics.InverseNP.Main(String[] args) in C:\Users..........................