Solved

Inverse of a 2d array in java

Posted on 2008-11-03
3
408 Views
Last Modified: 2012-05-05
Hi,

I need to be able to produce the inverse of a 2d array in java. Similarly to the excel function 'MInverse' (Application.WorksheetFunction.MInverse(z)) where z is double[][] z = new double[x][x];

please help.
0
Comment
Question by:billyleo
  • 2
3 Comments
 
LVL 59

Accepted Solution

by:
Kevin Cross earned 500 total points
ID: 22867600
Check out this API:
http://math.nist.gov/javanumerics/jama/

Used for Matrix based math.  Includes a function for Matrix Inverse (MInverse ;)).
0
 
LVL 59

Expert Comment

by:Kevin Cross
ID: 22867624
This from UNLV is supposed to be along the same lines, so you may be able to learn from this approach:
http://www.physics.unlv.edu/~pang/comp4/Inverse.java
0
 

Author Closing Comment

by:billyleo
ID: 31512697
cheers - had just found the second link but i like the look of jama more

thanks
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
xampp tool 12 24
table example 4 22
Mac Excel column treating text as date 2 30
increment numbers by 10 11 29
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

912 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now