ext/nmatrix/data/meta.h in nmatrix-0.1.0 vs ext/nmatrix/data/meta.h in nmatrix-0.2.0
- old
+ new
@@ -42,13 +42,10 @@
template <> struct ctype_to_dtype_enum<int64_t> { static const nm::dtype_t value_type = nm::INT64; };
template <> struct ctype_to_dtype_enum<float> { static const nm::dtype_t value_type = nm::FLOAT32; };
template <> struct ctype_to_dtype_enum<double> { static const nm::dtype_t value_type = nm::FLOAT64; };
template <> struct ctype_to_dtype_enum<Complex64> { static const nm::dtype_t value_type = nm::COMPLEX64; };
template <> struct ctype_to_dtype_enum<Complex128> { static const nm::dtype_t value_type = nm::COMPLEX128; };
- template <> struct ctype_to_dtype_enum<Rational32> { static const nm::dtype_t value_type = nm::RATIONAL32; };
- template <> struct ctype_to_dtype_enum<Rational64> { static const nm::dtype_t value_type = nm::RATIONAL64; };
- template <> struct ctype_to_dtype_enum<Rational128> { static const nm::dtype_t value_type = nm::RATIONAL128; };
template <> struct ctype_to_dtype_enum<RubyObject> { static const nm::dtype_t value_type = nm::RUBYOBJ; };
template <nm::dtype_t Enum> struct dtype_enum_T;
template <> struct dtype_enum_T<nm::BYTE> { typedef uint8_t type; };
@@ -58,13 +55,10 @@
template <> struct dtype_enum_T<nm::INT64> { typedef int64_t type; };
template <> struct dtype_enum_T<nm::FLOAT32> { typedef float type; };
template <> struct dtype_enum_T<nm::FLOAT64> { typedef double type; };
template <> struct dtype_enum_T<nm::COMPLEX64> { typedef nm::Complex64 type; };
template <> struct dtype_enum_T<nm::COMPLEX128> { typedef nm::Complex128 type; };
- template <> struct dtype_enum_T<nm::RATIONAL32> { typedef nm::Rational32 type; };
- template <> struct dtype_enum_T<nm::RATIONAL64> { typedef nm::Rational64 type; };
- template <> struct dtype_enum_T<nm::RATIONAL128> { typedef nm::Rational128 type; };
template <> struct dtype_enum_T<nm::RUBYOBJ> { typedef nm::RubyObject type; };
} // end namespace nm
-#endif
\ No newline at end of file
+#endif