Navigation

Operators and Keywords

Function List:

C++ API

Function File: q = mean (q)

Function File: q = mean (q, dim)

Function File: q = mean (q, opt)

Function File: q = mean (q, dim, opt)

Compute the mean of the elements of the quaternion array q.

          mean (q) = mean (q.w) + mean (q.x)*i + mean (q.y)*j + mean (q.z)*k

See help mean for more information and a description of the parameters dim and opt.

Package: quaternion