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.
Python では、行列 A から負のエントリを設定する場合は、次のようにします。
A = np.max(A, 0)
Scalaに同様の方法はありますか? Breeze DenseMatrix タイプのマトリックスがあります。