Boost logo

Ublas :

Subject: Re: [ublas] How to compute determinant?
From: Peng Yu (pengyu.ut_at_[hidden])
Date: 2008-09-09 10:52:57

On Tue, Sep 9, 2008 at 9:43 AM, Maik Beckmann
<beckmann.maik_at_[hidden]> wrote:
> 2008/9/9 Peng Yu <pengyu.ut_at_[hidden]>:
>> On Tue, Sep 9, 2008 at 1:43 AM, Maik Beckmann
>> <beckmann.maik_at_[hidden]> wrote:
>>> Am Dienstag 09 September 2008 schrieb Peng Yu:
>>>> Hi,
>>>> I'm wondering if there is a function that can compute the determinant
>>>> of a square matrix in ublas. Can somebody tell me?
>>>> Thanks,
>>>> Peng
>>> I use the code in the attached file.
>> Thank you for your code. But I think the return type shall be derived
>> from the matrix rather than be specified as the fixed type 'double'.
> Sure. I just copy pasted the code. For general purpose the
> value_type typedef should be used.
>> Can this be added in ublas or some other related boost package, as det
>> is also an important operation on matrix?
> Don't know. Please raise the question at the MailingList. I had
> problems to post messages this morning to the ublas-ML.

I thought the above of my reply went to But it
was not. Here is a resent.