This function draws a sample from the matrix Langevin-Bingham on the Stiefel manifold.
rmLB_sm(num, mJ, mH, mC, mX, ir)number of observations or sample size.
symmetric ip*ip matrix
symmetric ir*ir matrix
ip*ir matrix
ip*ir matrix, the initial value
ir
an array containing a sample of draws from the matrix Langevin-Bingham on the Stiefel manifold.
The matrix Langevin-Bingham distribution on the Stiefel manifold has the density kernel: $$f(X) \propto \mathrm{etr}\{ H X' J X + C' X \}$$ where \(X\) satisfies \(X'X = I_r\), and \(H\) and \(J\) are symmetric matrices.