数组
Array<Numeric> getArray(){ Array<Numeric> res; ArrayInsert(res,0,1); ArrayInsert(res,1,2); Return res; }自定义函数,系统提示第一行存在无法识别的字符串Array,函数返回值不能是数组吗,如何实现数组返回,谢谢
Array<Numeric> getArray(){ Array<Numeric> res; ArrayInsert(res,0,1); ArrayInsert(res,1,2); Return res; }自定义函数,系统提示第一行存在无法识别的字符串Array,函数返回值不能是数组吗,如何实现数组返回,谢谢
好的,谢谢
linearreg 线性回归的函数 通过引用类型返回多个numeric值linearreg函数返回的是numeric,你订阅array类型也是一样的
能否给一个返回数组的函数名称,刚才去找都没找到,大多都是返回 Numeric, Bool,之类的,谢谢
def定义的函数不能返回数组通过新建函数,和引用类型的方式返回数组可以看看系统函数里一些返回数组的函数是怎么编写的