```python
import random
from sympy import *
```


```python
Matrix??
```


```python
B = Matrix(3,3, lambda i,j: S(random.randrange(-1,4))/random.randrange(1,4) )
B
```




    Matrix([
    [   0,   1, 1/3],
    [-1/3, 1/3, 2/3],
    [ 2/3,   1,   2]])




```python
B.det()
```




    25/27




```python

```


```python

```


```python
beta = symbols('beta')


```


```python
A
```


```python
A.det()
```


```python
# if alpha = 2/3 then det(A)=0  => A is not invertible
# otherwise A is invertible.

```


```python
S(random.randrange(1,4))/random.randrange(2,4)
```


```python
A = Matrix([[3,1],[2,S(3)/2]])
```


```python
A

```


```python

```

ipynb
d1c9262ee5b0804fda3729406faf19a63b827ae7
Jupyter Notebook
c0102473f1e6625fa5fb62768d4545059959fa26
MIT
ChidinmaKO/noBSLAnotebooks
cut_material/generated_B.ipynb
c0102473f1e6625fa5fb62768d4545059959fa26
MIT
ChidinmaKO/noBSLAnotebooks
cut_material/generated_B.ipynb
c0102473f1e6625fa5fb62768d4545059959fa26
MIT
ChidinmaKO/noBSLAnotebooks
cut_material/generated_B.ipynb