Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 09:22
    apolukhin commented #153
  • May 10 14:34
    SpareSimian commented #76
  • Apr 13 14:40

    mclow on boost-1.79.0

    (compare)

  • Mar 16 16:41

    mclow on boost-1.79.0.beta1

    (compare)

  • Mar 11 15:07
    Neel-Shah-29 commented #165
  • Mar 11 15:07
    Neel-Shah-29 commented #165
  • Mar 05 06:10
    amitsingh19975 commented #170
  • Mar 04 21:06
    Neel-Shah-29 commented #170
  • Mar 04 21:05
    Neel-Shah-29 commented #170
  • Feb 25 11:57
    amitsingh19975 commented #170
  • Feb 24 16:06
    amitsingh19975 commented #170
  • Feb 24 16:02
    Neel-Shah-29 commented #170
  • Feb 24 12:31
    amitsingh19975 commented #170
  • Feb 24 12:27
    amitsingh19975 commented #170
  • Feb 24 12:26
    amitsingh19975 commented #170
  • Feb 19 08:28
    Neel-Shah-29 commented #165
  • Feb 16 19:06
    amitsingh19975 synchronize #160
  • Feb 16 19:06

    amitsingh19975 on lifetime

    refactor(compare): combine two … (compare)

  • Feb 16 19:05
    amitsingh19975 synchronize #160
  • Feb 16 19:05

    amitsingh19975 on lifetime

    refactor(compare): combine two … (compare)

Manan Sharma
@manan180796
I have completed the given competency test. So, I request the mentors to kindly review the same
Cem Bassoy
@bassoy
Dear uBlas community,
I am happy to announce that our GSoC students have successfully passed GSoC.
Both had an impactful contribution and showed great efforts to finalize their projects.
Congrats @exclowd and @shikharvashistha!
If you are interested in their projects, this is their wiki with project description.
amitsingh19975
@amitsingh19975

@bassoy, I've created a new branch "fix/extents" to fix the existing problem with the ambiguous extents. My approach would be making the extents to be at least of 2nd order. Therefore, we can discern between static tensor and static rank tensor.

auto e0 = extents<1>{}; // [static rank extents] invalid because of 1st order static rank extents
auto e1 = extents<1,2>{}; // [static extents] valid because of 2st order static extents
auto e2 = extents<2>{}; // [static rank extents] valid because of 2st order static rank extents
auto e3 = extents<>{4}; // [dynamic extents] invalid because of 1st order dynamic extents
auto e4 = extents<>{4,4}; // [dynamic extents] valid because of 2st order dynamic extents

Order(Static Extents|Dynamic Extents) > 1 and Order(Static Rank Extents) == 1. Therefore, there is no ambiguity.

amitsingh19975
@amitsingh19975

@bassoy, there's one problem here, and I don't know which solution is better.

  • should we put an invariant on static rank extents where the minimum order should be greater than one and lose the ability to alias the tensor into vector.
  • should we make an exception for static rank extents and keep the aliasing ability.

There's one downside of alias on clang right now: they haven't implemented the type deduction for alias type. This makes it impossible to deduce the template types from the constructor.

Neel-Shah-29
@Neel-Shah-29
Hello I am Neel Shah an undergraduate student at VJTI computer engg and wants to contribute in ublas.Dear mentor I have open a pull request for the issue 129 kindly review it
Harjot Singh
@Harjot20022001
Hi everyone! I need some help. I also posted this here https://github.com/boostorg/ublas/discussions/148 but nobody gave a reply and it's been quite a while since I posted it there.
I tried to use the example given in https://github.com/boostorg/ublas#simple-example and I'm getting bugs on my system. The keywords 'index','tenson_dynamics' and 'ones' are unrecognized. Is it a bug or anything else?
amitsingh19975
@amitsingh19975
Hi @Harjot20022001, I think you are either messing up namespace or unable to include tensor header file.
amitsingh19975
@amitsingh19975
Maybe you're using master branch of ublas. This feature is in develop branch right now.
10 replies
Cem Bassoy
@bassoy
@amitsingh19975 could you move your discussion into the discussions page, so we can discuss your design approach. thanks.
Cem Bassoy
@bassoy
@Neel-Shah-29 thanks for contributing. we will have a look at it. please better formulate your pull request comment https://github.com/boostorg/ublas/pull/151#issue-1105064528
@amitsingh19975 thanks for pointing this out. boostorg/ublas#150
amitsingh19975
@amitsingh19975
Hi @bassoy, and welcome back. I will do it by tomorrow.
Neel-Shah-29
@Neel-Shah-29
@bassoy and @amitsingh19975 i tried to contribute on that boostorg/ublas#150 . Please have a look at it. Also i am interested in contributing in other good first issues if there are any . So please suggest some issue on which currently efforts are not going on.Thanks a lot and looking forward to contribute in ublas in future as well.
amitsingh19975
@amitsingh19975
@bassoy, I have created the discussion for the issue of the extent.
amitsingh19975
@amitsingh19975
@Neel-Shah-29, please look at the pull request, and provide the trailing return type to each lambda, even if it returns nothing with void. Please, run the test on the local machine before pushing.
14 replies
Harjot Singh
@Harjot20022001

