Is there an easy way to divide each matrix element by the column sum? For example:
input:
1 4
4 10
output:
1/5 4/14
4/5 10/14
Is there an easy way to divide each matrix element by the column sum? For example:
input:
1 4
4 10
output:
1/5 4/14
4/5 10/14