Free Software Anywhere to Calculate Determinant of 4x4 Matrix with Elements in [-2^31, 2^31-1]?
- From: David T. Ashley <dashley@xxxxxxxxx>
- Date: Wed, 18 Jul 2012 15:37:50 -0400
I'm unit-testing embedded code that calculates the determinant of 4x4
matrices with elements that are 32-bit signed integers.
The method I'm using in the embedded code is the standard cofactor
expansion, so the result is exact.
Per Hadamard's inequality, I'm using 160-bit signed arithmetic.
Just so I don't make the same mistake in my program that generates the
unit test vectors as I do in my embedded code, is there any free
software out there that will calculate large determinants?
I'll be using the GMP and a C program to generate test vectors, but
I'd like an "independent" program to double-check the program that I'm
using to generate the test vectors.
I've had good luck with "bc" for some large integer arithmetic test
cases, but I don't believe "bc" will do matrix determinants.
Thanks, Dave Ashley
.
- Follow-Ups:
- Re: Free Software Anywhere to Calculate Determinant of 4x4 Matrix with Elements in [-2^31, 2^31-1]?
- From: amdyer
- Re: Free Software Anywhere to Calculate Determinant of 4x4 Matrix with Elements in [-2^31, 2^31-1]?
- From: Mel Wilson
- Re: Free Software Anywhere to Calculate Determinant of 4x4 Matrix with Elements in [-2^31, 2^31-1]?
- From: Tim Wescott
- Re: Free Software Anywhere to Calculate Determinant of 4x4 Matrix with Elements in [-2^31, 2^31-1]?
- Prev by Date: Re: Code Red for ARM Cortex M3 development - any good ?
- Next by Date: Re: Free Software Anywhere to Calculate Determinant of 4x4 Matrix with Elements in [-2^31, 2^31-1]?
- Previous by thread: MPC5xx exception table relocation
- Next by thread: Re: Free Software Anywhere to Calculate Determinant of 4x4 Matrix with Elements in [-2^31, 2^31-1]?
- Index(es):
Relevant Pages
|