【24h】

A Generative Geometric Kernel

机译:生成几何核

获取原文
获取原文并翻译 | 示例

摘要

We present the design and implementation of a generative geometric kernel. The kernel generator is generic, type-safe, parametrized by many design-level choices and extensible. The resulting code has minimal traces of the design abstractions. We achieve generic-ity through a layered design deriving concepts from affine geometry, linear algebra and abstract algebra. We achieve parametrization and type-safety by using OCaml's module system, including higher order modules. The cost of abstraction is removed by using MetaO-Caml's support for code generation coupled with some annotations atop the code type.
机译:我们介绍了生成几何核的设计和实现。内核生成器是通用的,类型安全的,可以通过许多设计级别的选择进行参数化并且可扩展。生成的代码具有最小的设计抽象痕迹。我们通过从仿射几何,线性代数和抽象代数衍生概念的分层设计来实现通用性。我们使用OCaml的模块系统(包括高阶模块)来实现参数化和类型安全。通过使用MetaO-Caml对代码生成的支持以及代码类型顶部的一些注释,可以消除抽象的成本。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号