% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/rGbing.O2.R \name{rGbing.O2} \alias{rGbing.O2} \title{Generates 2 cross 2 matrix from a Generalized Bingham distribution} \usage{ rGbing.O2(A, B, discrete = F, MAX_rejection = 10000, partition = 4e+05) } \arguments{ \item{A}{: First matrix parameter 2 cross 2 symmetric positive definite matrix} \item{B}{: second matrix parameter . A 2 cross 2 symmetric positive definite matrix} \item{discrete:}{lgical . If TRUE then discrete sampler is used to generate approximate sample. If set discrete= FALSE then initially a rejection sampler is used to generate exact sample and if there is too many rejection then only the discrete sampler is used.} \item{Max_rejection:}{This function tries to use a Rejection sampler approach to get a sample from generalized Bingham distribution In the case of too many rejection the function uses a discrete approximation to generate approximate sample from the generalized Bingham distribution. Max_rejection is the maximum number of consecutive rejection before using the discrete sampler.} \item{partiton:}{In the case when the discrete approximation is used partition is the number of partition considered for the interval 0 to 2*Pi to get approximate disctere distribution to the Generalized bingham distribution.} } \description{ Generates 2 cross 2 matrix from a Generalized Bingham distribution }