From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: * X-Spam-Status: No, score=1.9 required=5.0 tests=BAYES_50,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!lll-crg!nike!ucbcad!ucbvax!AEROSPACE.ARPA!hogan From: hogan@AEROSPACE.ARPA Newsgroups: net.lang.ada Subject: Physics Package Message-ID: <8608111632.AA13161@aerospace.arpa> Date: Mon, 11-Aug-86 12:31:36 EDT Article-I.D.: aerospac.8608111632.AA13161 Posted: Mon Aug 11 12:31:36 1986 Date-Received: Tue, 12-Aug-86 15:27:29 EDT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet List-Id: If one uses Ada to strongly type each kind of physical unit (e.g. velocity, acceleration, force, energy, etc.), then one either has to do many conversions to accomplish the necessary equations or provide a package with many overloadings of common operators (e.g. *, +, -, /, etc). Would a phyics package with all of these types and overloaded operators be of any use in the general community? Has this been done before ? Does anyone know (does anyone care) ? How has this problem been attacked in existing systems. I have a feeling that using separate Ada types for each different physical unit when the different units must be frequently combined into equations to be of any use, is somehow not in the spirit of good object oriented design with Ada. Does anyone have a different opinion ? I will summarize replies that I receive. Mike Hogan hogan @ aerospace