Zoltán Vörös
c622fe61d8
added isinf/isfinite functions
2021-01-29 22:38:40 +01:00
Zoltán Vörös
cdc1429196
added option to include own config file
2021-01-21 21:55:16 +01:00
Zoltán Vörös
83a92f9b4b
added ifndef/endif wrappers in ulab.h
2021-01-21 20:51:55 +01:00
Zoltán Vörös
06bb8348a0
updated docs, removed circuitpython stuff, and fixed diff code
2021-01-14 19:40:18 +01:00
Zoltán Vörös
42f20bcc67
added the frombuffer function
2020-11-26 17:26:15 +01:00
Zoltán Vörös
b35c1568f3
removed numpy_defs.h, scipy_defs.h
2020-11-25 21:03:35 +01:00
Zoltán Vörös
9cb008a869
arrange all functions into numpy/scipy modules
2020-11-24 22:03:21 +01:00
Zoltán Vörös
a359cccf96
added numpy.c/h to the repository
2020-11-24 17:56:44 +01:00
Zoltán Vörös
f55b69d2ff
moved math constants to numpy module
2020-11-24 17:52:53 +01:00
Zoltán Vörös
a2dc565992
added inf/nan class level constants
2020-11-23 22:50:17 +01:00
Zoltán Vörös
c55e84b265
added in-place sort
2020-11-23 18:22:42 +01:00
Zoltán Vörös
5dcc298db2
fixed circuitpython compilation error
2020-11-20 15:04:09 +01:00
Zoltán Vörös
b93c4b95ab
split test scripts into numpy-compatible and circuitpy-compatible sets
2020-11-20 08:10:19 +01:00
Zoltán Vörös
73349aee3a
removed size function from linalg
2020-11-18 17:07:03 +01:00
Zoltán Vörös
ba0751edc8
set NDARRAY_BINARY_USES_FUN_POINTER to 0
2020-11-16 18:33:03 +01:00
Zoltán Vörös
e311773963
added function pointer option to pow and true divide
2020-11-16 07:23:17 +01:00
Zoltán Vörös
91dc3b9bf4
added function pointers in vectorise
2020-11-13 17:06:59 +01:00
Zoltán Vörös
434ea7b04c
Merge branch 'master' into dtype2
2020-11-11 19:27:25 +01:00
Zoltán Vörös
adfa60fbc9
fixed bad error in numerical.sort
2020-11-03 17:39:18 +01:00
Zoltán Vörös
dc4c9d692a
implemented second half of diag
2020-11-02 22:30:15 +01:00
Zoltán Vörös
984ddf51b4
added dtype implementation
2020-11-02 18:06:29 +01:00
Zoltán Vörös
475c0ae465
added diagonal and updated extract_pyi from circuitpython
2020-10-31 21:48:02 +01:00
Taku Fukada
1d18ab0381
Update type hints for the new/modified functions
2020-10-23 06:00:38 +09:00
Zoltán Vörös
ca61961d22
fixed test scripts
2020-10-17 21:26:59 +02:00
Zoltán Vörös
89801ab12c
restored circuitpython compatibility
2020-10-17 13:47:26 +02:00
Zoltán Vörös
511bb5f6c9
added in-place operators for 1, 3, and 4 dimensions
2020-10-16 22:14:13 +02:00
Zoltán Vörös
c29df37e7b
added concatenate
2020-10-15 18:26:12 +02:00
Zoltán Vörös
5389575c07
updated the arctan2 function
2020-10-14 21:03:29 +02:00
Zoltán Vörös
2e08b2566d
added in-place operators
2020-10-07 21:01:11 +02:00
Zoltán Vörös
8dec1328ab
added copy method to ndarray
2020-10-06 07:12:19 +02:00
Zoltán Vörös
0f336ab65b
fixed >=, <= error in binary_op
2020-10-01 07:17:28 +02:00
Zoltán Vörös
6a359e59c8
added cross product to numerical
2020-09-30 19:48:48 +02:00
Zoltán Vörös
3f25cae135
ndarrays can now be unsubscribed
2020-09-30 18:02:04 +02:00
Zoltán Vörös
501663e3fe
added function iterator to ndarray
2020-09-29 18:48:02 +02:00
Zoltán Vörös
dfd4a6729b
added pre-processor switch for unary operators
2020-09-28 21:21:56 +02:00
Zoltán Vörös
9f917b23c2
added power to binary operators
2020-09-28 19:22:39 +02:00
Zoltán Vörös
2c8faf7680
split binary operators into separate functions
2020-09-26 19:15:43 +02:00
Zoltán Vörös
483e9c3dc5
added full
2020-09-24 19:40:58 +02:00
Zoltán Vörös
b7f11232ee
added logscale
2020-09-24 19:11:11 +02:00
Zoltán Vörös
86bed99394
added tobytes method
2020-09-23 20:07:42 +02:00
Zoltán Vörös
32369e56fb
implement numpy compatibility option
2020-09-22 19:08:39 +02:00
Zoltán Vörös
fd7090ce35
added math constants, degrees/radians and defined relevant constants
2020-09-21 21:37:19 +02:00
Zoltán Vörös
c631443971
fixed poly
2020-09-20 21:35:54 +02:00
Zoltán Vörös
382d7a613e
numerical sum sort of works now
2020-08-15 00:39:12 +02:00
Zoltán Vörös
76c1a3d242
linalg can now be compiled
2020-08-13 20:16:10 +02:00
Zoltán Vörös
621dca8e3b
fixed filter module
2020-08-13 15:46:23 +02:00
Zoltán Vörös
3428fb8123
moved user settings to ulab.h
2020-08-13 15:17:22 +02:00
Zoltán Vörös
d903b0a7d2
fixed functions in compare module
2020-08-13 13:29:56 +02:00
Zoltán Vörös
8c4d02f755
not entirely functional, safety backup
2020-08-05 22:35:21 +02:00
Zoltán Vörös
5cd5aaba35
approx is compiles
2020-07-30 22:07:53 +02:00
Zoltán Vörös
162b39470d
fft is working
2020-07-30 21:38:31 +02:00
Zoltán Vörös
4ddbd8b73f
base code can be compiled
2020-07-30 20:49:14 +02:00
Zoltán Vörös
80503300ad
re-organised code, so that circuitpython documentation can automatically be generated
2020-07-22 20:19:14 +02:00
Zoltán Vörös
059994774d
first implementation of trapz
2020-07-16 20:52:53 +02:00
Zoltán Vörös
077bcc51ab
Merge branch 'master' into approx
2020-05-19 20:53:33 +02:00
Zoltán Vörös
e2cae23253
vectorize can now take scalars
2020-05-06 23:49:07 +02:00
Zoltán Vörös
6615290fdf
add approx sub-module with fmin, newton, and bisect functions
2020-04-30 22:33:21 +02:00
a7502f6243
ulab.h: Actually allow excluding modules
2020-04-26 20:37:14 -05:00
Zoltán Vörös
855384f579
implemented minimum/maximum and clip in the compare module
2020-04-21 22:35:17 +02:00
Zoltán Vörös
f014128595
backup commit
2020-04-20 20:54:24 +02:00
Zoltán Vörös
6b3d43846f
moved spectrum to extras module
2020-03-09 20:47:58 +01:00
Zoltán Vörös
47bf2ec9a7
created new create sub-module for ndarray initialisation functions
2020-02-27 20:39:13 +01:00
Zoltán Vörös
6fe015f134
properties are now defined in ndarray_properties.h
2020-02-16 19:49:01 +01:00
Zoltán Vörös
d8bfe46bd8
added __name__ to all submodules
2020-02-14 19:51:28 +01:00
Zoltán Vörös
2e3a0b4483
separated sub-modules into proper python sub-modules
2020-02-13 21:49:09 +01:00
Zoltán Vörös
9153fd8f8a
added a short section to the manual on how to customise ulab
2020-02-11 21:36:12 +01:00
Zoltán Vörös
57cf52838c
Merge pull request #33 from jepler/fix-undef-errors-mpy
...
Fix some define-guards
2020-02-11 20:19:27 +01:00
Zoltán Vörös
c14eee1bd4
trying to fix ulab.h definitions
2020-02-11 20:15:45 +01:00
02d74a4d3e
Fix some define-guards
...
These problems were found building in circuitpython:
../../extmod/ulab/code/numerical.c:671:5: error: "ULAB_NUMERICAL_ARGSORT" is not defined, evaluates to 0 [-Werror=undef]
671 | #if ULAB_NUMERICAL_ARGSORT
| ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
../../extmod/ulab/code/ulab.c:150:9: error: "ULAB_VECTORISE_" is not defined, evaluates to 0 [-Werror=undef]
150 | #if ULAB_VECTORISE_
| ^~~~~~~~~~~~~~~
../../extmod/ulab/code/ulab.c:159:9: error: "ULAB_VECTORISE_TAHN" is not defined, evaluates to 0 [-Werror=undef]
159 | #if ULAB_VECTORISE_TAHN
| ^~~~~~~~~~~~~~~~~~~
../../extmod/ulab/code/ulab.c:198:9: error: "ULAB_NUMERICAL_ARGSORT" is not defined, evaluates to 0 [-Werror=undef]
198 | #if ULAB_NUMERICAL_ARGSORT
| ^~~~~~~~~~~~~~~~~~~~~~
2020-02-11 11:08:25 -06:00
Zoltán Vörös
918075daaf
fixed a couple of small issues in filter.c
2020-02-08 10:45:13 +01:00