Application module: Elementary function | ISO/TS 10303-1527:2018-11(E) © ISO |
This clause specifies the information requirements for the Elementary function application module. The information requirements are specified as the Application Reference Model (ARM) of this application module.
NOTE 1 A graphical representation of the information requirements is given in Annex C.
NOTE 2 The mapping specification is specified in 5.1. It shows how the information requirements are met by using common resources and constructs defined or imported in the MIM schema of this application module.
This clause defines the information requirements to which implementations shall conform using the EXPRESS language as defined in ISO 10303-11. The following begins the Elementary_function_arm schema and identifies the necessary external references.
The Elementary_function module represents all the elementary numeric functions.NOTE 3 It is recommended that any application protocol using this module with a more restricted set of requirements for functions to be instantiated provides an appropriate constraint rule to exclude unwanted functions.
EXPRESS specification:
*)
SCHEMA Elementary_function_arm;
(*
The following EXPRESS interface statement specifies the elements imported from the ARM of another application module.
EXPRESS specification:
*)
USE FROM
Numeric_expression_arm;
--
ISO/TS 10303-1526
(*
NOTE 1 The schemas referenced above are specified in the following part of ISO 10303:
Numeric_expression_arm ISO/TS 10303-1526
NOTE 2 See Annex C, Figures C.1and C.2 for a graphical representation of this schema.
This subclause specifies the ARM entities for this module. Each ARM application entity is an atomic element that embodies a unique application concept and contains attributes specifying the data elements of the entity. The ARM entities and definitions are specified below.
NOTE The ABS function returns the absolute value of a number.
EXPRESS specification:
*)
ENTITY Abs_function
SUBTYPE OF (Unary_function_call);
END_ENTITY;
(*
NOTE The ACOS function returns the angle given a cosine value.
EXPRESS specification:
*)
ENTITY Acos_function
SUBTYPE OF (Unary_function_call);
END_ENTITY;
(*
NOTE The ASIN function returns the angle given a sine value.
EXPRESS specification:
*)
ENTITY Asin_function
SUBTYPE OF (Unary_function_call);
END_ENTITY;
(*
NOTE The ATAN function returns the angle given a tangent value represented by the parameters.
EXPRESS specification:
*)
ENTITY Atan_function
SUBTYPE OF (Binary_function_call);
END_ENTITY;
(*
EXPRESS specification:
*)
ENTITY Binary_function_call
ABSTRACT SUPERTYPE
OF (Atan_function)
SUBTYPE OF (Binary_numeric_expression);
END_ENTITY;
(*
NOTE The COS function returns the cosine of an angle.
EXPRESS specification:
*)
ENTITY Cos_function
SUBTYPE OF (Unary_function_call);
END_ENTITY;
(*
NOTE The EXP function returns e (the base of the natural logarithm system) raised to the power of the value of the parameter.
EXPRESS specification:
*)
ENTITY Exp_function
SUBTYPE OF (Unary_function_call);
END_ENTITY;
(*
EXPRESS specification:
*)
ENTITY Integer_defined_function
ABSTRACT SUPERTYPE
SUBTYPE OF (Numeric_defined_function);
END_ENTITY;
(*
NOTE The LOG10 function returns the base 10 logarithm of a number.
EXPRESS specification:
*)
ENTITY Log10_function
SUBTYPE OF (Unary_function_call);
END_ENTITY;
(*
NOTE The LOG2 function returns the base 2 logarithm of a number.
EXPRESS specification:
*)
ENTITY Log2_function
SUBTYPE OF (Unary_function_call);
END_ENTITY;
(*
NOTE The LOG function returns the natural logarithm of a number.
EXPRESS specification:
*)
ENTITY Log_function
SUBTYPE OF (Unary_function_call);
END_ENTITY;
(*
EXPRESS specification:
*)
ENTITY Maximum_function
SUBTYPE OF (Multiple_arity_function_call);
END_ENTITY;
(*
EXPRESS specification:
*)
ENTITY Minimum_function
SUBTYPE OF (Multiple_arity_function_call);
END_ENTITY;
(*
NOTE The minus function returns the opposite value of a number.
EXPRESS specification:
*)
ENTITY Minus_function
SUBTYPE OF (Unary_function_call);
END_ENTITY;
(*
EXPRESS specification:
*)
ENTITY Numeric_defined_function
ABSTRACT SUPERTYPE
OF (ONEOF (Integer_defined_function,
Real_defined_function))
SUBTYPE OF (Numeric_expression, Defined_function);
END_ENTITY;
(*
EXPRESS specification:
*)
ENTITY Real_defined_function
ABSTRACT SUPERTYPE
SUBTYPE OF (Numeric_defined_function);
END_ENTITY;
(*
NOTE The SIN function returns the sine of an angle.
EXPRESS specification:
*)
ENTITY Sin_function
SUBTYPE OF (Unary_function_call);
END_ENTITY;
(*
NOTE The SQRT function (square root) returns the non-negative square root of a number.
EXPRESS specification:
*)
ENTITY Square_root_function
SUBTYPE OF (Unary_function_call);
END_ENTITY;
(*
NOTE The TAN function returns the tangent of an angle.
EXPRESS specification:
*)
ENTITY Tan_function
SUBTYPE OF (Unary_function_call);
END_ENTITY;
(*
EXPRESS specification:
*)
ENTITY Unary_function_call
ABSTRACT SUPERTYPE
OF (ONEOF (Abs_function,
Minus_function,
Sin_function,
Cos_function,
Tan_function,
Asin_function,
Acos_function,
Exp_function,
Log_function,
Log2_function,
Log10_function,
Square_root_function))
SUBTYPE OF (Unary_numeric_expression);
END_ENTITY;
(*
*)
END_SCHEMA; -- Elementary_function_arm
(*
© ISO 2018 — All rights reserved