linpy.git
9 years agoBetter implementation of NSAD'10 example
Vivien Maisonneuve [Thu, 3 Jul 2014 09:43:04 +0000 (11:43 +0200)]
Better implementation of NSAD'10 example

9 years agoSupport for dummy symbols
Vivien Maisonneuve [Thu, 3 Jul 2014 08:19:39 +0000 (10:19 +0200)]
Support for dummy symbols

9 years agoAdd a few tests with universe and empty
Danielle Bolan [Thu, 3 Jul 2014 08:28:55 +0000 (10:28 +0200)]
Add a few tests with universe and empty

9 years agoFix examples
Vivien Maisonneuve [Wed, 2 Jul 2014 21:25:30 +0000 (23:25 +0200)]
Fix examples

9 years agoImplementation of Symbol.sortkey()
Vivien Maisonneuve [Wed, 2 Jul 2014 21:22:57 +0000 (23:22 +0200)]
Implementation of Symbol.sortkey()

9 years agoImplementation of Domain.fromsympy(), tosympy()
Vivien Maisonneuve [Wed, 2 Jul 2014 21:04:15 +0000 (23:04 +0200)]
Implementation of Domain.fromsympy(), tosympy()

9 years agoRename Constant into Rational
Vivien Maisonneuve [Wed, 2 Jul 2014 20:30:43 +0000 (22:30 +0200)]
Rename Constant into Rational

9 years agoCleaner and faster linear expressions
Vivien Maisonneuve [Wed, 2 Jul 2014 17:12:07 +0000 (19:12 +0200)]
Cleaner and faster linear expressions

9 years agoDrop_dims working for any order!
Danielle Bolan [Wed, 2 Jul 2014 10:01:03 +0000 (12:01 +0200)]
Drop_dims working for any order!

9 years agoUpdate drop_dims, now works with more than 2 dims passed
Danielle Bolan [Wed, 2 Jul 2014 09:47:58 +0000 (11:47 +0200)]
Update drop_dims, now works with more than 2 dims passed

9 years agoAdd to drop_dims check next value, a little sloppy
Danielle Bolan [Wed, 2 Jul 2014 09:10:14 +0000 (11:10 +0200)]
Add to drop_dims check next value, a little sloppy

9 years agoNew example: basic implementation of ACI'10
Vivien Maisonneuve [Wed, 2 Jul 2014 08:31:27 +0000 (10:31 +0200)]
New example: basic implementation of ACI'10

9 years agoMake symbolnames return a tuple
Vivien Maisonneuve [Wed, 2 Jul 2014 08:25:55 +0000 (10:25 +0200)]
Make symbolnames return a tuple

9 years agoHelper module for sympy in unitary tests
Vivien Maisonneuve [Wed, 2 Jul 2014 07:24:23 +0000 (09:24 +0200)]
Helper module for sympy in unitary tests

9 years agoFix tests for Expression.subs
Vivien Maisonneuve [Wed, 2 Jul 2014 07:08:56 +0000 (09:08 +0200)]
Fix tests for Expression.subs

9 years agoNew method Expression.subs
Vivien Maisonneuve [Wed, 2 Jul 2014 07:00:15 +0000 (09:00 +0200)]
New method Expression.subs

9 years agoHelper functions symbolname and symbolnames
Vivien Maisonneuve [Wed, 2 Jul 2014 05:08:11 +0000 (07:08 +0200)]
Helper functions symbolname and symbolnames

9 years agoBetter implementation of symbols and constants
Vivien Maisonneuve [Wed, 2 Jul 2014 04:53:14 +0000 (06:53 +0200)]
Better implementation of symbols and constants

9 years agoImprove hash functions in linexprs
Vivien Maisonneuve [Wed, 2 Jul 2014 04:32:12 +0000 (06:32 +0200)]
Improve hash functions in linexprs

9 years agoAdd missing classmethod decorator
Vivien Maisonneuve [Wed, 2 Jul 2014 04:10:18 +0000 (06:10 +0200)]
Add missing classmethod decorator

