>However, this doesn’t necessarily mean that XQuery is the wrong>language for a linear algebra. Even a raytracer has already been
>implemented in XQuery (from the developers of XMLPrime; it seems to be>offline). Some other examples on what can be done with XQuery is found
>in [1].
Indeed, I think that XQUERY might be very well suited to linear algebra (except for dynamic memory allocation). Most of the linear algebra algorithmic is of "functional" (in the sense recursive then evaluate expression) nature. I bet that a linear algebra module written in xquery could end up with 10% amount lines of code than its C++ or JAVA equivalent.
> Direct overloading may be supported in a future version of XQuery.
> Many things are happening; for example, arrays will be introduced with> XQuery 3.1. You are welcome to post feature requests in the W3 Bug
> Tracker [2].
That's interesting. Specially if further version of xquery support constant-sized arrays, meaning that xquery can allocate contiguous block of memory (I will not have to bind JAVA anymore !).
I was trying to look to a site listing the new features of xquery 3.1 but did not succeed. Could you be kind enough to provide a link if you have one in mind ?
Thanks for yours answers,
cheers,
Jean-Marc