Independent scholarship · Open accessThe monthly digest

Indexed text attachment

algebraic-and-differential-topology-in-machine-learning-and-ai.tex

Source for Algebraic and Differential Topology in Machine Learning and AI: Obstructions, Invariants, and Counts

View paper · Download original file

Lines 201–300 of 1055. Source text is displayed literally.

201\draw[thick,fwd] plot coordinates {(0,1.488) (0.03,1.496) (0.06,1.499) (0.09,1.499) (0.12,1.494) (0.15,1.486) (0.18,1.474) (0.21,1.459) (0.24,1.44) (0.27,1.417) (0.3,1.392) (0.33,1.364) (0.36,1.333) (0.39,1.3) (0.42,1.264) (0.45,1.227) (0.48,1.188) (0.51,1.148) (0.54,1.107) (0.57,1.066) (0.6,1.024) (0.63,0.982) (0.66,0.941) (0.69,0.901) (0.72,0.861) (0.75,0.823) (0.78,0.787) (0.81,0.753) (0.84,0.721) (0.87,0.692) (0.9,0.665) (0.93,0.642) (0.96,0.622) (0.99,0.606) (1.02,0.594) (1.05,0.585) (1.08,0.581) (1.11,0.581) (1.14,0.585) (1.17,0.594) (1.2,0.607) (1.23,0.625) (1.26,0.647) (1.29,0.673) (1.32,0.704) (1.35,0.739) (1.38,0.778) (1.41,0.821) (1.44,0.868) (1.47,0.919) (1.5,0.973) (1.53,1.03) (1.56,1.09) (1.59,1.152) (1.62,1.217) (1.65,1.284) (1.68,1.352) (1.71,1.422) (1.74,1.492) (1.77,1.563) (1.8,1.635) (1.83,1.706) (1.86,1.777) (1.89,1.846) (1.92,1.915) (1.95,1.982) (1.98,2.047) (2.01,2.109) (2.04,2.169) (2.07,2.226) (2.1,2.28) (2.13,2.33) (2.16,2.376) (2.19,2.418) (2.22,2.456) (2.25,2.489) (2.28,2.518) (2.31,2.541) (2.34,2.56) (2.37,2.574) (2.4,2.582) (2.43,2.586) (2.46,2.584) (2.49,2.577) (2.52,2.565) (2.55,2.547) (2.58,2.525) (2.61,2.498) (2.64,2.467) (2.67,2.431) (2.7,2.39) (2.73,2.346) (2.76,2.297) (2.79,2.246) (2.82,2.191) (2.85,2.133) (2.88,2.072) (2.91,2.01) (2.94,1.945) (2.97,1.879) (3,1.811) (3.03,1.743) (3.06,1.674) (3.09,1.606) (3.12,1.537) (3.15,1.47) (3.18,1.403) (3.21,1.338) (3.24,1.274) (3.27,1.213) (3.3,1.153) (3.33,1.097) (3.36,1.044) (3.39,0.993) (3.42,0.947) (3.45,0.904) (3.48,0.865) (3.51,0.83) (3.54,0.799) (3.57,0.772) (3.6,0.75)};202\draw[thick,bwd,densely dashed] plot coordinates {(0,0.75) (0.03,0.733) (0.06,0.72) (0.09,0.711) (0.12,0.707) (0.15,0.708) (0.18,0.712) (0.21,0.722) (0.24,0.735) (0.27,0.752) (0.3,0.773) (0.33,0.798) (0.36,0.826) (0.39,0.857) (0.42,0.892) (0.45,0.928) (0.48,0.967) (0.51,1.009) (0.54,1.051) (0.57,1.095) (0.6,1.14) (0.63,1.186) (0.66,1.232) (0.69,1.278) (0.72,1.324) (0.75,1.369) (0.78,1.413) (0.81,1.455) (0.84,1.496) (0.87,1.535) (0.9,1.571) (0.93,1.605) (0.96,1.636) (0.99,1.664) (1.02,1.688) (1.05,1.709) (1.08,1.726) (1.11,1.74) (1.14,1.749) (1.17,1.754) (1.2,1.755) (1.23,1.751) (1.26,1.744) (1.29,1.732) (1.32,1.716) (1.35,1.695) (1.38,1.671) (1.41,1.643) (1.44,1.61) (1.47,1.574) (1.5,1.535) (1.53,1.492) (1.56,1.446) (1.59,1.397) (1.62,1.345) (1.65,1.291) (1.68,1.236) (1.71,1.178) (1.74,1.119) (1.77,1.059) (1.8,0.999) (1.83,0.938) (1.86,0.876) (1.89,0.816) (1.92,0.755) (1.95,0.696) (1.98,0.638) (2.01,0.582) (2.04,0.528) (2.07,0.476) (2.1,0.427) (2.13,0.38) (2.16,0.337) (2.19,0.297) (2.22,0.26) (2.25,0.227) (2.28,0.198) (2.31,0.174) (2.34,0.153) (2.37,0.137) (2.4,0.125) (2.43,0.117) (2.46,0.114) (2.49,0.116) (2.52,0.122) (2.55,0.132) (2.58,0.147) (2.61,0.165) (2.64,0.188) (2.67,0.215) (2.7,0.245) (2.73,0.279) (2.76,0.316) (2.79,0.356) (2.82,0.399) (2.85,0.444) (2.88,0.492) (2.91,0.542) (2.94,0.593) (2.97,0.645) (3,0.698) (3.03,0.752) (3.06,0.807) (3.09,0.861) (3.12,0.914) (3.15,0.968) (3.18,1.02) (3.21,1.07) (3.24,1.119) (3.27,1.166) (3.3,1.211) (3.33,1.253) (3.36,1.293) (3.39,1.329) (3.42,1.363) (3.45,1.393) (3.48,1.419) (3.51,1.442) (3.54,1.461) (3.57,1.477) (3.6,1.488)};203\fill[accent] (0.56,1.08) circle (2pt);204\fill[accent] (1.652,1.288) circle (2pt);205\fill[accent] (3.283,1.186) circle (2pt);206\draw[thick,fwd] (0.1,2.93)--(0.5,2.93) node[right,inner sep=2pt,black]{\scriptsize $e(\theta)$};207\draw[thick,bwd,densely dashed] (1.75,2.93)--(2.15,2.93) node[right,inner sep=2pt,black]{\scriptsize $e(\theta+\pi)$};208\node at (1.8,-0.83) {\scriptsize (b)};209\end{scope}210\end{tikzpicture}211\caption{The bottleneck bound for the circle. (a)~The fibres of the projection code; the fibre through the poles is an antipodal pair, and whatever point $y$ the decoder returns for it is at distance at least $1$ from one of the two. (b)~A random trigonometric encoder $e$ and its antipodal translate on a half-turn: since $e(\theta)-e(\theta+\pi)$ changes sign, the graphs cross (3 times here), and at a crossing the code identifies $x$ and $-x$.}\label{fig:bottleneck}212\end{figure}213 214\noindent For $n=1$ the collision was located for $200$ random trigonometric encoders, and for $n=2$ for $40$215random cubic encoders, to rounding (\cref{fig:bottleneck}). \chk{O1, O2} For each of $100$ random encoders of the216circle, some fibre of the code, taken to one percent of its range, is contained in no disc of radius less than217$1.0000$: no decoder can do better than error $1$ there. \chk{O3} The theorem is about the worst case. The mean error can be made small, by a code that is218injective except near one point; the bound says that the failure cannot be removed, only moved and made thin.219For a general closed $n$-manifold the qualitative statement survives: by Brouwer's invariance of domain, the220companion of the invariance of dimension \cite[Thm.~4.3]{ADTHC}, it has no continuous injective code in $\R^n$.221The constant is special to round spheres.222This is the topological reason for latent spaces that are themselves spheres, tori or groups223\cite{DFdC18,FdH18}.224 225\subsection{Rotations}226 227Let $\rho\colon S^3\to\SO(3)$ send a unit quaternion $q$ to the rotation $v\mapsto qvq^{-1}$. It is onto, and228$\rho(q)=\rho(-q)$.229 230\begin{theorem}[Naming a rotation]\label{thm:rotation}231\Sli[\cite{ZBLYL19}; \cite{ADTHC}, Thm.~10.1] \emph{(a)} $\rho$ has no continuous right inverse: for every choice232of a quaternion $s(R)$ with $\rho(s(R))=R$ there is, on every non-contractible loop of rotations, a point where233$s$ jumps by $|q-(-q)|=2$. \emph{(b)} More generally a family of rotations $X\to\SO(3)$ has a continuous234quaternion target if and only if it induces the zero map $\pi_1(X)\to\pi_1(\SO(3))=\Z/2$. \emph{(c)} There is no235continuous representation of $\SO(3)$ in $\R^m$ for $m\le4$. \emph{(d)} Two columns of the rotation matrix, with236Gram--Schmidt orthogonalization as decoder, give a continuous representation in $\R^6$.237\end{theorem}238\begin{proof}239(a), (b): $\rho$ is the universal covering, and a map lifts through a covering exactly when it kills the240fundamental group; a full turn about an axis lifts to a path from $q$ to $-q$. (c) is proved in \cite{ZBLYL19}241from the fact that $\SO(3)$, which is real projective $3$-space, does not embed in $\R^4$. (d) The two columns242determine the third by the cross product.243\end{proof}244 245\begin{figure}[t]246\centering247\begin{tikzpicture}248\begin{scope}[shift={(0,0)}]249\draw[ink2] (0,2.3)--(0,0)--(3.25,0);250\draw[ink2] (0,0)--(0,-0.07) node[below,inner sep=1.5pt]{\scriptsize $0$};251\draw[ink2] (1.625,0)--(1.625,-0.07) node[below,inner sep=1.5pt]{\scriptsize $\pi$};252\draw[ink2] (3.25,0)--(3.25,-0.07) node[below,inner sep=1.5pt]{\scriptsize $2\pi$};253\draw[ink2] (0,0.085)--(-0.07,0.085) node[left,inner sep=1.5pt]{\scriptsize $-1$};254\draw[ink2] (0,1.15)--(-0.07,1.15) node[left,inner sep=1.5pt]{\scriptsize $0$};255\draw[ink2] (0,2.215)--(-0.07,2.215) node[left,inner sep=1.5pt]{\scriptsize $1$};256\node[below] at (1.625,-0.38) {\scriptsize angle of the turn};257\draw[ink2,very thin] (0,1.15)--(3.25,1.15);258\draw[thick,fwd] plot coordinates {(0,2.215) (0.016,2.215) (0.033,2.214) (0.049,2.214) (0.065,2.213) (0.081,2.212) (0.098,2.21) (0.114,2.208) (0.13,2.206) (0.146,2.204) (0.163,2.202) (0.179,2.199) (0.195,2.196) (0.211,2.193) (0.228,2.189) (0.244,2.185) (0.26,2.181) (0.276,2.177) (0.292,2.173) (0.309,2.168) (0.325,2.163) (0.341,2.157) (0.357,2.152) (0.374,2.146) (0.39,2.14) (0.406,2.134) (0.422,2.127) (0.439,2.12) (0.455,2.113) (0.471,2.106) (0.487,2.099) (0.504,2.091) (0.52,2.083) (0.536,2.075) (0.553,2.067) (0.569,2.058) (0.585,2.049) (0.601,2.04) (0.617,2.031) (0.634,2.021) (0.65,2.011) (0.666,2.002) (0.683,1.991) (0.699,1.981) (0.715,1.97) (0.731,1.96) (0.747,1.949) (0.764,1.938) (0.78,1.926) (0.796,1.915) (0.813,1.903) (0.829,1.891) (0.845,1.879) (0.861,1.867) (0.877,1.854) (0.894,1.842) (0.91,1.829) (0.926,1.816) (0.943,1.803) (0.959,1.789) (0.975,1.776) (0.991,1.762) (1.008,1.749) (1.024,1.735) (1.04,1.721) (1.056,1.706) (1.073,1.692) (1.089,1.678) (1.105,1.663) (1.121,1.648) (1.137,1.633) (1.154,1.618) (1.17,1.603) (1.186,1.588) (1.203,1.573) (1.219,1.557) (1.235,1.542) (1.251,1.526) (1.267,1.511) (1.284,1.495) (1.3,1.479) (1.316,1.463) (1.333,1.447) (1.349,1.431) (1.365,1.415) (1.381,1.399) (1.397,1.382) (1.414,1.366) (1.43,1.35) (1.446,1.333) (1.463,1.317) (1.479,1.3) (1.495,1.283) (1.511,1.267) (1.528,1.25) (1.544,1.234) (1.56,1.217) (1.576,1.2) (1.592,1.183) (1.609,1.167) (1.625,1.15)};259\draw[thick,fwd] plot coordinates {(1.625,1.15) (1.641,1.167) (1.658,1.183) (1.674,1.2) (1.69,1.217) (1.706,1.234) (1.722,1.25) (1.739,1.267) (1.755,1.283) (1.771,1.3) (1.787,1.317) (1.804,1.333) (1.82,1.35) (1.836,1.366) (1.853,1.382) (1.869,1.399) (1.885,1.415) (1.901,1.431) (1.917,1.447) (1.934,1.463) (1.95,1.479) (1.966,1.495) (1.982,1.511) (1.999,1.526) (2.015,1.542) (2.031,1.557) (2.047,1.573) (2.064,1.588) (2.08,1.603) (2.096,1.618) (2.113,1.633) (2.129,1.648) (2.145,1.663) (2.161,1.678) (2.177,1.692) (2.194,1.706) (2.21,1.721) (2.226,1.735) (2.243,1.749) (2.259,1.762) (2.275,1.776) (2.291,1.789) (2.307,1.803) (2.324,1.816) (2.34,1.829) (2.356,1.842) (2.373,1.854) (2.389,1.867) (2.405,1.879) (2.421,1.891) (2.438,1.903) (2.454,1.915) (2.47,1.926) (2.486,1.938) (2.502,1.949) (2.519,1.96) (2.535,1.97) (2.551,1.981) (2.567,1.991) (2.584,2.002) (2.6,2.011) (2.616,2.021) (2.632,2.031) (2.649,2.04) (2.665,2.049) (2.681,2.058) (2.698,2.067) (2.714,2.075) (2.73,2.083) (2.746,2.091) (2.762,2.099) (2.779,2.106) (2.795,2.113) (2.811,2.12) (2.828,2.127) (2.844,2.134) (2.86,2.14) (2.876,2.146) (2.893,2.152) (2.909,2.157) (2.925,2.163) (2.941,2.168) (2.958,2.173) (2.974,2.177) (2.99,2.181) (3.006,2.185) (3.022,2.189) (3.039,2.193) (3.055,2.196) (3.071,2.199) (3.087,2.202) (3.104,2.204) (3.12,2.206) (3.136,2.208) (3.152,2.21) (3.169,2.212) (3.185,2.213) (3.201,2.214) (3.218,2.214) (3.234,2.215) (3.25,2.215)};260\draw[thick,bwd] plot coordinates {(0,1.15) (0.016,1.155) (0.033,1.16) (0.049,1.165) (0.065,1.17) (0.081,1.175) (0.098,1.18) (0.114,1.185) (0.13,1.19) (0.146,1.195) (0.163,1.2) (0.179,1.205) (0.195,1.21) (0.211,1.215) (0.228,1.22) (0.244,1.225) (0.26,1.23) (0.276,1.235) (0.292,1.24) (0.309,1.245) (0.325,1.25) (0.341,1.255) (0.357,1.259) (0.374,1.264) (0.39,1.269) (0.406,1.273) (0.422,1.278) (0.439,1.283) (0.455,1.287) (0.471,1.292) (0.487,1.296) (0.504,1.301) (0.52,1.305) (0.536,1.31) (0.553,1.314) (0.569,1.319) (0.585,1.323) (0.601,1.327) (0.617,1.331) (0.634,1.336) (0.65,1.34) (0.666,1.344) (0.683,1.348) (0.699,1.352) (0.715,1.356) (0.731,1.36) (0.747,1.363) (0.764,1.367) (0.78,1.371) (0.796,1.375) (0.813,1.378) (0.829,1.382) (0.845,1.385) (0.861,1.389) (0.877,1.392) (0.894,1.395) (0.91,1.399) (0.926,1.402) (0.943,1.405) (0.959,1.408) (0.975,1.411) (0.991,1.414) (1.008,1.417) (1.024,1.42) (1.04,1.422) (1.056,1.425) (1.073,1.428) (1.089,1.43) (1.105,1.433) (1.121,1.435) (1.137,1.438) (1.154,1.44) (1.17,1.442) (1.186,1.444) (1.203,1.446) (1.219,1.448) (1.235,1.45) (1.251,1.452) (1.267,1.454) (1.284,1.455) (1.3,1.457) (1.316,1.458) (1.333,1.46) (1.349,1.461) (1.365,1.463) (1.381,1.464) (1.397,1.465) (1.414,1.466) (1.43,1.467) (1.446,1.468) (1.463,1.469) (1.479,1.469) (1.495,1.47) (1.511,1.471) (1.528,1.471) (1.544,1.472) (1.56,1.472) (1.576,1.472) (1.592,1.473) (1.609,1.473) (1.625,1.473)};261\draw[thick,bwd] plot coordinates {(1.625,0.827) (1.641,0.827) (1.658,0.827) (1.674,0.828) (1.69,0.828) (1.706,0.828) (1.722,0.829) (1.739,0.829) (1.755,0.83) (1.771,0.831) (1.787,0.831) (1.804,0.832) (1.82,0.833) (1.836,0.834) (1.853,0.835) (1.869,0.836) (1.885,0.837) (1.901,0.839) (1.917,0.84) (1.934,0.842) (1.95,0.843) (1.966,0.845) (1.982,0.846) (1.999,0.848) (2.015,0.85) (2.031,0.852) (2.047,0.854) (2.064,0.856) (2.08,0.858) (2.096,0.86) (2.113,0.862) (2.129,0.865) (2.145,0.867) (2.161,0.87) (2.177,0.872) (2.194,0.875) (2.21,0.878) (2.226,0.88) (2.243,0.883) (2.259,0.886) (2.275,0.889) (2.291,0.892) (2.307,0.895) (2.324,0.898) (2.34,0.901) (2.356,0.905) (2.373,0.908) (2.389,0.911) (2.405,0.915) (2.421,0.918) (2.438,0.922) (2.454,0.925) (2.47,0.929) (2.486,0.933) (2.502,0.937) (2.519,0.94) (2.535,0.944) (2.551,0.948) (2.567,0.952) (2.584,0.956) (2.6,0.96) (2.616,0.964) (2.632,0.969) (2.649,0.973) (2.665,0.977) (2.681,0.981) (2.698,0.986) (2.714,0.99) (2.73,0.995) (2.746,0.999) (2.762,1.004) (2.779,1.008) (2.795,1.013) (2.811,1.017) (2.828,1.022) (2.844,1.027) (2.86,1.031) (2.876,1.036) (2.893,1.041) (2.909,1.045) (2.925,1.05) (2.941,1.055) (2.958,1.06) (2.974,1.065) (2.99,1.07) (3.006,1.075) (3.022,1.08) (3.039,1.085) (3.055,1.09) (3.071,1.095) (3.087,1.1) (3.104,1.105) (3.12,1.11) (3.136,1.115) (3.152,1.12) (3.169,1.125) (3.185,1.13) (3.201,1.135) (3.218,1.14) (3.234,1.145) (3.25,1.15)};262\draw[thick,bwd,densely dashed] plot coordinates {(0,1.15) (0.016,1.142) (0.033,1.133) (0.049,1.125) (0.065,1.116) (0.081,1.108) (0.098,1.099) (0.114,1.091) (0.13,1.083) (0.146,1.074) (0.163,1.066) (0.179,1.058) (0.195,1.049) (0.211,1.041) (0.228,1.033) (0.244,1.024) (0.26,1.016) (0.276,1.008) (0.292,1) (0.309,0.992) (0.325,0.984) (0.341,0.976) (0.357,0.968) (0.374,0.96) (0.39,0.952) (0.406,0.944) (0.422,0.936) (0.439,0.929) (0.455,0.921) (0.471,0.913) (0.487,0.906) (0.504,0.898) (0.52,0.891) (0.536,0.884) (0.553,0.876) (0.569,0.869) (0.585,0.862) (0.601,0.855) (0.617,0.848) (0.634,0.841) (0.65,0.834) (0.666,0.827) (0.683,0.82) (0.699,0.814) (0.715,0.807) (0.731,0.801) (0.747,0.794) (0.764,0.788) (0.78,0.782) (0.796,0.776) (0.813,0.77) (0.829,0.764) (0.845,0.758) (0.861,0.752) (0.877,0.747) (0.894,0.741) (0.91,0.736) (0.926,0.73) (0.943,0.725) (0.959,0.72) (0.975,0.715) (0.991,0.71) (1.008,0.705) (1.024,0.7) (1.04,0.696) (1.056,0.691) (1.073,0.687) (1.089,0.683) (1.105,0.679) (1.121,0.675) (1.137,0.671) (1.154,0.667) (1.17,0.663) (1.186,0.66) (1.203,0.656) (1.219,0.653) (1.235,0.65) (1.251,0.647) (1.267,0.644) (1.284,0.641) (1.3,0.639) (1.316,0.636) (1.333,0.634) (1.349,0.631) (1.365,0.629) (1.381,0.627) (1.397,0.625) (1.414,0.623) (1.43,0.622) (1.446,0.62) (1.463,0.619) (1.479,0.618) (1.495,0.616) (1.511,0.615) (1.528,0.615) (1.544,0.614) (1.56,0.613) (1.576,0.613) (1.592,0.612) (1.609,0.612) (1.625,0.612)};263\draw[thick,bwd,densely dashed] plot coordinates {(1.625,1.688) (1.641,1.688) (1.658,1.688) (1.674,1.687) (1.69,1.687) (1.706,1.686) (1.722,1.685) (1.739,1.685) (1.755,1.684) (1.771,1.682) (1.787,1.681) (1.804,1.68) (1.82,1.678) (1.836,1.677) (1.853,1.675) (1.869,1.673) (1.885,1.671) (1.901,1.669) (1.917,1.666) (1.934,1.664) (1.95,1.661) (1.966,1.659) (1.982,1.656) (1.999,1.653) (2.015,1.65) (2.031,1.647) (2.047,1.644) (2.064,1.64) (2.08,1.637) (2.096,1.633) (2.113,1.629) (2.129,1.625) (2.145,1.621) (2.161,1.617) (2.177,1.613) (2.194,1.609) (2.21,1.604) (2.226,1.6) (2.243,1.595) (2.259,1.59) (2.275,1.585) (2.291,1.58) (2.307,1.575) (2.324,1.57) (2.34,1.564) (2.356,1.559) (2.373,1.553) (2.389,1.548) (2.405,1.542) (2.421,1.536) (2.438,1.53) (2.454,1.524) (2.47,1.518) (2.486,1.512) (2.502,1.506) (2.519,1.499) (2.535,1.493) (2.551,1.486) (2.567,1.48) (2.584,1.473) (2.6,1.466) (2.616,1.459) (2.632,1.452) (2.649,1.445) (2.665,1.438) (2.681,1.431) (2.698,1.424) (2.714,1.416) (2.73,1.409) (2.746,1.402) (2.762,1.394) (2.779,1.387) (2.795,1.379) (2.811,1.371) (2.828,1.364) (2.844,1.356) (2.86,1.348) (2.876,1.34) (2.893,1.332) (2.909,1.324) (2.925,1.316) (2.941,1.308) (2.958,1.3) (2.974,1.292) (2.99,1.284) (3.006,1.276) (3.022,1.267) (3.039,1.259) (3.055,1.251) (3.071,1.242) (3.087,1.234) (3.104,1.226) (3.12,1.217) (3.136,1.209) (3.152,1.201) (3.169,1.192) (3.185,1.184) (3.201,1.175) (3.218,1.167) (3.234,1.158) (3.25,1.15)};264\draw[thick,bwd,dash dot] plot coordinates {(0,1.15) (0.016,1.164) (0.033,1.177) (0.049,1.191) (0.065,1.204) (0.081,1.218) (0.098,1.231) (0.114,1.244) (0.13,1.258) (0.146,1.271) (0.163,1.285) (0.179,1.298) (0.195,1.311) (0.211,1.324) (0.228,1.338) (0.244,1.351) (0.26,1.364) (0.276,1.377) (0.292,1.39) (0.309,1.403) (0.325,1.416) (0.341,1.429) (0.357,1.441) (0.374,1.454) (0.39,1.467) (0.406,1.479) (0.422,1.492) (0.439,1.504) (0.455,1.516) (0.471,1.529) (0.487,1.541) (0.504,1.553) (0.52,1.565) (0.536,1.576) (0.553,1.588) (0.569,1.6) (0.585,1.611) (0.601,1.622) (0.617,1.634) (0.634,1.645) (0.65,1.656) (0.666,1.667) (0.683,1.677) (0.699,1.688) (0.715,1.699) (0.731,1.709) (0.747,1.719) (0.764,1.729) (0.78,1.739) (0.796,1.749) (0.813,1.758) (0.829,1.768) (0.845,1.777) (0.861,1.786) (0.877,1.795) (0.894,1.804) (0.91,1.813) (0.926,1.822) (0.943,1.83) (0.959,1.838) (0.975,1.846) (0.991,1.854) (1.008,1.862) (1.024,1.869) (1.04,1.877) (1.056,1.884) (1.073,1.891) (1.089,1.897) (1.105,1.904) (1.121,1.91) (1.137,1.917) (1.154,1.923) (1.17,1.929) (1.186,1.934) (1.203,1.94) (1.219,1.945) (1.235,1.95) (1.251,1.955) (1.267,1.96) (1.284,1.964) (1.3,1.968) (1.316,1.972) (1.333,1.976) (1.349,1.98) (1.365,1.983) (1.381,1.987) (1.397,1.99) (1.414,1.993) (1.43,1.995) (1.446,1.998) (1.463,2) (1.479,2.002) (1.495,2.004) (1.511,2.005) (1.528,2.007) (1.544,2.008) (1.56,2.009) (1.576,2.01) (1.592,2.01) (1.609,2.01) (1.625,2.011)};265\draw[thick,bwd,dash dot] plot coordinates {(1.625,0.289) (1.641,0.29) (1.658,0.29) (1.674,0.29) (1.69,0.291) (1.706,0.292) (1.722,0.293) (1.739,0.295) (1.755,0.296) (1.771,0.298) (1.787,0.3) (1.804,0.302) (1.82,0.305) (1.836,0.307) (1.853,0.31) (1.869,0.313) (1.885,0.317) (1.901,0.32) (1.917,0.324) (1.934,0.328) (1.95,0.332) (1.966,0.336) (1.982,0.34) (1.999,0.345) (2.015,0.35) (2.031,0.355) (2.047,0.36) (2.064,0.366) (2.08,0.371) (2.096,0.377) (2.113,0.383) (2.129,0.39) (2.145,0.396) (2.161,0.403) (2.177,0.409) (2.194,0.416) (2.21,0.423) (2.226,0.431) (2.243,0.438) (2.259,0.446) (2.275,0.454) (2.291,0.462) (2.307,0.47) (2.324,0.478) (2.34,0.487) (2.356,0.496) (2.373,0.505) (2.389,0.514) (2.405,0.523) (2.421,0.532) (2.438,0.542) (2.454,0.551) (2.47,0.561) (2.486,0.571) (2.502,0.581) (2.519,0.591) (2.535,0.601) (2.551,0.612) (2.567,0.623) (2.584,0.633) (2.6,0.644) (2.616,0.655) (2.632,0.666) (2.649,0.678) (2.665,0.689) (2.681,0.7) (2.698,0.712) (2.714,0.724) (2.73,0.735) (2.746,0.747) (2.762,0.759) (2.779,0.771) (2.795,0.784) (2.811,0.796) (2.828,0.808) (2.844,0.821) (2.86,0.833) (2.876,0.846) (2.893,0.859) (2.909,0.871) (2.925,0.884) (2.941,0.897) (2.958,0.91) (2.974,0.923) (2.99,0.936) (3.006,0.949) (3.022,0.962) (3.039,0.976) (3.055,0.989) (3.071,1.002) (3.087,1.015) (3.104,1.029) (3.12,1.042) (3.136,1.056) (3.152,1.069) (3.169,1.082) (3.185,1.096) (3.201,1.109) (3.218,1.123) (3.234,1.136) (3.25,1.15)};266\draw[accent,densely dotted] (1.625,0)--(1.625,2.3);267\node[above,inner sep=1pt] at (1.625,2.35) {\scriptsize quaternion, $w\ge0$};268\end{scope}269\begin{scope}[shift={(4,0)}]270\draw[ink2] (0,2.3)--(0,0)--(3.25,0);271\draw[ink2] (0,0)--(0,-0.07) node[below,inner sep=1.5pt]{\scriptsize $0$};272\draw[ink2] (1.625,0)--(1.625,-0.07) node[below,inner sep=1.5pt]{\scriptsize $\pi$};273\draw[ink2] (3.25,0)--(3.25,-0.07) node[below,inner sep=1.5pt]{\scriptsize $2\pi$};274\draw[ink2] (0,0.085)--(-0.07,0.085) node[left,inner sep=1.5pt]{\scriptsize };275\draw[ink2] (0,1.15)--(-0.07,1.15) node[left,inner sep=1.5pt]{\scriptsize };276\draw[ink2] (0,2.215)--(-0.07,2.215) node[left,inner sep=1.5pt]{\scriptsize };277\node[below] at (1.625,-0.38) {\scriptsize angle of the turn};278\draw[ink2,very thin] (0,1.15)--(3.25,1.15);279\draw[thick,fwd] plot coordinates {(0,2.215) (0.02,2.214) (0.041,2.212) (0.061,2.208) (0.081,2.203) (0.102,2.196) (0.122,2.188) (0.142,2.179) (0.163,2.167) (0.183,2.155) (0.203,2.141) (0.223,2.126) (0.244,2.109) (0.264,2.092) (0.284,2.072) (0.305,2.052) (0.325,2.03) (0.345,2.007) (0.366,1.983) (0.386,1.958) (0.406,1.932) (0.427,1.904) (0.447,1.876) (0.467,1.846) (0.487,1.816) (0.508,1.785) (0.528,1.753) (0.548,1.72) (0.569,1.687) (0.589,1.653) (0.609,1.618) (0.63,1.582) (0.65,1.547) (0.67,1.51) (0.691,1.474) (0.711,1.436) (0.731,1.399) (0.752,1.361) (0.772,1.324) (0.792,1.286) (0.813,1.248) (0.833,1.21) (0.853,1.172) (0.873,1.134) (0.894,1.097) (0.914,1.059) (0.934,1.022) (0.955,0.985) (0.975,0.949) (0.995,0.913) (1.016,0.878) (1.036,0.843) (1.056,0.809) (1.077,0.775) (1.097,0.743) (1.117,0.711) (1.137,0.679) (1.158,0.649) (1.178,0.62) (1.198,0.591) (1.219,0.564) (1.239,0.538) (1.259,0.512) (1.28,0.488) (1.3,0.465) (1.32,0.444) (1.341,0.423) (1.361,0.404) (1.381,0.386) (1.402,0.37) (1.422,0.354) (1.442,0.341) (1.463,0.328) (1.483,0.317) (1.503,0.307) (1.523,0.299) (1.544,0.293) (1.564,0.287) (1.584,0.284) (1.605,0.282) (1.625,0.281) (1.645,0.282) (1.666,0.284) (1.686,0.287) (1.706,0.293) (1.727,0.299) (1.747,0.307) (1.767,0.317) (1.787,0.328) (1.808,0.341) (1.828,0.354) (1.848,0.37) (1.869,0.386) (1.889,0.404) (1.909,0.423) (1.93,0.444) (1.95,0.465) (1.97,0.488) (1.991,0.512) (2.011,0.538) (2.031,0.564) (2.052,0.591) (2.072,0.62) (2.092,0.649) (2.113,0.679) (2.133,0.711) (2.153,0.743) (2.173,0.775) (2.194,0.809) (2.214,0.843) (2.234,0.878) (2.255,0.913) (2.275,0.949) (2.295,0.985) (2.316,1.022) (2.336,1.059) (2.356,1.097) (2.377,1.134) (2.397,1.172) (2.417,1.21) (2.438,1.248) (2.458,1.286) (2.478,1.324) (2.498,1.361) (2.519,1.399) (2.539,1.436) (2.559,1.474) (2.58,1.51) (2.6,1.547) (2.62,1.582) (2.641,1.618) (2.661,1.653) (2.681,1.687) (2.702,1.72) (2.722,1.753) (2.742,1.785) (2.762,1.816) (2.783,1.846) (2.803,1.876) (2.823,1.904) (2.844,1.932) (2.864,1.958) (2.884,1.983) (2.905,2.007) (2.925,2.03) (2.945,2.052) (2.966,2.072) (2.986,2.092) (3.006,2.109) (3.027,2.126) (3.047,2.141) (3.067,2.155) (3.087,2.167) (3.108,2.179) (3.128,2.188) (3.148,2.196) (3.169,2.203) (3.189,2.208) (3.209,2.212) (3.23,2.214) (3.25,2.215)};280\draw[thick,fwd,densely dashed] plot coordinates {(0,1.15) (0.02,1.184) (0.041,1.217) (0.061,1.25) (0.081,1.283) (0.102,1.315) (0.122,1.346) (0.142,1.377) (0.163,1.408) (0.183,1.438) (0.203,1.467) (0.223,1.495) (0.244,1.523) (0.264,1.55) (0.284,1.576) (0.305,1.601) (0.325,1.625) (0.345,1.648) (0.366,1.67) (0.386,1.691) (0.406,1.711) (0.427,1.73) (0.447,1.747) (0.467,1.764) (0.487,1.779) (0.508,1.793) (0.528,1.806) (0.548,1.817) (0.569,1.828) (0.589,1.837) (0.609,1.844) (0.63,1.851) (0.65,1.856) (0.67,1.859) (0.691,1.862) (0.711,1.863) (0.731,1.862) (0.752,1.861) (0.772,1.858) (0.792,1.853) (0.813,1.848) (0.833,1.84) (0.853,1.832) (0.873,1.822) (0.894,1.811) (0.914,1.799) (0.934,1.786) (0.955,1.771) (0.975,1.755) (0.995,1.738) (1.016,1.72) (1.036,1.7) (1.056,1.68) (1.077,1.658) (1.097,1.636) (1.117,1.612) (1.137,1.587) (1.158,1.562) (1.178,1.535) (1.198,1.508) (1.219,1.48) (1.239,1.451) (1.259,1.422) (1.28,1.392) (1.3,1.361) (1.32,1.33) (1.341,1.298) (1.361,1.265) (1.381,1.232) (1.402,1.199) (1.422,1.166) (1.442,1.132) (1.463,1.098) (1.483,1.064) (1.503,1.029) (1.523,0.995) (1.544,0.961) (1.564,0.926) (1.584,0.892) (1.605,0.858) (1.625,0.824) (1.645,0.79) (1.666,0.757) (1.686,0.724) (1.706,0.691) (1.727,0.659) (1.747,0.628) (1.767,0.597) (1.787,0.566) (1.808,0.536) (1.828,0.507) (1.848,0.479) (1.869,0.451) (1.889,0.424) (1.909,0.398) (1.93,0.373) (1.95,0.349) (1.97,0.326) (1.991,0.304) (2.011,0.283) (2.031,0.263) (2.052,0.245) (2.072,0.227) (2.092,0.21) (2.113,0.195) (2.133,0.181) (2.153,0.168) (2.173,0.157) (2.194,0.146) (2.214,0.137) (2.234,0.13) (2.255,0.123) (2.275,0.118) (2.295,0.115) (2.316,0.112) (2.336,0.111) (2.356,0.112) (2.377,0.113) (2.397,0.116) (2.417,0.121) (2.438,0.127) (2.458,0.134) (2.478,0.142) (2.498,0.152) (2.519,0.163) (2.539,0.175) (2.559,0.188) (2.58,0.203) (2.6,0.219) (2.62,0.236) (2.641,0.254) (2.661,0.274) (2.681,0.294) (2.702,0.316) (2.722,0.338) (2.742,0.362) (2.762,0.387) (2.783,0.412) (2.803,0.439) (2.823,0.466) (2.844,0.494) (2.864,0.523) (2.884,0.552) (2.905,0.582) (2.925,0.613) (2.945,0.644) (2.966,0.676) (2.986,0.709) (3.006,0.742) (3.027,0.775) (3.047,0.808) (3.067,0.842) (3.087,0.876) (3.108,0.91) (3.128,0.945) (3.148,0.979) (3.169,1.013) (3.189,1.048) (3.209,1.082) (3.23,1.116) (3.25,1.15)};281\draw[thick,fwd,dash dot] plot coordinates {(0,1.15) (0.02,1.171) (0.041,1.193) (0.061,1.215) (0.081,1.237) (0.102,1.26) (0.122,1.283) (0.142,1.306) (0.163,1.329) (0.183,1.352) (0.203,1.376) (0.223,1.399) (0.244,1.423) (0.264,1.446) (0.284,1.469) (0.305,1.493) (0.325,1.516) (0.345,1.539) (0.366,1.562) (0.386,1.584) (0.406,1.607) (0.427,1.629) (0.447,1.65) (0.467,1.672) (0.487,1.693) (0.508,1.713) (0.528,1.733) (0.548,1.753) (0.569,1.772) (0.589,1.79) (0.609,1.808) (0.63,1.825) (0.65,1.842) (0.67,1.858) (0.691,1.873) (0.711,1.887) (0.731,1.901) (0.752,1.914) (0.772,1.926) (0.792,1.938) (0.813,1.949) (0.833,1.958) (0.853,1.967) (0.873,1.976) (0.894,1.983) (0.914,1.989) (0.934,1.995) (0.955,1.999) (0.975,2.003) (0.995,2.006) (1.016,2.007) (1.036,2.008) (1.056,2.008) (1.077,2.007) (1.097,2.006) (1.117,2.003) (1.137,1.999) (1.158,1.995) (1.178,1.989) (1.198,1.983) (1.219,1.975) (1.239,1.967) (1.259,1.958) (1.28,1.949) (1.3,1.938) (1.32,1.926) (1.341,1.914) (1.361,1.901) (1.381,1.887) (1.402,1.873) (1.422,1.858) (1.442,1.842) (1.463,1.825) (1.483,1.808) (1.503,1.79) (1.523,1.771) (1.544,1.752) (1.564,1.733) (1.584,1.713) (1.605,1.692) (1.625,1.672) (1.645,1.65) (1.666,1.629) (1.686,1.607) (1.706,1.584) (1.727,1.562) (1.747,1.539) (1.767,1.516) (1.787,1.493) (1.808,1.469) (1.828,1.446) (1.848,1.422) (1.869,1.399) (1.889,1.376) (1.909,1.352) (1.93,1.329) (1.95,1.306) (1.97,1.283) (1.991,1.26) (2.011,1.237) (2.031,1.215) (2.052,1.193) (2.072,1.171) (2.092,1.15) (2.113,1.129) (2.133,1.108) (2.153,1.088) (2.173,1.069) (2.194,1.05) (2.214,1.032) (2.234,1.014) (2.255,0.996) (2.275,0.98) (2.295,0.964) (2.316,0.949) (2.336,0.934) (2.356,0.92) (2.377,0.907) (2.397,0.895) (2.417,0.884) (2.438,0.873) (2.458,0.863) (2.478,0.854) (2.498,0.846) (2.519,0.839) (2.539,0.832) (2.559,0.827) (2.58,0.822) (2.6,0.819) (2.62,0.816) (2.641,0.814) (2.661,0.813) (2.681,0.813) (2.702,0.814) (2.722,0.816) (2.742,0.819) (2.762,0.822) (2.783,0.827) (2.803,0.832) (2.823,0.839) (2.844,0.846) (2.864,0.854) (2.884,0.863) (2.905,0.873) (2.925,0.884) (2.945,0.895) (2.966,0.907) (2.986,0.92) (3.006,0.934) (3.027,0.949) (3.047,0.964) (3.067,0.98) (3.087,0.997) (3.108,1.014) (3.128,1.032) (3.148,1.05) (3.169,1.069) (3.189,1.089) (3.209,1.109) (3.23,1.129) (3.25,1.15)};282\draw[thick,bwd] plot coordinates {(0,1.15) (0.02,1.116) (0.041,1.082) (0.061,1.048) (0.081,1.013) (0.102,0.979) (0.122,0.945) (0.142,0.91) (0.163,0.876) (0.183,0.842) (0.203,0.808) (0.223,0.775) (0.244,0.742) (0.264,0.709) (0.284,0.676) (0.305,0.644) (0.325,0.613) (0.345,0.582) (0.366,0.552) (0.386,0.523) (0.406,0.494) (0.427,0.466) (0.447,0.439) (0.467,0.412) (0.487,0.387) (0.508,0.362) (0.528,0.338) (0.548,0.316) (0.569,0.294) (0.589,0.274) (0.609,0.254) (0.63,0.236) (0.65,0.219) (0.67,0.203) (0.691,0.188) (0.711,0.175) (0.731,0.163) (0.752,0.152) (0.772,0.142) (0.792,0.134) (0.813,0.127) (0.833,0.121) (0.853,0.116) (0.873,0.113) (0.894,0.112) (0.914,0.111) (0.934,0.112) (0.955,0.115) (0.975,0.118) (0.995,0.123) (1.016,0.13) (1.036,0.137) (1.056,0.146) (1.077,0.157) (1.097,0.168) (1.117,0.181) (1.137,0.195) (1.158,0.21) (1.178,0.227) (1.198,0.245) (1.219,0.263) (1.239,0.283) (1.259,0.304) (1.28,0.326) (1.3,0.349) (1.32,0.373) (1.341,0.398) (1.361,0.424) (1.381,0.451) (1.402,0.479) (1.422,0.507) (1.442,0.536) (1.463,0.566) (1.483,0.597) (1.503,0.628) (1.523,0.659) (1.544,0.691) (1.564,0.724) (1.584,0.757) (1.605,0.79) (1.625,0.824) (1.645,0.858) (1.666,0.892) (1.686,0.926) (1.706,0.961) (1.727,0.995) (1.747,1.029) (1.767,1.064) (1.787,1.098) (1.808,1.132) (1.828,1.166) (1.848,1.199) (1.869,1.232) (1.889,1.265) (1.909,1.298) (1.93,1.33) (1.95,1.361) (1.97,1.392) (1.991,1.422) (2.011,1.451) (2.031,1.48) (2.052,1.508) (2.072,1.535) (2.092,1.562) (2.113,1.587) (2.133,1.612) (2.153,1.636) (2.173,1.658) (2.194,1.68) (2.214,1.7) (2.234,1.72) (2.255,1.738) (2.275,1.755) (2.295,1.771) (2.316,1.786) (2.336,1.799) (2.356,1.811) (2.377,1.822) (2.397,1.832) (2.417,1.84) (2.438,1.848) (2.458,1.853) (2.478,1.858) (2.498,1.861) (2.519,1.862) (2.539,1.863) (2.559,1.862) (2.58,1.859) (2.6,1.856) (2.62,1.851) (2.641,1.844) (2.661,1.837) (2.681,1.828) (2.702,1.817) (2.722,1.806) (2.742,1.793) (2.762,1.779) (2.783,1.764) (2.803,1.747) (2.823,1.73) (2.844,1.711) (2.864,1.691) (2.884,1.67) (2.905,1.648) (2.925,1.625) (2.945,1.601) (2.966,1.576) (2.986,1.55) (3.006,1.523) (3.027,1.495) (3.047,1.467) (3.067,1.438) (3.087,1.408) (3.108,1.377) (3.128,1.346) (3.148,1.315) (3.169,1.283) (3.189,1.25) (3.209,1.217) (3.23,1.184) (3.25,1.15)};283\draw[thick,bwd,densely dashed] plot coordinates {(0,2.215) (0.02,2.214) (0.041,2.212) (0.061,2.209) (0.081,2.205) (0.102,2.2) (0.122,2.193) (0.142,2.185) (0.163,2.176) (0.183,2.166) (0.203,2.154) (0.223,2.142) (0.244,2.128) (0.264,2.114) (0.284,2.098) (0.305,2.081) (0.325,2.063) (0.345,2.045) (0.366,2.025) (0.386,2.004) (0.406,1.982) (0.427,1.96) (0.447,1.937) (0.467,1.913) (0.487,1.888) (0.508,1.862) (0.528,1.836) (0.548,1.809) (0.569,1.782) (0.589,1.754) (0.609,1.725) (0.63,1.696) (0.65,1.667) (0.67,1.637) (0.691,1.607) (0.711,1.576) (0.731,1.546) (0.752,1.515) (0.772,1.484) (0.792,1.453) (0.813,1.422) (0.833,1.39) (0.853,1.359) (0.873,1.328) (0.894,1.298) (0.914,1.267) (0.934,1.236) (0.955,1.206) (0.975,1.177) (0.995,1.147) (1.016,1.118) (1.036,1.09) (1.056,1.062) (1.077,1.034) (1.097,1.007) (1.117,0.981) (1.137,0.955) (1.158,0.931) (1.178,0.907) (1.198,0.883) (1.219,0.861) (1.239,0.839) (1.259,0.818) (1.28,0.799) (1.3,0.78) (1.32,0.762) (1.341,0.745) (1.361,0.73) (1.381,0.715) (1.402,0.701) (1.422,0.689) (1.442,0.677) (1.463,0.667) (1.483,0.658) (1.503,0.65) (1.523,0.644) (1.544,0.638) (1.564,0.634) (1.584,0.631) (1.605,0.629) (1.625,0.628) (1.645,0.629) (1.666,0.631) (1.686,0.634) (1.706,0.638) (1.727,0.644) (1.747,0.65) (1.767,0.658) (1.787,0.667) (1.808,0.677) (1.828,0.689) (1.848,0.701) (1.869,0.715) (1.889,0.73) (1.909,0.745) (1.93,0.762) (1.95,0.78) (1.97,0.799) (1.991,0.818) (2.011,0.839) (2.031,0.861) (2.052,0.883) (2.072,0.907) (2.092,0.931) (2.113,0.955) (2.133,0.981) (2.153,1.007) (2.173,1.034) (2.194,1.062) (2.214,1.09) (2.234,1.118) (2.255,1.147) (2.275,1.177) (2.295,1.206) (2.316,1.236) (2.336,1.267) (2.356,1.298) (2.377,1.328) (2.397,1.359) (2.417,1.39) (2.438,1.422) (2.458,1.453) (2.478,1.484) (2.498,1.515) (2.519,1.546) (2.539,1.576) (2.559,1.607) (2.58,1.637) (2.6,1.667) (2.62,1.696) (2.641,1.725) (2.661,1.754) (2.681,1.782) (2.702,1.809) (2.722,1.836) (2.742,1.862) (2.762,1.888) (2.783,1.913) (2.803,1.937) (2.823,1.96) (2.844,1.982) (2.864,2.004) (2.884,2.025) (2.905,2.045) (2.925,2.063) (2.945,2.081) (2.966,2.098) (2.986,2.114) (3.006,2.128) (3.027,2.142) (3.047,2.154) (3.067,2.166) (3.087,2.176) (3.108,2.185) (3.128,2.193) (3.148,2.2) (3.169,2.205) (3.189,2.209) (3.209,2.212) (3.23,2.214) (3.25,2.215)};284\draw[thick,bwd,dash dot] plot coordinates {(0,1.15) (0.02,1.162) (0.041,1.174) (0.061,1.185) (0.081,1.195) (0.102,1.205) (0.122,1.213) (0.142,1.221) (0.163,1.228) (0.183,1.235) (0.203,1.24) (0.223,1.245) (0.244,1.249) (0.264,1.252) (0.284,1.255) (0.305,1.256) (0.325,1.257) (0.345,1.256) (0.366,1.255) (0.386,1.254) (0.406,1.251) (0.427,1.247) (0.447,1.243) (0.467,1.238) (0.487,1.232) (0.508,1.225) (0.528,1.218) (0.548,1.209) (0.569,1.2) (0.589,1.19) (0.609,1.18) (0.63,1.169) (0.65,1.157) (0.67,1.144) (0.691,1.131) (0.711,1.117) (0.731,1.102) (0.752,1.087) (0.772,1.071) (0.792,1.055) (0.813,1.038) (0.833,1.021) (0.853,1.003) (0.873,0.985) (0.894,0.966) (0.914,0.947) (0.934,0.928) (0.955,0.908) (0.975,0.888) (0.995,0.868) (1.016,0.847) (1.036,0.826) (1.056,0.806) (1.077,0.785) (1.097,0.763) (1.117,0.742) (1.137,0.721) (1.158,0.7) (1.178,0.678) (1.198,0.657) (1.219,0.636) (1.239,0.615) (1.259,0.594) (1.28,0.574) (1.3,0.553) (1.32,0.533) (1.341,0.513) (1.361,0.494) (1.381,0.475) (1.402,0.456) (1.422,0.437) (1.442,0.419) (1.463,0.402) (1.483,0.385) (1.503,0.368) (1.523,0.352) (1.544,0.337) (1.564,0.322) (1.584,0.307) (1.605,0.294) (1.625,0.281) (1.645,0.268) (1.666,0.257) (1.686,0.246) (1.706,0.236) (1.727,0.226) (1.747,0.217) (1.767,0.209) (1.787,0.202) (1.808,0.196) (1.828,0.19) (1.848,0.186) (1.869,0.182) (1.889,0.179) (1.909,0.176) (1.93,0.175) (1.95,0.174) (1.97,0.174) (1.991,0.175) (2.011,0.177) (2.031,0.18) (2.052,0.183) (2.072,0.188) (2.092,0.193) (2.113,0.199) (2.133,0.206) (2.153,0.213) (2.173,0.221) (2.194,0.231) (2.214,0.24) (2.234,0.251) (2.255,0.262) (2.275,0.274) (2.295,0.287) (2.316,0.3) (2.336,0.314) (2.356,0.329) (2.377,0.344) (2.397,0.36) (2.417,0.376) (2.438,0.393) (2.458,0.41) (2.478,0.428) (2.498,0.446) (2.519,0.465) (2.539,0.484) (2.559,0.503) (2.58,0.523) (2.6,0.543) (2.62,0.563) (2.641,0.584) (2.661,0.604) (2.681,0.625) (2.702,0.646) (2.722,0.667) (2.742,0.689) (2.762,0.71) (2.783,0.731) (2.803,0.752) (2.823,0.773) (2.844,0.795) (2.864,0.815) (2.884,0.836) (2.905,0.857) (2.925,0.877) (2.945,0.897) (2.966,0.917) (2.986,0.937) (3.006,0.956) (3.027,0.975) (3.047,0.993) (3.067,1.011) (3.087,1.029) (3.108,1.046) (3.128,1.063) (3.148,1.079) (3.169,1.094) (3.189,1.109) (3.209,1.123) (3.23,1.137) (3.25,1.15)};285\node[above,inner sep=1pt] at (1.625,2.35) {\scriptsize six-dimensional code};286\end{scope}287\end{tikzpicture}288\caption{Two codes for the rotations about a fixed axis, through one full turn. Left: the four components of the unit quaternion with non-negative real part. At the half-turn the real part vanishes and the three others change sign, a jump of length $2.0000$. Right: the six components of the first two columns of the rotation matrix, which return to their initial values without a jump.}\label{fig:rotation}289\end{figure}290 291\noindent Along a full turn in $2000$ steps (\cref{fig:rotation}) the rotation matrix moves by at most $0.0044$ per step and the292six-dimensional code by $0.0040$, while the quaternion with non-negative real part jumps by $2.0000$ and the293Euler angles of a turn about the second axis by $3.1416$. \chk{O4} For $200$ random rotations the Gram--Schmidt294decoder recovers the matrix to $10^{-12}$, and it moves by at most $1.40$ times a perturbation of the code.295\chk{O5} Statement (b) is the usable form: a data set of poses that contains a loop equivalent to a full turn has296no continuous quaternion labelling, whatever the convention; a data set confined to a ball of rotations has one.297A loss that identifies $q$ with $-q$ repairs the target but not the output layer, which still has to choose.298 299\subsection{Combing a mesh}300