Home > manopt > manifolds > essential > privateessential > modAngle.m

modAngle

PURPOSE ^

Maps any angle to the equivalent between -pi and pi

SYNOPSIS ^

function a=modAngle(a)

DESCRIPTION ^

Maps any angle to the equivalent between -pi and pi

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 %Maps any angle to the equivalent between -pi and pi
0002 function a=modAngle(a)
0003 a=mod(a+pi,2*pi)-pi;

Generated on Mon 10-Sep-2018 11:48:06 by m2html © 2005