Rosetta
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
numeric
xyz.serialization.hh
Go to the documentation of this file.
1
// -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
2
// vi: set ts=2 noet:
3
//
4
// (c) Copyright Rosetta Commons Member Institutions.
5
// (c) This file is part of the Rosetta software suite and is made available under license.
6
// (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
7
// (c) For more information, see http://www.rosettacommons.org. Questions about this can be
8
// (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
9
10
/// @file numeric/xyz.serialization.hh
11
/// @brief functions for serializing xyzVector and xyzMatrix
12
/// @author Andrew Leaver-Fay (aleaverfay@gmail.com)
13
14
15
#ifndef INCLUDED_numeric_xyz_serialization_HH
16
#define INCLUDED_numeric_xyz_serialization_HH
17
18
#ifdef SERIALIZATION
19
20
// Package headers
21
#include <
numeric/xyzVector.hh
>
22
#include <
numeric/xyzMatrix.hh
>
23
24
// This file declares save/load functions (at global scope) for serializing and
25
// deserializing numerix::xyzVector and numeric::xyzMatrix objects.
26
27
namespace
numeric {
28
29
template
<
class
Archive >
30
void
31
save(
32
Archive & arch,
33
numeric::xyzVector< float >
const
&
xyz
34
);
35
36
template
<
class
Archive >
37
void
38
save(
39
Archive & arch,
40
numeric::xyzVector< double >
const
&
xyz
41
);
42
43
template
<
class
Archive >
44
void
45
load
(
46
Archive & arch,
47
numeric::xyzVector< float >
&
xyz
48
);
49
50
template
<
class
Archive >
51
void
52
load
(
53
Archive & arch,
54
numeric::xyzVector< double >
&
xyz
55
);
56
57
template
<
class
Archive >
58
void
59
save(
60
Archive & arch,
61
numeric::xyzMatrix< float >
const
&
xyz
62
);
63
64
template
<
class
Archive >
65
void
66
save(
67
Archive & arch,
68
numeric::xyzMatrix< double >
const
&
xyz
69
);
70
71
template
<
class
Archive >
72
void
73
load
(
74
Archive & arch,
75
numeric::xyzMatrix< float >
&
xyz
76
);
77
78
template
<
class
Archive >
79
void
80
load
(
81
Archive & arch,
82
numeric::xyzMatrix< double >
&
xyz
83
);
84
85
}
86
87
#endif // SERIALIZATION
88
89
#endif // INCLUDED_numeric_xyz_serialization_HH
xyzMatrix.hh
Fast 3x3 matrix.
numeric::crick_equations::xyz
xyzVector< Real > xyz(Real const &r1, Real const &omega1, Real const &t, Real const &dz1, Real const &delta_omega1, Real const &delta_z1)
Returns the x-, y-, and z-coordinates of a point on a helix given r1, omega1, and t...
Definition:
HelixParams.cc:67
numeric::xyzVector< float >
numeric::xyzMatrix
xyzMatrix: Fast 3x3 xyz matrix template
Definition:
xyzMatrix.fwd.hh:29
xyzVector.hh
Fast (x,y,z)-coordinate numeric vector.
IO.load
def load
Definition:
IO.py:5
Generated on Sun Jan 17 2016 15:21:20 for Rosetta by
1.8.7