Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B221D475B for ; Sat, 25 Jun 2011 11:23:12 +0000 (UTC) Received: (qmail 33859 invoked by uid 500); 25 Jun 2011 11:23:12 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 33782 invoked by uid 500); 25 Jun 2011 11:23:11 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 33774 invoked by uid 99); 25 Jun 2011 11:23:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Jun 2011 11:23:11 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Jun 2011 11:23:08 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 6D67242F52D for ; Sat, 25 Jun 2011 11:22:47 +0000 (UTC) Date: Sat, 25 Jun 2011 11:22:47 +0000 (UTC) From: =?utf-8?Q?S=C3=A9bastien_Brisard_=28JIRA=29?= To: issues@commons.apache.org Message-ID: <923322246.40274.1309000967445.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <2081705518.29591.1305864527326.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (MATH-581) Support for iterative linear solvers MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/MATH-581?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D130548= 62#comment-13054862 ]=20 S=C3=A9bastien Brisard commented on MATH-581: ---------------------------------------- As for my taglet, the idea is to embed a little piece of javascript in orde= r to render the mathml code in a html page (instead of xhtml). So it is ver= y (very) lightweight, with two drawbacks * portability : the javascript code would be different for every single bro= wser (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 a= ny 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-orien= ted 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 cor= responding 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=C3=A9bastien 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 implem= ent the most popular linear iterative solvers (CG, SYMMLQ, etc...) in commo= ns-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 necessa= ry. 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 defin= e 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 fanc= y yet, I just wanted to have you advice on the implementation before I comm= it some solvers. > I thought these classes could go in a package org.apache.commons.math.lin= earoperator, 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