a, b, shape=[]) |
The a and b arguments can be arrays. If this is the case, and the output shape is specified, a and b are broadcasted if their dimensions are not equal to shape. If shape is not specified, the shape of the output is equal to the shape of a and b after broadcasting.
If no shape is specified, and a and b are scalars, a single value is returned.
df, shape=[]) |
The df argument can be an array. If this is the case, and the output shape is specified, df is broadcasted if its dimensions are not equal to shape. If shape is not specified, the shape of the output is equal to the shape of df.
If no shape is specified, and df is a scalar, a single value is returned.
mean, shape=[]) |
The mean argument can be an array. If this is the case, and the output shape is specified, mean is broadcasted if its dimensions are not equal to shape. If shape is not specified, the shape of the output is equal to the shape of mean.
If no shape is specified, and mean is a scalar, a single value is returned.
dfn, dfd, shape=[]) |
The dfn and dfd arguments can be arrays. If this is the case, and the output shape is specified, dfn and dfd are broadcasted if their dimensions are not equal to shape. If shape is not specified, the shape of the output is equal to the shape of dfn and dfd after broadcasting.
If no shape is specified, and dfn and dfd are scalars, a single value is returned.
a, r, shape=[]) |
The a and r arguments can be arrays. If this is the case, and the output shape is specified, a and r are broadcasted if their dimensions are not equal to shape. If shape is not specified, the shape of the output is equal to the shape of a and r after broadcasting.
If no shape is specified, and a and r are scalars, a single value is returned.
mean, cov, shape=[]) |
(n,)
. Then the shape of cov
must be (n,n)
. The function returns an array of Floats.
The effect of the shape parameter is:
(n,)
is returned containing a vector of numbers with a multivariate normal
distribution with the specified mean and covariance.
shape.append((n,))
. The
leading indices into the output array select a multivariate normal from
the array. The final index selects one number from within the
multivariate normal.
mean, std, shape=[]) |
The mean and std arguments can be arrays. If this is the case, and the output shape is specified, mean and std are broadcasted if their dimensions are not equal to shape. If shape is not specified, the shape of the output is equal to the shape of mean and std after broadcasting.
If no shape is specified, and mean and std are scalars, a single value is returned.
df, nonc, shape=[]) |
The df and nonc arguments can be arrays. If this is the case, and the output shape is specified, df and nonc are broadcasted if their dimensions are not equal to shape. If shape is not specified, the shape of the output is equal to the shape of df and nonc after broadcasting.
If no shape is specified, and df and nonc are scalars, a single value is returned.
dfn, dfd, nconc, shape=[]) |
The dfn, dfd and nonc arguments can be arrays. If this is the case, and the output shape is specified, dfn, dfd and nonc are broadcasted if their dimensions are not equal to shape. If shape is not specified, the shape of the output is equal to the shape of dfn, dfd and nonc after broadcasting.
If no shape is specified, and dfn, dfd and nonc are scalars, a single value is returned.
shape=[]) |
If no shape is specified, a single number is returned.
dfn, dfd, shape=[]) |
dfn, dfd, nconc, shape=[]) |
trials, p, shape=[]) |
The trials and p arguments can be arrays. If this is the case, and the output shape is specified, trials and p are broadcasted if their dimensions are not equal to shape. If shape is not specified, the shape of the output is equal to the shape of trials and p after broadcasting.
If no shape is specified, and trials and p are scalars, a single value is returned.
trials, p, shape=[]) |
The trials and p arguments can be arrays. If this is the case, and the output shape is specified, trials and p are broadcasted if their dimensions are not equal to shape. If shape is not specified, the shape of the output is equal to the shape of trials and p after broadcasting.
If no shape is specified, and trials and p are scalars, a single value is returned.
trials, probs, shape=[]) |
len(probs)+1
events. probs[i]
is
the probability of the i-th event for 0<=i<len(probs)
. The
probability of event len(probs)
is 1.-Numeric.sum(prob)
.
The function returns an integer array of shape
shape + (len(probs)+1,)
. If shape is not specified this is one
multinomially distributed vector of shape (len(prob)+1,)
. Otherwise
each returnarray[i,j,...,:]
is an integer array of shape
(len(prob)+1,)
containing one multinomially distributed vector.
mean, shape=[]) |
The mean argument can be an array. If this is the case, and the output shape is specified, mean is broadcasted if its dimensions are not equal to shape. If shape is not specified, the shape of the output is equal to the shape of mean.
If no shape is specified, and mean is a scalar, a single value is returned.
Send comments to the NumArray community.