Lost Password?

Go Back   CodeCall Programming Forum > Software Development > Java Help

Java Help Java Help forum discussing all Java platforms - J2ME, J2SE and J2EE - as well as relevant standards, APIs and frameworks such as Swing, Servlets, JSPs, Applets, Struts, Spring, Hibernate, ANT, EJB, and other Java-related topics.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #11 (permalink)  
Old 06-25-2007, 06:57 AM
oubless oubless is offline
Newbie
 
Join Date: May 2007
Posts: 22
Rep Power: 5
oubless is on a distinguished road
Default

Quote:
Originally Posted by sania21 View Post
Hi!!

i have been working on the code given by you but,the loop startrow is moving downwards by adding 1,now i am trying to work on upper rows but i am unable to decrement the rowcount bcoz initialy the value of startrow is set to 0,so it is not getting decremented any solution for this?
Please let me know,or just give me some hint so that i could proceed.
Try starting from the last row and decrement its value...
this:
Code:
for(int startRow = 0; startRow < matrix.length; startRow++)
to this:
Code:
//note it starts from the last (matrix.length-1 not matrix.length)
for(int startRow = matrix.length-1 ; startRow >= 0 ; startRow--)
BTW are sure you want to change startRow and not currentRow values or both?

Last edited by oubless; 06-25-2007 at 07:46 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 06-26-2007, 12:14 AM
sania21 sania21 is offline
Newbie
 
Join Date: May 2007
Posts: 29
Rep Power: 5
sania21 is on a distinguished road
Default i got my answer!!!!!!!!!!

Hi!!
i was sure i had to start from startrow only not the current row,bcoz first i did
page work then i was trying it,but finally i got my program of inverse using pivot method that is generalised,i have tried it on many matrix of different dimension its giving the inverse,but one condition is the input should be a valid matrix,what i mean by this is whose inverse exist.
Anyways thanks for your kinda help
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 06-26-2007, 02:46 AM
oubless oubless is offline
Newbie
 
Join Date: May 2007
Posts: 22
Rep Power: 5
oubless is on a distinguished road
Default

I studied those in the university but it was some time ago and it seems I have forgotten most of it .
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 06-27-2007, 01:08 AM
sania21 sania21 is offline
Newbie
 
Join Date: May 2007
Posts: 29
Rep Power: 5
sania21 is on a distinguished road
Default What must be used?

Hey!! oubless

now i have completed my program on matrix but still some work is remaining
in that concern i need ur advice,since i have to work on large matrix i have to take input from excel sheet but in order to give the output of matrix that is inverse what must be used?
i had first thought of output in word document but when we get output there its nice but later if we use the output can say copy it to some other document its order may change ..............so i want to use some Swing component instead so can you suggest me some swing component?

thanks in advance..........
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15 (permalink)  
Old 06-27-2007, 03:49 AM
oubless oubless is offline
Newbie
 
Join Date: May 2007
Posts: 22
Rep Power: 5
oubless is on a distinguished road
Default

JTable:
JTable (Java 2 Platform SE 5.0)
How to Use Tables (The Java™ Tutorials > Creating a GUI with JFC/Swing > Using Swing Components)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #16 (permalink)  
Old 06-28-2007, 03:29 AM
sania21 sania21 is offline
Newbie
 
Join Date: May 2007
Posts: 29
Rep Power: 5
sania21 is on a distinguished road
Default thanks!!

Thanks once again!!!!!!!!!!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
The Matrix? Lop The Lounge 17 03-03-2008 11:47 AM


All times are GMT -5. The time now is 11:39 PM.

Contest Stats

John ........ 223.00000
dargueta ........ 168.00000
Xav ........ 164.00000
LogicKills ........ 20.00000
gaylo565 ........ 18.00000
WingedPanther ........ 15.00000
|pH| ........ 15.00000
Johnnyboy ........ 3.00000
navghost ........ 1.00000

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 67%

Ads