xx.^2

来源:互联网 发布:js isnullorundefined 编辑:程序博客网 时间:2024/05/29 17:51
y=xx.^2
xx是数组,
^2是平方,
y=xx.^2就是数组的每个元素的平方然后赋值给y。
0 0
原创粉丝点击