**m = matrix(R, 3, 3, lambda i, j: 1/(i + j) ); m**

Sage tells me the following:

**Traceback (click to the left of this block for traceback)**

...

**ZeroDivisionError: rational division by zero**

why? it really confused me.

1 | initial version |

**m = matrix(R, 3, 3, lambda i, j: 1/(i + j) ); m**

Sage tells me the following:

**Traceback (click to the left of this block for traceback)**

...

**ZeroDivisionError: rational division by zero**

why? it really confused me.

**m = matrix(R, matrix(ZZ, 3, 3, lambda i, j: 1/(i + j) ); m**

Sage tells me the following:

**Traceback (click to the left of this block for traceback)**

...

**ZeroDivisionError: rational division by zero**

why? it really confused me.

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.