Learn R Programming

iprior (version 0.7.4)

fastSquare: Multiplying a symmetric matrix by itself in C++.

Description

Returns the square of a symmetric matrix X.

Usage

fastSquare(X)

Arguments

X

A symmetric matrix

Details

A fast implementation of X^2 for symmetric matrices. This helps speed up the I-prior EM algorithm.