|
SOLUTIONS
|
MATHEMATICA 内置符号
ConstantArray
ConstantArray[c, n]
生成元素 c 的 n 个副本的列表.
ConstantArray[c, {n1, n2, ...}]
生成一个
数组,它包括元素 c 的副本的嵌套列表.
更多信息更多信息
- ConstantArray[c, n, SparseArray] 给出常量数组,作为 SparseArray 对象.
版本 6 的新功能 | 版本 7 修改功能
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
