Return-Path: X-Original-To: apmail-commons-dev-archive@www.apache.org Delivered-To: apmail-commons-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 767229272 for ; Sat, 1 Oct 2011 08:21:32 +0000 (UTC) Received: (qmail 29150 invoked by uid 500); 1 Oct 2011 08:21:31 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 29067 invoked by uid 500); 1 Oct 2011 08:21:30 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 29018 invoked by uid 99); 1 Oct 2011 08:21:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Oct 2011 08:21:28 +0000 X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=FREEMAIL_FROM,GAPPY_SUBJECT,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of sebastien.brisard@gmail.com designates 74.125.82.49 as permitted sender) Received: from [74.125.82.49] (HELO mail-ww0-f49.google.com) (74.125.82.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Oct 2011 08:21:21 +0000 Received: by wwp14 with SMTP id 14so3073442wwp.6 for ; Sat, 01 Oct 2011 01:21:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; bh=IZ3DsI2uL2vmVWS+kUnkwcVg8Vp95sXmlmC/JWUYeco=; b=oLx8UcylMLNDFRl9xECm8oHOwfZe1A47QIFiCDuJ09+Qf0Qa4vYrVU+LnI+shi7+vS SthsMsIj4tkBEYBptnSITM/wwH76eTsMUr7ZiYR5CbwyZtYc3IQyOZoBZu9BjzXt/1PS PjgZaNC1z66K5dbWvlDgZwk9x9H8j33C333iA= MIME-Version: 1.0 Received: by 10.227.5.213 with SMTP id 21mr14445518wbw.40.1317457260892; Sat, 01 Oct 2011 01:21:00 -0700 (PDT) Sender: sebastien.brisard@gmail.com Received: by 10.180.104.193 with HTTP; Sat, 1 Oct 2011 01:21:00 -0700 (PDT) Date: Sat, 1 Oct 2011 10:21:00 +0200 X-Google-Sender-Auth: _LctIoK-4IO1JOqfk676qFGiy7o Message-ID: Subject: [math] rename o.a.c.m.linear.SingularMatrixException to SingularLinearOperatorException From: =?ISO-8859-1?Q?S=E9bastien_Brisard?= To: Commons Developers List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hello, I need to be able to throw an exception when an iterative linear solver detects that a RealLinearOperator is singular. I would propose to implement a SingularLinearOperatorException. Then, since RealMatrix is derived from RealLinearOperator, it would be logical to have SingularMatrixException inherit from SingularLinearOperatorException. However, looking at the present impl of SingularMatrixException, this exception does nothing fancy. So having two different exceptions might be too much, I don't know. So here are two proposals 1. Rename SingularMatrixException to SingularLinearOperatorException 2. Create SingularLinearOperatorException, and have SingularMatrixException extend SingularLinearOperatorException. Which option (or any other) do you favor? S=E9bastien --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org