There is a 100x100 matrix and an array of one hundred elements. It is necessary to sum up the array and each row of the matrix and write it into a separate array. Is this possible ???
public class Distance { public static int[] distance(int[] etalonMatrix, int[][] convertToMatrix){ int[] etalon = etalonMatrix; int [][] matrix = convertToMatrix; int [] distance = new int[80]; } } 