this the code segment
declare -A m;
for(( i=1;i<=n;i++ ))
do
for (( j=1;j<=n;j++ ))
do
m[i,j]=0;
done
done
Is there any option to reduce this code in a single line ? or is any improvement possible ?
this the code segment
declare -A m;
for(( i=1;i<=n;i++ ))
do
for (( j=1;j<=n;j++ ))
do
m[i,j]=0;
done
done
Is there any option to reduce this code in a single line ? or is any improvement possible ?