Skip to content

Commit

Permalink
[math] Update the logic of array creation fuctions (#7)
Browse files Browse the repository at this point in the history
* Update _compat_numpy.py

* Update _compat_numpy.py

* Update

* Update _compat_numpy.py

* Fix

* Update brainunit.math.rst

* Update _compat_numpy.py

* Update _unit_test.py

* Restruct

* Update

* Fix bugs

* Fix bugs in Python 3.9

* Update _compat_numpy_funcs_bit_operation.py

* Update _compat_numpy_funcs_bit_operation.py

* Fix logic of `asarray`

* update

* Update array creation funcs

* Update _compat_numpy_test.py

* Add magnitude conversion for `asarray`

* Update _compat_numpy_array_creation.py

* Update _compat_numpy_test.py

* Fix bugs

---------

Co-authored-by: Chaoming Wang <adaduo@outlook.com>
  • Loading branch information
Routhleck and chaoming0625 authored Jun 12, 2024
1 parent 43d9a01 commit 06b1d5f
Show file tree
Hide file tree
Showing 2 changed files with 249 additions and 187 deletions.
Loading

0 comments on commit 06b1d5f

Please sign in to comment.