fact.m
来自「求解量子力学的薛定谔方程」· M 代码 · 共 10 行
M
10 行
function f=fact(x);%> The file <fact.m> calculates the factorials fact(x) of %> a matrix with integer entries, sets infinity for negative values.%> Call: fact(X)%> Input: X = vector or matrix, integer values%> Output: a vector or matrix of same size.%> Compare the standard gamma function of MATLAB. %> We want to avoid all NaN outputs!!!%>%>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?