Click here to Skip to main content
15,927,694 members
Home / Discussions / Java
   

Java

 
QuestionAdding / Multiplying two matrices Pin
nt_virus14-Oct-09 22:52
nt_virus14-Oct-09 22:52 
AnswerRe: Adding / Multiplying two matrices Pin
Richard MacCutchan15-Oct-09 0:19
mveRichard MacCutchan15-Oct-09 0:19 
GeneralRe: Adding / Multiplying two matrices Pin
nt_virus15-Oct-09 0:22
nt_virus15-Oct-09 0:22 
GeneralRe: Adding / Multiplying two matrices Pin
Richard MacCutchan15-Oct-09 2:01
mveRichard MacCutchan15-Oct-09 2:01 
GeneralRe: Adding / Multiplying two matrices Pin
nt_virus15-Oct-09 2:36
nt_virus15-Oct-09 2:36 
GeneralRe: Adding / Multiplying two matrices Pin
Richard MacCutchan15-Oct-09 2:47
mveRichard MacCutchan15-Oct-09 2:47 
GeneralRe: Adding / Multiplying two matrices Pin
nt_virus15-Oct-09 2:49
nt_virus15-Oct-09 2:49 
GeneralRe: Adding / Multiplying two matrices Pin
nt_virus15-Oct-09 2:48
nt_virus15-Oct-09 2:48 
99% done..

for (int i=0;i<first.length;i++)
        {
            for (int j = 0; j<second.length;j++)
            {
                sum[i][j] = first[i][j] + second[i][j];
                System.out.println(sum[i][j]);
            }


But result are showing in vertical manner.. not like matrix way..
GeneralRe: Adding / Multiplying two matrices Pin
Richard MacCutchan15-Oct-09 4:32
mveRichard MacCutchan15-Oct-09 4:32 
GeneralRe: Adding / Multiplying two matrices Pin
nt_virus15-Oct-09 4:57
nt_virus15-Oct-09 4:57 
GeneralRe: Adding / Multiplying two matrices Pin
Richard MacCutchan15-Oct-09 4:59
mveRichard MacCutchan15-Oct-09 4:59 
GeneralRe: Adding / Multiplying two matrices Pin
nt_virus15-Oct-09 5:00
nt_virus15-Oct-09 5:00 
GeneralRe: Adding / Multiplying two matrices Pin
Richard MacCutchan15-Oct-09 6:35
mveRichard MacCutchan15-Oct-09 6:35 
GeneralRe: Adding / Multiplying two matrices Pin
nt_virus15-Oct-09 7:42
nt_virus15-Oct-09 7:42 
GeneralRe: Adding / Multiplying two matrices Pin
Richard MacCutchan15-Oct-09 7:46
mveRichard MacCutchan15-Oct-09 7:46 
GeneralRe: Adding / Multiplying two matrices Pin
nt_virus15-Oct-09 7:50
nt_virus15-Oct-09 7:50 
GeneralRe: Adding / Multiplying two matrices Pin
Richard MacCutchan15-Oct-09 9:21
mveRichard MacCutchan15-Oct-09 9:21 
QuestionHow to load a picture in JFrame Pin
akosidandan14-Oct-09 17:02
akosidandan14-Oct-09 17:02 
AnswerRe: How to load a picture in JFrame Pin
427748016-Oct-09 6:24
427748016-Oct-09 6:24 
Question[Message Deleted] Pin
s_a_20026314-Oct-09 8:12
s_a_20026314-Oct-09 8:12 
AnswerRe: Designing oop Pin
427748014-Oct-09 8:21
427748014-Oct-09 8:21 
General[Message Deleted] Pin
s_a_20026314-Oct-09 8:45
s_a_20026314-Oct-09 8:45 
GeneralRe: Designing oop Pin
427748014-Oct-09 8:51
427748014-Oct-09 8:51 
General[Message Deleted] Pin
s_a_20026314-Oct-09 9:12
s_a_20026314-Oct-09 9:12 
GeneralRe: Designing oop Pin
427748014-Oct-09 11:00
427748014-Oct-09 11:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.