Solved

Inverse of a 2d array in java

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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.

747 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

9 Experts available now in Live!

Get 1:1 Help Now