commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan F <dfran...@gmail.com>
Subject Re: In-place matrix operations?
Date Mon, 09 Feb 2009 18:29:32 GMT
My mistake, you probably can't do multiple in place. However, there are
other operations which you can (e.g., scalar multiply), and those also
create copies.

Dan

On Mon, Feb 9, 2009 at 12:05 PM, Dan F <dfrankow@gmail.com> wrote:

> Folks,
>
> Thanks for your work on Apache commons.
>
> It seems to me that Apache commons math is missing API for in-place matrix
> operations. For example, RealMatrix.multiply(RealMatrix m) returns the
> answer as a copy, and there is no other interface that modifies the existing
> matrix. If there are several operations (say 10 in a row) to compute
> something using fairly large matrices, it seems to me this could be a
> significant performance hit.
>
> Please tell me if I am missing something simple.
>
> Dan
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message