08 - Functions of vectors, matrices, and cubes2 months ago
Absolute value | Examples | Accumulate (sum) all elements | Affine matrix multiplication | Check whether all elements are non-zero, or satisfy a relational condition | Check whether any element is non-zero, or satisfies a relational condition | Approximate equality | Phase angle of each element | Convert 1x1 matrix to pure scalar | Obtain clamped elements according to given limits | Example | Condition number of matrix | Caveat | Obtain complex conjugate of each element | Convert/cast between matrix types | Cross product | Cumulative sum | Cumulative product | Determinant | Generate diagonal matrix from given matrix or vector | Extract specified diagonal | Generate a dense matrix with diagonals specified by column vectors | Differences between adjacent elements | Dot product | Obtain distance of each element to next largest floating point representation | Matrix exponential | Caveats | Matrix exponential of symmetric matrix | Find indices of non-zero elements, or elements satisfying a relational condition | Find indices of finite elements | Find indices of non-finite elements | Find indices of NaN elements | Find indices of unique elements | Flip matrix left to right or upside down | Extract imaginary/real part | Convert linear index to subscripts | Indices of extremum values | In-place dense transpose | Find common elements in two vectors/matrices | Concatenation of matrices | Concatenation of cubes | Kronecker tensor product | Log determinant | Log determinant of symmetric positive definite matrix | Matrix logarithm | Matrix logarithm of symmetric matrix | Return extremum values | Return non-zero values | Various norms of vectors and matrices | Fast estimate of the matrix 2-norm | Normalise vectors to unit p-norm | Element-wise power | Matrix power | Product of elements | Rank of matrix | Reciprocal condition number | Replicate elements | Replicate matrix in block-like fashion | Change size while keeping elements | Change size while keeping elements and preserving layout | Reverse order of elements | Roots of polynomial | Shift elements | Randomly shuffle elements | Obtain dimensions of given object | Sort elements | Vector describing sorted order of elements | Generate a sparse matrix with diagonals specified by column vectors | Square root of matrix | Square root of symmetric matrix | Sum of elements | Convert subscripts to linear index | Generate symmetric matrix from given matrix | Sum of diagonal elements | Transpose of matrix | Trapezoidal numerical integration | Copy upper/lower triangular part | Obtain indices of upper/lower triangular part | Return unique elements | Obtain vector norm of each row or column of a matrix | Flatten matrix into vector | Miscellaneous element-wise functions: exp, log, sqrt, round, sign, and others | Trigonometric element-wise functions: cos, sin, tan, and others
armadillo4r 15.4.2Mauricio Vargas Sepulveda v08-functions-of-vector-matrices-cubes.Rmd