## Revision of Matrix Operators and Functions from Sat, 09/05/2009 - 17:34

The revisions let you track differences between multiple versions of a post.

The following table list matrix operators and functions that are supported by OpenMx. A blank value for the columns 'Implemented' or 'Passing Tests' indicates that the entry has been implemented or is passing the sample tests, respectively.

 Operator name R name Mx name Implemented Passing Tests Inversion solve(A) A~ Transposition t(A) A' Element powering A ^ B A ^ B Multiplication A %*% B A * B Dot product A * B A . B Kronecker product A %x% B A @ B Quadratic product1 A %&% B A & B Element division A / B A % B Addition A + B A + B Subtraction (binary) A - B A - B Subtraction (unary) - A - A Horizontal adhesion cbind(A,B,C) A | B | C Vertical adhesion rbind(A,B,C) A _ B _ C Determinant det(A) \det(A) No Trace1 tr(A) \tr(A) Sum sum(A,B,C) \sum(A,B,C) Product prod(A,B,C) \prod(A,B,C) Maximum max(A,B,C) \max(A,B,C) Minimum min(A,B,C) \min(A,B,C) Absolute value abs(A) \abs(A) Cosine cos(A) \cos(A) Hyperbolic cosine cosh(A) \cosh(A) Sine sin(A) \sin(A) Hyperbolic sine sinh(A) \sinh(A) Tangent tan(A) \tan(A) Hyperbolic tangent tanh(A) \tanh(A) Element Exponent exp(A) \exp(A) Element Natural Log log(A) \ln(A) Element Square Root sqrt(A) \sqrt(A)

1 Support for this operation in the R frontend is provided by the OpenMx library. This operation is not defined by the R core library, so you will be unable to use it without loading the OpenMx library.