Stephan van Hulst wrote:Okay, so before you start working with threads, why don't you start by creating a Matrix class that models a single matrix, which contains a multiply(Matrix other) method that returns a new Matrix. You should also add a method determinant() that returns an int.
Try getting this code to work (hint, use unit tests!) and then show us your code, or show us where you get stranded with an explanation of the problem. Don't worry about threads yet!
Campbell Ritchie wrote:Welcome to the Ranch
(again)
Why do you say you need several threads?
What is the algorithm for calculating a matrix determinant?
Stephan van Hulst wrote:Can you explain to us what the problem is that you're experiencing? We can't help you if we don't know what's wrong.