commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sébastien Brisard (JIRA) <j...@apache.org>
Subject [jira] [Commented] (MATH-581) Support for iterative linear solvers
Date Sat, 25 Jun 2011 11:22:47 GMT

    [ https://issues.apache.org/jira/browse/MATH-581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13054862#comment-13054862
] 

Sébastien Brisard commented on MATH-581:
----------------------------------------

As for my taglet, the idea is to embed a little piece of javascript in order to render the
mathml code in a html page (instead of xhtml). So it is very (very) lightweight, with two
drawbacks
* portability : the javascript code would be different for every single browser (tested on
firefox for the moment)
* file management : each equation must be kept in a separate file : this is not a big concern,
all files are stored in the {{doc-files/}} directory. I also have implemented a taglet called
{{@inlineMathML}}, where the MathML code is typed directly in the {{*.java}} file, but it
applies only to very small formulae, since the source file gets very quickly blotted. Anyway,
as I said, I'm very happy to contribute this code if you think it can be of any use. We can
start a new JIRA ticket on this.

I think I kind of agree with Gilles' point of view on javadoc sticking with ASCII. However,
the code I develop at work is numerically oriented, and I do not have enough time to write
both a thorough Javadoc *and* a math-oriented doc. So I decided to go for a detailed Javadoc,
with MathML formulas.

BTW, I only used a tip found [here|https://developer.mozilla.org/en/Mozilla_MathML_Project/Authoring].
I remember having found on the internet the corresponding code for IE.

> Support for iterative linear solvers
> ------------------------------------
>
>                 Key: MATH-581
>                 URL: https://issues.apache.org/jira/browse/MATH-581
>             Project: Commons Math
>          Issue Type: New Feature
>    Affects Versions: 3.0, Nightly Builds
>            Reporter: Sébastien Brisard
>              Labels: iterative, linear, solver
>         Attachments: MATH-581-01.patch, linearoperator.zip
>
>
> Dear all,
> this issue has already been discussed on the forum. The idea is to implement the most
popular linear iterative solvers (CG, SYMMLQ, etc...) in commons-math. The beauty of these
solvers is that they do not need direct access to the coefficients of the matrix, only matrix-vector
products are necessary. This is goof, as sometimes it is inetficient to store the coefficients
of the matrix.
> So basically, before implementing the iterative solvers, we need to define an interface
slightly more general than a matrix, namely LinearOperator, with only one basic operation:
matrix-vector product.
> Here are a few interfaces and abstract classes that do that. Nothing fancy yet, I just
wanted to have you advice on the implementation before I commit some solvers.
> I thought these classes could go in a package org.apache.commons.math.linearoperator,
but really, I haven't got a clue...
> Best regards,
> Sebastien

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message