加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
taylor_form.mli 1.30 KB
一键复制 编辑 原始数据 按行查看 历史
Alexey Solovyev 提交于 2020-12-03 22:40 . Removed proof recording
(* ========================================================================== *)
(* FPTaylor: A Tool for Rigorous Estimation of Round-off Errors *)
(* *)
(* Author: Alexey Solovyev, University of Utah *)
(* *)
(* This file is distributed under the terms of the MIT license *)
(* ========================================================================== *)
(* -------------------------------------------------------------------------- *)
(* Symbolic Taylor forms *)
(* -------------------------------------------------------------------------- *)
(* Describes an error variable *)
type error_info = {
(* Error variables with the same index are the same *)
index : int;
(* The upper bound of the error is 2^exp *)
exp : int;
}
type taylor_form = {
v0 : Expr.expr;
v1 : (Expr.expr * error_info) list;
}
val dummy_tform : taylor_form
val sum_high : (float * int) list -> float * int
val expr_for_index : int -> Expr.expr
val simplify_form : Expr.constraints -> taylor_form -> taylor_form
val build_form : Expr.constraints -> Expr.expr -> taylor_form
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化