xerus issueshttps://git.hemio.de/xerus/xerus/-/issues2017-05-23T13:08:29+02:00https://git.hemio.de/xerus/xerus/-/issues/199export exceptions to python2017-05-23T13:08:29+02:00Fuchsi*export exceptions to pythonVersion 3.0Fuchsi*Fuchsi*https://git.hemio.de/xerus/xerus/-/issues/197premature deallocation of temporary tensors in python2017-05-23T00:53:41+02:00Fuchsi*premature deallocation of temporary tensors in pythonindexing a temporary tensor leads to invalid memory access. the lifetime of the tensor likely has to be bound to the lifetime of the resulting indexed tensor somehow...
eg.
~~~ python
xe.frob_norm(xe.Tensor.identity({10,10})(i&0))
~~~indexing a temporary tensor leads to invalid memory access. the lifetime of the tensor likely has to be bound to the lifetime of the resulting indexed tensor somehow...
eg.
~~~ python
xe.frob_norm(xe.Tensor.identity({10,10})(i&0))
~~~Version 3.0Fuchsi*Fuchsi*https://git.hemio.de/xerus/xerus/-/issues/92language support: python2018-04-23T03:03:37+02:00Fuchsi*language support: python- [x] write boost python converter from python::list to std::vector<size_t>
- [x] export of our basic functionality
- [x] export measurement sets and completion algorithms
- [x] export factorizations
- [x] export streamWriter
- [x] tran...- [x] write boost python converter from python::list to std::vector<size_t>
- [x] export of our basic functionality
- [x] export measurement sets and completion algorithms
- [x] export factorizations
- [x] export streamWriter
- [x] translate exceptions to python?
- [x] pack arguments for variadic argument lists, see http://stackoverflow.com/questions/11904015/calling-a-python-function-with-variable-number-of-input-arguments-from-boost-pyt (part two of answer, .py file can be replaced by `boost::python::exec(str)`)
- [ ] ~~allow import of ttToolbox like tt-tensors~~
- [ ] allow modification of TensorNetworks
- [x] allow conversion of numpy arrays to tensor etc.
- [ ] allow named arguments, replace overloads with default arguments `(arg("x")=1.0, arg("y")=0.0)`
- [ ] check for dangling pointers or objects
- [ ] add pydoc strings to all classes and functions
- [ ] create python documentation and include it on libxerus.org
- [ ] allow pickling tensors and tensor networks etc.Version 3.0Fuchsi*Fuchsi*https://git.hemio.de/xerus/xerus/-/issues/249load_from_file shoud raise an IOError instead of returning None if the file d...2019-06-13T12:26:28+02:00Philipp Trunschkeload_from_file shoud raise an IOError instead of returning None if the file does not existVersion 4.0Philipp TrunschkePhilipp Trunschkehttps://git.hemio.de/xerus/xerus/-/issues/247test pybind11 bindings2019-06-12T23:08:00+02:00Philipp Trunschketest pybind11 bindings- [x] `xe.Tensor(xe.TTTensor([2]))` raises `ValueError`
- [ ] segfault in `test_pickle.py` with python2-bindings- [x] `xe.Tensor(xe.TTTensor([2]))` raises `ValueError`
- [ ] segfault in `test_pickle.py` with python2-bindingsVersion 4.0Philipp TrunschkePhilipp Trunschkehttps://git.hemio.de/xerus/xerus/-/issues/246clean up interface to `uq_ra_adf`2019-06-16T20:37:40+02:00Philipp Trunschkeclean up interface to `uq_ra_adf`Clean up the interface for `uq_ra_adf`.
- [ ] define `uq_ra_adf_iv`, ... as overloaded version of `uq_ra_adf`Clean up the interface for `uq_ra_adf`.
- [ ] define `uq_ra_adf_iv`, ... as overloaded version of `uq_ra_adf`Version 4.0Philipp TrunschkePhilipp Trunschkehttps://git.hemio.de/xerus/xerus/-/issues/230Memory Leak in Python Interface2019-06-13T01:30:25+02:00Philipp TrunschkeMemory Leak in Python InterfaceThere is a memory leak in the python interface to `xerus`.
Minimal working example:
```
import xerus as xe
i, = xe.indices(1)
d = xe.Tensor.random([100]*3)
while True:
d_tmp = xe.Tensor()
d_tmp(i&0) << d(i&0)
```There is a memory leak in the python interface to `xerus`.
Minimal working example:
```
import xerus as xe
i, = xe.indices(1)
d = xe.Tensor.random([100]*3)
while True:
d_tmp = xe.Tensor()
d_tmp(i&0) << d(i&0)
```Version 4.0Philipp TrunschkePhilipp Trunschkehttps://git.hemio.de/xerus/xerus/-/issues/217pybind11 bindings2019-06-12T22:01:09+02:00RoteKeksepybind11 bindings- [x] expose indexedTensors
- [x] expose factorizations
- [x] expose tensor
- [x] expose tensorNetwork
- [x] expose ttnetwork
- [x] expose htnetwork
- [x] expose leastSquaresAlgorithms
- [x] expose recoveryAlgorithms
- [x] expose misc- [x] expose indexedTensors
- [x] expose factorizations
- [x] expose tensor
- [x] expose tensorNetwork
- [x] expose ttnetwork
- [x] expose htnetwork
- [x] expose leastSquaresAlgorithms
- [x] expose recoveryAlgorithms
- [x] expose miscVersion 4.0Philipp TrunschkePhilipp Trunschkehttps://git.hemio.de/xerus/xerus/-/issues/191allow pickling tensors, tensor networks etc.2019-06-17T14:22:02+02:00Fuchsi*allow pickling tensors, tensor networks etc.- [x] add tests for tensors
- [x] add tests for tttensor
- [x] add tests for httensor
- [x] add tests for tensor networks- [x] add tests for tensors
- [x] add tests for tttensor
- [x] add tests for httensor
- [x] add tests for tensor networksVersion 4.0Philipp TrunschkePhilipp Trunschkehttps://git.hemio.de/xerus/xerus/-/issues/189modifications of Tensor Networks in python2019-04-03T18:53:01+02:00Fuchsi*modifications of Tensor Networks in python