9 years agoOverloading for Domains.project_out(), to be improved
Vivien Maisonneuve [Tue, 1 Jul 2014 17:05:07 +0000 (19:05 +0200)]
Overloading for Domains.project_out(), to be improved

9 years agoAlternative implementation of projection
Vivien Maisonneuve [Tue, 1 Jul 2014 16:47:54 +0000 (18:47 +0200)]
Alternative implementation of projection

9 years agoLet's test complement, not compliment
Vivien Maisonneuve [Tue, 1 Jul 2014 16:32:54 +0000 (18:32 +0200)]
Let's test complement, not compliment

9 years agoFix make test
Vivien Maisonneuve [Tue, 1 Jul 2014 16:31:13 +0000 (18:31 +0200)]
Fix make test

9 years agoAdd diamond example
Vivien Maisonneuve [Tue, 1 Jul 2014 14:29:15 +0000 (16:29 +0200)]
Add diamond example

9 years agoAdd basic tests for drop_dims
Danielle Bolan [Tue, 1 Jul 2014 14:22:41 +0000 (16:22 +0200)]
Add basic tests for drop_dims

9 years agoRemove print statement
Danielle Bolan [Tue, 1 Jul 2014 14:17:53 +0000 (16:17 +0200)]
Remove print statement

9 years agoProject_out working
Danielle Bolan [Tue, 1 Jul 2014 14:03:38 +0000 (16:03 +0200)]
Project_out working

9 years agoCommit working basic drop constraints
Danielle Bolan [Tue, 1 Jul 2014 09:14:46 +0000 (11:14 +0200)]
Commit working basic drop constraints

9 years agoRemove explicit calls to magic methods in test files
Vivien Maisonneuve [Mon, 30 Jun 2014 15:33:38 +0000 (17:33 +0200)]
Remove explicit calls to magic methods in test files

9 years agoMake test work
Vivien Maisonneuve [Mon, 30 Jun 2014 15:32:12 +0000 (17:32 +0200)]
Make test work

9 years agoFix C code
Vivien Maisonneuve [Mon, 30 Jun 2014 15:31:54 +0000 (17:31 +0200)]
Fix C code

9 years agopushing recent changes before playing with project
Danielle Bolan [Mon, 30 Jun 2014 14:18:27 +0000 (16:18 +0200)]
pushing recent changes before playing with project

9 years agoUse OrderedDict to store Expression coefficients
Vivien Maisonneuve [Mon, 30 Jun 2014 09:55:28 +0000 (11:55 +0200)]
Use OrderedDict to store Expression coefficients

9 years agoadded unbounded test, deleted unused cvariable
Danielle Bolan [Fri, 27 Jun 2014 15:49:26 +0000 (17:49 +0200)]
added unbounded test, deleted unused cvariable

9 years agoadded a few tests, might change the format though
Danielle Bolan [Fri, 27 Jun 2014 15:42:50 +0000 (17:42 +0200)]
added a few tests, might change the format though

9 years agoAccess to ISL version, just in case
Vivien Maisonneuve [Thu, 26 Jun 2014 15:00:30 +0000 (17:00 +0200)]
Access to ISL version, just in case

9 years agoMinor improvements to Polyhedra._fromislbasicset(), _toislbasicset()
Vivien Maisonneuve [Thu, 26 Jun 2014 13:55:03 +0000 (15:55 +0200)]
Minor improvements to Polyhedra._fromislbasicset(), _toislbasicset()

9 years agoImprove Expression.fromstring(), Domain.fromstring()
Vivien Maisonneuve [Thu, 26 Jun 2014 12:36:50 +0000 (14:36 +0200)]
Improve Expression.fromstring(), Domain.fromstring()

9 years agoReplace Polyhedron.fromstring() by Domain.fromstring()
Vivien Maisonneuve [Thu, 26 Jun 2014 09:57:59 +0000 (11:57 +0200)]
Replace Polyhedron.fromstring() by Domain.fromstring()

