This defines the basic primitives we can use in Scala for mathematical
computations in NDArrays.This gives us a flexibility to expand to
more supported primitives in the future. Currently Float and Double
are supported. The functions which accept MX_PRIMITIVE_TYPE as input can also accept
plain old Float and Double data as inputs because of the underlying
implicit conversion between primitives to MX_PRIMITIVE_TYPE.