Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
こんにちは、ublass::vector push_back がどこにあるのか、または同じことをするものを知っていますか?
ps (私は std::vector について話しているのではありません)
ドキュメントを読んで分かる限りでは、ublas::vector は展開できません。次のように初期化する必要があります。
vector<double> v (3); for (int i = 0; i < v.size (); ++i) v (i) = i;