rnd_rotmat_xyz {conmolfields}R Documentation

Generation of random rotation matrix

Description

Generation of random rotation matrix

Usage

rnd_rotmat_xyz()

Examples

##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function () 
{
    alpha_ <- runif(1, -pi, pi)
    beta_ <- runif(1, -pi, pi)
    gamma_ <- runif(1, -pi, pi)
    rotmat_xyz(alpha_, beta_, gamma_)
  }

[Package conmolfields version 0.0-19 Index]