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 Fri 30-Sep-2022 13:18:25 by m2html © 2005