Author Archive: Thilina Rathnayake

More work on Sparse Matrices

Hi All, During this week I completed more functionalities regarding to CSR Matrices. I mainly implemented a generalized binary operation between two matrices. It’s similar to the SciPy function csr_binop_csr_canonical. This method applies a given binary function, to each corresponding elements of the two matrices which are given as input arguments, i.e. entry of the …

Continue reading

Sparse Matrices

Hi All, I am writing a blog post for GSoC after three weeks. I couldn’t work on the project for two weeks as I participated in a competition. However I am back again and started working again. Now, I am mainly concerned about finishing my work with Sparse Matrices. Then we can write some wrappers …

Continue reading

[GSoC] Week 9: Matrix Inverse and Sparse Matrices

Hi All, Sorry for a late blog post. I was kind of busy during last week, preparing for a competition. During the last week, I mainly did two things, implementing matrix inverse and starting the implementation of sparse matrices. Implementing Matrix Inverse I implemented matrix inverse in two different methods, using Gauss Jordan elimination and …

Continue reading

[GSoC] Week 8: Solving Ax = b and Determinant

Hi All, Sorry, I couldn’t write a blog post last week. During past two weeks, I contributed in solving some of the bugs in CSymPy and the determinant of a Matrix. Also, I implemented the solutions of the system by using various decomposition methods. Determinant of a Matrix I implemented determinant using two different methods, …

Continue reading

[GSoC] Week 6: Cholesky and LDL Algorithms

This week I implemented Cholesky decomposition and LDL decomposition. In addition to that I fixed two errors In CSymPy. I was also bale to finish work with LU decomposition and merge it to master. Also, I could solve the system using fraction free LU factorization. Cholesky Decomposition Cholesky decomposition can be applied to a Hermitian …

Continue reading

[GSoC] Week 5: Matrix Decompositions

Hi All, Week 5 of the GSoC is over and I have made some progress in Matrix factorizations. I implemented LU factorization and QR factorization. Still I have to implement Cholesky factorization. I hope to do it during the Weekend. LU factorization LU factorization was invented by Alan Turing and this is very important when …

Continue reading

[GSoC] Week 4: Fraction Free Algorithms

Hi All, As the week 4 of the GSoC comes to an end I was able to start implementing Matrix decompositions, starting with the LU decomposition. Fraction Free Algorithms Gaussian elimination is the procedure for reducing a given matrix to an echelon form. In Gauss-Jordan elimination, we reduce a given matrix into a reduced row …

Continue reading

[GSoC] Week 2: Gaussian Elimination

Hi All, sorry for a late blog post. During the past week I worked on implementing gaussian elimination and correcting some bugs. I had a very slow progress during the past week due to the time spent on correcting the bugs and because of the busy schedule I had during the week. I wish to …

Continue reading

[GSoC] Week 1: Implemented Basic Matrix Classes

Hi All, When the first week of the GSoC comes to an end, I was able to finish the basic structure of the Matrix class and implement some of the functionalities related to the `DenseMatrix` class. I implemented Matrix addition, multiplication, scalar addition and scalar multiplication. I am yet to update the PR with these …

Continue reading

[GSoC] Linear Algebra Module for CSymPy

Hi All, This summer, as my GSoC project, I will be working on a Linear Algebra Module for CSymPy which is hoped to be used along with SymPy after the completion. I am going to mainly focus on Matrices and associated algorithms. This is my second GSoC project. I did my first project last summer …

Continue reading