小编Ani*_*ews的帖子

朱莉娅:朱莉娅数组中的undef是什么

  1. 这是数组的构造函数:

Array{T}(undef, dims)

我是Julia的新手,并且没有很好的编程背景。用这种语法,为什么要undef用来创建数组?

  1. What is a constructor in Julia, in what situation do we use a constructor?

If we don't type constructor, Julia will automatically create a constructor. Then, Why we use constructor?

julia

3
推荐指数
1
解决办法
84
查看次数

标签 统计

julia ×1