Solved

Inverse of a 2d array in java

Posted on 2008-11-03
3
448 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 60

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 60

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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
Suggested Courses

752 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