[hotjoe.com] HotJoe Java Help Forums
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Visit java.com
Please send email if you are having login problems - see the posts below for more info.
Hotmail and Yahoo! users - please see the Hotmail post or the Yahoo! post for information on lost emails.
Messages posted by: griefex
Forum Index » Profile for griefex » Messages posted by griefex
Author Message
I can see them in the plugins im my eclipse (im using version 3.2 as well). But they are all with a red marking, what's wrong? I found this code in a tutorial on the internet and need it to do changes to it. There are is no help on the website. Even if I press ctrl+space for suggestions it doesnt give me any suggestions. Please help.
Can anyone help me what to import into eclipse? As all imports are with a red marking. Here are the imports which I have problems with:




The whole code is attached in a file.
Can anyone help me out with creating a notepad application with java? From where to start or any tutorial links?

Thanks
so what should I do for this code to work??

something like this? and arrange the pData to double



and then I should have the code displayed as requested in the assignment?
I didn't understand exactly what you mean. Here is exactly what he is expecting from us:

The scope of this HW is to create a class which given two matrices, and these being of the correct dimensions, will produce a third matrix by multiplying the two.

You will need a Matrix class which contains the methods
- public Matrix multiply (Matrix multiplicand, Matrix multiplier);
- public void display();

The display() method will output a matrix upon the console, columns should be tabbed and rows printed on a new line e.g.

20 6 112
1 -761 12
85 30 -65

Note that a matrix may have a any number of columns or rows. Your Matrix class must be flexible enough to support this. Generate a program which randomly creates matrices and multiplies them, always displaying each matrix (the multiplicand, multiplier and the multiplication result).

Hints
- you can use multi-dimensional arrays inside the matrix – though other forms of representation exist and are acceptable

- start with integer matrices and then move on to real numbers ones

This is the amended file. It is given me the following error:

1.8925456495068662 Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 16
at Matrix.Multiply(Matrix.java:163)
at ClassLauncher.main(ClassLauncher.java:32)


Also find attached in the file, a text file with what is really required for me to end with, in my program.
Hi I have this code and I think there is something wrong with the random generation. Can someone fix me this code please? The file is attached! Its getting me mad

I need this code for next friday!!
 
Forum Index » Profile for griefex » Messages posted by griefex
Go to:   
Powered by JForum 2.1.9 © JForum Team
This site run by Scott Dunbar of Xigole Systems. © 2005-2011 - Scott Dunbar
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners
hotjoe.com, xigole.com, and Scott Dunbar have no affiliation with Oracle