## Where communities thrive

• Join over 1.5M+ people
• Join over 100K+ communities
• Free without limits
##### Activity
• Jun 09 13:41
KurtAA42 opened #176
• Jun 07 07:40
Zhaojun-Liu opened #175
• Jun 05 11:51
apolukhin commented #153
• May 19 09:22
apolukhin commented #153
• May 10 14:34
SpareSimian commented #76
• Apr 13 14:40

mclow on boost-1.79.0

• Mar 16 16:41

mclow on boost-1.79.0.beta1

• 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
I implemented the given competency test. So, I request the mentors to review it. @bassoy @amitsingh19975
amitsingh19975
@amitsingh19975

I implemented the given competency test. So, I request the mentors to review it. @bassoy @amitsingh19975

@shadymohamedamin, please go through the competency test again and follow the instructions. You need to create classes for matrix and vector, not hard-coding them.

i see the instructions but i didnt understand this step well A = zeros(3,2); this require me to implement method of class and build matrix then filled it with zeros ?
in this code i understand that he have two matrix Q and R .......and he want to filled them with zeros then he want to multiply them and store them in matrix A
this explain is right ?
i did this step which create matrix folder and file which name is matrix.cpp to implement
this step is right ?
Cem Bassoy
@bassoy
@shadymohamedamin this is a competency test. we cannot give you hints how to solve it. please prepare your solution and tell us when you are finished with your proposal and competency test.
Cem Bassoy
@bassoy
@abhishekkranjan
thanks for considering uBLAS. you have the competency test description. prepare your solution and ping me when you are finished with your competency test. we will evaluate it and come back to you. Please read my comments posted on Jan 30 before you start your competency test.
Manan Sharma
@manan180796
Hi This is Manan Sharma, A Computer Science Student in IIIT Hyderbad, India. I want to contribute to boost and am interested in Project 1 "Finalize and improve the subtensor type". I have a good experience of c/c++/c++17 also have a good understanding of algorithms and datastructures .
Vishal Singh
@vishalMCE
Dear Mentor correct me if I wrong,tensoris a mathematics topic and The code of tensoris written inside tensor_core.hppand many other header files .
amitsingh19975
@amitsingh19975

Dear Mentor correct me if I wrong,tensoris a mathematics topic and The code of tensoris written inside tensor_core.hppand many other header files .

Yes, isn't the matrix and vectors, though? I see matrix and vectors as the tensor's specialisation, and some will say the tensor is the extensions of vectors and the matrix into higher dimensions.

Vishal Singh
@vishalMCE
@amitsingh19975 Understood
Kannav Mehta
@exclowd

@amitsingh19975 @bassoy I had a few doubts while drafting the proposal for the GSoC Application.

• Since the second part of the implementation of matrix and vector types, i.e submatrix and subvector is dependent on the first project. Can I draft a proposal to work on the combination of these two projects into one.
• If so what would the ideal order be like? For me it seems a preliminary implementation of matrix and vector based as an extension of tensor would not be that time consuming so beginning with that I can move towards working on the subtensor and come back to implement submatrix and subvector. Although doing subtensor first and then doing the complete matrix and vector along with their "sub" counterparts can also be a choice.
• Another part I am not sure is the allocation of timeline. How much accurate should the timeline for the project be? in case of unexpected roadblocks etc.?

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?

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
thank you :-)
Neel-Shah-29
@Neel-Shah-29
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