> I am tempted to use only a single construcion, not two. > Given that matrices are used much more frequently than > arrays I think of deleting definition of arrays > and using only matrices (after generalizing definition).
I tend to oppose to a removal of the array types. For me arrays are data structures, containers for data. They live on the lowest level and are not supposed to export any algebraic structure. Well if they are considered as ADTs they do anyway, but I guess, it's clear what I mean. Vectors and Matricies would be build on array types. So in some sense you are right that someone who programs mathematics might not need arrays, but still, I somehow doubt. Matricies and Vectors for me always come with a mathematical structure. What I rather question is that Matrix and Vector have no size in the type, so Vector(K) does not represent a vector space, but rather it represents the union over all n-dimensional vector spaces for all n. Same for matrix. *This* is what bothers me. However, I agree that for an end user, it's rather convenient not to be bothered with size information like Vector(K,5) or so. I'd rather like to think about dropping either DirectProduct or Vector. Vector and Matrix are end-user domains that I wouldn't encourage to use inside other algebra library code, i.e. Vector and Matrix are for .input files but not .spad files. OK, this probably goes in another direction, but you wanted opinions. Ralf -- You received this message because you are subscribed to the Google Groups "FriCAS - computer algebra system" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/fricas-devel?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
