Page 3 of 4<1234> Show 40 post(s) from this thread on one page

Go4Expert (http://www.go4expert.com/)
-   Java (http://www.go4expert.com/articles/java-tutorials/)
-   -   Multi-dimensional arrays in Java (http://www.go4expert.com/articles/multi-dimensional-arrays-java-t1162/)

 afredi786 30Jan2010 02:42

Re: Multi-dimensional arrays in Java

Sir Can yo Kindly tell me how to multiply two arrays. or you can say if we want to multiply numbers in two string and save result in another string.how will i will be able to do it.

e.g string1= "3298733333233121215455"
string2= "98234234239847239847239482"
how can i multiply them and save them in string3.

 Harishgp 15Feb2010 12:08

Multi-dimensional arrays in Java

Hi,
Can someone tell me how to generate general "n dimensional arrays"?. (i.e) I am given the number of dimensions and the length along each dimension as arguments to a function , I need to generate such an array in that function. All I can tell about the number of dimensions before hand is it will be less than 20. (Assume the lengtth along dimensions are such that the number of elements don't go beyond memory).

Thanks,
Harish

 Bearcat20 25Apr2010 04:47

Re: Multi-dimensional arrays in Java

I am studying for my Programming 1 final and I am having a little trouble with this problem on my study guide. Any assistance would be greatly appreciated. The problem is as follows.

Show how to declare a 2 dimensional array of integer values. This array should have 5 rows and 300 columns. Next, show the code necessary to fill this array with random values ranging from 0 up to 99 (including both 0 and 99). Finally, show the code necessary to sum up the values in each column and display the sum of each on the screen.

 srkanth_rks 20May2010 23:23

Re: Multi-dimensional arrays in Java

MATLAB scans column-wise the input matrix and writes them column-wise into the new matrix of specified matrix. Now i need to do that in Java, not a generic reshape, but for some specific cases. One of them is to transform a 1D array a[50400] into this 7D array c[2][12][4][5][5][7][3]. please, suggest how to do this.

 marcox4 14Aug2010 21:12

Re: Multi-dimensional arrays in Java

Would anybody know how to get user input into a muti-array in netbeans, from two diffrent textfields?

 shivika 28Oct2010 01:11

Re: Multi-dimensional arrays in Java

How can i implememt a gauss jacobi iteration in java programming language...using multi dimentional array and asking the user to enter all the details(No.of row, columns, the elements...).

thanks and regards....

 shivika 29Oct2010 01:07

Re: Multi-dimensional arrays in Java

hello,
im having problem to implement a gauss jacobi iteration in java...

 rameshb 13Dec2010 13:12

Re: Multi-dimensional arrays in Java

Thank you pradeep for uploading it in this forum . the example code are superb.. chow

 yellowscooter 15Dec2010 22:18

Re: Multi-dimensional arrays in Java

Multi-dimensional arrays are powerful constructs in Java. However, most of the times its better to an VO class, and store these objects in a List or a Map. This approach is more object oriented, and much easier to implement and understand.

 rameshb 20Dec2010 14:28

Re: Multi-dimensional arrays in Java

thank you for submitting this code ...

 All times are GMT +5.5. The time now is 19:44. Page 3 of 4<1234> Show 40 post(s) from this thread on one page