Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Matrix 1x1-> Skalar

Hi everyone, i have a problem with dimensions: I am programing conjugate gradient algorithm, unfortunatly, when the result is skalar, sage still handles it a matrix 1x1, and as a result i can not use multiplication. How can i fix it, maybe there is a good tutorial or a book for sage and linear algebra.

here is the work so far:

https://cloud.sagemath.com/projects/1d25492e-4517-4c0f-99c6-b1205afc8edf/files/2016-01-18-112346.sagews

Thank you in advance

Matrix 1x1-> Skalar

Hi everyone, i have a problem with dimensions: I am programing conjugate gradient algorithm, unfortunatly, when the result is skalar, sage still handles it a matrix 1x1, and as a result i can not use multiplication. How can i fix it, maybe there is a good tutorial or a book for sage and linear algebra.

here is the work so far:

https://cloud.sagemath.com/projects/1d25492e-4517-4c0f-99c6-b1205afc8edf/files/2016-01-18-112346.sagews

Thank you in advance

Matrix 1x1-> Skalar1x1 matrix -> scalar

Hi everyone, i have a problem with dimensions: I am programing the conjugate gradient algorithm, unfortunatly, when the result is skalar, sage scalar, Sage still handles it a matrix 1x1, 1x1 matrix, and as a result i can not cannot use multiplication. How can i fix it, maybe there is a good tutorial or a book for sage Sage and linear algebra. algebra.

here Here is the my work so far:

https://cloud.sagemath.com/projects/1d25492e-4517-4c0f-99c6-b1205afc8edf/files/2016-01-18-112346.sagews

Thank you in advanceadvance.