9 years agoAdd method Domain.isbounded()
Vivien Maisonneuve [Thu, 26 Jun 2014 09:18:16 +0000 (11:18 +0200)]
Add method Domain.isbounded()

9 years agoI prefer Rochefort to Le Bardo ;)
Vivien Maisonneuve [Wed, 25 Jun 2014 19:07:46 +0000 (21:07 +0200)]
I prefer Rochefort to Le Bardo ;)

9 years agoDocumentation directory
Vivien Maisonneuve [Wed, 25 Jun 2014 18:56:14 +0000 (20:56 +0200)]
Documentation directory

9 years agoRemove useless definitions in Makefile
Vivien Maisonneuve [Wed, 25 Jun 2014 18:57:10 +0000 (20:57 +0200)]
Remove useless definitions in Makefile

9 years agoImprove make clean
Vivien Maisonneuve [Wed, 25 Jun 2014 16:14:45 +0000 (18:14 +0200)]
Improve make clean

9 years agoREADME on how to run examples
Vivien Maisonneuve [Wed, 25 Jun 2014 16:11:07 +0000 (18:11 +0200)]
README on how to run examples

9 years agoNew example from French Baccalauréat 2014 (courtesy of Pierre Guillou)
Vivien Maisonneuve [Wed, 25 Jun 2014 15:31:39 +0000 (17:31 +0200)]
New example from French Baccalauréat 2014 (courtesy of Pierre Guillou)

9 years agoCreate example directory
Vivien Maisonneuve [Wed, 25 Jun 2014 15:30:53 +0000 (17:30 +0200)]
Create example directory

9 years agoAdd demonstration file
Vivien Maisonneuve [Wed, 25 Jun 2014 11:57:32 +0000 (13:57 +0200)]
Add demonstration file

9 years agoSplit linear.py and add domains
Vivien Maisonneuve [Wed, 25 Jun 2014 11:56:34 +0000 (13:56 +0200)]
Split linear.py and add domains

9 years agomessy and needs reformatting but returning correct values for now
Danielle Bolan [Wed, 25 Jun 2014 08:18:17 +0000 (10:18 +0200)]
messy and needs reformatting but returning correct values for now

9 years agoRename decorator _with_sympy into _requires_sympy
Vivien Maisonneuve [Tue, 24 Jun 2014 08:56:13 +0000 (10:56 +0200)]
Rename decorator _with_sympy into _requires_sympy

9 years agoChange string representations of Expression and Polyhedron
Vivien Maisonneuve [Tue, 24 Jun 2014 08:54:34 +0000 (10:54 +0200)]
Change string representations of Expression and Polyhedron

9 years agoUnitary tests for Polyhedron, very incomplete
Vivien Maisonneuve [Mon, 23 Jun 2014 16:27:09 +0000 (18:27 +0200)]
Unitary tests for Polyhedron, very incomplete

9 years agoMethods Polyhedron.fromsympy(), Polyhedron.tosympy()
Vivien Maisonneuve [Mon, 23 Jun 2014 16:26:49 +0000 (18:26 +0200)]
Methods Polyhedron.fromsympy(), Polyhedron.tosympy()

9 years agoCheck for SymPy presence in unittary tests
Vivien Maisonneuve [Mon, 23 Jun 2014 15:42:14 +0000 (17:42 +0200)]
Check for SymPy presence in unittary tests

9 years agoMethods Expression.fromsympy(), Expression.tosympy()
Vivien Maisonneuve [Mon, 23 Jun 2014 12:47:58 +0000 (14:47 +0200)]
Methods Expression.fromsympy(), Expression.tosympy()

9 years agoRenaming in _isl.c
Vivien Maisonneuve [Tue, 24 Jun 2014 06:28:59 +0000 (08:28 +0200)]
Renaming in _isl.c

9 years agoStatic functions in isl.c
Vivien Maisonneuve [Tue, 24 Jun 2014 05:51:56 +0000 (07:51 +0200)]
Static functions in isl.c

