Home Forums US Life armadillo library This topic has replies, 0 voices, and was last updated 4 years ago by chobo. Now Editing “armadillo library” Name * Password * Email Topic Title (Maximum Length 80) 아마딜로 선형 대수 라이브러리에 관해 질문 있습니다. 예를 들아 10x1 벡터가 있다고 하고 sub 벡터를 선택하려고 한다면 어떻게 해야 하지요? 즉 vec A(10, fill::randu); vec B = A(span(0, 2)); // length 3 subvector, B = [A(0) A(1) A(2)]. I know this. vec C = A(0:2:3); // I want to get C = [A(0) A(2)]; I agree to the terms of service Update List