Skip to main content
GameDev.net gamedev.net
🔒 Locked

Determinant

Started by jag_oes Nov 28, 2001 at 10:14 PM 0 replies 550+ views
Original Post
jag_oes
jag_oes
Does anyone have some sample code of how to calculate the determinant of any dimension of square matrices? Assuming the square matrix is given as a two dimensional array. If possible, make the code as simple as possible and in C++ ... I am trying to write a program for my computer science class (first ever) and I am using crappy borland turbo 3.0 Thanks.
grhodes_at_work
grhodes_at_work
There are numerous linear algebra books that will describe the exact process for doing this. Try your local library or web sites such as World of Mathematics: mathworld.wolfram.com

Since your question is not about game development and we discourage using these forums to obtain help on homework assignments in general (see forum FAQ), I''m closing this thread.

Graham Rhodes
Senior Scientist
Applied Research Associates, Inc.
Graham Rhodes Moderator, Math & Physics forum @ gamedev.net

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.