[om] Manipulating Structured Data
Michael Kohlhase
Michael_Kohlhase at asuka.mt.cs.cmu.edu
Tue Nov 19 16:44:14 CET 2002
> But don't take my word for it; the OM people probably
> view me as a pest, at best :)
Whether or not we do, you are dead right on your clarification. I assue
however, he meant to ask how you write down the mathematical formula that
...
and then David's answer is correct.
Michael
> You do not use OM to sum anything. You use OM to designate
> a data object. If you wish to sum stuff up, you have to write
> a program. Similarly, if you wish to select from a list the
> items that are positive, you would have to write a program.
>
> You could name your program in some OM syntax if that helps.
>
>
>
> Muthukkaruppan Annamalai wrote:
> >
> > The following OM object specifies the summation of member values of list
> > P. The assumption here is that the member values are numeric entities.
> >
> >
> > <OMOBJ>
> > <OMA>
> > <OMS cd="fns2" name="apply_to_list"/>
> > <OMS cd="arith1" name="plus"/>
> > <OMV name="P"/>
> > </OMA>
> > </OMOBJ>
> >
> >
> > What if the members of list P is a complex data type? Lets say I wish
> > to sum up the (P.quantity) attribute of the list members. Any
> > suggestion how I could deal with this situation?
> >
> >
> >
> >
> > Muthukkaruppan Annamalai
> > mkppan at cs.mu.oz.au
> >
> > _________________________________________________________________
> > Protect your PC - get McAfee.com VirusScan Online
> > http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
> > --
> > om at openmath.org - general discussion on OpenMath
> > Post public announcements to om-announce at openmath.org
> > Automatic list maintenance software at majordomo at openmath.org
> > Mail om-owner at openmath.org for assistance with any problems
>
>
> --
> om at openmath.org - general discussion on OpenMath
> Post public announcements to om-announce at openmath.org
> Automatic list maintenance software at majordomo at openmath.org
> Mail om-owner at openmath.org for assistance with any problems
--
om at openmath.org - general discussion on OpenMath
Post public announcements to om-announce at openmath.org
Automatic list maintenance software at majordomo at openmath.org
Mail om-owner at openmath.org for assistance with any problems
More information about the Om
mailing list