Maybe you're using master branch of ublas. This feature is in develop branch right now.

Sir, how to use the develop branch?

yashdabhade1
@yashdabhade1
hello , i am using boost ublas as a part of my code.
but since yesterday i am unable to open its documentation online
do we have an alternative for the boost website?
Cem Bassoy
@bassoy
@shikharvashistha could you assist @yashdabhade1 ?

Maybe you're using master branch of ublas. This feature is in develop branch right now.

Sir, how to use the develop branch?

https://github.com/boostorg/ublas/wiki/Guidelines-for-Contributors

Shikhar Vashistha
@shikharvashistha
@yashdabhade1 please find attached the link of our updated documentation http://boostorg.github.io/ublas/
yashdabhade1
@yashdabhade1
thank you :-)
Neel-Shah-29
@Neel-Shah-29
Screenshot from 2022-01-19 14-32-56.png
Hello i have cloned the repo in "boost/lib/numeric" in ublas folder as advised but when i am running the build command of b2 driver program for Boost.Build engine i am getting the following error what can be a solution to it.
amitsingh19975
@amitsingh19975
@Neel-Shah-29, did you read the message clearly? it's asking for a toolset (GCC, clang, or any other), which it is unable to find.
Neel-Shah-29
@Neel-Shah-29
yes i have installed g++ , clang++ 10,clang++ 11 before running that command
Cem Bassoy
@bassoy
4 replies
amitsingh19975
@amitsingh19975
maybe you are missing b2 config file or maybe you skipped it. If you have it, then read the b2 reference on how to provide a toolset.
8 replies
amitsingh19975
@amitsingh19975
Check if ~/user-config.jam exists or not. If not use the following command on the terminal.
echo "using gcc: : g++ ;" >> ~/user-config.jam;
Neel-Shah-29
@Neel-Shah-29
yes it was not existing so i ran the above command in terminal
now if i run ~/user-config.jam it shows permission denied.
amitsingh19975
@amitsingh19975
I think I told you that your home directory requires root permission.
This is common Linux knowledge.
Neel-Shah-29
@Neel-Shah-29
yes yes i gave the root permission
amitsingh19975
@amitsingh19975
Share the screen shot.
Neel-Shah-29
@Neel-Shah-29
is there any specific command whose screenshot you require? Kindly tell which command output screenshot should i share
amitsingh19975
@amitsingh19975
Leave it, I misconstrued your reply.
Neel-Shah-29
@Neel-Shah-29
Screenshot from 2022-01-19 22-14-57.png
Neel-Shah-29
@Neel-Shah-29
Screenshot from 2022-01-19 22-32-29.png
This much procedure i have followed now for running tests i need to follow https://github.com/boostorg/ublas/blob/develop/.github/workflows/linux.yml this right?
Screenshot from 2022-01-19 22-36-11.png
5 replies
amitsingh19975
@amitsingh19975

This is my user-config.jam.

using clang : : clang++ : <cxxflags>"-std=c++20" <linkflags>"" <link>"-lboost_unit_test_framework" ;

I think you need to check your binary see the name of the GCC binary there, and then put it in here, or check the b2 document on how to set gcc toolset.

Neel-Shah-29
@Neel-Shah-29
Screenshot from 2022-01-19 22-42-22.png
This is my user-config.jam should i replace the content here to what you sent?
amitsingh19975
@amitsingh19975
what's the version of your gcc?
Neel-Shah-29
@Neel-Shah-29
gcc --version
gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
amitsingh19975
@amitsingh19975
find the GCC binary name in the Linux binary folder, and try to replace it, something like this gcc-9: : g++-9.
check if it works.
also add <cxxflags>"-std=c++20" <linkflags>"" <link>"-lboost_unit_test_framework".
Neel-Shah-29
@Neel-Shah-29
Screenshot from 2022-01-19 23-34-05.png
1 reply