[Ktechlab-devel] unit test.
P Zoltan
zoltan.padrah at gmail.com
Mon Jun 8 13:30:53 UTC 2009
On Mon, 08 Jun 2009 01:26:34 +0200, Alan Grimes <agrimes at speakeasy.net>
wrote:
> P Zoltan wrote:
>>> It has two major problems:
>>>
>>> 1. the code to put random values in the matrix and vector has not been
>>> implemented.
>
>> Easy to fix, but I have no idea what is going on there; maybe you
>> should
>> document it.
>
> =\
>
> The code was fairly heavily commented....
>
> I just submitted a new version which simply sets A to the identity
> matrix and b to 0 1 2 3 4 5...
>
> That actually passes! But it only tests the most degenerate case.
>
> What you basically want to do is set all values in A and b to some
> random number between, say, -1000 and 1000 and then see if it can solve
> that...
>
The thing is that I don't get the "big picture": that is that matrix,
a,b, ...
I'll have to read some docs in the topic... Do you recommend something?
More information about the Ktechlab-devel
mailing list