Posts by boltJu • 63 points
7 posts
-
0
votes1
answer50
viewsQ: Multiplication of 3 matrices
I have to multiply three matrices with the validation that you can actually do, in one function. I’m trying to do matrix 1 and 2 first and get the result to do the 3. But it’s going wrong and also I…
-
0
votes1
answer93
viewsQ: This method must Return a result of type int[][]
I’m trying to do this matrix multiplication function but it’s giving error. Shows that the error is mult(int row, int column, int Linha2, int column2, int[][] matrix, int[][] matriz2) and says 'This…
-
0
votes1
answer44
views -
0
votes1
answer1084
viewsQ: Sum of the elements of the secondary diagonal of a matrix
I made a program that the user declares the size of the matrix, and the matrix numbers are random. But in the sum part does not work and displays many errors. Java public static void main ( String[]…
-
-1
votes2
answers67
viewsQ: Sum of 3 matrices in a new matrix
I need a program that adds 3 matrices of Nxm size. The user should be able to set the size (Nxm) of the matrices. But I don’t know what’s wrong. Java int linha = i; int coluna = j; int[][] matriz =…
-
0
votes2
answers740
viewsQ: Multiply a matrix by a vector
I need to make a program that multiplies a 3x3 matrix by a vector 3, and store the result in a new vector. But I can’t get the result and the problem is probably multiplication. public static void…
-
1
votes1
answer78
viewsQ: The program hangs when it arrives at the while
I made a basic program about calculating potentiation, but when it comes to while crash, and until the terminal I have to restart. So I can’t continue the program. I even tried to change the way the…