Skip to content

SetSubVector #824

Answered by cdrnet
0Ger asked this question in Q&A
Jul 18, 2017 · 2 comments
Discussion options

You must be logged in to vote

Note that the column vector returned by .Column(j) is independent from A. So SetSubVector operates on that column vector instead of A. It seems that you could use SetColumn instead:

A.SetColumn(j,1,m-1,b);

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by cdrnet
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #504 on July 24, 2021 07:37.