Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

arrays

  1. narvin

    macOS 3D Matrix subtract from 2D

    I have the code bellow , which is for subtracting the 3D matrix from 2D. import java.util.*; class test28{ public static void main ( String[] args ) { int [][][] arr1 = {{{6,3,9,0},{8,6,5,3},{5, 4, 6, 7}}}; int [][] arr2= {{6,3,5,0},{8,6,5,3}}; test28 test = new test28()...