Solved

Inverse of a 2d array in java

Posted on 2008-11-03
3
463 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In this post we will learn different types of Android Layout and some basics of an Android App.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Suggested Courses

635 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