-
Simple reproducible example:
`logreg.h`:
```
#pragma once
#include
#include
#include
#include
#include
#include
#include
#include
xt::xarray run(const xt::xarray&);
```
`…
-
Reproducing from a cpp file:
```
#include
#include
#include
#include
#include
using int8 = std::int8_t;
template
void make_shared(T&& expr){
auto expression = xt::make_xshare…
-
I benchmarked resetting an `xarray` to zero and found that `array = xt::zeros(shape)` is 27x slower than `std::fill()`, whereas I expected to see no difference. Here are the numbers for gcc-7:
(Edit…
-
# Issue
The codebase is not currently optimized for readability and extensibility. There are currently multiple classes that do the exact same work (or no work at all) like test langs, simulation run…
-
xv? xview? imagemagick? PIL is pillow uses xv but it's imagemagick!?
(this is **not** a full-blown visualization, just the same ugly windows but with proper coding)
-
Originally reported by: **Matteo Mattei (Bitbucket: [matteomattei](https://bitbucket.org/matteomattei), GitHub: [matteomattei](https://github.com/matteomattei))**
------------------------------------…
-
Currently xview is implemented using tuple as holder for the slices.
As far as I understand this necessitates that all slices are known at compile time. .....
But for example when creating a view…
wolfv updated
7 years ago
-
I'm forced to call c++ from a fortran main program and am wondering if there is there a way to construct an xview from a pointer to contiguous memory and a set of strides.
-
```cpp
#include
#include "xtensor/xarray.hpp"
#include "xtensor/xio.hpp"
int main() {
xt::xarray arr1
{{1.0, 2.0, 3.0},
{2.0, 5.0, 7.0},
{2.0, 5.0, 7.0}};
xt::xarray arr2
…
wolfv updated
7 years ago
-
xoppy applications work
shadow3/test/test_bragg.py etc work
(oasys1env)flechsig@mpc1578:~/Oasys> /home/src/oasys-installation-scripts/start_oasys.sh
Activating configuration for
Setting up Canvas m…