Skip to content

Monster PR - vectors, matrices, number theory bindings #12

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 40 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
c3a13f5
started binding CVec
bollu Nov 21, 2016
41861c1
started writing code to use Symengine exceptions, simplified code to …
bollu Nov 22, 2016
327d249
add a list of things you learnt along the way
bollu Nov 22, 2016
af90964
added error handling code so vectors dont crash on out of bounds
bollu Nov 24, 2016
89da046
implement vector with foreign pointer, started binding dense matrix
bollu Nov 25, 2016
f7ae2e6
started binding dense matrices
bollu Nov 25, 2016
057e308
added test for dense matrices
bollu Nov 25, 2016
de1032b
added checks to bounds in basicvec, as isuruf said that such checks s…
bollu Nov 25, 2016
c991b35
touched README so travis build is triggered
bollu Nov 25, 2016
fd4a5d2
made versions of cabal to be newer
bollu Nov 25, 2016
6a42612
changed a bunch of definitions to make the code simpler
bollu Nov 30, 2016
bb1d570
added a typeclass called Wrapped that represents ForeignPtr's wrapped…
bollu Nov 30, 2016
1777564
implemented getter for matrix
bollu Nov 30, 2016
8d22266
added getter for CDenseMatrix
bollu Nov 30, 2016
7d6ee7d
added dimensions access to dense matrix
bollu Nov 30, 2016
cf027a5
fixed get_size
bollu Nov 30, 2016
4440d9b
changed travis file to use the correct cabal, GHC version. BUMP
bollu Nov 30, 2016
e268442
added more dense matrix code
bollu Dec 8, 2016
dfdc5df
bound dense matrix solves, need to write test cases
bollu Dec 8, 2016
f7a707f
rewrote modules to be split into separate code
bollu Dec 9, 2016
9151a80
no longer allow a densematrix_new and vecbasic_new. Should be IO
bollu Dec 10, 2016
d5538bb
dependant typing is matrix. DenseMatrix size is now dependant typed
bollu Dec 11, 2016
35c7c74
made eye into typed function
bollu Dec 12, 2016
5bd0861
changed densematrix_get to be type level
bollu Dec 12, 2016
d9c5e4b
fully typed densematrix API
bollu Dec 12, 2016
82ec441
made code referentially transparent
bollu Dec 13, 2016
a3fa4ef
add comment about debacle with densematrix_set
bollu Dec 13, 2016
a96e5be
continue building number theory
bollu Dec 13, 2016
30411db
implemented number theory bindings
bollu Dec 14, 2016
16ebc01
changed the way basicsym, densematrix is constructed to now abuse mkF…
bollu Dec 14, 2016
a26e46e
edited VecBasic as well to prevent weird memory races. Hope this is c…
bollu Dec 14, 2016
afe7aed
edited basic_unaryop to do the construction thing
bollu Dec 14, 2016
5add770
identity of + is crashing
bollu Dec 14, 2016
9f549b4
DOES NOT COMPILE: turns out memory is _not_ the problem. changed all …
bollu Dec 15, 2016
ad21095
minimal test case: create and do nothing. crashes
bollu Dec 15, 2016
50f002d
found the error. divide by 0. I was assuming Q, (*) is a group, and n…
bollu Dec 15, 2016
7e2e5fc
crash fixed: removed test case that tried to invert 0. Need to actual…
bollu Dec 15, 2016
7a681fa
changed basicsym_binaryop to deal with exceptions. TODO: edit other c…
bollu Dec 15, 2016
a7ee3fb
added algebra-based test cases. Implemented det, inv, etc.
bollu Dec 15, 2016
27722bd
expose transpose
bollu Dec 15, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
touched README so travis build is triggered
  • Loading branch information
bollu committed Nov 25, 2016
commit c991b35a45883d48eb344cc8bb2d833716948196
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,3 @@ All code is released under the [MIT License](https://github.com/symengine/symeng
of C types

* API design - how to best handle exceptions?