mul
From STX Wiki
< Programmer Guide | Command Reference | EVAL
Jump to navigationJump to search
Compute the inverse of x.
- Usage
inv(xscalar)
inv(xmatrix)
- Result
- The result has the same type as the argument x and is the inverse of x. The argument x must be a scalar or a square matrix.
- Note
- This function can be used as alias for the operator *, which do not implement the dyadic product. both arguments x and y are vectors, the dyadic product is computed, otherwise the operator * is applied to x and y.
Warning: Display title "mul" overrides earlier display title "mul (alias: "x*y")".
Contents
mul
Calculate the dyadic product of xv and yv.
Usage:
mul(xv,yv)
Return Type:
matrix - (nrow(xv) x nrow(yv))
Notes:
Note that if one of the arguments is not a vector, then x * y is calculated.