Comments (5)
from blitz.
I think in C++ there is a lack of a standard-like multi-array, like numpy.ndarray in Python.
It would be very nice if Boost had something like this, perhaps in the form of a synthesis of Boost.MultiArray and Blitz.
One conceptual problem in Blitz that the Boost people wouldn’t like in my opinion is that it is meant to exhibit reference semantics (ok, it has reference counting – but that might be an overkill anyway…), yet, it doesn’t present all the possibilities of const-ness: non-const reference to non-const, non-const reference to const, const reference to const, const reference to non-const. A blitz::array
is either const or non-const.
I think this causes significant mental friction. An elegant solution would be if P_numtype
could be specified as a const, which could be treated as the reference-to-const case.
Boost.MultiArray treats this problem nicely in the form of (const_)array_view
s.
from blitz.
from blitz.
By the way, this subject came up already in the blitz++ SF mailing list.
It did not generate much echo apart from a brief reaction by myself.
from blitz.
Given the above and the b11 initiative (#48), let me close this one fully agreeing with @citibeth that it's much more practical to concentrate efforts there.
from blitz.
Related Issues (20)
- dyld: Library not loaded problem on macOS and macport version of blitz
- cmake version required HOT 1
- Windows Build HOT 4
- OpenMP atomic support suggestion HOT 1
- cmake with ninja build system can not build tests/examples/benchmarks
- StridedDomain has no empty constructor HOT 1
- Compiling fails with PAPI 6.0 HOT 4
- printing blitz arrays via GDB HOT 3
- Testing no longer builds
- benchmarks won't build with cmake+make
- Not compatible with oneTBB: tbb/atomic.h isn't supplied with oneTBB
- Please update the project for oneTBB
- BZ_COLUMN_MAJOR_ARRAY has a error in vs2019
- A suggestion: change Relative path to an absolute path HOT 1
- Defined macro CT in blitz/tau.h causes trouble when compiling project that uses Qt5/QColor.h HOT 2
- Improve array memory releasing mechanism HOT 1
- TinyMatrix::begin() : wrong implementation HOT 1
- Compiling with Clang does not find blitz/llvm/bzconfig.h HOT 2
- What's the problem during compilation? HOT 2
- Divide by zero allowed? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blitz.