[BACK]Return to floating_support_functions.ads CVS log [TXT][DIR] Up to [local] / OpenXM_contrib / PHC / Ada / Math_Lib / Supports

File: [local] / OpenXM_contrib / PHC / Ada / Math_Lib / Supports / floating_support_functions.ads (download)

Revision 1.1.1.1 (vendor branch), Sun Oct 29 17:45:27 2000 UTC (23 years, 8 months ago) by maekawa
Branch: PHC, MAIN
CVS Tags: v2, maekawa-ipv6, RELEASE_1_2_3, RELEASE_1_2_2_KNOPPIX_b, RELEASE_1_2_2_KNOPPIX, RELEASE_1_2_2, RELEASE_1_2_1, HEAD
Changes since 1.1: +0 -0 lines

Import the second public release of PHCpack.

OKed by Jan Verschelde.

with Standard_Floating_Numbers;          use Standard_Floating_Numbers;
with Standard_Floating_Vectors;          use Standard_Floating_Vectors;
with Lists_of_Floating_Vectors;          use Lists_of_Floating_Vectors;

package Floating_Support_Functions is

-- DESCRIPTION :
--   This package provides support functions for polytopes spanned by
--   lists of floating-point vectors.

  function Minimal_Support ( l : List; v : Vector ) return double_float;
  function Maximal_Support ( l : List; v : Vector ) return double_float;

  -- DESCRIPTION : 
  --   Returns respectively min <d,v> or max <d,v>, for all d in l.

  function Face ( l : List; v : Vector; m,tol : double_float ) return List;

  -- DESCRIPTION :
  --   Returns a list of vectors d for which abs(<d,v> - m) < tol,
  --   with tol the tolerance on precision.

end Floating_Support_Functions;