Commit Graph

6 Commits

Author SHA1 Message Date
Glen Whitney 072b2a1f79 refactor: Streamline publishing operations
Avoids clumsy naming properties by making the names the keys in
  an interface to which the signatures of all operations must be
  published. This also reduces the number of different symbols and
  avoids long lists of imports in the modules implementing multiple
  operations, which were redundant with the list of functions
  exported from such modules.
2022-12-24 10:09:14 -05:00
Glen Whitney 74e2aef524 refactor: tighter universal interface types 2022-12-24 00:41:35 -05:00
Jos de Jong 60ce6212b4 convert code to type aliases 2022-12-23 13:52:56 +01:00
Jos de Jong cbd1719227 experiment: convert all implementations to plain types 2022-12-23 11:27:39 +01:00
Glen Whitney 8c06c8f36e feat: Add generic operation `square` and numeric `unequal` (#4)
Co-authored-by: Jos de Jong <wjosdejong@gmail.com>
Co-authored-by: Glen Whitney <glen@studioinfinity.org>
Reviewed-on: #4
2022-12-22 16:12:36 +00:00
Glen Whitney fbec410c42 feat: Implement complex arithmetic through sqrt
Together with any auxiliary functions needed for that goal. Also
  strives to ensure the same functions are being defined for
  number and for `Complex<T>`.
2022-12-22 00:14:58 -05:00