9 years agoVerbose output for make test
Vivien Maisonneuve [Mon, 23 Jun 2014 15:41:14 +0000 (17:41 +0200)]
Verbose output for make test

9 years agoOops, fix relative imports
Vivien Maisonneuve [Mon, 23 Jun 2014 13:22:56 +0000 (15:22 +0200)]
Oops, fix relative imports

9 years agoUse PyList_SET_ITEM for list initialization in _isl.c
Vivien Maisonneuve [Mon, 23 Jun 2014 10:34:09 +0000 (12:34 +0200)]
Use PyList_SET_ITEM for list initialization in _isl.c

9 years agoException handling in _isl.c
Vivien Maisonneuve [Mon, 23 Jun 2014 09:09:03 +0000 (11:09 +0200)]
Exception handling in _isl.c

9 years agoRemove useless header in _isl.c
Vivien Maisonneuve [Mon, 23 Jun 2014 07:02:24 +0000 (09:02 +0200)]
Remove useless header in _isl.c

9 years agoInclude Python.h headers first in _isl.c
Vivien Maisonneuve [Mon, 23 Jun 2014 07:01:16 +0000 (09:01 +0200)]
Include Python.h headers first in _isl.c

9 years agoUpdated Makefile
Vivien Maisonneuve [Fri, 20 Jun 2014 14:27:28 +0000 (16:27 +0200)]
Updated Makefile

9 years agoImplement isl_basic_set_constraints
Vivien Maisonneuve [Fri, 20 Jun 2014 09:57:42 +0000 (11:57 +0200)]
Implement isl_basic_set_constraints

9 years agoImprove representation of Constants
Vivien Maisonneuve [Fri, 20 Jun 2014 07:54:32 +0000 (09:54 +0200)]
Improve representation of Constants

9 years agoImprove Polyhedron.fromstring
Vivien Maisonneuve [Fri, 20 Jun 2014 07:46:01 +0000 (09:46 +0200)]
Improve Polyhedron.fromstring

9 years agoFix Symbol.__slots__
Vivien Maisonneuve [Fri, 20 Jun 2014 06:25:48 +0000 (08:25 +0200)]
Fix Symbol.__slots__

9 years agoAdd __slots__ declarations
Vivien Maisonneuve [Fri, 20 Jun 2014 06:05:33 +0000 (08:05 +0200)]
Add __slots__ declarations

9 years agoImplement Polyhedron.fromstring
Vivien Maisonneuve [Thu, 19 Jun 2014 17:48:15 +0000 (19:48 +0200)]
Implement Polyhedron.fromstring

9 years agoImplement Expression.fromstring
Vivien Maisonneuve [Thu, 19 Jun 2014 16:33:22 +0000 (18:33 +0200)]
Implement Expression.fromstring

9 years agoCoding style in _toisl()
Vivien Maisonneuve [Thu, 19 Jun 2014 16:06:01 +0000 (18:06 +0200)]
Coding style in _toisl()

9 years agoExpression.symbol moved to Symbol.name
Vivien Maisonneuve [Thu, 19 Jun 2014 09:42:59 +0000 (11:42 +0200)]
Expression.symbol moved to Symbol.name

9 years agoConstant names Empty and Universe, pretty printing
Vivien Maisonneuve [Thu, 19 Jun 2014 09:37:48 +0000 (11:37 +0200)]
Constant names Empty and Universe, pretty printing

9 years agoRemove useless imports
Vivien Maisonneuve [Thu, 19 Jun 2014 09:25:48 +0000 (11:25 +0200)]
Remove useless imports

9 years agovalues used for toisl(some expressions not correct)
Danielle Bolan [Thu, 19 Jun 2014 15:35:06 +0000 (17:35 +0200)]
values used for toisl(some expressions not correct)

9 years agoWorking test suite
Vivien Maisonneuve [Thu, 19 Jun 2014 08:18:15 +0000 (10:18 +0200)]
Working test suite

