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.
ランダムな三角行列を生成するにはどうすればよいですか? (上も下も)
通常は使用しますrand(n)が、試しtril(rand(n))てみると単数形になり、それは望ましくありません。
rand(n)
tril(rand(n))