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.
numpy には、flattenたとえば、行列を要素m x nの配列にフラット化できる操作と、反対方向に進む操作があります。ほとんどの場合、元のデータのコピーを作成せずに、ビューを使用してこれを行うことができます。mnreshape
flatten
m x n
mn
reshape
そのような機能は、Java マトリックス ライブラリである Parallel Colt に存在しますか? 私はそれを見つけることができませんでした。reshape1 次元行列の方法はありますが、コピーを作成するようです。