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.
マテマティカでは、
Mathematica では、リストとベクトルの間に区別はありません。このTable関数を使用して、長さ n のリストを生成できます。
Table
x = Table[0, {n}] (* If n was 4, x would now be the list {0, 0, 0, 0} *)