Francesc Alted
9176900645
New branch for adding support for pure C strings
2014-09-05 11:56:45 +02:00
Francesc Alted
95f3995aed
Get rid of LOGDEBUG as it was meant to be used just during development of contains()
2014-04-07 06:59:56 +02:00
cgohlke
9fcbab1873
Fix build error with gcc
2014-04-06 15:24:08 -07:00
cgohlke
7865d1ced5
Use std:min instead of fminl
...
Fixes build error on Windows with msvc.
2014-04-06 14:56:53 -07:00
Francesc Alted
ce9f42c656
Moved str-two-way.h to .hpp to follow numexpr conventions
2014-03-03 07:40:22 +01:00
Marcin Krol
a65efcf4b0
cleanup
2014-02-20 18:45:48 +01:00
Marcin Krol
12c4f28af3
used str-two-way.h version from newlib that has permissive, BSD-like license
2014-02-19 17:45:48 +01:00
Marcin Krol
90a2a10918
reorg preprocessor directives
2014-02-18 15:09:39 +01:00
Marcin Krol
8c881eb3f3
contains(s1, s2) works without malloc and free, added tests
2014-02-18 14:57:18 +01:00
Marcin Krol
dce372cf96
working string "contains" operator
2014-02-18 14:49:03 +01:00
Marcin Krol
13407704a2
extended logging
2014-02-13 16:30:41 +01:00
Marcin Krol
05a39bc04a
extended logging
2014-02-13 15:58:46 +01:00
Marcin Krol
3cf3136532
implemented substring search function: contains(haystack, needle)
2014-02-12 20:49:55 +01:00
Marcin Krol
ab845a811b
fixes
2014-02-11 16:30:22 +01:00
Marcin Krol
c89f632e50
implement "contains" function for strings
2014-02-11 11:08:31 +01:00
Francesc Alted
f437b34236
Ups, vsConj() and vdConj() were not in the correct spot
2014-01-25 16:40:02 +01:00
Francesc Alted
855610c403
Adding vsConj and vdConj in its proper place (hopefully)
2014-01-25 10:29:05 +01:00
Francesc Alted
5c22363e7f
Ups, removed the wrong vzAbs_ function. Restoring.
2014-01-24 19:27:16 +01:00
Francesc Alted
5d40744803
Just use standard fconjf and fconj even for MKL build
2014-01-24 19:25:46 +01:00
Francesc Alted
df79fab2fb
Adding required vsConj and vdConj functions for MKL
2014-01-24 18:58:37 +01:00
Francesc Alted
6104fb0729
vzConj is in MKL, so removed from here.
2014-01-24 18:20:22 +01:00
Francesc Alted
0b63f53236
The loop counter has to be an MKL_INT too.
2014-01-24 12:57:38 +01:00
Francesc Alted
a64dd882af
Fixing the type for ints for vzConj for MKL in PR #125
2014-01-24 12:54:34 +01:00
FrancescAlted
ead47f381b
Merge pull request #125 from Dapid/add_conj
...
Adding function conj (still failing some tests, but will apply fixes later on)
2014-01-24 03:27:48 -08:00
Francesc Alted
904bd6ced3
After talking with Mark W. it does not seem that the if lines are needed
2014-01-23 18:56:46 +01:00
Francesc Alted
1e1aa14ef9
Fixing a DeprecationWarning when using NpyIter_AdvancedNew. Fixes #127 .
2014-01-23 11:18:52 +01:00
David Menéndez Hurtado
a4d8da442b
ENH: Adding function conj
2014-01-22 13:28:24 +01:00
Francesc Alted
3a26110901
Adding a patch for int -> INT_MKL on MKL functions
2014-01-21 07:48:13 +01:00
Francesc Alted
9ef24acd2d
Fix for the length parameter type. Closes #116 .
2013-09-27 10:23:30 +02:00
Francesc Alted
49e029e49a
Merged the Python3 compatibility changes by Antonio on his https://code.google.com/r/avalentinoit-numexpr/ repo
2013-04-12 12:35:18 +02:00
Antonio Valentino
8e47beca98
Fixed incompatibilities regarding the int/long API
2012-04-15 13:25:04 +02:00
Antonio Valentino
b83e68bdb3
Switch from PyString to PyBytes API
2012-04-15 13:18:11 +02:00
Mark Wiebe
f980d5c353
Some miscellaneous code cleanup
2012-03-01 18:40:51 -08:00
Mark Wiebe
b8a42cbeec
Replace tabs with spaces
2012-03-01 15:37:38 -08:00
Mark Wiebe
db92b02ed9
Fix issue 69, wrong result when out is also an input
...
This doesn't deal with the more general overlapping case.
2012-03-01 15:29:29 -08:00
Mark Wiebe
b64ca885eb
Split apart interpreter.cpp into more manageable chunks
2012-03-01 14:16:56 -08:00
Mark Wiebe
fd9f2a5ab7
Some simple cleanup of the header files
2012-03-01 13:09:12 -08:00
Mark Wiebe
355a3c0265
Rename *.inc to *.hpp, to make the naming more standard
2012-03-01 12:58:02 -08:00
Mark Wiebe
7b61533035
Made a CMake build + install. Tested on Windows
...
In particular, builds with Visual Studio 2008/Python 2.7, and
the install target in the solution works, except I'm unsure
what the point of __config__.py is.
2012-02-25 22:20:16 -08:00
Mark Wiebe
38283f0609
Make the initinterpreter function extern "C" so it runs on Linux
2012-01-23 13:39:11 -08:00
mwiebe
6dfa4e1fe6
Switch interpreter.c and interp_body.c to compile with C++
2012-01-22 01:16:52 -08:00