Previous Up Next

2.42.10  Hadamard division (infixed version): ./

./ takes as arguments two matrices or two lists A and B of the same size.
./ is an infixed operator that returns the matrix or the list where each term is the term by term division of the corresponding terms of A and B.
Input :

[[1, 2],[3,4]] ./ [[5, 6],[7, 8]]

Output :

[[1/5,1/3],[3/7,1/2]]

Previous Up Next