|
From: Gary P. <gpa...@gm...> - 2009-06-01 05:17:37
|
Finally tracked the last issue with the unit tests. Will post a patch later today. On Tuesday 12 May 2009 15:11:06 Theuns Cloete wrote: > Hi all, > > I like the fact that Vector will only contain Numerics, but can't we > go one step further? How about using Java generics to achieve > something like the following: > > abstract class AbstractList<T extends Type> implements StructuredType<T>... > and then > class Vector<N extends Numeric> extends AbstractList<N> implements > Resettable, VectorMath... > > I think that will be even better! Note also that we don't need an > extra TypeList... > -- > Theuns > > On Tue, May 12, 2009 at 1:21 PM, Gary Pampara <gpa...@gm...> wrote: > > Hi all, > > > > We had a request come in from Andrich regarding making the Vector type > > only contain Numeric types with another class (which I have called > > TypeList at the moment) to maintain a list of types. > > > > There argument is that Vectors are mathematical concepts that have > > various properties and the CIlib version of a Vector should behave the > > same. > > > > I rather like this change and want to know al your opinions. > > > > Regards, > > Gary > > --------------------------------------------------------------------------- >--- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK > i700 Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > _______________________________________________ > cilib-devel mailing list > cil...@li... > https://lists.sourceforge.net/lists/listinfo/cilib-devel |