digamma¶
Purpose¶
Computes the digamma function.
Format¶
-
y =
digamma
(x)¶ - Parameters
x (MxN matrix or N-dimensional array) – Values at which to compute the digamma function.
- Returns
y (MxN matrix or N-dimensional array) – digamma.
Examples¶
// Define x matrix
x = { 2, 6, 3, 49, 5 };
// Find digamma function
y = digamma(x);
After this code:
y = 0.42278434
1.7061177
0.92278434
3.8815815
1.5061177