FUNCTION check_sparse_index_domain

(* SCHEMA step_merged_ap_schema; *)
-- IN AP242
FUNCTION check_sparse_index_domain
      (idxdom : tuple_space;
       base : zero_or_one;
       shape : LIST [1:?] OF positive_integer;
       order : ordering_type ) : BOOLEAN;
   LOCAL
      mthspc : maths_space;
      interval : finite_integer_interval;
      i : INTEGER;
   END_LOCAL;
      mthspc := factor1(idxdom);
      interval := mthspc;
      IF order = by_rows THEN
         i := 1;
      ELSE
         i := 2;
      END_IF;
      RETURN (bool((interval.min <= base) AND (interval.max >= base + shape[i])));
END_FUNCTION;

Referenced By

Defintion check_sparse_index_domain is references by the following definitions:
DefinitionType
 basic_sparse_matrix ENTITY


[Top Level Definitions] [Exit]

Generated by STEP Tools® EXPRESS to HTML Converter
2017-01-19T11:17:24-05:00