[om] Manipulating Structured Data

David Carlisle davidc at nag.co.uk
Tue Nov 19 10:58:55 CET 2002



  Lets say I wish to 
  sum up the (P.quantity) attribute of the list members.  Any suggestion how I 
  could deal with this situation?

use map

http://monet.nag.co.uk/cocoon/openmath/cd/list1.html#suchthat

to generate the list of things you wantt o sum, then apply sum to that
list.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
--
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