|
International
Tables for Crystallography Volume G Definition and exchange of crystallographic data Edited by J. R. Hester and B. McMahon © International Union of Crystallography 2026 |
International Tables for Crystallography (2026). Vol. G. Early view chapter
https://doi.org/10.1107/97809553602060001011 Chapter 4.2 Core dictionary (coreCIF) |
Core dictionary version 3.3.0
_function.SymLat
Name:_function.SymLat
Definition:
The function
v = SymLat( s )
returns a vector of the cell translations applied to the coordinates
from the character string of the form 'n_pqr'. i.e. p-5, q-5, r-5.
Type: Integer
Values appear in Matrix context.
Dimension: [3]
Units: none
Evaluation method:
Function SymLat( s :[Single, Symop]) { # symop string
If (s[0] == ' ') v = [ 5, 5, 5 ]
Else v = [ AtoI(s[2]), AtoI(s[3]), AtoI(s[4]) ]
SymLat = v - 5
}
Category:
function