Click here to Skip to main content
15,887,875 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
A=np.arange(100,116).reshape(4,4)
np.linalg.det(A)
B=np.arange(10,26).reshape(4,4)
np.linalg.det(B)

I am getting the determinant of A, but not B.
Please guide me.
Thanks in advance!

What I have tried:

B=np.arange(10,26).reshape(4,4)
np.linalg.det(B)
Posted
Comments
Richard MacCutchan 4-Aug-18 11:06am    
What is the problem?
Member 13842073 4-Aug-18 12:51pm    
The determinant is 0.0
[no name] 4-Aug-18 11:16am    
Maybe because there is no one for B?
System of linear equations - Wikipedia[^]

And please define: "I'm not getting for B"

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900