9 years agoFix symbols() function
Vivien Maisonneuve [Thu, 19 Jun 2014 08:16:56 +0000 (10:16 +0200)]
Fix symbols() function

9 years agoFix Expression.__bool__
Vivien Maisonneuve [Thu, 19 Jun 2014 08:10:00 +0000 (10:10 +0200)]
Fix Expression.__bool__

9 years agoFix Expression.__hash__
Vivien Maisonneuve [Thu, 19 Jun 2014 07:15:55 +0000 (09:15 +0200)]
Fix Expression.__hash__

9 years agoFix Symbol creation
Vivien Maisonneuve [Thu, 19 Jun 2014 07:08:45 +0000 (09:08 +0200)]
Fix Symbol creation

9 years agoClasses Symbol and Constant, rather than functions (à la SymPy)
Vivien Maisonneuve [Wed, 18 Jun 2014 21:51:31 +0000 (23:51 +0200)]
Classes Symbol and Constant, rather than functions (à la SymPy)

9 years agoFix Polyhedron.isempty()
Vivien Maisonneuve [Wed, 18 Jun 2014 20:32:11 +0000 (22:32 +0200)]
Fix Polyhedron.isempty()

9 years agoRemove misplaced methods
Vivien Maisonneuve [Wed, 18 Jun 2014 19:57:57 +0000 (21:57 +0200)]
Remove misplaced methods

9 years agoRename Expression._canonify() into _toint()
Vivien Maisonneuve [Wed, 18 Jun 2014 19:55:32 +0000 (21:55 +0200)]
Rename Expression._canonify() into _toint()

9 years agoImprovements in decorators, data types, caches
Vivien Maisonneuve [Wed, 18 Jun 2014 18:50:22 +0000 (20:50 +0200)]
Improvements in decorators, data types, caches

9 years agoInitialize isl.Context using super's initializer
Vivien Maisonneuve [Wed, 18 Jun 2014 18:26:39 +0000 (20:26 +0200)]
Initialize isl.Context using super's initializer

9 years agoGet rid of weird comment
Vivien Maisonneuve [Wed, 18 Jun 2014 18:25:24 +0000 (20:25 +0200)]
Get rid of weird comment

9 years agoImplement BasicSet.__del__
Vivien Maisonneuve [Wed, 18 Jun 2014 18:24:45 +0000 (20:24 +0200)]
Implement BasicSet.__del__

9 years agoSimplify BasicSet.__str__
Vivien Maisonneuve [Wed, 18 Jun 2014 18:19:28 +0000 (20:19 +0200)]
Simplify BasicSet.__str__

9 years agoRename islhelper into _isl
Vivien Maisonneuve [Wed, 18 Jun 2014 16:16:34 +0000 (18:16 +0200)]
Rename islhelper into _isl

9 years agoGlobal context
Vivien Maisonneuve [Wed, 18 Jun 2014 16:11:11 +0000 (18:11 +0200)]
Global context

9 years agoImplement IslObjects, delete Value
Vivien Maisonneuve [Wed, 18 Jun 2014 16:09:03 +0000 (18:09 +0200)]
Implement IslObjects, delete Value

9 years agoCode cleanup
Vivien Maisonneuve [Wed, 18 Jun 2014 15:57:37 +0000 (17:57 +0200)]
Code cleanup

9 years agorecent update to isl no errors!!
Danielle Bolan [Wed, 18 Jun 2014 15:12:36 +0000 (17:12 +0200)]
recent update to isl no errors!!

9 years agoMakefile for virtualenv
Vivien Maisonneuve [Mon, 16 Jun 2014 16:33:25 +0000 (18:33 +0200)]
Makefile for virtualenv

9 years agoAdd islhelper.c library to handle isl constants
Vivien Maisonneuve [Mon, 16 Jun 2014 16:03:19 +0000 (18:03 +0200)]
Add islhelper.c library to handle isl constants

9 years agono errors: dim type and id value updated
Danielle Bolan [Mon, 16 Jun 2014 14:56:52 +0000 (16:56 +0200)]
no errors: dim type and id value updated