delta_func.pro
来自「IDL语言编写的用于天文自适应光学仿真的软件CAOS V6.0的第一部分。」· PRO 代码 · 共 15 行
PRO
15 行
; $Id: delta_func.pro,v 1.2 2002/03/14 11:49:10 riccardi Exp $function delta_func, np, DOUBLE=doubleif test_type(np, /INT, /LONG, N_ELEM=n_el) then $ message, 'np must be integer or long'if n_el ne 1 then $ message, 'np must be a scalar'if keyword_set(double) then y = dblarr(np) else y = fltarr(np)y[0] = npreturn, yend
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?