Add sirdi manifest file

This commit is contained in:
Kiana Sheibani 2022-10-21 20:37:07 -04:00
parent c359515270
commit 0a54f607b0
Signed by: toki
GPG key ID: 6CB106C25E86A9F7
2 changed files with 39 additions and 1 deletions

38
sirdi.json Normal file
View file

@ -0,0 +1,38 @@
[
{
"name": "numidr",
"version": "0.2.0",
"deps": [],
"modules": [
"Data.NP",
"Data.Permutation",
"Data.NumIdr",
"Data.NumIdr.Array",
"Data.NumIdr.Array.Array",
"Data.NumIdr.Array.Coords",
"Data.NumIdr.Array.Order",
"Data.NumIdr.Homogeneous",
"Data.NumIdr.Matrix",
"Data.NumIdr.Interfaces",
"Data.NumIdr.PrimArray",
"Data.NumIdr.Scalar",
"Data.NumIdr.Vector",
"Data.NumIdr.Transform",
"Data.NumIdr.Transform.Affine",
"Data.NumIdr.Transform.Isometry",
"Data.NumIdr.Transform.Linear",
"Data.NumIdr.Transform.Orthonormal",
"Data.NumIdr.Transform.Point",
"Data.NumIdr.Transform.Rigid",
"Data.NumIdr.Transform.Rotation",
"Data.NumIdr.Transform.Transform",
"Data.NumIdr.Transform.Translation",
"Data.NumIdr.Transform.Trivial"
],
"passthru": {
"authors": "Kiana Sheibani",
"license": "MIT",
"sourceloc": "https://github.com/kiana-S/numidr"
}
}
]

View file

@ -37,7 +37,7 @@ FieldCmp Double where
namespace Eq
export
WithEpsilon : Double -> Eq Double
WithEpsilon ep = MkEq (\x,y => x - y < ep) (\x,y => x - y >= ep)
WithEpsilon ep = MkEq (\x,y => abs (x - y) < ep) (\x,y => abs (x - y) >= ep)
namespace FieldCmp
export