From a9212e954c49c0c8e0227bf5309177b3aadbb8e1 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 15 Oct 2012 18:51:16 +0200 Subject: Add tfn_from_intmat() --- libcrystfel/src/cell.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libcrystfel/src/cell.h') diff --git a/libcrystfel/src/cell.h b/libcrystfel/src/cell.h index c7b8f8d6..cde25b07 100644 --- a/libcrystfel/src/cell.h +++ b/libcrystfel/src/cell.h @@ -38,6 +38,7 @@ #endif #include "utils.h" +#include "integer_matrix.h" /* A 3D vector in reciprocal space. * Note: Heavily abused to serve as a real space vector as well */ @@ -141,6 +142,7 @@ extern UnitCell *cell_transform_inverse(UnitCell *cell, UnitCellTransformation *t); extern UnitCellTransformation *tfn_identity(void); +extern UnitCellTransformation *tfn_from_intmat(IntegerMatrix *m); extern void tfn_combine(UnitCellTransformation *t, double *na, double *nb, double *nc); extern void tfn_print(UnitCellTransformation *t); -- cgit v1.2.3