Hi I would like to use easytensor with ad but instance Quaternion (Reverse s Double) is missing. Perhaps the methods of class Quaternion can be ordinary functions on newtype Quater a = Quater (Vector a 4) with SPECIALIZE pragmas for Double and Float. Then Numeric.Quaternion.Internal.QDouble and QFloat duplication will be gone, and maybe the numbers defined by ad will also work.
Hi I would like to use easytensor with ad but
instance Quaternion (Reverse s Double)is missing. Perhaps the methods ofclass Quaternioncan be ordinary functions onnewtype Quater a = Quater (Vector a 4)with SPECIALIZE pragmas for Double and Float. ThenNumeric.Quaternion.Internal.QDoubleandQFloatduplication will be gone, and maybe the numbers defined by ad will also work.