Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

fill a two dimensional array with default value

for (double[] row: matrix)
    Arrays.fill(row, 1.0);
 
PREVIOUS NEXT
Tagged: #fill #dimensional #array #default
ADD COMMENT
Topic
Name
3+4 =