SciSharp / CodeMinion

A code generator framework capable of auto-generating the APIs of several SciSharp libraries.
Apache License 2.0
35 stars 13 forks source link

Add conversion from System.Type to Dtype #9

Closed epignatelli closed 4 years ago

epignatelli commented 5 years ago

Hi guys.

This pr is picking up some commented out code I found useful. It provides an implementation of the conversion between System.Types and Dtypes.

I found no //autogenerated header, so I suppose that the file is generated manually.

I'll push to Numpy.net as soon as this gets merged.

henon commented 5 years ago

Please add a unit test for the two methods, thanks!