FUNCTION make_numeric_set

(* SCHEMA step_merged_ap_schema; *)
-- IN AP242
FUNCTION make_numeric_set
      (start : maths_number;
       delta : maths_number;
       incs : positive_integer ) : SET [2:?] OF maths_number;
   LOCAL
      i : INTEGER;
      numeric_set : SET [2:?] OF maths_number := [ start, start + delta ];
   END_LOCAL;
      IF incs > 1 THEN
         REPEAT i := 2 TO incs;
            numeric_set := numeric_set + start + i * delta;
         END_REPEAT;
      END_IF;
      RETURN (numeric_set);
END_FUNCTION;

Referenced By

Defintion make_numeric_set is references by the following definitions:
DefinitionType
 generated_finite_numeric_space ENTITY


[Top Level Definitions] [Exit]

Generated by STEP Tools® EXPRESS to HTML Converter
2024-09-06T14:00:33-04:00