Comments (4)
@NAThompson , thanks for your interest in uBLAS. This will be supported soon! We are making a transition from 2D to ND and also major changes to comply with C++11 and newer standards, see example.
from ublas.
Awesome! Looks like y'all are doing really cool stuff.
from ublas.
Thanks.
from ublas.
@bassoy This does not seem to work on Fedora 38 (which uses version 1.78.0 of boost). See
https://bugzilla.redhat.com/show_bug.cgi?id=2223035
Would you please try the shell script below (boost_vector.sh) to see if the corresponding test works for you:
#! /usr/bin/env bash
set -u -e
if [ $# != 1 ]
then
echo 'usage: ./boost_vector.sh (std|boost)'
exit 1
fi
if [ "$1" == 'std' ]
then
vector_type="std::vector<double>"
else
vector_type="boost::numeric::ublas::vector<double>"
fi
cat << EOF > boost_vector.cpp
# include <vector>
# include <boost/numeric/ublas/vector.hpp>
int main(void)
{ $vector_type v = { 1.0, 2.0 };
if( v.size() == 2 && v[0] == 1.0 && v[1] == 2.0 )
return 0;
return 1;
}
EOF
g++ boost_vector.cpp -o boost_vector
if ! ./boost_vector
then
echo 'boost_vector: Error'
exit 1
fi
#
echo 'boost_vector: OK'
exit 0
from ublas.
Related Issues (20)
- Wrong `to_strides_v` computation
- Transpose for Rank One Tensors HOT 1
- Exception Raised for Static Rank Tensor inside the Tensor Times Tensor Product
- Use of Template Type in the Wrong Place HOT 4
- Extension of lifetime within tensor expression templates for prvalues not guaranteed. HOT 1
- Incorrect parameter ordering in element_sub HOT 4
- Error in Github Actions due to incorrect msvc toolset version
- Compiler cannot perform small-object and other optimizations in algorithms.cpp HOT 5
- Use function call operator for indexing instead of at HOT 2
- Fixing iteration-type of for-loop. HOT 3
- Wrong implementation of copy constructor for the different type of layout
- Tensor examples in the documentation are not correct.
- Boost\libs\numeric\ublas failed to build due to error C2059, C2065, C2923, C2976, C2447 .... on MSVC HOT 6
- Deprecated Inheritance From std::iterator Didn't Make It To Release HOT 7
- ublas::matrix broken with compiler error with build 1.80 but not 1.63 HOT 2
- ublas::matrix::resize with preserve= true, can it be implemented without temporary storage?
- No type named ''allocator_size_type“ in namespace 'boost' HOT 1
- Modular Boost C++ Libraries Request HOT 1
- Wrong behavior of map_array copy constructor.
- Broken interaction between std::vector and ublas::c_vector
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 ublas.