Return-Path: Delivered-To: apmail-commons-user-archive@www.apache.org Received: (qmail 38151 invoked from network); 2 Mar 2009 16:26:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Mar 2009 16:26:14 -0000 Received: (qmail 55447 invoked by uid 500); 2 Mar 2009 16:26:10 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 55392 invoked by uid 500); 2 Mar 2009 16:26:09 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 55381 invoked by uid 99); 2 Mar 2009 16:26:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Mar 2009 08:26:09 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ted.dunning@gmail.com designates 74.125.44.157 as permitted sender) Received: from [74.125.44.157] (HELO yx-out-1718.google.com) (74.125.44.157) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Mar 2009 16:26:03 +0000 Received: by yx-out-1718.google.com with SMTP id 6so1371683yxn.60 for ; Mon, 02 Mar 2009 08:25:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=5vemJI6wYZ5DwK0Gofxz8TeinoQT/Co4qMkItcqMhK8=; b=DnGbTf6TqyPUZ0eUX3jM30oE3kosrtmb1dPRsyL9KwYmrsJ04IbuX6ugdcIoSpk6wO WaKzWeFs3noKt+KQbdJMP5qSBjH4MHCG9WkyGPFyDbSfxTYPSqPQpLpJa1gRKqGH7pGy 7Fj1dj/MA3bYkTBLHIACaXR8cY3WN0k3xMHUM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=OUwH4YNKfZXyO3YCSimpGg6WDcCKO+LthJy41vAI28jO+gKdxbetfJD0+6Lz2tUvan Qvzk29glQ5Nd3pkWTQVuVrjtHWO96Dh7HBQFk6dwkSkzmKA812QHW44ntJKddD4nulIS VJ3uqbLUGIXEL5NVLgtx4X1F+iFzA8zkFsANg= MIME-Version: 1.0 Received: by 10.90.74.7 with SMTP id w7mr1074449aga.51.1236011141842; Mon, 02 Mar 2009 08:25:41 -0800 (PST) In-Reply-To: <03379691-95FF-40E5-BB00-73F484053744@defekt.nl> References: <49ABD2A2.7020508@free.fr> <03379691-95FF-40E5-BB00-73F484053744@defekt.nl> Date: Mon, 2 Mar 2009 08:25:41 -0800 Message-ID: Subject: Re: [math] matrix identity, matrix as transformation From: Ted Dunning To: Commons Users List Content-Type: multipart/alternative; boundary=0016361e892a0c48d604642545a5 X-Virus-Checked: Checked by ClamAV on apache.org --0016361e892a0c48d604642545a5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sounds like a simple job for a wrapper. You just have to wrap multiply as well. I certainly don't think that a method like getTranslation which is just a pseudonym for get(3,2) and which assumes a 3x3 input matrix is very broadly useful. Setting (super or sub) diagonals is a bit more interesting. On Mon, Mar 2, 2009 at 6:25 AM, Jelle Herold wrote: > I cannot easily extend RealMatrix with these methods by subclassing > (because the inherited > multiply then wouldn't get me a transform. > -- Ted Dunning, CTO DeepDyve --0016361e892a0c48d604642545a5--