Operator - DATE 93/09/28 Opérateur - See also :+ ----------- * / RESU1 = OBJET1 - OBJET2 ; ** Description : _____________ The - operator does the substraction of the objects OBJET1 and OBJET2. Possible operations : ______________________ ---------------------------------------------------------------- | OBJET1 | OBJET2 | RESULTAT | ---------------------------------------------------------------- | ENTIER | ENTIER | ENTIER | | ENTIER | FLOTTANT | FLOTTANT | | FLOTTANT | ENTIER | FLOTTANT | | FLOTTANT | FLOTTANT | FLOTTANT | | CHPOINT | CHPOINT | CHPOINT | | CHPOINT | FLOTTANT | CHPOINT | | EVOLUTION | EVOLUTION | EVOLUTION | | LISTENTI | LISTENTI | LISTENTI | | LISTREEL | LISTREEL | LISTREEL | | TABLE 'VECTEUR' | TABLE 'VECTEUR' | TABLE 'VECTEUR' | ---------------------------------------------------------------- Remark 1 : _________ When the - operator calculates the difference between a CHPOINT and a FLOTTANT, it substracts the value of the FLOTTANT from all the values of the CHPOINT. The result of the difference between a FLOTTANT and a CHPOINT will be the same, except for the sign. Remark 2 : _________ The - operator calculates the difference of two TABLE type objects of 'VECTEUR' subtype. The tables must be likely to be substracted, i.e. the elements with a common index must be of ENTIER or FLOTTANT type. Remark 3 : _________ When the - operator calculates the difference between two EVOLUTION type objects, both the objects must have the same type, i.e. be real or complex : a) Real EVOLUTION objects : The sum is done for OBJET1=f(x) defined on the D1 domain OBJET2=g(x) defined on the D2 domain then the difference is calculated on the common domain (D1 and D2) . b) Complex EVOLUTION objects : Both objects must have the same abscissae. Each of the two objects can be either "PREE PIMA" or "MODU PHAS". The RESU1 object will have the same type as OBJET1. Remark 4 : _________ When the - operator calculates the difference between two lists of integers or real numbers, they must have the same number of elements. Remark 5 : _________ When the - operator calculates the difference between two MCHAML for identical elementary subspaces, it does the difference for the identical names of components.