Sample UserEFI Functions |
Mathcad comes with two sample UserEFI functions: the Kronecker product function, and the digamma function.
kronecker(M, N) Multiplies matrix N by each element of matrix M, returning an M·N by M·N array.
Psi(z) Returns the derivative of the natural log of the Gamma (Γ) function.
M and N are square matrices.
z is a real number.
The source code for these functions can be found in the userefi\microsft\sources\treasury\ directory of your Mathcad installation. For more information on compiling your own functions, consult the Developer's Reference.