Boost logo

Boost :

Subject: Re: [boost] Matrix Library
From: Michael Marcin (mike.marcin_at_[hidden])
Date: 2009-09-24 18:21:36


Bo Zhou wrote:
> Cem Kalyoncu wrote:
>> As a part of our graphics study, we have built a 2D matrix class to
>> implement few matrix operation. After the study we have expanded our
>> aim for matrix operations system and started building a matrix and
>> possibly a math library. Currently matrix library is quite near to the
>> finish. To make it as generic as possible, we have used templates.
>> Current state of the project can be accessed from
>> http://sourceforge.net/projects/mathlibcpp/ (SVN:
>> https://mathlibcpp.svn.sourceforge.net/svnroot/mathlibcpp/). A simple
>> search revealed that there is no matrix module for boost libraries. We
>> are willing to resolve compatibility issues and lend our support this
>> module. However, before taking any action, I would like to ask your
>> opinions.
>>
>> Thanks in advance,
>> Cem Kalyoncu
>>
>> Following functions exists in the library:
>> Set/Get/GetData/()
>> Resize/GetSize/GetCols/GetRows
>> isSquare/isIdentity
>> Compare/==/!=
>> =/Copy constructor/CopyTo
>> [Row|Col|]Min/Max/Average/Sum/Median
>> [Row|Col]MinIndex/MaxIndex
>> SortRows
>> RemoveCol/RemoveRow
>> matrix operators (+, -, *, +=, -=, *=)
>> scalar operator (+, -, /, *, +=, -=, *=, /=)
>> Transpose/Determinant/Inverse/Minor/Cofactor/Adjoint
>> Uses a managedbuffer and allows temporary matrixes which are not copied
>> Identity/ZeroFilled/RandomFilled/RobertsCross/SobelX|Y
>> conversion to string and output to a stream is supported
>> _______________________________________________
>> Unsubscribe & other changes:
>> http://lists.boost.org/mailman/listinfo.cgi/boost
>>
>
> Hi,
>
> The boost.uBlas should help you.
>
> But the BLAS only supplies the basic linear algebra operation, so if you
> want to program easily you should also take a look at the
> CML(http://www.cmldev.net/) or nv_math in NVIDIA SDK.

I would also recommend looking at Eigen2 (http://eigen.tuxfamily.org/).
Having used many libraries including uBlas, MTL4, and tvmet we have been
most happy with Eigen2.

Thanks,

Michael Marcin


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk