Example:
apply(x→x^3,[1 2 3]) gives [1 8 27]
assume
Used in programming to state an assumption about a variable.
assume(Var,Expr)
Example:
assume(n, integer)
basis
Given a matrix, returns the basis of the linear subspace dened by the set of vectors in the matrix.
basis(Matrix))
Example:
basis([[1,2,3],[4,5,6],[7,8,9],[10,11,12]]) gives [[-3,0,3],[0,-3,-6]]
betad
The Beta probability density function. Computes the probability density of the beta distribution at x, given
parameters α and β.
betad(α, β, x)
Example:
betad(2.2, 1.5, 8) returns 1.46143068876
betad_cdf
The Beta cumulative probability density function. Returns the lower-tail probability of the beta probability
density function for the value x, given parameters α and β. With the optional parameter x
2
, returns the area
under the Beta probability density function between x and x
2
.
betad_cdf(α, β, x, [x
2
])
Examples:
betad_cdf(2, 1, 0.2) returns 0.04
betad_cdf(2, 1, 0.2, 0.5) returns 0.21
betad_icdf
Inverse cumulative beta probability density function. Returns the value x such that the beta lower-tail
probability of x, given parameters α and β, is p.
betad_icdf(α, β, p)
Example:
betad_icdf(2,1,0.95) returns 0.974679434481
Ctlg menu 421
Komentarze do niniejszej Instrukcji