{{indexmenu_n>999}} ====== AddSpin ====== ### Matrix.AddSpin($M$) takes a Matrix $M$ that acts on a space with no spin included and returns the matrix doubled in size, where every former entry now splits in spin-up and spin-down. This behaviour is equivalent to calling //[[documentation:language_reference:objects:matrix:functions:Enlarge|Matrix.Enlarge($M$,2)]]//. ### ===== Example ===== ### An example will follow one day. ### ==== Input ==== -- some example code ==== Result ==== text produced as output ===== Table of contents ===== {{indexmenu>.#1|msort}}