dcsimg
Results 1 to 8 of 8

Thread: [RESOLVED] Is there a matrix inversion function in VB?

  1. #1

    Thread Starter
    Member
    Join Date
    May 2019
    Posts
    51

    Resolved [RESOLVED] Is there a matrix inversion function in VB?

    Iíve done some searching and found some math libraries that include matrix operations but Iím hoping VS2107 has something ... I need to invert a matrix (roughly 100x100) and multiply the result by a vector. Is anyone aware of whatís available? I could write code for Gaussian Elimination but Iím under the gun on this project and would like to avoid spending the time. Thoughts (nice ones)?

  2. #2
    Frenzied Member
    Join Date
    Dec 2014
    Location
    VB6 dinosaur land
    Posts
    1,125

    Re: Is there a matrix inversion function in VB?

    Doesn't appear to be. I assume you found this already, which should give you a good starting point. He said he tested up to 50x50.

  3. #3

    Thread Starter
    Member
    Join Date
    May 2019
    Posts
    51

    Re: Is there a matrix inversion function in VB?

    Did you mean to leave a link?

  4. #4
    Sinecure devotee
    Join Date
    Aug 2013
    Location
    Southern Tier NY
    Posts
    5,145

    Re: Is there a matrix inversion function in VB?

    Quote Originally Posted by DennyGinson View Post
    Did you mean to leave a link?
    Did you try to click on the word "this"?

  5. #5

    Thread Starter
    Member
    Join Date
    May 2019
    Posts
    51

    Re: Is there a matrix inversion function in VB?

    Nope ... didn’t see the different color ... old age. Thanks.

  6. #6
    PowerPoster boops boops's Avatar
    Join Date
    Nov 2008
    Location
    Holland/France
    Posts
    3,059

    Re: Is there a matrix inversion function in VB?

    What's not to like about the System.Drawing.Drawing2D.Matrix.Invert method and the corresponding IsInvertible property? Or if you prefer Double precision, you can add a project reference to WindowsBase.dll and use the System.Windows.Media.Matrix.Invert method and its partner the HasInverse property.

    Mind you, there's a lot I don't know about matrices so maybe there IS something not to like.

    BB

  7. #7
    Frenzied Member
    Join Date
    Dec 2014
    Location
    VB6 dinosaur land
    Posts
    1,125

    Re: Is there a matrix inversion function in VB?

    Quote Originally Posted by boops boops View Post
    What's not to like about the System.Drawing.Drawing2D.Matrix.Invert method and the corresponding IsInvertible property? Or if you prefer Double precision, you can add a project reference to WindowsBase.dll and use the System.Windows.Media.Matrix.Invert method and its partner the HasInverse property.

    Mind you, there's a lot I don't know about matrices so maybe there IS something not to like.
    Those seem to be limited to a 3-by-3 affine matrix.

    Though OP marked as resolved without indicating what the resolution was.

  8. #8

    Thread Starter
    Member
    Join Date
    May 2019
    Posts
    51

    Re: [RESOLVED] Is there a matrix inversion function in VB?

    I marked it RESOLVED because the answer seemed to be that there's nothing available in VB to invert a matrix so I figured it was a moot point. I will definitely look into topshot's suggestion … maybe I can avoid coding the solution after all! Thanks!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width