Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #27746
| Newsgroups | comp.lang.java.programmer |
|---|---|
| Date | 2014-03-12 18:04 -0700 |
| References | <3072d913-c0a8-4dc0-a957-2f761a4b7da1@googlegroups.com> <lfan7t$av$1@dont-email.me> <lfaor6$gci$1@dont-email.me> |
| Message-ID | <e0da09e8-0eb9-4848-ba24-63030efacb81@googlegroups.com> (permalink) |
| Subject | Re: JAVA MathSET API |
| From | Lew <lewbloch@gmail.com> |
Jeff Higgins wrote: > Martin Gregorie wrote: >> Kai wrote: >>> Hello all, >>> I want to implement a mathematical set of strings using the JAVA API >>> MathSET. >>> Is there anything you can suggest for this implementation. 'java.util.Set'. >> What do you mean by 'a mathematical set of strings' - a set of strings >> containing mathematical expressions that can be evaluated once values >> have been supplied for all variables? >> >> If so, I think something like Coco/R or Yacc/M may come in quite useful... > > I think he means a Set implementation with > union, http://docs.oracle.com/javase/7/docs/api/java/util/Set.html#addAll(java.util.Collection) > intersection, http://docs.oracle.com/javase/7/docs/api/java/util/Set.html#removeAll(java.util.Collection) > complement, Set<Foo> universal = new HashSet<>(); ... Set<Foo> example = ... Set<Foo> complement = universal.removeAll(example); > product, etc. It's somewhat surprising how many Produce a Set<Foo, Foo> from two sets via an algorithm of your own devise. > x.x.x.MathSet implementations turn up on Goo'gle. So, basically, there's nothing to do except implement a "universal" set and a 'product(Set<Foo> x,y -> Set<Foo,Foo>)' (loose syntax here). -- Lew
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
JAVA MathSET API Kai <indivarf11@gmail.com> - 2014-03-06 10:13 -0800
Re: JAVA MathSET API Martin Gregorie <martin@address-in-sig.invalid> - 2014-03-06 20:53 +0000
Re: JAVA MathSET API Jeff Higgins <jeff@invalid.invalid> - 2014-03-06 16:19 -0500
Re: JAVA MathSET API Lew <lewbloch@gmail.com> - 2014-03-12 18:04 -0700
Re: JAVA MathSET API "Qu0ll" <Qu0llSixFour@gmail.com> - 2014-03-13 13:19 +1100
Re: JAVA MathSET API Jeff Higgins <jeff@invalid.invalid> - 2014-03-06 16:01 -0500
Re: JAVA MathSET API Eric Sosman <esosman@comcast-dot-net.invalid> - 2014-03-06 20:24 -0500
Re: JAVA MathSET API Kai <indivarf11@gmail.com> - 2014-03-20 10:34 -0700
Re: JAVA MathSET API Eric Sosman <esosman@comcast-dot-net.invalid> - 2014-03-20 14:39 -0400
Re: JAVA MathSET API Kai <indivarf11@gmail.com> - 2014-03-20 13:39 -0700
Re: JAVA MathSET API Eric Sosman <esosman@comcast-dot-net.invalid> - 2014-03-20 17:35 -0400
Re: JAVA MathSET API Kai <indivarf11@gmail.com> - 2014-03-21 00:34 -0700
csiph-web