Registry / other / xtensor

xtensor

JSON →
library0.27.1vcpkgunverified

C++ tensors with broadcasting and lazy computing

vcpkg install xtensor
INSTALL
IMPORT
SIG · XTENSOR
X
xtensor
othercppv0.27.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

xtensor/xarray.hpp
#include <xtensor/xarray.hpp>

Create and print a 1D tensor

#include <xtensor/xarray.hpp> #include <iostream> int main() { xt::xarray<double> arr = {1.0, 2.0, 3.0}; std::cout << arr << std::endl; return 0; }
Debug
Known issues
gotchaHeader-only library; no linking required but may have dependencies like xtl
fix
Ensure xtl is also installed via vcpkg
affects: *
Upgrade
Version history
0.27.1latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
12
Amazon
1
Resources

No resource links recorded.

xtensor — pip install xtensor · libregistry