FUNCTION check_sparse_index_domain
(* SCHEMA step_merged_ap_schema; *)
-- IN AP238 STEP-NC/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:
[Top Level Definitions] [Exit]Generated by STEP Tools® EXPRESS to HTML Converter
2024-09-06T14:00:33-04:00