Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. matrix determinant in 3*3 d

matrix determinant in 3*3 d

Scheduled Pinned Locked Moved C#
question
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kcal
    wrote on last edited by
    #1

    hi i want to know the matrix determinant yes there is a cofactor method of determinant in3d matrix i think so is there any code for this and if there is 2d what is the code for 2d matrix determinant matrix determinant

    H 2 Replies Last reply
    0
    • K kcal

      hi i want to know the matrix determinant yes there is a cofactor method of determinant in3d matrix i think so is there any code for this and if there is 2d what is the code for 2d matrix determinant matrix determinant

      H Offline
      H Offline
      Heath Stewart
      wrote on last edited by
      #2

      You can declare your matrix like so:

      double[] matrix = new double[3, 3];

      See the pseudo-code at http://www.geocities.com/SiliconValley/Park/3230/misc/misc20010513-0000.html[^] for an example of how to calculate the determinant

      Microsoft MVP, Visual C# My Articles

      1 Reply Last reply
      0
      • K kcal

        hi i want to know the matrix determinant yes there is a cofactor method of determinant in3d matrix i think so is there any code for this and if there is 2d what is the code for 2d matrix determinant matrix determinant

        H Offline
        H Offline
        Heath Stewart
        wrote on last edited by
        #3

        Also, there is a pretty good article and matrix class here on CodeProject that may be of some use: http://www.codeproject.com/csharp/PsDotNetMatrix.asp[^].

        Microsoft MVP, Visual C# My Articles

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups