IMP logo
IMP Reference Guide  2.11.0
The Integrative Modeling Platform
algebra/__init__.py
1 # This file was automatically generated by SWIG (http://www.swig.org).
2 # Version 3.0.10
3 #
4 # Do not make changes to this file unless you know what you are doing--modify
5 # the SWIG interface file instead.
6 
7 # This wrapper is part of IMP,
8 # Copyright 2007-2019 IMP Inventors. All rights reserved.
9 
10 from __future__ import print_function, division, absolute_import
11 
12 
13 
14 
15 from sys import version_info as _swig_python_version_info
16 if _swig_python_version_info >= (2, 7, 0):
17  def swig_import_helper():
18  import importlib
19  pkg = __name__.rpartition('.')[0]
20  mname = '.'.join((pkg, '_IMP_algebra')).lstrip('.')
21  try:
22  return importlib.import_module(mname)
23  except ImportError:
24  return importlib.import_module('_IMP_algebra')
25  _IMP_algebra = swig_import_helper()
26  del swig_import_helper
27 elif _swig_python_version_info >= (2, 6, 0):
28  def swig_import_helper():
29  from os.path import dirname
30  import imp
31  fp = None
32  try:
33  fp, pathname, description = imp.find_module('_IMP_algebra', [dirname(__file__)])
34  except ImportError:
35  import _IMP_algebra
36  return _IMP_algebra
37  if fp is not None:
38  try:
39  _mod = imp.load_module('_IMP_algebra', fp, pathname, description)
40  finally:
41  fp.close()
42  return _mod
43  _IMP_algebra = swig_import_helper()
44  del swig_import_helper
45 else:
46  import _IMP_algebra
47 del _swig_python_version_info
48 try:
49  _swig_property = property
50 except NameError:
51  pass # Python < 2.2 doesn't have 'property'.
52 
53 try:
54  import builtins as __builtin__
55 except ImportError:
56  import __builtin__
57 
58 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
59  if (name == "thisown"):
60  return self.this.own(value)
61  if (name == "this"):
62  if type(value).__name__ == 'SwigPyObject':
63  self.__dict__[name] = value
64  return
65  method = class_type.__swig_setmethods__.get(name, None)
66  if method:
67  return method(self, value)
68  if (not static):
69  object.__setattr__(self, name, value)
70  else:
71  raise AttributeError("You cannot add attributes to %s" % self)
72 
73 
74 def _swig_setattr(self, class_type, name, value):
75  return _swig_setattr_nondynamic(self, class_type, name, value, 0)
76 
77 
78 def _swig_getattr(self, class_type, name):
79  if (name == "thisown"):
80  return self.this.own()
81  method = class_type.__swig_getmethods__.get(name, None)
82  if method:
83  return method(self)
84  raise AttributeError("'%s' object has no attribute '%s'" % (class_type.__name__, name))
85 
86 
87 def _swig_repr(self):
88  try:
89  strthis = "proxy of " + self.this.__repr__()
90  except __builtin__.Exception:
91  strthis = ""
92  return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
93 
94 
95 def _swig_setattr_nondynamic_method(set):
96  def set_attr(self, name, value):
97  if (name == "thisown"):
98  return self.this.own(value)
99  if hasattr(self, name) or (name == "this"):
100  set(self, name, value)
101  else:
102  raise AttributeError("You cannot add attributes to %s" % self)
103  return set_attr
104 
105 
106 try:
107  import weakref
108  weakref_proxy = weakref.proxy
109 except __builtin__.Exception:
110  weakref_proxy = lambda x: x
111 
112 
113 class IMP_ALGEBRA_SwigPyIterator(object):
114  """Proxy of C++ swig::IMP_ALGEBRA_SwigPyIterator class."""
115 
116  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
117 
118  def __init__(self, *args, **kwargs):
119  raise AttributeError("No constructor defined - class is abstract")
120  __repr__ = _swig_repr
121  __swig_destroy__ = _IMP_algebra.delete_IMP_ALGEBRA_SwigPyIterator
122  __del__ = lambda self: None
123 
124  def value(self):
125  """value(IMP_ALGEBRA_SwigPyIterator self) -> PyObject *"""
126  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_value(self)
127 
128 
129  def incr(self, n=1):
130  """
131  incr(IMP_ALGEBRA_SwigPyIterator self, size_t n=1) -> IMP_ALGEBRA_SwigPyIterator
132  incr(IMP_ALGEBRA_SwigPyIterator self) -> IMP_ALGEBRA_SwigPyIterator
133  """
134  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_incr(self, n)
135 
136 
137  def decr(self, n=1):
138  """
139  decr(IMP_ALGEBRA_SwigPyIterator self, size_t n=1) -> IMP_ALGEBRA_SwigPyIterator
140  decr(IMP_ALGEBRA_SwigPyIterator self) -> IMP_ALGEBRA_SwigPyIterator
141  """
142  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_decr(self, n)
143 
144 
145  def distance(self, x):
146  """distance(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> ptrdiff_t"""
147  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_distance(self, x)
148 
149 
150  def equal(self, x):
151  """equal(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> bool"""
152  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_equal(self, x)
153 
154 
155  def copy(self):
156  """copy(IMP_ALGEBRA_SwigPyIterator self) -> IMP_ALGEBRA_SwigPyIterator"""
157  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_copy(self)
158 
159 
160  def next(self):
161  """next(IMP_ALGEBRA_SwigPyIterator self) -> PyObject *"""
162  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_next(self)
163 
164 
165  def __next__(self):
166  """__next__(IMP_ALGEBRA_SwigPyIterator self) -> PyObject *"""
167  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___next__(self)
168 
169 
170  def previous(self):
171  """previous(IMP_ALGEBRA_SwigPyIterator self) -> PyObject *"""
172  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_previous(self)
173 
174 
175  def advance(self, n):
176  """advance(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator"""
177  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_advance(self, n)
178 
179 
180  def __eq__(self, x):
181  """__eq__(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> bool"""
182  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___eq__(self, x)
183 
184 
185  def __ne__(self, x):
186  """__ne__(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> bool"""
187  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___ne__(self, x)
188 
189 
190  def __iadd__(self, n):
191  """__iadd__(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator"""
192  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___iadd__(self, n)
193 
194 
195  def __isub__(self, n):
196  """__isub__(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator"""
197  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___isub__(self, n)
198 
199 
200  def __add__(self, n):
201  """__add__(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator"""
202  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___add__(self, n)
203 
204 
205  def __sub__(self, *args):
206  """
207  __sub__(IMP_ALGEBRA_SwigPyIterator self, ptrdiff_t n) -> IMP_ALGEBRA_SwigPyIterator
208  __sub__(IMP_ALGEBRA_SwigPyIterator self, IMP_ALGEBRA_SwigPyIterator x) -> ptrdiff_t
209  """
210  return _IMP_algebra.IMP_ALGEBRA_SwigPyIterator___sub__(self, *args)
211 
212  def __iter__(self):
213  return self
214 IMP_ALGEBRA_SwigPyIterator_swigregister = _IMP_algebra.IMP_ALGEBRA_SwigPyIterator_swigregister
215 IMP_ALGEBRA_SwigPyIterator_swigregister(IMP_ALGEBRA_SwigPyIterator)
216 
217 
218 _value_types=[]
219 _object_types=[]
220 _raii_types=[]
221 _plural_types=[]
222 
223 IMP_DEBUG = _IMP_algebra.IMP_DEBUG
224 IMP_RELEASE = _IMP_algebra.IMP_RELEASE
225 IMP_SILENT = _IMP_algebra.IMP_SILENT
226 IMP_PROGRESS = _IMP_algebra.IMP_PROGRESS
227 IMP_TERSE = _IMP_algebra.IMP_TERSE
228 IMP_VERBOSE = _IMP_algebra.IMP_VERBOSE
229 IMP_MEMORY = _IMP_algebra.IMP_MEMORY
230 IMP_NONE = _IMP_algebra.IMP_NONE
231 IMP_USAGE = _IMP_algebra.IMP_USAGE
232 IMP_INTERNAL = _IMP_algebra.IMP_INTERNAL
233 IMP_KERNEL_HAS_LOG4CXX = _IMP_algebra.IMP_KERNEL_HAS_LOG4CXX
234 IMP_COMPILER_HAS_AUTO = _IMP_algebra.IMP_COMPILER_HAS_AUTO
235 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_algebra.IMP_COMPILER_HAS_DEBUG_VECTOR
236 IMP_COMPILER_HAS_UNIQUE_PTR = _IMP_algebra.IMP_COMPILER_HAS_UNIQUE_PTR
237 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_algebra.IMP_KERNEL_HAS_BOOST_RANDOM
238 IMP_KERNEL_HAS_NUMPY = _IMP_algebra.IMP_KERNEL_HAS_NUMPY
239 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_algebra.IMP_KERNEL_HAS_GPERFTOOLS
240 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_algebra.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
241 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_algebra.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
242 IMPKERNEL_SHOW_WARNINGS = _IMP_algebra.IMPKERNEL_SHOW_WARNINGS
243 
244 import sys
245 class _DirectorObjects(object):
246  """@internal Simple class to keep references to director objects
247  to prevent premature deletion."""
248  def __init__(self):
249  self._objects = []
250  def register(self, obj):
251  """Take a reference to a director object; will only work for
252  refcounted C++ classes"""
253  if hasattr(obj, 'get_ref_count'):
254  self._objects.append(obj)
255  def cleanup(self):
256  """Only drop our reference and allow cleanup by Python if no other
257  Python references exist (we hold 3 references: one in self._objects,
258  one in x, and one in the argument list for getrefcount) *and* no
259  other C++ references exist (the Python object always holds one)"""
260  objs = [x for x in self._objects if sys.getrefcount(x) > 3 \
261  or x.get_ref_count() > 1]
262 # Do in two steps so the references are kept until the end of the
263 # function (deleting references may trigger a fresh call to this method)
264  self._objects = objs
265  def get_object_count(self):
266  """Get number of director objects (useful for testing only)"""
267  return len(self._objects)
268 _director_objects = _DirectorObjects()
269 
270 class _ostream(object):
271  """Proxy of C++ std::ostream class."""
272 
273  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
274 
275  def __init__(self, *args, **kwargs):
276  raise AttributeError("No constructor defined")
277  __repr__ = _swig_repr
278 
279  def write(self, osa_buf):
280  """write(_ostream self, char const * osa_buf)"""
281  return _IMP_algebra._ostream_write(self, osa_buf)
282 
283 _ostream_swigregister = _IMP_algebra._ostream_swigregister
284 _ostream_swigregister(_ostream)
285 
286 IMP_COMPILER_HAS_OVERRIDE = _IMP_algebra.IMP_COMPILER_HAS_OVERRIDE
287 IMP_COMPILER_HAS_FINAL = _IMP_algebra.IMP_COMPILER_HAS_FINAL
288 IMP_HAS_NOEXCEPT = _IMP_algebra.IMP_HAS_NOEXCEPT
289 IMP_C_OPEN_BINARY = _IMP_algebra.IMP_C_OPEN_BINARY
290 import IMP
291 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_algebra.IMP_CGAL_HAS_BOOST_FILESYSTEM
292 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_algebra.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
293 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_algebra.IMP_CGAL_HAS_BOOST_RANDOM
294 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_algebra.IMP_CGAL_HAS_BOOST_SYSTEM
295 IMP_CGAL_HAS_NUMPY = _IMP_algebra.IMP_CGAL_HAS_NUMPY
296 IMPCGAL_SHOW_WARNINGS = _IMP_algebra.IMPCGAL_SHOW_WARNINGS
297 import IMP.cgal
298 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_algebra.IMP_ALGEBRA_HAS_IMP_CGAL
299 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
300 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
301 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_RANDOM
302 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_algebra.IMP_ALGEBRA_HAS_BOOST_SYSTEM
303 IMP_ALGEBRA_HAS_CGAL = _IMP_algebra.IMP_ALGEBRA_HAS_CGAL
304 IMP_ALGEBRA_HAS_NUMPY = _IMP_algebra.IMP_ALGEBRA_HAS_NUMPY
305 IMP_ALGEBRA_HAS_ANN = _IMP_algebra.IMP_ALGEBRA_HAS_ANN
306 IMPALGEBRA_SHOW_WARNINGS = _IMP_algebra.IMPALGEBRA_SHOW_WARNINGS
307 
308 def get_vector(v):
309  try:
310  return v.get_coordinates()
311  except:
312  return v
313 def get_sphere(v):
314  try:
315  return v.get_sphere()
316  except:
317  return v
318 
319 
320 _object_types.append("VectorKDMetric")
321 
322 
323 def _object_cast_to_VectorKDMetric(o):
324  """_object_cast_to_VectorKDMetric(Object o) -> VectorKDMetric"""
325  return _IMP_algebra._object_cast_to_VectorKDMetric(o)
326 
327 _object_types.append("EuclideanVectorKDMetric")
328 
329 
330 def _object_cast_to_EuclideanVectorKDMetric(o):
331  """_object_cast_to_EuclideanVectorKDMetric(Object o) -> EuclideanVectorKDMetric"""
332  return _IMP_algebra._object_cast_to_EuclideanVectorKDMetric(o)
333 
334 _object_types.append("MaxVectorKDMetric")
335 
336 
337 def _object_cast_to_MaxVectorKDMetric(o):
338  """_object_cast_to_MaxVectorKDMetric(Object o) -> MaxVectorKDMetric"""
339  return _IMP_algebra._object_cast_to_MaxVectorKDMetric(o)
340 
341 _object_types.append("DynamicNearestNeighbor3D")
342 
343 
344 def _object_cast_to_DynamicNearestNeighbor3D(o):
345  """_object_cast_to_DynamicNearestNeighbor3D(Object o) -> DynamicNearestNeighbor3D"""
346  return _IMP_algebra._object_cast_to_DynamicNearestNeighbor3D(o)
347 
348 Rotation2Ds=list
349 _plural_types.append("Rotation2Ds")
350 _value_types.append("Rotation2D")
351 
352 
353 Rotation3Ds=list
354 _plural_types.append("Rotation3Ds")
355 _value_types.append("Rotation3D")
356 
357 
358 Reflection3Ds=list
359 _plural_types.append("Reflection3Ds")
360 _value_types.append("Reflection3D")
361 
362 
363 Transformation2Ds=list
364 _plural_types.append("Transformation2Ds")
365 _value_types.append("Transformation2D")
366 
367 
368 Transformation3Ds=list
369 _plural_types.append("Transformation3Ds")
370 _value_types.append("Transformation3D")
371 
372 
373 SphericalVector3Ds=list
374 _plural_types.append("SphericalVector3Ds")
375 _value_types.append("SphericalVector3D")
376 
377 
378 Triangle3Ds=list
379 _plural_types.append("Triangle3Ds")
380 _value_types.append("Triangle3D")
381 
382 
383 Cone3Ds=list
384 _plural_types.append("Cone3Ds")
385 _value_types.append("Cone3D")
386 
387 
388 Cylinder3Ds=list
389 _plural_types.append("Cylinder3Ds")
390 _value_types.append("Cylinder3D")
391 
392 
393 Ellipsoid3Ds=list
394 _plural_types.append("Ellipsoid3Ds")
395 _value_types.append("Ellipsoid3D")
396 
397 
398 Line3Ds=list
399 _plural_types.append("Line3Ds")
400 _value_types.append("Line3D")
401 
402 
403 Plane3Ds=list
404 _plural_types.append("Plane3Ds")
405 _value_types.append("Plane3D")
406 
407 
408 Segment3Ds=list
409 _plural_types.append("Segment3Ds")
410 _value_types.append("Segment3D")
411 
412 
413 SpherePatch3Ds=list
414 _plural_types.append("SpherePatch3Ds")
415 _value_types.append("SpherePatch3D")
416 
417 
418 ConnollySurfacePoints=list
419 _plural_types.append("ConnollySurfacePoints")
420 _value_types.append("ConnollySurfacePoint")
421 
422 
423 Sphere1Ds=list
424 _plural_types.append("Sphere1Ds")
425 _value_types.append("Sphere1D")
426 
427 
428 Sphere2Ds=list
429 _plural_types.append("Sphere2Ds")
430 _value_types.append("Sphere2D")
431 
432 
433 Sphere3Ds=list
434 _plural_types.append("Sphere3Ds")
435 _value_types.append("Sphere3D")
436 
437 
438 Sphere4Ds=list
439 _plural_types.append("Sphere4Ds")
440 _value_types.append("Sphere4D")
441 
442 
443 Sphere5Ds=list
444 _plural_types.append("Sphere5Ds")
445 _value_types.append("Sphere5D")
446 
447 
448 Sphere6Ds=list
449 _plural_types.append("Sphere6Ds")
450 _value_types.append("Sphere6D")
451 
452 
453 Sphere1Ds=list
454 _plural_types.append("Sphere1Ds")
455 _value_types.append("SphereD<1>")
456 
457 
458 Sphere2Ds=list
459 _plural_types.append("Sphere2Ds")
460 _value_types.append("SphereD<2>")
461 
462 
463 Sphere3Ds=list
464 _plural_types.append("Sphere3Ds")
465 _value_types.append("SphereD<3>")
466 
467 
468 Sphere4Ds=list
469 _plural_types.append("Sphere4Ds")
470 _value_types.append("SphereD<4>")
471 
472 
473 Sphere5Ds=list
474 _plural_types.append("Sphere5Ds")
475 _value_types.append("SphereD<5>")
476 
477 
478 Sphere6Ds=list
479 _plural_types.append("Sphere6Ds")
480 _value_types.append("SphereD<6>")
481 
482 
483 SphereKDs=list
484 _plural_types.append("SphereKDs")
485 _value_types.append("SphereKD")
486 
487 
488 SphereKDs=list
489 _plural_types.append("SphereKDs")
490 _value_types.append("SphereD<-1>")
491 
492 
493 BoundingBox1Ds=list
494 _plural_types.append("BoundingBox1Ds")
495 _value_types.append("BoundingBox1D")
496 
497 
498 BoundingBox2Ds=list
499 _plural_types.append("BoundingBox2Ds")
500 _value_types.append("BoundingBox2D")
501 
502 
503 BoundingBox3Ds=list
504 _plural_types.append("BoundingBox3Ds")
505 _value_types.append("BoundingBox3D")
506 
507 
508 BoundingBox4Ds=list
509 _plural_types.append("BoundingBox4Ds")
510 _value_types.append("BoundingBox4D")
511 
512 
513 BoundingBox5Ds=list
514 _plural_types.append("BoundingBox5Ds")
515 _value_types.append("BoundingBox5D")
516 
517 
518 BoundingBox6Ds=list
519 _plural_types.append("BoundingBox6Ds")
520 _value_types.append("BoundingBox6D")
521 
522 
523 BoundingBox1Ds=list
524 _plural_types.append("BoundingBox1Ds")
525 _value_types.append("BoundingBoxD<1>")
526 
527 
528 BoundingBox2Ds=list
529 _plural_types.append("BoundingBox2Ds")
530 _value_types.append("BoundingBoxD<2>")
531 
532 
533 BoundingBox3Ds=list
534 _plural_types.append("BoundingBox3Ds")
535 _value_types.append("BoundingBoxD<3>")
536 
537 
538 BoundingBox4Ds=list
539 _plural_types.append("BoundingBox4Ds")
540 _value_types.append("BoundingBoxD<4>")
541 
542 
543 BoundingBox5Ds=list
544 _plural_types.append("BoundingBox5Ds")
545 _value_types.append("BoundingBoxD<5>")
546 
547 
548 BoundingBox6Ds=list
549 _plural_types.append("BoundingBox6Ds")
550 _value_types.append("BoundingBoxD<6>")
551 
552 
553 BoundingBoxKDs=list
554 _plural_types.append("BoundingBoxKDs")
555 _value_types.append("BoundingBoxKD")
556 
557 
558 BoundingBoxKDs=list
559 _plural_types.append("BoundingBoxKDs")
560 _value_types.append("BoundingBoxD<-1>")
561 
562 
563 PrincipalComponentAnalysis1Ds=list
564 _plural_types.append("PrincipalComponentAnalysis1Ds")
565 _value_types.append("PrincipalComponentAnalysis1D")
566 
567 
568 PrincipalComponentAnalysis2Ds=list
569 _plural_types.append("PrincipalComponentAnalysis2Ds")
570 _value_types.append("PrincipalComponentAnalysis2D")
571 
572 
573 PrincipalComponentAnalysis3Ds=list
574 _plural_types.append("PrincipalComponentAnalysis3Ds")
575 _value_types.append("PrincipalComponentAnalysis3D")
576 
577 
578 PrincipalComponentAnalysis4Ds=list
579 _plural_types.append("PrincipalComponentAnalysis4Ds")
580 _value_types.append("PrincipalComponentAnalysis4D")
581 
582 
583 PrincipalComponentAnalysis5Ds=list
584 _plural_types.append("PrincipalComponentAnalysis5Ds")
585 _value_types.append("PrincipalComponentAnalysis5D")
586 
587 
588 PrincipalComponentAnalysis6Ds=list
589 _plural_types.append("PrincipalComponentAnalysis6Ds")
590 _value_types.append("PrincipalComponentAnalysis6D")
591 
592 
593 PrincipalComponentAnalysis1Ds=list
594 _plural_types.append("PrincipalComponentAnalysis1Ds")
595 _value_types.append("PrincipalComponentAnalysisD<1>")
596 
597 
598 PrincipalComponentAnalysis2Ds=list
599 _plural_types.append("PrincipalComponentAnalysis2Ds")
600 _value_types.append("PrincipalComponentAnalysisD<2>")
601 
602 
603 PrincipalComponentAnalysis3Ds=list
604 _plural_types.append("PrincipalComponentAnalysis3Ds")
605 _value_types.append("PrincipalComponentAnalysisD<3>")
606 
607 
608 PrincipalComponentAnalysis4Ds=list
609 _plural_types.append("PrincipalComponentAnalysis4Ds")
610 _value_types.append("PrincipalComponentAnalysisD<4>")
611 
612 
613 PrincipalComponentAnalysis5Ds=list
614 _plural_types.append("PrincipalComponentAnalysis5Ds")
615 _value_types.append("PrincipalComponentAnalysisD<5>")
616 
617 
618 PrincipalComponentAnalysis6Ds=list
619 _plural_types.append("PrincipalComponentAnalysis6Ds")
620 _value_types.append("PrincipalComponentAnalysisD<6>")
621 
622 
623 PrincipalComponentAnalysisKDs=list
624 _plural_types.append("PrincipalComponentAnalysisKDs")
625 _value_types.append("PrincipalComponentAnalysisKD")
626 
627 
628 PrincipalComponentAnalysisKDs=list
629 _plural_types.append("PrincipalComponentAnalysisKDs")
630 _value_types.append("PrincipalComponentAnalysisD<-1>")
631 
632 
633 _object_types.append("NearestNeighbor1D")
634 
635 
636 def _object_cast_to_NearestNeighbor1D(o):
637  """_object_cast_to_NearestNeighbor1D(Object o) -> NearestNeighbor1D"""
638  return _IMP_algebra._object_cast_to_NearestNeighbor1D(o)
639 
640 _object_types.append("NearestNeighbor2D")
641 
642 
643 def _object_cast_to_NearestNeighbor2D(o):
644  """_object_cast_to_NearestNeighbor2D(Object o) -> NearestNeighbor2D"""
645  return _IMP_algebra._object_cast_to_NearestNeighbor2D(o)
646 
647 _object_types.append("NearestNeighbor3D")
648 
649 
650 def _object_cast_to_NearestNeighbor3D(o):
651  """_object_cast_to_NearestNeighbor3D(Object o) -> NearestNeighbor3D"""
652  return _IMP_algebra._object_cast_to_NearestNeighbor3D(o)
653 
654 _object_types.append("NearestNeighbor4D")
655 
656 
657 def _object_cast_to_NearestNeighbor4D(o):
658  """_object_cast_to_NearestNeighbor4D(Object o) -> NearestNeighbor4D"""
659  return _IMP_algebra._object_cast_to_NearestNeighbor4D(o)
660 
661 _object_types.append("NearestNeighbor5D")
662 
663 
664 def _object_cast_to_NearestNeighbor5D(o):
665  """_object_cast_to_NearestNeighbor5D(Object o) -> NearestNeighbor5D"""
666  return _IMP_algebra._object_cast_to_NearestNeighbor5D(o)
667 
668 _object_types.append("NearestNeighbor6D")
669 
670 
671 def _object_cast_to_NearestNeighbor6D(o):
672  """_object_cast_to_NearestNeighbor6D(Object o) -> NearestNeighbor6D"""
673  return _IMP_algebra._object_cast_to_NearestNeighbor6D(o)
674 
675 _object_types.append("NearestNeighborKD")
676 
677 
678 def _object_cast_to_NearestNeighborKD(o):
679  """_object_cast_to_NearestNeighborKD(Object o) -> NearestNeighborKD"""
680  return _IMP_algebra._object_cast_to_NearestNeighborKD(o)
681 
682 ReferenceFrame3Ds=list
683 _plural_types.append("ReferenceFrame3Ds")
684 _value_types.append("ReferenceFrame3D")
685 
686 
687 Gaussian3Ds=list
688 _plural_types.append("Gaussian3Ds")
689 _value_types.append("Gaussian3D")
690 
691 
692 DefaultEmbedding1Ds=list
693 _plural_types.append("DefaultEmbedding1Ds")
694 _value_types.append("DefaultEmbedding1D")
695 
696 
697 DefaultEmbedding2Ds=list
698 _plural_types.append("DefaultEmbedding2Ds")
699 _value_types.append("DefaultEmbedding2D")
700 
701 
702 DefaultEmbedding3Ds=list
703 _plural_types.append("DefaultEmbedding3Ds")
704 _value_types.append("DefaultEmbedding3D")
705 
706 
707 DefaultEmbedding4Ds=list
708 _plural_types.append("DefaultEmbedding4Ds")
709 _value_types.append("DefaultEmbedding4D")
710 
711 
712 DefaultEmbedding5Ds=list
713 _plural_types.append("DefaultEmbedding5Ds")
714 _value_types.append("DefaultEmbedding5D")
715 
716 
717 DefaultEmbedding6Ds=list
718 _plural_types.append("DefaultEmbedding6Ds")
719 _value_types.append("DefaultEmbedding6D")
720 
721 
722 DefaultEmbedding1Ds=list
723 _plural_types.append("DefaultEmbedding1Ds")
724 _value_types.append("DefaultEmbeddingD<1>")
725 
726 
727 DefaultEmbedding2Ds=list
728 _plural_types.append("DefaultEmbedding2Ds")
729 _value_types.append("DefaultEmbeddingD<2>")
730 
731 
732 DefaultEmbedding3Ds=list
733 _plural_types.append("DefaultEmbedding3Ds")
734 _value_types.append("DefaultEmbeddingD<3>")
735 
736 
737 DefaultEmbedding4Ds=list
738 _plural_types.append("DefaultEmbedding4Ds")
739 _value_types.append("DefaultEmbeddingD<4>")
740 
741 
742 DefaultEmbedding5Ds=list
743 _plural_types.append("DefaultEmbedding5Ds")
744 _value_types.append("DefaultEmbeddingD<5>")
745 
746 
747 DefaultEmbedding6Ds=list
748 _plural_types.append("DefaultEmbedding6Ds")
749 _value_types.append("DefaultEmbeddingD<6>")
750 
751 
752 DefaultEmbeddingKDs=list
753 _plural_types.append("DefaultEmbeddingKDs")
754 _value_types.append("DefaultEmbeddingKD")
755 
756 
757 DefaultEmbeddingKDs=list
758 _plural_types.append("DefaultEmbeddingKDs")
759 _value_types.append("DefaultEmbeddingD<-1>")
760 
761 
762 LogEmbedding1Ds=list
763 _plural_types.append("LogEmbedding1Ds")
764 _value_types.append("LogEmbedding1D")
765 
766 
767 LogEmbedding2Ds=list
768 _plural_types.append("LogEmbedding2Ds")
769 _value_types.append("LogEmbedding2D")
770 
771 
772 LogEmbedding3Ds=list
773 _plural_types.append("LogEmbedding3Ds")
774 _value_types.append("LogEmbedding3D")
775 
776 
777 LogEmbedding4Ds=list
778 _plural_types.append("LogEmbedding4Ds")
779 _value_types.append("LogEmbedding4D")
780 
781 
782 LogEmbedding5Ds=list
783 _plural_types.append("LogEmbedding5Ds")
784 _value_types.append("LogEmbedding5D")
785 
786 
787 LogEmbedding6Ds=list
788 _plural_types.append("LogEmbedding6Ds")
789 _value_types.append("LogEmbedding6D")
790 
791 
792 LogEmbedding1Ds=list
793 _plural_types.append("LogEmbedding1Ds")
794 _value_types.append("LogEmbeddingD<1>")
795 
796 
797 LogEmbedding2Ds=list
798 _plural_types.append("LogEmbedding2Ds")
799 _value_types.append("LogEmbeddingD<2>")
800 
801 
802 LogEmbedding3Ds=list
803 _plural_types.append("LogEmbedding3Ds")
804 _value_types.append("LogEmbeddingD<3>")
805 
806 
807 LogEmbedding4Ds=list
808 _plural_types.append("LogEmbedding4Ds")
809 _value_types.append("LogEmbeddingD<4>")
810 
811 
812 LogEmbedding5Ds=list
813 _plural_types.append("LogEmbedding5Ds")
814 _value_types.append("LogEmbeddingD<5>")
815 
816 
817 LogEmbedding6Ds=list
818 _plural_types.append("LogEmbedding6Ds")
819 _value_types.append("LogEmbeddingD<6>")
820 
821 
822 LogEmbeddingKDs=list
823 _plural_types.append("LogEmbeddingKDs")
824 _value_types.append("LogEmbeddingKD")
825 
826 
827 LogEmbeddingKDs=list
828 _plural_types.append("LogEmbeddingKDs")
829 _value_types.append("LogEmbeddingD<-1>")
830 
831 
832 GridIndex1Ds=list
833 _plural_types.append("GridIndex1Ds")
834 _value_types.append("GridIndex1D")
835 
836 
837 GridIndex2Ds=list
838 _plural_types.append("GridIndex2Ds")
839 _value_types.append("GridIndex2D")
840 
841 
842 GridIndex3Ds=list
843 _plural_types.append("GridIndex3Ds")
844 _value_types.append("GridIndex3D")
845 
846 
847 GridIndex4Ds=list
848 _plural_types.append("GridIndex4Ds")
849 _value_types.append("GridIndex4D")
850 
851 
852 GridIndex5Ds=list
853 _plural_types.append("GridIndex5Ds")
854 _value_types.append("GridIndex5D")
855 
856 
857 GridIndex6Ds=list
858 _plural_types.append("GridIndex6Ds")
859 _value_types.append("GridIndex6D")
860 
861 
862 GridIndex1Ds=list
863 _plural_types.append("GridIndex1Ds")
864 _value_types.append("GridIndexD<1>")
865 
866 
867 GridIndex2Ds=list
868 _plural_types.append("GridIndex2Ds")
869 _value_types.append("GridIndexD<2>")
870 
871 
872 GridIndex3Ds=list
873 _plural_types.append("GridIndex3Ds")
874 _value_types.append("GridIndexD<3>")
875 
876 
877 GridIndex4Ds=list
878 _plural_types.append("GridIndex4Ds")
879 _value_types.append("GridIndexD<4>")
880 
881 
882 GridIndex5Ds=list
883 _plural_types.append("GridIndex5Ds")
884 _value_types.append("GridIndexD<5>")
885 
886 
887 GridIndex6Ds=list
888 _plural_types.append("GridIndex6Ds")
889 _value_types.append("GridIndexD<6>")
890 
891 
892 GridIndexKDs=list
893 _plural_types.append("GridIndexKDs")
894 _value_types.append("GridIndexKD")
895 
896 
897 GridIndexKDs=list
898 _plural_types.append("GridIndexKDs")
899 _value_types.append("GridIndexD<-1>")
900 
901 
902 ExtendedGridIndex1Ds=list
903 _plural_types.append("ExtendedGridIndex1Ds")
904 _value_types.append("ExtendedGridIndex1D")
905 
906 
907 ExtendedGridIndex2Ds=list
908 _plural_types.append("ExtendedGridIndex2Ds")
909 _value_types.append("ExtendedGridIndex2D")
910 
911 
912 ExtendedGridIndex3Ds=list
913 _plural_types.append("ExtendedGridIndex3Ds")
914 _value_types.append("ExtendedGridIndex3D")
915 
916 
917 ExtendedGridIndex4Ds=list
918 _plural_types.append("ExtendedGridIndex4Ds")
919 _value_types.append("ExtendedGridIndex4D")
920 
921 
922 ExtendedGridIndex5Ds=list
923 _plural_types.append("ExtendedGridIndex5Ds")
924 _value_types.append("ExtendedGridIndex5D")
925 
926 
927 ExtendedGridIndex6Ds=list
928 _plural_types.append("ExtendedGridIndex6Ds")
929 _value_types.append("ExtendedGridIndex6D")
930 
931 
932 ExtendedGridIndex1Ds=list
933 _plural_types.append("ExtendedGridIndex1Ds")
934 _value_types.append("ExtendedGridIndexD<1>")
935 
936 
937 ExtendedGridIndex2Ds=list
938 _plural_types.append("ExtendedGridIndex2Ds")
939 _value_types.append("ExtendedGridIndexD<2>")
940 
941 
942 ExtendedGridIndex3Ds=list
943 _plural_types.append("ExtendedGridIndex3Ds")
944 _value_types.append("ExtendedGridIndexD<3>")
945 
946 
947 ExtendedGridIndex4Ds=list
948 _plural_types.append("ExtendedGridIndex4Ds")
949 _value_types.append("ExtendedGridIndexD<4>")
950 
951 
952 ExtendedGridIndex5Ds=list
953 _plural_types.append("ExtendedGridIndex5Ds")
954 _value_types.append("ExtendedGridIndexD<5>")
955 
956 
957 ExtendedGridIndex6Ds=list
958 _plural_types.append("ExtendedGridIndex6Ds")
959 _value_types.append("ExtendedGridIndexD<6>")
960 
961 
962 ExtendedGridIndexKDs=list
963 _plural_types.append("ExtendedGridIndexKDs")
964 _value_types.append("ExtendedGridIndexKD")
965 
966 
967 ExtendedGridIndexKDs=list
968 _plural_types.append("ExtendedGridIndexKDs")
969 _value_types.append("ExtendedGridIndexD<-1>")
970 
971 
972 BoundedGridRange1Ds=list
973 _plural_types.append("BoundedGridRange1Ds")
974 _value_types.append("BoundedGridRange1D")
975 
976 
977 BoundedGridRange2Ds=list
978 _plural_types.append("BoundedGridRange2Ds")
979 _value_types.append("BoundedGridRange2D")
980 
981 
982 BoundedGridRange3Ds=list
983 _plural_types.append("BoundedGridRange3Ds")
984 _value_types.append("BoundedGridRange3D")
985 
986 
987 BoundedGridRange4Ds=list
988 _plural_types.append("BoundedGridRange4Ds")
989 _value_types.append("BoundedGridRange4D")
990 
991 
992 BoundedGridRange5Ds=list
993 _plural_types.append("BoundedGridRange5Ds")
994 _value_types.append("BoundedGridRange5D")
995 
996 
997 BoundedGridRange6Ds=list
998 _plural_types.append("BoundedGridRange6Ds")
999 _value_types.append("BoundedGridRange6D")
1000 
1001 
1002 BoundedGridRange1Ds=list
1003 _plural_types.append("BoundedGridRange1Ds")
1004 _value_types.append("BoundedGridRangeD<1>")
1005 
1006 
1007 BoundedGridRange2Ds=list
1008 _plural_types.append("BoundedGridRange2Ds")
1009 _value_types.append("BoundedGridRangeD<2>")
1010 
1011 
1012 BoundedGridRange3Ds=list
1013 _plural_types.append("BoundedGridRange3Ds")
1014 _value_types.append("BoundedGridRangeD<3>")
1015 
1016 
1017 BoundedGridRange4Ds=list
1018 _plural_types.append("BoundedGridRange4Ds")
1019 _value_types.append("BoundedGridRangeD<4>")
1020 
1021 
1022 BoundedGridRange5Ds=list
1023 _plural_types.append("BoundedGridRange5Ds")
1024 _value_types.append("BoundedGridRangeD<5>")
1025 
1026 
1027 BoundedGridRange6Ds=list
1028 _plural_types.append("BoundedGridRange6Ds")
1029 _value_types.append("BoundedGridRangeD<6>")
1030 
1031 
1032 BoundedGridRangeKDs=list
1033 _plural_types.append("BoundedGridRangeKDs")
1034 _value_types.append("BoundedGridRangeKD")
1035 
1036 
1037 BoundedGridRangeKDs=list
1038 _plural_types.append("BoundedGridRangeKDs")
1039 _value_types.append("BoundedGridRangeD<-1>")
1040 
1041 
1042 UnboundedGridRange1Ds=list
1043 _plural_types.append("UnboundedGridRange1Ds")
1044 _value_types.append("UnboundedGridRange1D")
1045 
1046 
1047 UnboundedGridRange2Ds=list
1048 _plural_types.append("UnboundedGridRange2Ds")
1049 _value_types.append("UnboundedGridRange2D")
1050 
1051 
1052 UnboundedGridRange3Ds=list
1053 _plural_types.append("UnboundedGridRange3Ds")
1054 _value_types.append("UnboundedGridRange3D")
1055 
1056 
1057 UnboundedGridRange4Ds=list
1058 _plural_types.append("UnboundedGridRange4Ds")
1059 _value_types.append("UnboundedGridRange4D")
1060 
1061 
1062 UnboundedGridRange5Ds=list
1063 _plural_types.append("UnboundedGridRange5Ds")
1064 _value_types.append("UnboundedGridRange5D")
1065 
1066 
1067 UnboundedGridRange6Ds=list
1068 _plural_types.append("UnboundedGridRange6Ds")
1069 _value_types.append("UnboundedGridRange6D")
1070 
1071 
1072 UnboundedGridRange1Ds=list
1073 _plural_types.append("UnboundedGridRange1Ds")
1074 _value_types.append("UnboundedGridRangeD<1>")
1075 
1076 
1077 UnboundedGridRange2Ds=list
1078 _plural_types.append("UnboundedGridRange2Ds")
1079 _value_types.append("UnboundedGridRangeD<2>")
1080 
1081 
1082 UnboundedGridRange3Ds=list
1083 _plural_types.append("UnboundedGridRange3Ds")
1084 _value_types.append("UnboundedGridRangeD<3>")
1085 
1086 
1087 UnboundedGridRange4Ds=list
1088 _plural_types.append("UnboundedGridRange4Ds")
1089 _value_types.append("UnboundedGridRangeD<4>")
1090 
1091 
1092 UnboundedGridRange5Ds=list
1093 _plural_types.append("UnboundedGridRange5Ds")
1094 _value_types.append("UnboundedGridRangeD<5>")
1095 
1096 
1097 UnboundedGridRange6Ds=list
1098 _plural_types.append("UnboundedGridRange6Ds")
1099 _value_types.append("UnboundedGridRangeD<6>")
1100 
1101 
1102 UnboundedGridRangeKDs=list
1103 _plural_types.append("UnboundedGridRangeKDs")
1104 _value_types.append("UnboundedGridRangeKD")
1105 
1106 
1107 UnboundedGridRangeKDs=list
1108 _plural_types.append("UnboundedGridRangeKDs")
1109 _value_types.append("UnboundedGridRangeD<-1>")
1110 
1111 
1112 LinearFit2Ds=list
1113 _plural_types.append("LinearFit2Ds")
1114 _value_types.append("LinearFit2D")
1115 
1116 
1117 ParabolicFit2Ds=list
1118 _plural_types.append("ParabolicFit2Ds")
1119 _value_types.append("ParabolicFit2D")
1120 
1121 
1122 FixedXYZs=list
1123 _plural_types.append("FixedXYZs")
1124 _value_types.append("FixedXYZ")
1125 
1126 class _GeometricPrimitive1D(object):
1127  """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(1)> class."""
1128 
1129  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1130 
1131  def __init__(self, *args, **kwargs):
1132  raise AttributeError("No constructor defined")
1133  __repr__ = _swig_repr
1134  __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive1D
1135  __del__ = lambda self: None
1136 _GeometricPrimitive1D_swigregister = _IMP_algebra._GeometricPrimitive1D_swigregister
1137 _GeometricPrimitive1D_swigregister(_GeometricPrimitive1D)
1138 
1139 class _GeometricPrimitive2D(object):
1140  """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(2)> class."""
1141 
1142  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1143 
1144  def __init__(self, *args, **kwargs):
1145  raise AttributeError("No constructor defined")
1146  __repr__ = _swig_repr
1147  __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive2D
1148  __del__ = lambda self: None
1149 _GeometricPrimitive2D_swigregister = _IMP_algebra._GeometricPrimitive2D_swigregister
1150 _GeometricPrimitive2D_swigregister(_GeometricPrimitive2D)
1151 
1152 class _GeometricPrimitive3D(object):
1153  """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(3)> class."""
1154 
1155  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1156 
1157  def __init__(self, *args, **kwargs):
1158  raise AttributeError("No constructor defined")
1159  __repr__ = _swig_repr
1160  __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive3D
1161  __del__ = lambda self: None
1162 _GeometricPrimitive3D_swigregister = _IMP_algebra._GeometricPrimitive3D_swigregister
1163 _GeometricPrimitive3D_swigregister(_GeometricPrimitive3D)
1164 
1165 class _GeometricPrimitive4D(object):
1166  """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(4)> class."""
1167 
1168  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1169 
1170  def __init__(self, *args, **kwargs):
1171  raise AttributeError("No constructor defined")
1172  __repr__ = _swig_repr
1173  __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive4D
1174  __del__ = lambda self: None
1175 _GeometricPrimitive4D_swigregister = _IMP_algebra._GeometricPrimitive4D_swigregister
1176 _GeometricPrimitive4D_swigregister(_GeometricPrimitive4D)
1177 
1178 class _GeometricPrimitive5D(object):
1179  """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(5)> class."""
1180 
1181  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1182 
1183  def __init__(self, *args, **kwargs):
1184  raise AttributeError("No constructor defined")
1185  __repr__ = _swig_repr
1186  __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive5D
1187  __del__ = lambda self: None
1188 _GeometricPrimitive5D_swigregister = _IMP_algebra._GeometricPrimitive5D_swigregister
1189 _GeometricPrimitive5D_swigregister(_GeometricPrimitive5D)
1190 
1191 class _GeometricPrimitive6D(object):
1192  """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(6)> class."""
1193 
1194  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1195 
1196  def __init__(self, *args, **kwargs):
1197  raise AttributeError("No constructor defined")
1198  __repr__ = _swig_repr
1199  __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitive6D
1200  __del__ = lambda self: None
1201 _GeometricPrimitive6D_swigregister = _IMP_algebra._GeometricPrimitive6D_swigregister
1202 _GeometricPrimitive6D_swigregister(_GeometricPrimitive6D)
1203 
1204 class _GeometricPrimitiveKD(object):
1205  """Proxy of C++ IMP::algebra::GeometricPrimitiveD<(-1)> class."""
1206 
1207  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1208 
1209  def __init__(self, *args, **kwargs):
1210  raise AttributeError("No constructor defined")
1211  __repr__ = _swig_repr
1212  __swig_destroy__ = _IMP_algebra.delete__GeometricPrimitiveKD
1213  __del__ = lambda self: None
1214 _GeometricPrimitiveKD_swigregister = _IMP_algebra._GeometricPrimitiveKD_swigregister
1215 _GeometricPrimitiveKD_swigregister(_GeometricPrimitiveKD)
1216 
1217 
1218 Vector1Ds=list
1219 _plural_types.append("Vector1Ds")
1220 _value_types.append("Vector1D")
1221 
1222 
1223 Vector2Ds=list
1224 _plural_types.append("Vector2Ds")
1225 _value_types.append("Vector2D")
1226 
1227 
1228 Vector3Ds=list
1229 _plural_types.append("Vector3Ds")
1230 _value_types.append("Vector3D")
1231 
1232 
1233 Vector4Ds=list
1234 _plural_types.append("Vector4Ds")
1235 _value_types.append("Vector4D")
1236 
1237 
1238 Vector5Ds=list
1239 _plural_types.append("Vector5Ds")
1240 _value_types.append("Vector5D")
1241 
1242 
1243 Vector6Ds=list
1244 _plural_types.append("Vector6Ds")
1245 _value_types.append("Vector6D")
1246 
1247 
1248 Vector1Ds=list
1249 _plural_types.append("Vector1Ds")
1250 _value_types.append("VectorD<1>")
1251 
1252 
1253 Vector2Ds=list
1254 _plural_types.append("Vector2Ds")
1255 _value_types.append("VectorD<2>")
1256 
1257 
1258 Vector3Ds=list
1259 _plural_types.append("Vector3Ds")
1260 _value_types.append("VectorD<3>")
1261 
1262 
1263 Vector4Ds=list
1264 _plural_types.append("Vector4Ds")
1265 _value_types.append("VectorD<4>")
1266 
1267 
1268 Vector5Ds=list
1269 _plural_types.append("Vector5Ds")
1270 _value_types.append("VectorD<5>")
1271 
1272 
1273 Vector6Ds=list
1274 _plural_types.append("Vector6Ds")
1275 _value_types.append("VectorD<6>")
1276 
1277 
1278 VectorKDs=list
1279 _plural_types.append("VectorKDs")
1280 _value_types.append("VectorKD")
1281 
1282 
1283 VectorKDs=list
1284 _plural_types.append("VectorKDs")
1285 _value_types.append("VectorD<-1>")
1286 
1287 class _VectorBaseKD(_GeometricPrimitiveKD):
1288  """Proxy of C++ IMP::algebra::VectorBaseD<(-1)> class."""
1289 
1290  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1291  __repr__ = _swig_repr
1292 
1293  def __init__(self):
1294  """__init__(IMP::algebra::VectorBaseD<(-1)> self) -> _VectorBaseKD"""
1295  this = _IMP_algebra.new__VectorBaseKD()
1296  try:
1297  self.this.append(this)
1298  except __builtin__.Exception:
1299  self.this = this
1300 
1301  def get_scalar_product(self, o):
1302  """get_scalar_product(_VectorBaseKD self, _VectorBaseKD o) -> double"""
1303  return _IMP_algebra._VectorBaseKD_get_scalar_product(self, o)
1304 
1305 
1306  def get_squared_magnitude(self):
1307  """get_squared_magnitude(_VectorBaseKD self) -> double"""
1308  return _IMP_algebra._VectorBaseKD_get_squared_magnitude(self)
1309 
1310 
1311  def get_magnitude(self):
1312  """get_magnitude(_VectorBaseKD self) -> double"""
1313  return _IMP_algebra._VectorBaseKD_get_magnitude(self)
1314 
1315 
1316  def __mul__(self, o):
1317  """__mul__(_VectorBaseKD self, _VectorBaseKD o) -> double"""
1318  return _IMP_algebra._VectorBaseKD___mul__(self, o)
1319 
1320 
1321  def __iadd__(self, o):
1322  """__iadd__(_VectorBaseKD self, _VectorBaseKD o) -> _VectorBaseKD"""
1323  return _IMP_algebra._VectorBaseKD___iadd__(self, o)
1324 
1325 
1326  def __isub__(self, o):
1327  """__isub__(_VectorBaseKD self, _VectorBaseKD o) -> _VectorBaseKD"""
1328  return _IMP_algebra._VectorBaseKD___isub__(self, o)
1329 
1330 
1331  def __idiv__(self, f):
1332  """__idiv__(_VectorBaseKD self, double f) -> _VectorBaseKD"""
1333  return _IMP_algebra._VectorBaseKD___idiv__(self, f)
1334 
1335 
1336  def __imul__(self, f):
1337  """__imul__(_VectorBaseKD self, double f) -> _VectorBaseKD"""
1338  return _IMP_algebra._VectorBaseKD___imul__(self, f)
1339 
1340 
1341  def show(self, *args):
1342  """
1343  show(_VectorBaseKD self, _ostream out, std::string delim, bool parens=True)
1344  show(_VectorBaseKD self, _ostream out, std::string delim)
1345  show(_VectorBaseKD self, _ostream out)
1346  show(_VectorBaseKD self)
1347  """
1348  return _IMP_algebra._VectorBaseKD_show(self, *args)
1349 
1350 
1351  def get_dimension(self):
1352  """get_dimension(_VectorBaseKD self) -> unsigned int"""
1353  return _IMP_algebra._VectorBaseKD_get_dimension(self)
1354 
1355  __swig_destroy__ = _IMP_algebra.delete__VectorBaseKD
1356  __del__ = lambda self: None
1357 _VectorBaseKD_swigregister = _IMP_algebra._VectorBaseKD_swigregister
1358 _VectorBaseKD_swigregister(_VectorBaseKD)
1359 
1360 class _VectorBase1D(_GeometricPrimitive1D):
1361  """Proxy of C++ IMP::algebra::VectorBaseD<(1)> class."""
1362 
1363  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1364  __repr__ = _swig_repr
1365 
1366  def __init__(self):
1367  """__init__(IMP::algebra::VectorBaseD<(1)> self) -> _VectorBase1D"""
1368  this = _IMP_algebra.new__VectorBase1D()
1369  try:
1370  self.this.append(this)
1371  except __builtin__.Exception:
1372  self.this = this
1373 
1374  def get_scalar_product(self, o):
1375  """get_scalar_product(_VectorBase1D self, _VectorBase1D o) -> double"""
1376  return _IMP_algebra._VectorBase1D_get_scalar_product(self, o)
1377 
1378 
1379  def get_squared_magnitude(self):
1380  """get_squared_magnitude(_VectorBase1D self) -> double"""
1381  return _IMP_algebra._VectorBase1D_get_squared_magnitude(self)
1382 
1383 
1384  def get_magnitude(self):
1385  """get_magnitude(_VectorBase1D self) -> double"""
1386  return _IMP_algebra._VectorBase1D_get_magnitude(self)
1387 
1388 
1389  def __mul__(self, o):
1390  """__mul__(_VectorBase1D self, _VectorBase1D o) -> double"""
1391  return _IMP_algebra._VectorBase1D___mul__(self, o)
1392 
1393 
1394  def __iadd__(self, o):
1395  """__iadd__(_VectorBase1D self, _VectorBase1D o) -> _VectorBase1D"""
1396  return _IMP_algebra._VectorBase1D___iadd__(self, o)
1397 
1398 
1399  def __isub__(self, o):
1400  """__isub__(_VectorBase1D self, _VectorBase1D o) -> _VectorBase1D"""
1401  return _IMP_algebra._VectorBase1D___isub__(self, o)
1402 
1403 
1404  def __idiv__(self, f):
1405  """__idiv__(_VectorBase1D self, double f) -> _VectorBase1D"""
1406  return _IMP_algebra._VectorBase1D___idiv__(self, f)
1407 
1408 
1409  def __imul__(self, f):
1410  """__imul__(_VectorBase1D self, double f) -> _VectorBase1D"""
1411  return _IMP_algebra._VectorBase1D___imul__(self, f)
1412 
1413 
1414  def show(self, *args):
1415  """
1416  show(_VectorBase1D self, _ostream out, std::string delim, bool parens=True)
1417  show(_VectorBase1D self, _ostream out, std::string delim)
1418  show(_VectorBase1D self, _ostream out)
1419  show(_VectorBase1D self)
1420  """
1421  return _IMP_algebra._VectorBase1D_show(self, *args)
1422 
1423 
1424  def get_dimension(self):
1425  """get_dimension(_VectorBase1D self) -> unsigned int"""
1426  return _IMP_algebra._VectorBase1D_get_dimension(self)
1427 
1428  __swig_destroy__ = _IMP_algebra.delete__VectorBase1D
1429  __del__ = lambda self: None
1430 _VectorBase1D_swigregister = _IMP_algebra._VectorBase1D_swigregister
1431 _VectorBase1D_swigregister(_VectorBase1D)
1432 
1433 class _VectorBase2D(_GeometricPrimitive2D):
1434  """Proxy of C++ IMP::algebra::VectorBaseD<(2)> class."""
1435 
1436  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1437  __repr__ = _swig_repr
1438 
1439  def __init__(self):
1440  """__init__(IMP::algebra::VectorBaseD<(2)> self) -> _VectorBase2D"""
1441  this = _IMP_algebra.new__VectorBase2D()
1442  try:
1443  self.this.append(this)
1444  except __builtin__.Exception:
1445  self.this = this
1446 
1447  def get_scalar_product(self, o):
1448  """get_scalar_product(_VectorBase2D self, _VectorBase2D o) -> double"""
1449  return _IMP_algebra._VectorBase2D_get_scalar_product(self, o)
1450 
1451 
1452  def get_squared_magnitude(self):
1453  """get_squared_magnitude(_VectorBase2D self) -> double"""
1454  return _IMP_algebra._VectorBase2D_get_squared_magnitude(self)
1455 
1456 
1457  def get_magnitude(self):
1458  """get_magnitude(_VectorBase2D self) -> double"""
1459  return _IMP_algebra._VectorBase2D_get_magnitude(self)
1460 
1461 
1462  def __mul__(self, o):
1463  """__mul__(_VectorBase2D self, _VectorBase2D o) -> double"""
1464  return _IMP_algebra._VectorBase2D___mul__(self, o)
1465 
1466 
1467  def __iadd__(self, o):
1468  """__iadd__(_VectorBase2D self, _VectorBase2D o) -> _VectorBase2D"""
1469  return _IMP_algebra._VectorBase2D___iadd__(self, o)
1470 
1471 
1472  def __isub__(self, o):
1473  """__isub__(_VectorBase2D self, _VectorBase2D o) -> _VectorBase2D"""
1474  return _IMP_algebra._VectorBase2D___isub__(self, o)
1475 
1476 
1477  def __idiv__(self, f):
1478  """__idiv__(_VectorBase2D self, double f) -> _VectorBase2D"""
1479  return _IMP_algebra._VectorBase2D___idiv__(self, f)
1480 
1481 
1482  def __imul__(self, f):
1483  """__imul__(_VectorBase2D self, double f) -> _VectorBase2D"""
1484  return _IMP_algebra._VectorBase2D___imul__(self, f)
1485 
1486 
1487  def show(self, *args):
1488  """
1489  show(_VectorBase2D self, _ostream out, std::string delim, bool parens=True)
1490  show(_VectorBase2D self, _ostream out, std::string delim)
1491  show(_VectorBase2D self, _ostream out)
1492  show(_VectorBase2D self)
1493  """
1494  return _IMP_algebra._VectorBase2D_show(self, *args)
1495 
1496 
1497  def get_dimension(self):
1498  """get_dimension(_VectorBase2D self) -> unsigned int"""
1499  return _IMP_algebra._VectorBase2D_get_dimension(self)
1500 
1501  __swig_destroy__ = _IMP_algebra.delete__VectorBase2D
1502  __del__ = lambda self: None
1503 _VectorBase2D_swigregister = _IMP_algebra._VectorBase2D_swigregister
1504 _VectorBase2D_swigregister(_VectorBase2D)
1505 
1506 class _VectorBase3D(_GeometricPrimitive3D):
1507  """Proxy of C++ IMP::algebra::VectorBaseD<(3)> class."""
1508 
1509  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1510  __repr__ = _swig_repr
1511 
1512  def __init__(self):
1513  """__init__(IMP::algebra::VectorBaseD<(3)> self) -> _VectorBase3D"""
1514  this = _IMP_algebra.new__VectorBase3D()
1515  try:
1516  self.this.append(this)
1517  except __builtin__.Exception:
1518  self.this = this
1519 
1520  def get_scalar_product(self, o):
1521  """get_scalar_product(_VectorBase3D self, _VectorBase3D o) -> double"""
1522  return _IMP_algebra._VectorBase3D_get_scalar_product(self, o)
1523 
1524 
1525  def get_squared_magnitude(self):
1526  """get_squared_magnitude(_VectorBase3D self) -> double"""
1527  return _IMP_algebra._VectorBase3D_get_squared_magnitude(self)
1528 
1529 
1530  def get_magnitude(self):
1531  """get_magnitude(_VectorBase3D self) -> double"""
1532  return _IMP_algebra._VectorBase3D_get_magnitude(self)
1533 
1534 
1535  def __mul__(self, o):
1536  """__mul__(_VectorBase3D self, _VectorBase3D o) -> double"""
1537  return _IMP_algebra._VectorBase3D___mul__(self, o)
1538 
1539 
1540  def __iadd__(self, o):
1541  """__iadd__(_VectorBase3D self, _VectorBase3D o) -> _VectorBase3D"""
1542  return _IMP_algebra._VectorBase3D___iadd__(self, o)
1543 
1544 
1545  def __isub__(self, o):
1546  """__isub__(_VectorBase3D self, _VectorBase3D o) -> _VectorBase3D"""
1547  return _IMP_algebra._VectorBase3D___isub__(self, o)
1548 
1549 
1550  def __idiv__(self, f):
1551  """__idiv__(_VectorBase3D self, double f) -> _VectorBase3D"""
1552  return _IMP_algebra._VectorBase3D___idiv__(self, f)
1553 
1554 
1555  def __imul__(self, f):
1556  """__imul__(_VectorBase3D self, double f) -> _VectorBase3D"""
1557  return _IMP_algebra._VectorBase3D___imul__(self, f)
1558 
1559 
1560  def show(self, *args):
1561  """
1562  show(_VectorBase3D self, _ostream out, std::string delim, bool parens=True)
1563  show(_VectorBase3D self, _ostream out, std::string delim)
1564  show(_VectorBase3D self, _ostream out)
1565  show(_VectorBase3D self)
1566  """
1567  return _IMP_algebra._VectorBase3D_show(self, *args)
1568 
1569 
1570  def get_dimension(self):
1571  """get_dimension(_VectorBase3D self) -> unsigned int"""
1572  return _IMP_algebra._VectorBase3D_get_dimension(self)
1573 
1574  __swig_destroy__ = _IMP_algebra.delete__VectorBase3D
1575  __del__ = lambda self: None
1576 _VectorBase3D_swigregister = _IMP_algebra._VectorBase3D_swigregister
1577 _VectorBase3D_swigregister(_VectorBase3D)
1578 
1579 class _VectorBase4D(_GeometricPrimitive4D):
1580  """Proxy of C++ IMP::algebra::VectorBaseD<(4)> class."""
1581 
1582  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1583  __repr__ = _swig_repr
1584 
1585  def __init__(self):
1586  """__init__(IMP::algebra::VectorBaseD<(4)> self) -> _VectorBase4D"""
1587  this = _IMP_algebra.new__VectorBase4D()
1588  try:
1589  self.this.append(this)
1590  except __builtin__.Exception:
1591  self.this = this
1592 
1593  def get_scalar_product(self, o):
1594  """get_scalar_product(_VectorBase4D self, _VectorBase4D o) -> double"""
1595  return _IMP_algebra._VectorBase4D_get_scalar_product(self, o)
1596 
1597 
1598  def get_squared_magnitude(self):
1599  """get_squared_magnitude(_VectorBase4D self) -> double"""
1600  return _IMP_algebra._VectorBase4D_get_squared_magnitude(self)
1601 
1602 
1603  def get_magnitude(self):
1604  """get_magnitude(_VectorBase4D self) -> double"""
1605  return _IMP_algebra._VectorBase4D_get_magnitude(self)
1606 
1607 
1608  def __mul__(self, o):
1609  """__mul__(_VectorBase4D self, _VectorBase4D o) -> double"""
1610  return _IMP_algebra._VectorBase4D___mul__(self, o)
1611 
1612 
1613  def __iadd__(self, o):
1614  """__iadd__(_VectorBase4D self, _VectorBase4D o) -> _VectorBase4D"""
1615  return _IMP_algebra._VectorBase4D___iadd__(self, o)
1616 
1617 
1618  def __isub__(self, o):
1619  """__isub__(_VectorBase4D self, _VectorBase4D o) -> _VectorBase4D"""
1620  return _IMP_algebra._VectorBase4D___isub__(self, o)
1621 
1622 
1623  def __idiv__(self, f):
1624  """__idiv__(_VectorBase4D self, double f) -> _VectorBase4D"""
1625  return _IMP_algebra._VectorBase4D___idiv__(self, f)
1626 
1627 
1628  def __imul__(self, f):
1629  """__imul__(_VectorBase4D self, double f) -> _VectorBase4D"""
1630  return _IMP_algebra._VectorBase4D___imul__(self, f)
1631 
1632 
1633  def show(self, *args):
1634  """
1635  show(_VectorBase4D self, _ostream out, std::string delim, bool parens=True)
1636  show(_VectorBase4D self, _ostream out, std::string delim)
1637  show(_VectorBase4D self, _ostream out)
1638  show(_VectorBase4D self)
1639  """
1640  return _IMP_algebra._VectorBase4D_show(self, *args)
1641 
1642 
1643  def get_dimension(self):
1644  """get_dimension(_VectorBase4D self) -> unsigned int"""
1645  return _IMP_algebra._VectorBase4D_get_dimension(self)
1646 
1647  __swig_destroy__ = _IMP_algebra.delete__VectorBase4D
1648  __del__ = lambda self: None
1649 _VectorBase4D_swigregister = _IMP_algebra._VectorBase4D_swigregister
1650 _VectorBase4D_swigregister(_VectorBase4D)
1651 
1652 class _VectorBase5D(_GeometricPrimitive5D):
1653  """Proxy of C++ IMP::algebra::VectorBaseD<(5)> class."""
1654 
1655  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1656  __repr__ = _swig_repr
1657 
1658  def __init__(self):
1659  """__init__(IMP::algebra::VectorBaseD<(5)> self) -> _VectorBase5D"""
1660  this = _IMP_algebra.new__VectorBase5D()
1661  try:
1662  self.this.append(this)
1663  except __builtin__.Exception:
1664  self.this = this
1665 
1666  def get_scalar_product(self, o):
1667  """get_scalar_product(_VectorBase5D self, _VectorBase5D o) -> double"""
1668  return _IMP_algebra._VectorBase5D_get_scalar_product(self, o)
1669 
1670 
1671  def get_squared_magnitude(self):
1672  """get_squared_magnitude(_VectorBase5D self) -> double"""
1673  return _IMP_algebra._VectorBase5D_get_squared_magnitude(self)
1674 
1675 
1676  def get_magnitude(self):
1677  """get_magnitude(_VectorBase5D self) -> double"""
1678  return _IMP_algebra._VectorBase5D_get_magnitude(self)
1679 
1680 
1681  def __mul__(self, o):
1682  """__mul__(_VectorBase5D self, _VectorBase5D o) -> double"""
1683  return _IMP_algebra._VectorBase5D___mul__(self, o)
1684 
1685 
1686  def __iadd__(self, o):
1687  """__iadd__(_VectorBase5D self, _VectorBase5D o) -> _VectorBase5D"""
1688  return _IMP_algebra._VectorBase5D___iadd__(self, o)
1689 
1690 
1691  def __isub__(self, o):
1692  """__isub__(_VectorBase5D self, _VectorBase5D o) -> _VectorBase5D"""
1693  return _IMP_algebra._VectorBase5D___isub__(self, o)
1694 
1695 
1696  def __idiv__(self, f):
1697  """__idiv__(_VectorBase5D self, double f) -> _VectorBase5D"""
1698  return _IMP_algebra._VectorBase5D___idiv__(self, f)
1699 
1700 
1701  def __imul__(self, f):
1702  """__imul__(_VectorBase5D self, double f) -> _VectorBase5D"""
1703  return _IMP_algebra._VectorBase5D___imul__(self, f)
1704 
1705 
1706  def show(self, *args):
1707  """
1708  show(_VectorBase5D self, _ostream out, std::string delim, bool parens=True)
1709  show(_VectorBase5D self, _ostream out, std::string delim)
1710  show(_VectorBase5D self, _ostream out)
1711  show(_VectorBase5D self)
1712  """
1713  return _IMP_algebra._VectorBase5D_show(self, *args)
1714 
1715 
1716  def get_dimension(self):
1717  """get_dimension(_VectorBase5D self) -> unsigned int"""
1718  return _IMP_algebra._VectorBase5D_get_dimension(self)
1719 
1720  __swig_destroy__ = _IMP_algebra.delete__VectorBase5D
1721  __del__ = lambda self: None
1722 _VectorBase5D_swigregister = _IMP_algebra._VectorBase5D_swigregister
1723 _VectorBase5D_swigregister(_VectorBase5D)
1724 
1725 class _VectorBase6D(_GeometricPrimitive6D):
1726  """Proxy of C++ IMP::algebra::VectorBaseD<(6)> class."""
1727 
1728  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1729  __repr__ = _swig_repr
1730 
1731  def __init__(self):
1732  """__init__(IMP::algebra::VectorBaseD<(6)> self) -> _VectorBase6D"""
1733  this = _IMP_algebra.new__VectorBase6D()
1734  try:
1735  self.this.append(this)
1736  except __builtin__.Exception:
1737  self.this = this
1738 
1739  def get_scalar_product(self, o):
1740  """get_scalar_product(_VectorBase6D self, _VectorBase6D o) -> double"""
1741  return _IMP_algebra._VectorBase6D_get_scalar_product(self, o)
1742 
1743 
1744  def get_squared_magnitude(self):
1745  """get_squared_magnitude(_VectorBase6D self) -> double"""
1746  return _IMP_algebra._VectorBase6D_get_squared_magnitude(self)
1747 
1748 
1749  def get_magnitude(self):
1750  """get_magnitude(_VectorBase6D self) -> double"""
1751  return _IMP_algebra._VectorBase6D_get_magnitude(self)
1752 
1753 
1754  def __mul__(self, o):
1755  """__mul__(_VectorBase6D self, _VectorBase6D o) -> double"""
1756  return _IMP_algebra._VectorBase6D___mul__(self, o)
1757 
1758 
1759  def __iadd__(self, o):
1760  """__iadd__(_VectorBase6D self, _VectorBase6D o) -> _VectorBase6D"""
1761  return _IMP_algebra._VectorBase6D___iadd__(self, o)
1762 
1763 
1764  def __isub__(self, o):
1765  """__isub__(_VectorBase6D self, _VectorBase6D o) -> _VectorBase6D"""
1766  return _IMP_algebra._VectorBase6D___isub__(self, o)
1767 
1768 
1769  def __idiv__(self, f):
1770  """__idiv__(_VectorBase6D self, double f) -> _VectorBase6D"""
1771  return _IMP_algebra._VectorBase6D___idiv__(self, f)
1772 
1773 
1774  def __imul__(self, f):
1775  """__imul__(_VectorBase6D self, double f) -> _VectorBase6D"""
1776  return _IMP_algebra._VectorBase6D___imul__(self, f)
1777 
1778 
1779  def show(self, *args):
1780  """
1781  show(_VectorBase6D self, _ostream out, std::string delim, bool parens=True)
1782  show(_VectorBase6D self, _ostream out, std::string delim)
1783  show(_VectorBase6D self, _ostream out)
1784  show(_VectorBase6D self)
1785  """
1786  return _IMP_algebra._VectorBase6D_show(self, *args)
1787 
1788 
1789  def get_dimension(self):
1790  """get_dimension(_VectorBase6D self) -> unsigned int"""
1791  return _IMP_algebra._VectorBase6D_get_dimension(self)
1792 
1793  __swig_destroy__ = _IMP_algebra.delete__VectorBase6D
1794  __del__ = lambda self: None
1795 _VectorBase6D_swigregister = _IMP_algebra._VectorBase6D_swigregister
1796 _VectorBase6D_swigregister(_VectorBase6D)
1797 
1798 
1799 def get_basis_vector_kd(D, coordinate):
1800  """get_basis_vector_kd(int D, unsigned int coordinate) -> VectorKD"""
1801  return _IMP_algebra.get_basis_vector_kd(D, coordinate)
1802 
1803 def get_zero_vector_kd(D):
1804  """get_zero_vector_kd(int D) -> VectorKD"""
1805  return _IMP_algebra.get_zero_vector_kd(D)
1806 
1807 def get_ones_vector_kd(D, v=1):
1808  """
1809  get_ones_vector_kd(unsigned int D, double v=1) -> VectorKD
1810  get_ones_vector_kd(unsigned int D) -> VectorKD
1811  """
1812  return _IMP_algebra.get_ones_vector_kd(D, v)
1813 
1814 def get_vector_product(p1, p2):
1815  """get_vector_product(Vector3D p1, Vector3D p2) -> Vector3D"""
1816  return _IMP_algebra.get_vector_product(p1, p2)
1817 
1818 def get_orthogonal_vector(v):
1819  """get_orthogonal_vector(Vector3D v) -> Vector3D"""
1820  return _IMP_algebra.get_orthogonal_vector(v)
1821 
1822 def get_centroid(ps):
1823  """get_centroid(IMP::algebra::Vector3Ds const & ps) -> Vector3D"""
1824  return _IMP_algebra.get_centroid(ps)
1825 
1826 def get_radius_of_gyration(ps):
1827  """get_radius_of_gyration(IMP::algebra::Vector3Ds const & ps) -> double"""
1828  return _IMP_algebra.get_radius_of_gyration(ps)
1829 class Rotation3D(_GeometricPrimitive3D):
1830  """Proxy of C++ IMP::algebra::Rotation3D class."""
1831 
1832  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1833 
1834  def __init__(self, *args):
1835  """
1836  __init__(IMP::algebra::Rotation3D self, Rotation3D rot) -> Rotation3D
1837  __init__(IMP::algebra::Rotation3D self, Vector4D v, bool assume_normalized=False) -> Rotation3D
1838  __init__(IMP::algebra::Rotation3D self, Vector4D v) -> Rotation3D
1839  __init__(IMP::algebra::Rotation3D self) -> Rotation3D
1840  __init__(IMP::algebra::Rotation3D self, double a, double b, double c, double d) -> Rotation3D
1841  """
1842  this = _IMP_algebra.new_Rotation3D(*args)
1843  try:
1844  self.this.append(this)
1845  except __builtin__.Exception:
1846  self.this = this
1847  __swig_destroy__ = _IMP_algebra.delete_Rotation3D
1848  __del__ = lambda self: None
1849 
1850  def get_rotated_no_cache(self, o):
1851  """get_rotated_no_cache(Rotation3D self, Vector3D o) -> Vector3D"""
1852  return _IMP_algebra.Rotation3D_get_rotated_no_cache(self, o)
1853 
1854 
1855  def get_rotated_one_coordinate_no_cache(self, o, coord):
1856  """get_rotated_one_coordinate_no_cache(Rotation3D self, Vector3D o, unsigned int coord) -> double"""
1857  return _IMP_algebra.Rotation3D_get_rotated_one_coordinate_no_cache(self, o, coord)
1858 
1859 
1860  def get_rotated(self, o):
1861  """get_rotated(Rotation3D self, Vector3D o) -> Vector3D"""
1862  return _IMP_algebra.Rotation3D_get_rotated(self, o)
1863 
1864 
1865  def get_rotated_one_coordinate(self, o, coord):
1866  """get_rotated_one_coordinate(Rotation3D self, Vector3D o, unsigned int coord) -> double"""
1867  return _IMP_algebra.Rotation3D_get_rotated_one_coordinate(self, o, coord)
1868 
1869 
1870  def get_rotation_matrix_row(self, i):
1871  """get_rotation_matrix_row(Rotation3D self, int i) -> Vector3D"""
1872  return _IMP_algebra.Rotation3D_get_rotation_matrix_row(self, i)
1873 
1874 
1875  def show(self, *args):
1876  """
1877  show(Rotation3D self, _ostream out)
1878  show(Rotation3D self)
1879  """
1880  return _IMP_algebra.Rotation3D_show(self, *args)
1881 
1882 
1883  def get_inverse(self):
1884  """get_inverse(Rotation3D self) -> Rotation3D"""
1885  return _IMP_algebra.Rotation3D_get_inverse(self)
1886 
1887 
1888  def get_quaternion(self):
1889  """get_quaternion(Rotation3D self) -> Vector4D"""
1890  return _IMP_algebra.Rotation3D_get_quaternion(self)
1891 
1892 
1893  def __mul__(self, *args):
1894  """
1895  __mul__(Rotation3D self, Vector3D v) -> Vector3D
1896  __mul__(Rotation3D self, Rotation3D q) -> Rotation3D
1897  """
1898  return _IMP_algebra.Rotation3D___mul__(self, *args)
1899 
1900 
1901  def __div__(self, r):
1902  """__div__(Rotation3D self, Rotation3D r) -> Rotation3D"""
1903  return _IMP_algebra.Rotation3D___div__(self, r)
1904 
1905 
1906  def get_derivative(self, v, i, projected=True):
1907  """
1908  get_derivative(Rotation3D self, Vector3D v, unsigned int i, bool projected=True) -> Vector3D
1909  get_derivative(Rotation3D self, Vector3D v, unsigned int i) -> Vector3D
1910  """
1911  return _IMP_algebra.Rotation3D_get_derivative(self, v, i, projected)
1912 
1913 
1914  def get_gradient(self, v, projected=True):
1915  """
1916  get_gradient(Rotation3D self, Eigen::Vector3d const & v, bool projected=True) -> Eigen::MatrixXd
1917  get_gradient(Rotation3D self, Eigen::Vector3d const & v) -> Eigen::MatrixXd
1918  """
1919  return _IMP_algebra.Rotation3D_get_gradient(self, v, projected)
1920 
1921 
1922  def get_is_valid(self):
1923  """get_is_valid(Rotation3D self) -> bool"""
1924  return _IMP_algebra.Rotation3D_get_is_valid(self)
1925 
1926 
1927  def __str__(self):
1928  """__str__(Rotation3D self) -> std::string"""
1929  return _IMP_algebra.Rotation3D___str__(self)
1930 
1931 
1932  def __repr__(self):
1933  """__repr__(Rotation3D self) -> std::string"""
1934  return _IMP_algebra.Rotation3D___repr__(self)
1935 
1936 
1937  __truediv__ = __div__
1938 
1939 Rotation3D_swigregister = _IMP_algebra.Rotation3D_swigregister
1940 Rotation3D_swigregister(Rotation3D)
1941 
1942 
1943 def get_gradient_of_composed_with_respect_to_first(q, p, projected=True):
1944  """
1945  get_gradient_of_composed_with_respect_to_first(Rotation3D q, Rotation3D p, bool projected=True) -> Eigen::MatrixXd
1946  get_gradient_of_composed_with_respect_to_first(Rotation3D q, Rotation3D p) -> Eigen::MatrixXd
1947  """
1948  return _IMP_algebra.get_gradient_of_composed_with_respect_to_first(q, p, projected)
1949 
1950 def get_gradient_of_composed_with_respect_to_second(q, p, projected=True):
1951  """
1952  get_gradient_of_composed_with_respect_to_second(Rotation3D q, Rotation3D p, bool projected=True) -> Eigen::MatrixXd
1953  get_gradient_of_composed_with_respect_to_second(Rotation3D q, Rotation3D p) -> Eigen::MatrixXd
1954  """
1955  return _IMP_algebra.get_gradient_of_composed_with_respect_to_second(q, p, projected)
1956 
1958  """get_identity_rotation_3d() -> Rotation3D"""
1959  return _IMP_algebra.get_identity_rotation_3d()
1960 
1961 def get_rotation_about_normalized_axis(axis_norm, angle):
1962  """get_rotation_about_normalized_axis(Vector3D axis_norm, double angle) -> Rotation3D"""
1963  return _IMP_algebra.get_rotation_about_normalized_axis(axis_norm, angle)
1964 
1965 def get_rotation_about_axis(axis, angle):
1966  """get_rotation_about_axis(Vector3D axis, double angle) -> Rotation3D"""
1967  return _IMP_algebra.get_rotation_about_axis(axis, angle)
1968 
1970  """get_rotation_taking_first_to_second(Vector3D v1, Vector3D v2) -> Rotation3D"""
1971  return _IMP_algebra.get_rotation_taking_first_to_second(v1, v2)
1972 
1973 def get_rotation_from_matrix(*args):
1974  """
1975  get_rotation_from_matrix(double m00, double m01, double m02, double m10, double m11, double m12, double m20, double m21, double m22) -> Rotation3D
1976  get_rotation_from_matrix(Eigen::Matrix3d m) -> Rotation3D
1977  """
1978  return _IMP_algebra.get_rotation_from_matrix(*args)
1979 
1980 def get_random_rotation_3d(*args):
1981  """
1982  get_random_rotation_3d() -> Rotation3D
1983  get_random_rotation_3d(Rotation3D center, double distance) -> Rotation3D
1984  """
1985  return _IMP_algebra.get_random_rotation_3d(*args)
1986 
1987 def get_uniform_cover_rotations_3d(num_points):
1988  """get_uniform_cover_rotations_3d(unsigned int num_points) -> IMP::algebra::Rotation3Ds"""
1989  return _IMP_algebra.get_uniform_cover_rotations_3d(num_points)
1990 
1992  """get_uniformly_sampled_rotations(double delta) -> IMP::algebra::Rotation3Ds"""
1993  return _IMP_algebra.get_uniformly_sampled_rotations(delta)
1994 
1996  """get_rotation_from_vector4d(Vector4D v) -> Rotation3D"""
1997  return _IMP_algebra.get_rotation_from_vector4d(v)
1998 
1999 def get_rotation_from_fixed_xyz(xr, yr, zr):
2000  """get_rotation_from_fixed_xyz(double xr, double yr, double zr) -> Rotation3D"""
2001  return _IMP_algebra.get_rotation_from_fixed_xyz(xr, yr, zr)
2002 
2003 def get_rotation_from_fixed_zxz(phi, theta, psi):
2004  """get_rotation_from_fixed_zxz(double phi, double theta, double psi) -> Rotation3D"""
2005  return _IMP_algebra.get_rotation_from_fixed_zxz(phi, theta, psi)
2006 
2007 def get_rotation_from_fixed_zyz(Rot, Tilt, Psi):
2008  """get_rotation_from_fixed_zyz(double Rot, double Tilt, double Psi) -> Rotation3D"""
2009  return _IMP_algebra.get_rotation_from_fixed_zyz(Rot, Tilt, Psi)
2010 class FixedXYZ(_GeometricPrimitive3D):
2011  """Proxy of C++ IMP::algebra::FixedXYZ class."""
2012 
2013  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2014 
2015  def __init__(self, *args):
2016  """
2017  __init__(IMP::algebra::FixedXYZ self) -> FixedXYZ
2018  __init__(IMP::algebra::FixedXYZ self, double x, double y, double z) -> FixedXYZ
2019  """
2020  this = _IMP_algebra.new_FixedXYZ(*args)
2021  try:
2022  self.this.append(this)
2023  except __builtin__.Exception:
2024  self.this = this
2025 
2026  def get_x(self):
2027  """get_x(FixedXYZ self) -> double"""
2028  return _IMP_algebra.FixedXYZ_get_x(self)
2029 
2030 
2031  def get_y(self):
2032  """get_y(FixedXYZ self) -> double"""
2033  return _IMP_algebra.FixedXYZ_get_y(self)
2034 
2035 
2036  def get_z(self):
2037  """get_z(FixedXYZ self) -> double"""
2038  return _IMP_algebra.FixedXYZ_get_z(self)
2039 
2040 
2041  def show(self, *args):
2042  """
2043  show(FixedXYZ self, _ostream out)
2044  show(FixedXYZ self)
2045  """
2046  return _IMP_algebra.FixedXYZ_show(self, *args)
2047 
2048 
2049  def __str__(self):
2050  """__str__(FixedXYZ self) -> std::string"""
2051  return _IMP_algebra.FixedXYZ___str__(self)
2052 
2053 
2054  def __repr__(self):
2055  """__repr__(FixedXYZ self) -> std::string"""
2056  return _IMP_algebra.FixedXYZ___repr__(self)
2057 
2058  __swig_destroy__ = _IMP_algebra.delete_FixedXYZ
2059  __del__ = lambda self: None
2060 FixedXYZ_swigregister = _IMP_algebra.FixedXYZ_swigregister
2061 FixedXYZ_swigregister(FixedXYZ)
2062 
2063 
2065  """get_fixed_xyz_from_rotation(Rotation3D r) -> FixedXYZ"""
2066  return _IMP_algebra.get_fixed_xyz_from_rotation(r)
2067 
2068 def get_interpolated(a, b, f):
2069  """get_interpolated(Rotation3D a, Rotation3D b, double f) -> Rotation3D"""
2070  return _IMP_algebra.get_interpolated(a, b, f)
2071 
2072 def get_rotation_from_x_y_axes(x, y):
2073  """get_rotation_from_x_y_axes(Vector3D x, Vector3D y) -> Rotation3D"""
2074  return _IMP_algebra.get_rotation_from_x_y_axes(x, y)
2075 
2076 def get_axis_and_angle(rot):
2077  """get_axis_and_angle(Rotation3D rot) -> _AxisAnglePair"""
2078  return _IMP_algebra.get_axis_and_angle(rot)
2079 
2081  """get_unit_bounding_box_kd(unsigned int d) -> BoundingBoxKD"""
2082  return _IMP_algebra.get_unit_bounding_box_kd(d)
2083 
2084 def get_cube_kd(d, radius):
2085  """get_cube_kd(unsigned int d, double radius) -> BoundingBoxKD"""
2086  return _IMP_algebra.get_cube_kd(d, radius)
2087 
2088 def get_edges(arg1):
2089  """get_edges(BoundingBox3D arg1) -> IMP::IntPairs"""
2090  return _IMP_algebra.get_edges(arg1)
2091 class Transformation3D(_GeometricPrimitive3D):
2092  """Proxy of C++ IMP::algebra::Transformation3D class."""
2093 
2094  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2095 
2096  def __init__(self, *args):
2097  """
2098  __init__(IMP::algebra::Transformation3D self) -> Transformation3D
2099  __init__(IMP::algebra::Transformation3D self, Rotation3D r, Vector3D t) -> Transformation3D
2100  __init__(IMP::algebra::Transformation3D self, Rotation3D r) -> Transformation3D
2101  __init__(IMP::algebra::Transformation3D self, Vector3D t) -> Transformation3D
2102  """
2103  this = _IMP_algebra.new_Transformation3D(*args)
2104  try:
2105  self.this.append(this)
2106  except __builtin__.Exception:
2107  self.this = this
2108  __swig_destroy__ = _IMP_algebra.delete_Transformation3D
2109  __del__ = lambda self: None
2110 
2111  def get_transformed(self, o):
2112  """get_transformed(Transformation3D self, Vector3D o) -> Vector3D"""
2113  return _IMP_algebra.Transformation3D_get_transformed(self, o)
2114 
2115 
2116  def __mul__(self, *args):
2117  """
2118  __mul__(Transformation3D self, Vector3D v) -> Vector3D
2119  __mul__(Transformation3D self, Transformation3D tr) -> Transformation3D
2120  """
2121  return _IMP_algebra.Transformation3D___mul__(self, *args)
2122 
2123 
2124  def __div__(self, b):
2125  """__div__(Transformation3D self, Transformation3D b) -> Transformation3D"""
2126  return _IMP_algebra.Transformation3D___div__(self, b)
2127 
2128 
2129  def get_rotation(self):
2130  """get_rotation(Transformation3D self) -> Rotation3D"""
2131  return _IMP_algebra.Transformation3D_get_rotation(self)
2132 
2133 
2134  def get_translation(self):
2135  """get_translation(Transformation3D self) -> Vector3D"""
2136  return _IMP_algebra.Transformation3D_get_translation(self)
2137 
2138 
2139  def show(self, *args):
2140  """
2141  show(Transformation3D self, _ostream out)
2142  show(Transformation3D self)
2143  """
2144  return _IMP_algebra.Transformation3D_show(self, *args)
2145 
2146 
2147  def get_inverse(self):
2148  """get_inverse(Transformation3D self) -> Transformation3D"""
2149  return _IMP_algebra.Transformation3D_get_inverse(self)
2150 
2151 
2152  def get_is_valid(self):
2153  """get_is_valid(Transformation3D self) -> bool"""
2154  return _IMP_algebra.Transformation3D_get_is_valid(self)
2155 
2156 
2157  def __str__(self):
2158  """__str__(Transformation3D self) -> std::string"""
2159  return _IMP_algebra.Transformation3D___str__(self)
2160 
2161 
2162  def __repr__(self):
2163  """__repr__(Transformation3D self) -> std::string"""
2164  return _IMP_algebra.Transformation3D___repr__(self)
2165 
2166 
2167  __truediv__ = __div__
2168 
2169 Transformation3D_swigregister = _IMP_algebra.Transformation3D_swigregister
2170 Transformation3D_swigregister(Transformation3D)
2171 
2172 
2174  """get_identity_transformation_3d() -> Transformation3D"""
2175  return _IMP_algebra.get_identity_transformation_3d()
2176 
2177 def get_transformation_3d(t2d):
2178  """get_transformation_3d(Transformation2D t2d) -> Transformation3D"""
2179  return _IMP_algebra.get_transformation_3d(t2d)
2180 
2181 def get_random_local_transformation(origin, max_translation=5., max_angle_in_rad=0.26):
2182  """
2183  get_random_local_transformation(Vector3D origin, double max_translation=5., double max_angle_in_rad=0.26) -> Transformation3D
2184  get_random_local_transformation(Vector3D origin, double max_translation=5.) -> Transformation3D
2185  get_random_local_transformation(Vector3D origin) -> Transformation3D
2186  """
2187  return _IMP_algebra.get_random_local_transformation(origin, max_translation, max_angle_in_rad)
2188 class Rotation2D(_GeometricPrimitive2D):
2189  """Proxy of C++ IMP::algebra::Rotation2D class."""
2190 
2191  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2192 
2193  def __init__(self, *args):
2194  """
2195  __init__(IMP::algebra::Rotation2D self) -> Rotation2D
2196  __init__(IMP::algebra::Rotation2D self, double angle) -> Rotation2D
2197  """
2198  this = _IMP_algebra.new_Rotation2D(*args)
2199  try:
2200  self.this.append(this)
2201  except __builtin__.Exception:
2202  self.this = this
2203 
2204  def get_rotated(self, *args):
2205  """
2206  get_rotated(Rotation2D self, Vector2D o) -> Vector2D
2207  get_rotated(Rotation2D self, double const x, double const y) -> Vector2D
2208  """
2209  return _IMP_algebra.Rotation2D_get_rotated(self, *args)
2210 
2211 
2212  def get_inverse(self):
2213  """get_inverse(Rotation2D self) -> Rotation2D"""
2214  return _IMP_algebra.Rotation2D_get_inverse(self)
2215 
2216 
2217  def set_angle(self, angle):
2218  """set_angle(Rotation2D self, double angle)"""
2219  return _IMP_algebra.Rotation2D_set_angle(self, angle)
2220 
2221 
2222  def get_angle(self):
2223  """get_angle(Rotation2D self) -> double"""
2224  return _IMP_algebra.Rotation2D_get_angle(self)
2225 
2226 
2227  def show(self, *args):
2228  """
2229  show(Rotation2D self, _ostream out)
2230  show(Rotation2D self)
2231  """
2232  return _IMP_algebra.Rotation2D_show(self, *args)
2233 
2234 
2235  def __str__(self):
2236  """__str__(Rotation2D self) -> std::string"""
2237  return _IMP_algebra.Rotation2D___str__(self)
2238 
2239 
2240  def __repr__(self):
2241  """__repr__(Rotation2D self) -> std::string"""
2242  return _IMP_algebra.Rotation2D___repr__(self)
2243 
2244  __swig_destroy__ = _IMP_algebra.delete_Rotation2D
2245  __del__ = lambda self: None
2246 Rotation2D_swigregister = _IMP_algebra.Rotation2D_swigregister
2247 Rotation2D_swigregister(Rotation2D)
2248 
2249 
2251  """get_identity_rotation_2d() -> Rotation2D"""
2252  return _IMP_algebra.get_identity_rotation_2d()
2253 
2255  """get_random_rotation_2d() -> Rotation2D"""
2256  return _IMP_algebra.get_random_rotation_2d()
2257 
2258 def get_rotation_to_x_axis(v):
2259  """get_rotation_to_x_axis(Vector2D v) -> Rotation2D"""
2260  return _IMP_algebra.get_rotation_to_x_axis(v)
2261 class Transformation2D(_GeometricPrimitive2D):
2262  """Proxy of C++ IMP::algebra::Transformation2D class."""
2263 
2264  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2265 
2266  def __init__(self, *args):
2267  """
2268  __init__(IMP::algebra::Transformation2D self) -> Transformation2D
2269  __init__(IMP::algebra::Transformation2D self, Rotation2D r, Vector2D t) -> Transformation2D
2270  __init__(IMP::algebra::Transformation2D self, Rotation2D r) -> Transformation2D
2271  __init__(IMP::algebra::Transformation2D self, Vector2D t) -> Transformation2D
2272  """
2273  this = _IMP_algebra.new_Transformation2D(*args)
2274  try:
2275  self.this.append(this)
2276  except __builtin__.Exception:
2277  self.this = this
2278  __swig_destroy__ = _IMP_algebra.delete_Transformation2D
2279  __del__ = lambda self: None
2280 
2281  def get_transformed(self, o):
2282  """get_transformed(Transformation2D self, Vector2D o) -> Vector2D"""
2283  return _IMP_algebra.Transformation2D_get_transformed(self, o)
2284 
2285 
2286  def __mul__(self, *args):
2287  """
2288  __mul__(Transformation2D self, Vector2D v) -> Vector2D
2289  __mul__(Transformation2D self, Transformation2D tr) -> Transformation2D
2290  """
2291  return _IMP_algebra.Transformation2D___mul__(self, *args)
2292 
2293 
2294  def __div__(self, b):
2295  """__div__(Transformation2D self, Transformation2D b) -> Transformation2D"""
2296  return _IMP_algebra.Transformation2D___div__(self, b)
2297 
2298 
2299  def get_rotation(self):
2300  """get_rotation(Transformation2D self) -> Rotation2D"""
2301  return _IMP_algebra.Transformation2D_get_rotation(self)
2302 
2303 
2304  def set_rotation(self, angle):
2305  """set_rotation(Transformation2D self, double angle)"""
2306  return _IMP_algebra.Transformation2D_set_rotation(self, angle)
2307 
2308 
2309  def get_translation(self):
2310  """get_translation(Transformation2D self) -> Vector2D"""
2311  return _IMP_algebra.Transformation2D_get_translation(self)
2312 
2313 
2314  def set_translation(self, v):
2315  """set_translation(Transformation2D self, Vector2D v)"""
2316  return _IMP_algebra.Transformation2D_set_translation(self, v)
2317 
2318 
2319  def show(self, *args):
2320  """
2321  show(Transformation2D self, _ostream out)
2322  show(Transformation2D self)
2323  """
2324  return _IMP_algebra.Transformation2D_show(self, *args)
2325 
2326 
2327  def get_inverse(self):
2328  """get_inverse(Transformation2D self) -> Transformation2D"""
2329  return _IMP_algebra.Transformation2D_get_inverse(self)
2330 
2331 
2332  def __str__(self):
2333  """__str__(Transformation2D self) -> std::string"""
2334  return _IMP_algebra.Transformation2D___str__(self)
2335 
2336 
2337  def __repr__(self):
2338  """__repr__(Transformation2D self) -> std::string"""
2339  return _IMP_algebra.Transformation2D___repr__(self)
2340 
2341 
2342  __truediv__ = __div__
2343 
2344 Transformation2D_swigregister = _IMP_algebra.Transformation2D_swigregister
2345 Transformation2D_swigregister(Transformation2D)
2346 
2347 
2349  """get_identity_transformation_2d() -> Transformation2D"""
2350  return _IMP_algebra.get_identity_transformation_2d()
2351 
2352 def get_rotation_about_point(*args):
2353  """
2354  get_rotation_about_point(Vector3D point, Rotation3D rotation) -> Transformation3D
2355  get_rotation_about_point(Vector2D point, Rotation2D rotation) -> Transformation2D
2356  """
2357  return _IMP_algebra.get_rotation_about_point(*args)
2358 
2359 def compose(*args):
2360  """
2361  compose(Rotation3D a, Rotation3D b) -> Rotation3D
2362  compose(Transformation3D a, Transformation3D b) -> Transformation3D
2363  compose(Rotation2D a, Rotation2D b) -> Rotation2D
2364  compose(Transformation2D a, Transformation2D b) -> Transformation2D
2365  """
2366  return _IMP_algebra.compose(*args)
2367 
2368 def get_unit_sphere_kd(d):
2369  """get_unit_sphere_kd(unsigned int d) -> SphereKD"""
2370  return _IMP_algebra.get_unit_sphere_kd(d)
2371 
2372 def get_enclosing_sphere(*args):
2373  """
2374  get_enclosing_sphere(IMP::algebra::Sphere3Ds const & ss) -> Sphere3D
2375  get_enclosing_sphere(IMP::algebra::Vector3Ds const & ss) -> Sphere3D
2376  """
2377  return _IMP_algebra.get_enclosing_sphere(*args)
2378 
2379 def get_ball_radius_from_volume_3d(volume):
2380  """get_ball_radius_from_volume_3d(double volume) -> double"""
2381  return _IMP_algebra.get_ball_radius_from_volume_3d(volume)
2382 
2384  """get_surface_area_and_volume(IMP::algebra::Sphere3Ds const & ss) -> IMP::FloatPair"""
2385  return _IMP_algebra.get_surface_area_and_volume(ss)
2386 
2387 def get_simplified_from_volume(arg1, maximum_allowed_error_angstroms):
2388  """get_simplified_from_volume(IMP::algebra::Sphere3Ds arg1, double maximum_allowed_error_angstroms) -> IMP::algebra::Sphere3Ds"""
2389  return _IMP_algebra.get_simplified_from_volume(arg1, maximum_allowed_error_angstroms)
2390 class Vector1D(_VectorBase1D):
2391  """Proxy of C++ IMP::algebra::VectorD<(1)> class."""
2392 
2393  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2394 
2395  def get_unit_vector(self):
2396  """get_unit_vector(Vector1D self) -> Vector1D"""
2397  return _IMP_algebra.Vector1D_get_unit_vector(self)
2398 
2399 
2400  def __div__(self, s):
2401  """__div__(Vector1D self, double s) -> Vector1D"""
2402  return _IMP_algebra.Vector1D___div__(self, s)
2403 
2404 
2405  def __neg__(self):
2406  """__neg__(Vector1D self) -> Vector1D"""
2407  return _IMP_algebra.Vector1D___neg__(self)
2408 
2409 
2410  def __sub__(self, o):
2411  """__sub__(Vector1D self, Vector1D o) -> Vector1D"""
2412  return _IMP_algebra.Vector1D___sub__(self, o)
2413 
2414 
2415  def __add__(self, ret):
2416  """__add__(Vector1D self, Vector1D ret) -> Vector1D"""
2417  return _IMP_algebra.Vector1D___add__(self, ret)
2418 
2419 
2420  def __mul__(self, *args):
2421  """
2422  __mul__(Vector1D self, double s) -> Vector1D
2423  __mul__(Vector1D self, Vector1D o) -> double
2424  """
2425  return _IMP_algebra.Vector1D___mul__(self, *args)
2426 
2427 
2428  def __init__(self, *args):
2429  """
2430  __init__(IMP::algebra::VectorD<(1)> self, IMP::Floats const & f) -> Vector1D
2431  __init__(IMP::algebra::VectorD<(1)> self) -> Vector1D
2432  __init__(IMP::algebra::VectorD<(1)> self, double x) -> Vector1D
2433  """
2434  this = _IMP_algebra.new_Vector1D(*args)
2435  try:
2436  self.this.append(this)
2437  except __builtin__.Exception:
2438  self.this = this
2439 
2440  def __getitem__(self, index):
2441  """__getitem__(Vector1D self, unsigned int index) -> double"""
2442  return _IMP_algebra.Vector1D___getitem__(self, index)
2443 
2444 
2445  def __setitem__(self, index, val):
2446  """__setitem__(Vector1D self, unsigned int index, double val)"""
2447  return _IMP_algebra.Vector1D___setitem__(self, index, val)
2448 
2449 
2450  def __iadd__(self, *args):
2451  _IMP_algebra.Vector1D___iadd__(self, *args)
2452  return self
2453 
2454 
2455 
2456  def __imul__(self, *args):
2457  _IMP_algebra.Vector1D___imul__(self, *args)
2458  return self
2459 
2460 
2461 
2462  def __idiv__(self, *args):
2463  _IMP_algebra.Vector1D___idiv__(self, *args)
2464  return self
2465 
2466 
2467 
2468  def __isub__(self, *args):
2469  _IMP_algebra.Vector1D___isub__(self, *args)
2470  return self
2471 
2472 
2473 
2474  def __len__(self):
2475  """__len__(Vector1D self) -> unsigned int"""
2476  return _IMP_algebra.Vector1D___len__(self)
2477 
2478 
2479  def __rmul__(self, f):
2480  """__rmul__(Vector1D self, double f) -> Vector1D"""
2481  return _IMP_algebra.Vector1D___rmul__(self, f)
2482 
2483 
2484  def __str__(self):
2485  """__str__(Vector1D self) -> std::string"""
2486  return _IMP_algebra.Vector1D___str__(self)
2487 
2488 
2489  def __repr__(self):
2490  """__repr__(Vector1D self) -> std::string"""
2491  return _IMP_algebra.Vector1D___repr__(self)
2492 
2493 
2494  def __cmp__(self, arg2):
2495  """__cmp__(Vector1D self, Vector1D arg2) -> int"""
2496  return _IMP_algebra.Vector1D___cmp__(self, arg2)
2497 
2498 
2499  def __eq__(self, arg2):
2500  """__eq__(Vector1D self, Vector1D arg2) -> bool"""
2501  return _IMP_algebra.Vector1D___eq__(self, arg2)
2502 
2503 
2504  __truediv__ = __div__
2505  __itruediv__ = __idiv__
2506 
2507  __swig_destroy__ = _IMP_algebra.delete_Vector1D
2508  __del__ = lambda self: None
2509 Vector1D_swigregister = _IMP_algebra.Vector1D_swigregister
2510 Vector1D_swigregister(Vector1D)
2511 
2512 class Vector2D(_VectorBase2D):
2513  """Proxy of C++ IMP::algebra::VectorD<(2)> class."""
2514 
2515  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2516 
2517  def get_unit_vector(self):
2518  """get_unit_vector(Vector2D self) -> Vector2D"""
2519  return _IMP_algebra.Vector2D_get_unit_vector(self)
2520 
2521 
2522  def __div__(self, s):
2523  """__div__(Vector2D self, double s) -> Vector2D"""
2524  return _IMP_algebra.Vector2D___div__(self, s)
2525 
2526 
2527  def __neg__(self):
2528  """__neg__(Vector2D self) -> Vector2D"""
2529  return _IMP_algebra.Vector2D___neg__(self)
2530 
2531 
2532  def __sub__(self, o):
2533  """__sub__(Vector2D self, Vector2D o) -> Vector2D"""
2534  return _IMP_algebra.Vector2D___sub__(self, o)
2535 
2536 
2537  def __add__(self, ret):
2538  """__add__(Vector2D self, Vector2D ret) -> Vector2D"""
2539  return _IMP_algebra.Vector2D___add__(self, ret)
2540 
2541 
2542  def __mul__(self, *args):
2543  """
2544  __mul__(Vector2D self, double s) -> Vector2D
2545  __mul__(Vector2D self, Vector2D o) -> double
2546  """
2547  return _IMP_algebra.Vector2D___mul__(self, *args)
2548 
2549 
2550  def __init__(self, *args):
2551  """
2552  __init__(IMP::algebra::VectorD<(2)> self, IMP::Floats const & f) -> Vector2D
2553  __init__(IMP::algebra::VectorD<(2)> self) -> Vector2D
2554  __init__(IMP::algebra::VectorD<(2)> self, double x, double y) -> Vector2D
2555  """
2556  this = _IMP_algebra.new_Vector2D(*args)
2557  try:
2558  self.this.append(this)
2559  except __builtin__.Exception:
2560  self.this = this
2561 
2562  def __getitem__(self, index):
2563  """__getitem__(Vector2D self, unsigned int index) -> double"""
2564  return _IMP_algebra.Vector2D___getitem__(self, index)
2565 
2566 
2567  def __setitem__(self, index, val):
2568  """__setitem__(Vector2D self, unsigned int index, double val)"""
2569  return _IMP_algebra.Vector2D___setitem__(self, index, val)
2570 
2571 
2572  def __iadd__(self, *args):
2573  _IMP_algebra.Vector2D___iadd__(self, *args)
2574  return self
2575 
2576 
2577 
2578  def __imul__(self, *args):
2579  _IMP_algebra.Vector2D___imul__(self, *args)
2580  return self
2581 
2582 
2583 
2584  def __idiv__(self, *args):
2585  _IMP_algebra.Vector2D___idiv__(self, *args)
2586  return self
2587 
2588 
2589 
2590  def __isub__(self, *args):
2591  _IMP_algebra.Vector2D___isub__(self, *args)
2592  return self
2593 
2594 
2595 
2596  def __len__(self):
2597  """__len__(Vector2D self) -> unsigned int"""
2598  return _IMP_algebra.Vector2D___len__(self)
2599 
2600 
2601  def __rmul__(self, f):
2602  """__rmul__(Vector2D self, double f) -> Vector2D"""
2603  return _IMP_algebra.Vector2D___rmul__(self, f)
2604 
2605 
2606  def __str__(self):
2607  """__str__(Vector2D self) -> std::string"""
2608  return _IMP_algebra.Vector2D___str__(self)
2609 
2610 
2611  def __repr__(self):
2612  """__repr__(Vector2D self) -> std::string"""
2613  return _IMP_algebra.Vector2D___repr__(self)
2614 
2615 
2616  def __cmp__(self, arg2):
2617  """__cmp__(Vector2D self, Vector2D arg2) -> int"""
2618  return _IMP_algebra.Vector2D___cmp__(self, arg2)
2619 
2620 
2621  def __eq__(self, arg2):
2622  """__eq__(Vector2D self, Vector2D arg2) -> bool"""
2623  return _IMP_algebra.Vector2D___eq__(self, arg2)
2624 
2625 
2626  __truediv__ = __div__
2627  __itruediv__ = __idiv__
2628 
2629  __swig_destroy__ = _IMP_algebra.delete_Vector2D
2630  __del__ = lambda self: None
2631 Vector2D_swigregister = _IMP_algebra.Vector2D_swigregister
2632 Vector2D_swigregister(Vector2D)
2633 
2634 class Vector3D(_VectorBase3D):
2635  """Proxy of C++ IMP::algebra::VectorD<(3)> class."""
2636 
2637  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2638 
2639  def get_unit_vector(self):
2640  """get_unit_vector(Vector3D self) -> Vector3D"""
2641  return _IMP_algebra.Vector3D_get_unit_vector(self)
2642 
2643 
2644  def __div__(self, s):
2645  """__div__(Vector3D self, double s) -> Vector3D"""
2646  return _IMP_algebra.Vector3D___div__(self, s)
2647 
2648 
2649  def __neg__(self):
2650  """__neg__(Vector3D self) -> Vector3D"""
2651  return _IMP_algebra.Vector3D___neg__(self)
2652 
2653 
2654  def __sub__(self, o):
2655  """__sub__(Vector3D self, Vector3D o) -> Vector3D"""
2656  return _IMP_algebra.Vector3D___sub__(self, o)
2657 
2658 
2659  def __add__(self, ret):
2660  """__add__(Vector3D self, Vector3D ret) -> Vector3D"""
2661  return _IMP_algebra.Vector3D___add__(self, ret)
2662 
2663 
2664  def __mul__(self, *args):
2665  """
2666  __mul__(Vector3D self, double s) -> Vector3D
2667  __mul__(Vector3D self, Vector3D o) -> double
2668  """
2669  return _IMP_algebra.Vector3D___mul__(self, *args)
2670 
2671 
2672  def __init__(self, *args):
2673  """
2674  __init__(IMP::algebra::VectorD<(3)> self, IMP::Floats const & f) -> Vector3D
2675  __init__(IMP::algebra::VectorD<(3)> self) -> Vector3D
2676  __init__(IMP::algebra::VectorD<(3)> self, double x, double y, double z) -> Vector3D
2677  """
2678  this = _IMP_algebra.new_Vector3D(*args)
2679  try:
2680  self.this.append(this)
2681  except __builtin__.Exception:
2682  self.this = this
2683 
2684  def __getitem__(self, index):
2685  """__getitem__(Vector3D self, unsigned int index) -> double"""
2686  return _IMP_algebra.Vector3D___getitem__(self, index)
2687 
2688 
2689  def __setitem__(self, index, val):
2690  """__setitem__(Vector3D self, unsigned int index, double val)"""
2691  return _IMP_algebra.Vector3D___setitem__(self, index, val)
2692 
2693 
2694  def __iadd__(self, *args):
2695  _IMP_algebra.Vector3D___iadd__(self, *args)
2696  return self
2697 
2698 
2699 
2700  def __imul__(self, *args):
2701  _IMP_algebra.Vector3D___imul__(self, *args)
2702  return self
2703 
2704 
2705 
2706  def __idiv__(self, *args):
2707  _IMP_algebra.Vector3D___idiv__(self, *args)
2708  return self
2709 
2710 
2711 
2712  def __isub__(self, *args):
2713  _IMP_algebra.Vector3D___isub__(self, *args)
2714  return self
2715 
2716 
2717 
2718  def __len__(self):
2719  """__len__(Vector3D self) -> unsigned int"""
2720  return _IMP_algebra.Vector3D___len__(self)
2721 
2722 
2723  def __rmul__(self, f):
2724  """__rmul__(Vector3D self, double f) -> Vector3D"""
2725  return _IMP_algebra.Vector3D___rmul__(self, f)
2726 
2727 
2728  def __str__(self):
2729  """__str__(Vector3D self) -> std::string"""
2730  return _IMP_algebra.Vector3D___str__(self)
2731 
2732 
2733  def __repr__(self):
2734  """__repr__(Vector3D self) -> std::string"""
2735  return _IMP_algebra.Vector3D___repr__(self)
2736 
2737 
2738  def __cmp__(self, arg2):
2739  """__cmp__(Vector3D self, Vector3D arg2) -> int"""
2740  return _IMP_algebra.Vector3D___cmp__(self, arg2)
2741 
2742 
2743  def __eq__(self, arg2):
2744  """__eq__(Vector3D self, Vector3D arg2) -> bool"""
2745  return _IMP_algebra.Vector3D___eq__(self, arg2)
2746 
2747 
2748  __truediv__ = __div__
2749  __itruediv__ = __idiv__
2750 
2751  __swig_destroy__ = _IMP_algebra.delete_Vector3D
2752  __del__ = lambda self: None
2753 Vector3D_swigregister = _IMP_algebra.Vector3D_swigregister
2754 Vector3D_swigregister(Vector3D)
2755 
2756 class Vector4D(_VectorBase4D):
2757  """Proxy of C++ IMP::algebra::VectorD<(4)> class."""
2758 
2759  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2760 
2761  def get_unit_vector(self):
2762  """get_unit_vector(Vector4D self) -> Vector4D"""
2763  return _IMP_algebra.Vector4D_get_unit_vector(self)
2764 
2765 
2766  def __div__(self, s):
2767  """__div__(Vector4D self, double s) -> Vector4D"""
2768  return _IMP_algebra.Vector4D___div__(self, s)
2769 
2770 
2771  def __neg__(self):
2772  """__neg__(Vector4D self) -> Vector4D"""
2773  return _IMP_algebra.Vector4D___neg__(self)
2774 
2775 
2776  def __sub__(self, o):
2777  """__sub__(Vector4D self, Vector4D o) -> Vector4D"""
2778  return _IMP_algebra.Vector4D___sub__(self, o)
2779 
2780 
2781  def __add__(self, ret):
2782  """__add__(Vector4D self, Vector4D ret) -> Vector4D"""
2783  return _IMP_algebra.Vector4D___add__(self, ret)
2784 
2785 
2786  def __mul__(self, *args):
2787  """
2788  __mul__(Vector4D self, double s) -> Vector4D
2789  __mul__(Vector4D self, Vector4D o) -> double
2790  """
2791  return _IMP_algebra.Vector4D___mul__(self, *args)
2792 
2793 
2794  def __init__(self, *args):
2795  """
2796  __init__(IMP::algebra::VectorD<(4)> self, IMP::Floats const & f) -> Vector4D
2797  __init__(IMP::algebra::VectorD<(4)> self) -> Vector4D
2798  __init__(IMP::algebra::VectorD<(4)> self, double x0, double x1, double x2, double x3) -> Vector4D
2799  """
2800  this = _IMP_algebra.new_Vector4D(*args)
2801  try:
2802  self.this.append(this)
2803  except __builtin__.Exception:
2804  self.this = this
2805 
2806  def __getitem__(self, index):
2807  """__getitem__(Vector4D self, unsigned int index) -> double"""
2808  return _IMP_algebra.Vector4D___getitem__(self, index)
2809 
2810 
2811  def __setitem__(self, index, val):
2812  """__setitem__(Vector4D self, unsigned int index, double val)"""
2813  return _IMP_algebra.Vector4D___setitem__(self, index, val)
2814 
2815 
2816  def __iadd__(self, *args):
2817  _IMP_algebra.Vector4D___iadd__(self, *args)
2818  return self
2819 
2820 
2821 
2822  def __imul__(self, *args):
2823  _IMP_algebra.Vector4D___imul__(self, *args)
2824  return self
2825 
2826 
2827 
2828  def __idiv__(self, *args):
2829  _IMP_algebra.Vector4D___idiv__(self, *args)
2830  return self
2831 
2832 
2833 
2834  def __isub__(self, *args):
2835  _IMP_algebra.Vector4D___isub__(self, *args)
2836  return self
2837 
2838 
2839 
2840  def __len__(self):
2841  """__len__(Vector4D self) -> unsigned int"""
2842  return _IMP_algebra.Vector4D___len__(self)
2843 
2844 
2845  def __rmul__(self, f):
2846  """__rmul__(Vector4D self, double f) -> Vector4D"""
2847  return _IMP_algebra.Vector4D___rmul__(self, f)
2848 
2849 
2850  def __str__(self):
2851  """__str__(Vector4D self) -> std::string"""
2852  return _IMP_algebra.Vector4D___str__(self)
2853 
2854 
2855  def __repr__(self):
2856  """__repr__(Vector4D self) -> std::string"""
2857  return _IMP_algebra.Vector4D___repr__(self)
2858 
2859 
2860  def __cmp__(self, arg2):
2861  """__cmp__(Vector4D self, Vector4D arg2) -> int"""
2862  return _IMP_algebra.Vector4D___cmp__(self, arg2)
2863 
2864 
2865  def __eq__(self, arg2):
2866  """__eq__(Vector4D self, Vector4D arg2) -> bool"""
2867  return _IMP_algebra.Vector4D___eq__(self, arg2)
2868 
2869 
2870  __truediv__ = __div__
2871  __itruediv__ = __idiv__
2872 
2873  __swig_destroy__ = _IMP_algebra.delete_Vector4D
2874  __del__ = lambda self: None
2875 Vector4D_swigregister = _IMP_algebra.Vector4D_swigregister
2876 Vector4D_swigregister(Vector4D)
2877 
2878 class Vector5D(_VectorBase5D):
2879  """Proxy of C++ IMP::algebra::VectorD<(5)> class."""
2880 
2881  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2882 
2883  def get_unit_vector(self):
2884  """get_unit_vector(Vector5D self) -> Vector5D"""
2885  return _IMP_algebra.Vector5D_get_unit_vector(self)
2886 
2887 
2888  def __div__(self, s):
2889  """__div__(Vector5D self, double s) -> Vector5D"""
2890  return _IMP_algebra.Vector5D___div__(self, s)
2891 
2892 
2893  def __neg__(self):
2894  """__neg__(Vector5D self) -> Vector5D"""
2895  return _IMP_algebra.Vector5D___neg__(self)
2896 
2897 
2898  def __sub__(self, o):
2899  """__sub__(Vector5D self, Vector5D o) -> Vector5D"""
2900  return _IMP_algebra.Vector5D___sub__(self, o)
2901 
2902 
2903  def __add__(self, ret):
2904  """__add__(Vector5D self, Vector5D ret) -> Vector5D"""
2905  return _IMP_algebra.Vector5D___add__(self, ret)
2906 
2907 
2908  def __mul__(self, *args):
2909  """
2910  __mul__(Vector5D self, double s) -> Vector5D
2911  __mul__(Vector5D self, Vector5D o) -> double
2912  """
2913  return _IMP_algebra.Vector5D___mul__(self, *args)
2914 
2915 
2916  def __init__(self, *args):
2917  """
2918  __init__(IMP::algebra::VectorD<(5)> self, IMP::Floats const & f) -> Vector5D
2919  __init__(IMP::algebra::VectorD<(5)> self) -> Vector5D
2920  __init__(IMP::algebra::VectorD<(5)> self, double x0, double x1, double x2, double x3, double x4) -> Vector5D
2921  """
2922  this = _IMP_algebra.new_Vector5D(*args)
2923  try:
2924  self.this.append(this)
2925  except __builtin__.Exception:
2926  self.this = this
2927 
2928  def __getitem__(self, index):
2929  """__getitem__(Vector5D self, unsigned int index) -> double"""
2930  return _IMP_algebra.Vector5D___getitem__(self, index)
2931 
2932 
2933  def __setitem__(self, index, val):
2934  """__setitem__(Vector5D self, unsigned int index, double val)"""
2935  return _IMP_algebra.Vector5D___setitem__(self, index, val)
2936 
2937 
2938  def __iadd__(self, *args):
2939  _IMP_algebra.Vector5D___iadd__(self, *args)
2940  return self
2941 
2942 
2943 
2944  def __imul__(self, *args):
2945  _IMP_algebra.Vector5D___imul__(self, *args)
2946  return self
2947 
2948 
2949 
2950  def __idiv__(self, *args):
2951  _IMP_algebra.Vector5D___idiv__(self, *args)
2952  return self
2953 
2954 
2955 
2956  def __isub__(self, *args):
2957  _IMP_algebra.Vector5D___isub__(self, *args)
2958  return self
2959 
2960 
2961 
2962  def __len__(self):
2963  """__len__(Vector5D self) -> unsigned int"""
2964  return _IMP_algebra.Vector5D___len__(self)
2965 
2966 
2967  def __rmul__(self, f):
2968  """__rmul__(Vector5D self, double f) -> Vector5D"""
2969  return _IMP_algebra.Vector5D___rmul__(self, f)
2970 
2971 
2972  def __str__(self):
2973  """__str__(Vector5D self) -> std::string"""
2974  return _IMP_algebra.Vector5D___str__(self)
2975 
2976 
2977  def __repr__(self):
2978  """__repr__(Vector5D self) -> std::string"""
2979  return _IMP_algebra.Vector5D___repr__(self)
2980 
2981 
2982  def __cmp__(self, arg2):
2983  """__cmp__(Vector5D self, Vector5D arg2) -> int"""
2984  return _IMP_algebra.Vector5D___cmp__(self, arg2)
2985 
2986 
2987  def __eq__(self, arg2):
2988  """__eq__(Vector5D self, Vector5D arg2) -> bool"""
2989  return _IMP_algebra.Vector5D___eq__(self, arg2)
2990 
2991 
2992  __truediv__ = __div__
2993  __itruediv__ = __idiv__
2994 
2995  __swig_destroy__ = _IMP_algebra.delete_Vector5D
2996  __del__ = lambda self: None
2997 Vector5D_swigregister = _IMP_algebra.Vector5D_swigregister
2998 Vector5D_swigregister(Vector5D)
2999 
3000 class Vector6D(_VectorBase6D):
3001  """Proxy of C++ IMP::algebra::VectorD<(6)> class."""
3002 
3003  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3004 
3005  def get_unit_vector(self):
3006  """get_unit_vector(Vector6D self) -> Vector6D"""
3007  return _IMP_algebra.Vector6D_get_unit_vector(self)
3008 
3009 
3010  def __div__(self, s):
3011  """__div__(Vector6D self, double s) -> Vector6D"""
3012  return _IMP_algebra.Vector6D___div__(self, s)
3013 
3014 
3015  def __neg__(self):
3016  """__neg__(Vector6D self) -> Vector6D"""
3017  return _IMP_algebra.Vector6D___neg__(self)
3018 
3019 
3020  def __sub__(self, o):
3021  """__sub__(Vector6D self, Vector6D o) -> Vector6D"""
3022  return _IMP_algebra.Vector6D___sub__(self, o)
3023 
3024 
3025  def __add__(self, ret):
3026  """__add__(Vector6D self, Vector6D ret) -> Vector6D"""
3027  return _IMP_algebra.Vector6D___add__(self, ret)
3028 
3029 
3030  def __mul__(self, *args):
3031  """
3032  __mul__(Vector6D self, double s) -> Vector6D
3033  __mul__(Vector6D self, Vector6D o) -> double
3034  """
3035  return _IMP_algebra.Vector6D___mul__(self, *args)
3036 
3037 
3038  def __init__(self, *args):
3039  """
3040  __init__(IMP::algebra::VectorD<(6)> self, IMP::Floats const & f) -> Vector6D
3041  __init__(IMP::algebra::VectorD<(6)> self) -> Vector6D
3042  __init__(IMP::algebra::VectorD<(6)> self, double x0, double x1, double x2, double x3, double x4, double x5) -> Vector6D
3043  """
3044  this = _IMP_algebra.new_Vector6D(*args)
3045  try:
3046  self.this.append(this)
3047  except __builtin__.Exception:
3048  self.this = this
3049 
3050  def __getitem__(self, index):
3051  """__getitem__(Vector6D self, unsigned int index) -> double"""
3052  return _IMP_algebra.Vector6D___getitem__(self, index)
3053 
3054 
3055  def __setitem__(self, index, val):
3056  """__setitem__(Vector6D self, unsigned int index, double val)"""
3057  return _IMP_algebra.Vector6D___setitem__(self, index, val)
3058 
3059 
3060  def __iadd__(self, *args):
3061  _IMP_algebra.Vector6D___iadd__(self, *args)
3062  return self
3063 
3064 
3065 
3066  def __imul__(self, *args):
3067  _IMP_algebra.Vector6D___imul__(self, *args)
3068  return self
3069 
3070 
3071 
3072  def __idiv__(self, *args):
3073  _IMP_algebra.Vector6D___idiv__(self, *args)
3074  return self
3075 
3076 
3077 
3078  def __isub__(self, *args):
3079  _IMP_algebra.Vector6D___isub__(self, *args)
3080  return self
3081 
3082 
3083 
3084  def __len__(self):
3085  """__len__(Vector6D self) -> unsigned int"""
3086  return _IMP_algebra.Vector6D___len__(self)
3087 
3088 
3089  def __rmul__(self, f):
3090  """__rmul__(Vector6D self, double f) -> Vector6D"""
3091  return _IMP_algebra.Vector6D___rmul__(self, f)
3092 
3093 
3094  def __str__(self):
3095  """__str__(Vector6D self) -> std::string"""
3096  return _IMP_algebra.Vector6D___str__(self)
3097 
3098 
3099  def __repr__(self):
3100  """__repr__(Vector6D self) -> std::string"""
3101  return _IMP_algebra.Vector6D___repr__(self)
3102 
3103 
3104  def __cmp__(self, arg2):
3105  """__cmp__(Vector6D self, Vector6D arg2) -> int"""
3106  return _IMP_algebra.Vector6D___cmp__(self, arg2)
3107 
3108 
3109  def __eq__(self, arg2):
3110  """__eq__(Vector6D self, Vector6D arg2) -> bool"""
3111  return _IMP_algebra.Vector6D___eq__(self, arg2)
3112 
3113 
3114  __truediv__ = __div__
3115  __itruediv__ = __idiv__
3116 
3117  __swig_destroy__ = _IMP_algebra.delete_Vector6D
3118  __del__ = lambda self: None
3119 Vector6D_swigregister = _IMP_algebra.Vector6D_swigregister
3120 Vector6D_swigregister(Vector6D)
3121 
3122 class VectorKD(_VectorBaseKD):
3123  """Proxy of C++ IMP::algebra::VectorD<(-1)> class."""
3124 
3125  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3126 
3127  def get_unit_vector(self):
3128  """get_unit_vector(VectorKD self) -> VectorKD"""
3129  return _IMP_algebra.VectorKD_get_unit_vector(self)
3130 
3131 
3132  def __div__(self, s):
3133  """__div__(VectorKD self, double s) -> VectorKD"""
3134  return _IMP_algebra.VectorKD___div__(self, s)
3135 
3136 
3137  def __neg__(self):
3138  """__neg__(VectorKD self) -> VectorKD"""
3139  return _IMP_algebra.VectorKD___neg__(self)
3140 
3141 
3142  def __sub__(self, o):
3143  """__sub__(VectorKD self, VectorKD o) -> VectorKD"""
3144  return _IMP_algebra.VectorKD___sub__(self, o)
3145 
3146 
3147  def __add__(self, ret):
3148  """__add__(VectorKD self, VectorKD ret) -> VectorKD"""
3149  return _IMP_algebra.VectorKD___add__(self, ret)
3150 
3151 
3152  def __mul__(self, *args):
3153  """
3154  __mul__(VectorKD self, double s) -> VectorKD
3155  __mul__(VectorKD self, VectorKD o) -> double
3156  """
3157  return _IMP_algebra.VectorKD___mul__(self, *args)
3158 
3159 
3160  def __init__(self, *args):
3161  """
3162  __init__(IMP::algebra::VectorD<(-1)> self, IMP::Floats const & f) -> VectorKD
3163  __init__(IMP::algebra::VectorD<(-1)> self) -> VectorKD
3164  __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2, double x3, double x4, double x5) -> VectorKD
3165  __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2, double x3, double x4) -> VectorKD
3166  __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2, double x3) -> VectorKD
3167  __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1, double x2) -> VectorKD
3168  __init__(IMP::algebra::VectorD<(-1)> self, double x0, double x1) -> VectorKD
3169  __init__(IMP::algebra::VectorD<(-1)> self, double x0) -> VectorKD
3170  """
3171  this = _IMP_algebra.new_VectorKD(*args)
3172  try:
3173  self.this.append(this)
3174  except __builtin__.Exception:
3175  self.this = this
3176 
3177  def __getitem__(self, index):
3178  """__getitem__(VectorKD self, unsigned int index) -> double"""
3179  return _IMP_algebra.VectorKD___getitem__(self, index)
3180 
3181 
3182  def __setitem__(self, index, val):
3183  """__setitem__(VectorKD self, unsigned int index, double val)"""
3184  return _IMP_algebra.VectorKD___setitem__(self, index, val)
3185 
3186 
3187  def __iadd__(self, *args):
3188  _IMP_algebra.VectorKD___iadd__(self, *args)
3189  return self
3190 
3191 
3192 
3193  def __imul__(self, *args):
3194  _IMP_algebra.VectorKD___imul__(self, *args)
3195  return self
3196 
3197 
3198 
3199  def __idiv__(self, *args):
3200  _IMP_algebra.VectorKD___idiv__(self, *args)
3201  return self
3202 
3203 
3204 
3205  def __isub__(self, *args):
3206  _IMP_algebra.VectorKD___isub__(self, *args)
3207  return self
3208 
3209 
3210 
3211  def __len__(self):
3212  """__len__(VectorKD self) -> unsigned int"""
3213  return _IMP_algebra.VectorKD___len__(self)
3214 
3215 
3216  def __rmul__(self, f):
3217  """__rmul__(VectorKD self, double f) -> VectorKD"""
3218  return _IMP_algebra.VectorKD___rmul__(self, f)
3219 
3220 
3221  def __str__(self):
3222  """__str__(VectorKD self) -> std::string"""
3223  return _IMP_algebra.VectorKD___str__(self)
3224 
3225 
3226  def __repr__(self):
3227  """__repr__(VectorKD self) -> std::string"""
3228  return _IMP_algebra.VectorKD___repr__(self)
3229 
3230 
3231  def __cmp__(self, arg2):
3232  """__cmp__(VectorKD self, VectorKD arg2) -> int"""
3233  return _IMP_algebra.VectorKD___cmp__(self, arg2)
3234 
3235 
3236  def __eq__(self, arg2):
3237  """__eq__(VectorKD self, VectorKD arg2) -> bool"""
3238  return _IMP_algebra.VectorKD___eq__(self, arg2)
3239 
3240 
3241  __truediv__ = __div__
3242  __itruediv__ = __idiv__
3243 
3244  __swig_destroy__ = _IMP_algebra.delete_VectorKD
3245  __del__ = lambda self: None
3246 VectorKD_swigregister = _IMP_algebra.VectorKD_swigregister
3247 VectorKD_swigregister(VectorKD)
3248 
3249 class BoundingBox1D(object):
3250  """Proxy of C++ IMP::algebra::BoundingBoxD<(1)> class."""
3251 
3252  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3253 
3254  def get_dimension(self):
3255  """get_dimension(BoundingBox1D self) -> unsigned int"""
3256  return _IMP_algebra.BoundingBox1D_get_dimension(self)
3257 
3258 
3259  def get_corner(self, i):
3260  """get_corner(BoundingBox1D self, unsigned int i) -> Vector1D"""
3261  return _IMP_algebra.BoundingBox1D_get_corner(self, i)
3262 
3263 
3264  def get_contains(self, *args):
3265  """
3266  get_contains(BoundingBox1D self, Vector1D o) -> bool
3267  get_contains(BoundingBox1D self, BoundingBox1D bb) -> bool
3268  """
3269  return _IMP_algebra.BoundingBox1D_get_contains(self, *args)
3270 
3271 
3272  def show(self, *args):
3273  """
3274  show(BoundingBox1D self, _ostream out)
3275  show(BoundingBox1D self)
3276  """
3277  return _IMP_algebra.BoundingBox1D_show(self, *args)
3278 
3279 
3280  def __str__(self):
3281  """__str__(BoundingBox1D self) -> std::string"""
3282  return _IMP_algebra.BoundingBox1D___str__(self)
3283 
3284 
3285  def __repr__(self):
3286  """__repr__(BoundingBox1D self) -> std::string"""
3287  return _IMP_algebra.BoundingBox1D___repr__(self)
3288 
3289 
3290  def __cmp__(self, arg2):
3291  """__cmp__(BoundingBox1D self, BoundingBox1D arg2) -> int"""
3292  return _IMP_algebra.BoundingBox1D___cmp__(self, arg2)
3293 
3294 
3295  def __eq__(self, arg2):
3296  """__eq__(BoundingBox1D self, BoundingBox1D arg2) -> bool"""
3297  return _IMP_algebra.BoundingBox1D___eq__(self, arg2)
3298 
3299 
3300  def __init__(self, *args):
3301  """
3302  __init__(IMP::algebra::BoundingBoxD<(1)> self, unsigned int d) -> BoundingBox1D
3303  __init__(IMP::algebra::BoundingBoxD<(1)> self, Vector1D lb, Vector1D ub) -> BoundingBox1D
3304  __init__(IMP::algebra::BoundingBoxD<(1)> self, Vector1D v) -> BoundingBox1D
3305  __init__(IMP::algebra::BoundingBoxD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & points) -> BoundingBox1D
3306  __init__(IMP::algebra::BoundingBoxD<(1)> self) -> BoundingBox1D
3307  """
3308  this = _IMP_algebra.new_BoundingBox1D(*args)
3309  try:
3310  self.this.append(this)
3311  except __builtin__.Exception:
3312  self.this = this
3313 
3314  def __getitem__(self, index):
3315  """__getitem__(BoundingBox1D self, unsigned int index) -> Vector1D"""
3316  return _IMP_algebra.BoundingBox1D___getitem__(self, index)
3317 
3318 
3319  def __iadd__(self, *args):
3320  _IMP_algebra.BoundingBox1D___iadd__(self, *args)
3321  return self
3322 
3323 
3324 
3325  def __len__(self):
3326  """__len__(BoundingBox1D self) -> unsigned int"""
3327  return _IMP_algebra.BoundingBox1D___len__(self)
3328 
3329 
3330  def __add__(self, *args):
3331  """
3332  __add__(BoundingBox1D self, BoundingBox1D o) -> BoundingBox1D
3333  __add__(BoundingBox1D self, Vector1D o) -> BoundingBox1D
3334  __add__(BoundingBox1D self, double o) -> BoundingBox1D
3335  """
3336  return _IMP_algebra.BoundingBox1D___add__(self, *args)
3337 
3338  __swig_destroy__ = _IMP_algebra.delete_BoundingBox1D
3339  __del__ = lambda self: None
3340 BoundingBox1D_swigregister = _IMP_algebra.BoundingBox1D_swigregister
3341 BoundingBox1D_swigregister(BoundingBox1D)
3342 
3343 class BoundingBox2D(object):
3344  """Proxy of C++ IMP::algebra::BoundingBoxD<(2)> class."""
3345 
3346  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3347 
3348  def get_dimension(self):
3349  """get_dimension(BoundingBox2D self) -> unsigned int"""
3350  return _IMP_algebra.BoundingBox2D_get_dimension(self)
3351 
3352 
3353  def get_corner(self, i):
3354  """get_corner(BoundingBox2D self, unsigned int i) -> Vector2D"""
3355  return _IMP_algebra.BoundingBox2D_get_corner(self, i)
3356 
3357 
3358  def get_contains(self, *args):
3359  """
3360  get_contains(BoundingBox2D self, Vector2D o) -> bool
3361  get_contains(BoundingBox2D self, BoundingBox2D bb) -> bool
3362  """
3363  return _IMP_algebra.BoundingBox2D_get_contains(self, *args)
3364 
3365 
3366  def show(self, *args):
3367  """
3368  show(BoundingBox2D self, _ostream out)
3369  show(BoundingBox2D self)
3370  """
3371  return _IMP_algebra.BoundingBox2D_show(self, *args)
3372 
3373 
3374  def __str__(self):
3375  """__str__(BoundingBox2D self) -> std::string"""
3376  return _IMP_algebra.BoundingBox2D___str__(self)
3377 
3378 
3379  def __repr__(self):
3380  """__repr__(BoundingBox2D self) -> std::string"""
3381  return _IMP_algebra.BoundingBox2D___repr__(self)
3382 
3383 
3384  def __cmp__(self, arg2):
3385  """__cmp__(BoundingBox2D self, BoundingBox2D arg2) -> int"""
3386  return _IMP_algebra.BoundingBox2D___cmp__(self, arg2)
3387 
3388 
3389  def __eq__(self, arg2):
3390  """__eq__(BoundingBox2D self, BoundingBox2D arg2) -> bool"""
3391  return _IMP_algebra.BoundingBox2D___eq__(self, arg2)
3392 
3393 
3394  def __init__(self, *args):
3395  """
3396  __init__(IMP::algebra::BoundingBoxD<(2)> self, unsigned int d) -> BoundingBox2D
3397  __init__(IMP::algebra::BoundingBoxD<(2)> self, Vector2D lb, Vector2D ub) -> BoundingBox2D
3398  __init__(IMP::algebra::BoundingBoxD<(2)> self, Vector2D v) -> BoundingBox2D
3399  __init__(IMP::algebra::BoundingBoxD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & points) -> BoundingBox2D
3400  __init__(IMP::algebra::BoundingBoxD<(2)> self) -> BoundingBox2D
3401  """
3402  this = _IMP_algebra.new_BoundingBox2D(*args)
3403  try:
3404  self.this.append(this)
3405  except __builtin__.Exception:
3406  self.this = this
3407 
3408  def __getitem__(self, index):
3409  """__getitem__(BoundingBox2D self, unsigned int index) -> Vector2D"""
3410  return _IMP_algebra.BoundingBox2D___getitem__(self, index)
3411 
3412 
3413  def __iadd__(self, *args):
3414  _IMP_algebra.BoundingBox2D___iadd__(self, *args)
3415  return self
3416 
3417 
3418 
3419  def __len__(self):
3420  """__len__(BoundingBox2D self) -> unsigned int"""
3421  return _IMP_algebra.BoundingBox2D___len__(self)
3422 
3423 
3424  def __add__(self, *args):
3425  """
3426  __add__(BoundingBox2D self, BoundingBox2D o) -> BoundingBox2D
3427  __add__(BoundingBox2D self, Vector2D o) -> BoundingBox2D
3428  __add__(BoundingBox2D self, double o) -> BoundingBox2D
3429  """
3430  return _IMP_algebra.BoundingBox2D___add__(self, *args)
3431 
3432  __swig_destroy__ = _IMP_algebra.delete_BoundingBox2D
3433  __del__ = lambda self: None
3434 BoundingBox2D_swigregister = _IMP_algebra.BoundingBox2D_swigregister
3435 BoundingBox2D_swigregister(BoundingBox2D)
3436 
3437 class BoundingBox3D(object):
3438  """Proxy of C++ IMP::algebra::BoundingBoxD<(3)> class."""
3439 
3440  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3441 
3442  def get_dimension(self):
3443  """get_dimension(BoundingBox3D self) -> unsigned int"""
3444  return _IMP_algebra.BoundingBox3D_get_dimension(self)
3445 
3446 
3447  def get_corner(self, i):
3448  """get_corner(BoundingBox3D self, unsigned int i) -> Vector3D"""
3449  return _IMP_algebra.BoundingBox3D_get_corner(self, i)
3450 
3451 
3452  def get_contains(self, *args):
3453  """
3454  get_contains(BoundingBox3D self, Vector3D o) -> bool
3455  get_contains(BoundingBox3D self, BoundingBox3D bb) -> bool
3456  """
3457  return _IMP_algebra.BoundingBox3D_get_contains(self, *args)
3458 
3459 
3460  def show(self, *args):
3461  """
3462  show(BoundingBox3D self, _ostream out)
3463  show(BoundingBox3D self)
3464  """
3465  return _IMP_algebra.BoundingBox3D_show(self, *args)
3466 
3467 
3468  def __str__(self):
3469  """__str__(BoundingBox3D self) -> std::string"""
3470  return _IMP_algebra.BoundingBox3D___str__(self)
3471 
3472 
3473  def __repr__(self):
3474  """__repr__(BoundingBox3D self) -> std::string"""
3475  return _IMP_algebra.BoundingBox3D___repr__(self)
3476 
3477 
3478  def __cmp__(self, arg2):
3479  """__cmp__(BoundingBox3D self, BoundingBox3D arg2) -> int"""
3480  return _IMP_algebra.BoundingBox3D___cmp__(self, arg2)
3481 
3482 
3483  def __eq__(self, arg2):
3484  """__eq__(BoundingBox3D self, BoundingBox3D arg2) -> bool"""
3485  return _IMP_algebra.BoundingBox3D___eq__(self, arg2)
3486 
3487 
3488  def __init__(self, *args):
3489  """
3490  __init__(IMP::algebra::BoundingBoxD<(3)> self, unsigned int d) -> BoundingBox3D
3491  __init__(IMP::algebra::BoundingBoxD<(3)> self, Vector3D lb, Vector3D ub) -> BoundingBox3D
3492  __init__(IMP::algebra::BoundingBoxD<(3)> self, Vector3D v) -> BoundingBox3D
3493  __init__(IMP::algebra::BoundingBoxD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & points) -> BoundingBox3D
3494  __init__(IMP::algebra::BoundingBoxD<(3)> self) -> BoundingBox3D
3495  """
3496  this = _IMP_algebra.new_BoundingBox3D(*args)
3497  try:
3498  self.this.append(this)
3499  except __builtin__.Exception:
3500  self.this = this
3501 
3502  def __getitem__(self, index):
3503  """__getitem__(BoundingBox3D self, unsigned int index) -> Vector3D"""
3504  return _IMP_algebra.BoundingBox3D___getitem__(self, index)
3505 
3506 
3507  def __iadd__(self, *args):
3508  _IMP_algebra.BoundingBox3D___iadd__(self, *args)
3509  return self
3510 
3511 
3512 
3513  def __len__(self):
3514  """__len__(BoundingBox3D self) -> unsigned int"""
3515  return _IMP_algebra.BoundingBox3D___len__(self)
3516 
3517 
3518  def __add__(self, *args):
3519  """
3520  __add__(BoundingBox3D self, BoundingBox3D o) -> BoundingBox3D
3521  __add__(BoundingBox3D self, Vector3D o) -> BoundingBox3D
3522  __add__(BoundingBox3D self, double o) -> BoundingBox3D
3523  """
3524  return _IMP_algebra.BoundingBox3D___add__(self, *args)
3525 
3526  __swig_destroy__ = _IMP_algebra.delete_BoundingBox3D
3527  __del__ = lambda self: None
3528 BoundingBox3D_swigregister = _IMP_algebra.BoundingBox3D_swigregister
3529 BoundingBox3D_swigregister(BoundingBox3D)
3530 
3531 class BoundingBox4D(object):
3532  """Proxy of C++ IMP::algebra::BoundingBoxD<(4)> class."""
3533 
3534  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3535 
3536  def get_dimension(self):
3537  """get_dimension(BoundingBox4D self) -> unsigned int"""
3538  return _IMP_algebra.BoundingBox4D_get_dimension(self)
3539 
3540 
3541  def get_corner(self, i):
3542  """get_corner(BoundingBox4D self, unsigned int i) -> Vector4D"""
3543  return _IMP_algebra.BoundingBox4D_get_corner(self, i)
3544 
3545 
3546  def get_contains(self, *args):
3547  """
3548  get_contains(BoundingBox4D self, Vector4D o) -> bool
3549  get_contains(BoundingBox4D self, BoundingBox4D bb) -> bool
3550  """
3551  return _IMP_algebra.BoundingBox4D_get_contains(self, *args)
3552 
3553 
3554  def show(self, *args):
3555  """
3556  show(BoundingBox4D self, _ostream out)
3557  show(BoundingBox4D self)
3558  """
3559  return _IMP_algebra.BoundingBox4D_show(self, *args)
3560 
3561 
3562  def __str__(self):
3563  """__str__(BoundingBox4D self) -> std::string"""
3564  return _IMP_algebra.BoundingBox4D___str__(self)
3565 
3566 
3567  def __repr__(self):
3568  """__repr__(BoundingBox4D self) -> std::string"""
3569  return _IMP_algebra.BoundingBox4D___repr__(self)
3570 
3571 
3572  def __cmp__(self, arg2):
3573  """__cmp__(BoundingBox4D self, BoundingBox4D arg2) -> int"""
3574  return _IMP_algebra.BoundingBox4D___cmp__(self, arg2)
3575 
3576 
3577  def __eq__(self, arg2):
3578  """__eq__(BoundingBox4D self, BoundingBox4D arg2) -> bool"""
3579  return _IMP_algebra.BoundingBox4D___eq__(self, arg2)
3580 
3581 
3582  def __init__(self, *args):
3583  """
3584  __init__(IMP::algebra::BoundingBoxD<(4)> self, unsigned int d) -> BoundingBox4D
3585  __init__(IMP::algebra::BoundingBoxD<(4)> self, Vector4D lb, Vector4D ub) -> BoundingBox4D
3586  __init__(IMP::algebra::BoundingBoxD<(4)> self, Vector4D v) -> BoundingBox4D
3587  __init__(IMP::algebra::BoundingBoxD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & points) -> BoundingBox4D
3588  __init__(IMP::algebra::BoundingBoxD<(4)> self) -> BoundingBox4D
3589  """
3590  this = _IMP_algebra.new_BoundingBox4D(*args)
3591  try:
3592  self.this.append(this)
3593  except __builtin__.Exception:
3594  self.this = this
3595 
3596  def __getitem__(self, index):
3597  """__getitem__(BoundingBox4D self, unsigned int index) -> Vector4D"""
3598  return _IMP_algebra.BoundingBox4D___getitem__(self, index)
3599 
3600 
3601  def __iadd__(self, *args):
3602  _IMP_algebra.BoundingBox4D___iadd__(self, *args)
3603  return self
3604 
3605 
3606 
3607  def __len__(self):
3608  """__len__(BoundingBox4D self) -> unsigned int"""
3609  return _IMP_algebra.BoundingBox4D___len__(self)
3610 
3611 
3612  def __add__(self, *args):
3613  """
3614  __add__(BoundingBox4D self, BoundingBox4D o) -> BoundingBox4D
3615  __add__(BoundingBox4D self, Vector4D o) -> BoundingBox4D
3616  __add__(BoundingBox4D self, double o) -> BoundingBox4D
3617  """
3618  return _IMP_algebra.BoundingBox4D___add__(self, *args)
3619 
3620  __swig_destroy__ = _IMP_algebra.delete_BoundingBox4D
3621  __del__ = lambda self: None
3622 BoundingBox4D_swigregister = _IMP_algebra.BoundingBox4D_swigregister
3623 BoundingBox4D_swigregister(BoundingBox4D)
3624 
3625 class BoundingBox5D(object):
3626  """Proxy of C++ IMP::algebra::BoundingBoxD<(5)> class."""
3627 
3628  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3629 
3630  def get_dimension(self):
3631  """get_dimension(BoundingBox5D self) -> unsigned int"""
3632  return _IMP_algebra.BoundingBox5D_get_dimension(self)
3633 
3634 
3635  def get_corner(self, i):
3636  """get_corner(BoundingBox5D self, unsigned int i) -> Vector5D"""
3637  return _IMP_algebra.BoundingBox5D_get_corner(self, i)
3638 
3639 
3640  def get_contains(self, *args):
3641  """
3642  get_contains(BoundingBox5D self, Vector5D o) -> bool
3643  get_contains(BoundingBox5D self, BoundingBox5D bb) -> bool
3644  """
3645  return _IMP_algebra.BoundingBox5D_get_contains(self, *args)
3646 
3647 
3648  def show(self, *args):
3649  """
3650  show(BoundingBox5D self, _ostream out)
3651  show(BoundingBox5D self)
3652  """
3653  return _IMP_algebra.BoundingBox5D_show(self, *args)
3654 
3655 
3656  def __str__(self):
3657  """__str__(BoundingBox5D self) -> std::string"""
3658  return _IMP_algebra.BoundingBox5D___str__(self)
3659 
3660 
3661  def __repr__(self):
3662  """__repr__(BoundingBox5D self) -> std::string"""
3663  return _IMP_algebra.BoundingBox5D___repr__(self)
3664 
3665 
3666  def __cmp__(self, arg2):
3667  """__cmp__(BoundingBox5D self, BoundingBox5D arg2) -> int"""
3668  return _IMP_algebra.BoundingBox5D___cmp__(self, arg2)
3669 
3670 
3671  def __eq__(self, arg2):
3672  """__eq__(BoundingBox5D self, BoundingBox5D arg2) -> bool"""
3673  return _IMP_algebra.BoundingBox5D___eq__(self, arg2)
3674 
3675 
3676  def __init__(self, *args):
3677  """
3678  __init__(IMP::algebra::BoundingBoxD<(5)> self, unsigned int d) -> BoundingBox5D
3679  __init__(IMP::algebra::BoundingBoxD<(5)> self, Vector5D lb, Vector5D ub) -> BoundingBox5D
3680  __init__(IMP::algebra::BoundingBoxD<(5)> self, Vector5D v) -> BoundingBox5D
3681  __init__(IMP::algebra::BoundingBoxD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & points) -> BoundingBox5D
3682  __init__(IMP::algebra::BoundingBoxD<(5)> self) -> BoundingBox5D
3683  """
3684  this = _IMP_algebra.new_BoundingBox5D(*args)
3685  try:
3686  self.this.append(this)
3687  except __builtin__.Exception:
3688  self.this = this
3689 
3690  def __getitem__(self, index):
3691  """__getitem__(BoundingBox5D self, unsigned int index) -> Vector5D"""
3692  return _IMP_algebra.BoundingBox5D___getitem__(self, index)
3693 
3694 
3695  def __iadd__(self, *args):
3696  _IMP_algebra.BoundingBox5D___iadd__(self, *args)
3697  return self
3698 
3699 
3700 
3701  def __len__(self):
3702  """__len__(BoundingBox5D self) -> unsigned int"""
3703  return _IMP_algebra.BoundingBox5D___len__(self)
3704 
3705 
3706  def __add__(self, *args):
3707  """
3708  __add__(BoundingBox5D self, BoundingBox5D o) -> BoundingBox5D
3709  __add__(BoundingBox5D self, Vector5D o) -> BoundingBox5D
3710  __add__(BoundingBox5D self, double o) -> BoundingBox5D
3711  """
3712  return _IMP_algebra.BoundingBox5D___add__(self, *args)
3713 
3714  __swig_destroy__ = _IMP_algebra.delete_BoundingBox5D
3715  __del__ = lambda self: None
3716 BoundingBox5D_swigregister = _IMP_algebra.BoundingBox5D_swigregister
3717 BoundingBox5D_swigregister(BoundingBox5D)
3718 
3719 class BoundingBox6D(object):
3720  """Proxy of C++ IMP::algebra::BoundingBoxD<(6)> class."""
3721 
3722  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3723 
3724  def get_dimension(self):
3725  """get_dimension(BoundingBox6D self) -> unsigned int"""
3726  return _IMP_algebra.BoundingBox6D_get_dimension(self)
3727 
3728 
3729  def get_corner(self, i):
3730  """get_corner(BoundingBox6D self, unsigned int i) -> Vector6D"""
3731  return _IMP_algebra.BoundingBox6D_get_corner(self, i)
3732 
3733 
3734  def get_contains(self, *args):
3735  """
3736  get_contains(BoundingBox6D self, Vector6D o) -> bool
3737  get_contains(BoundingBox6D self, BoundingBox6D bb) -> bool
3738  """
3739  return _IMP_algebra.BoundingBox6D_get_contains(self, *args)
3740 
3741 
3742  def show(self, *args):
3743  """
3744  show(BoundingBox6D self, _ostream out)
3745  show(BoundingBox6D self)
3746  """
3747  return _IMP_algebra.BoundingBox6D_show(self, *args)
3748 
3749 
3750  def __str__(self):
3751  """__str__(BoundingBox6D self) -> std::string"""
3752  return _IMP_algebra.BoundingBox6D___str__(self)
3753 
3754 
3755  def __repr__(self):
3756  """__repr__(BoundingBox6D self) -> std::string"""
3757  return _IMP_algebra.BoundingBox6D___repr__(self)
3758 
3759 
3760  def __cmp__(self, arg2):
3761  """__cmp__(BoundingBox6D self, BoundingBox6D arg2) -> int"""
3762  return _IMP_algebra.BoundingBox6D___cmp__(self, arg2)
3763 
3764 
3765  def __eq__(self, arg2):
3766  """__eq__(BoundingBox6D self, BoundingBox6D arg2) -> bool"""
3767  return _IMP_algebra.BoundingBox6D___eq__(self, arg2)
3768 
3769 
3770  def __init__(self, *args):
3771  """
3772  __init__(IMP::algebra::BoundingBoxD<(6)> self, unsigned int d) -> BoundingBox6D
3773  __init__(IMP::algebra::BoundingBoxD<(6)> self, Vector6D lb, Vector6D ub) -> BoundingBox6D
3774  __init__(IMP::algebra::BoundingBoxD<(6)> self, Vector6D v) -> BoundingBox6D
3775  __init__(IMP::algebra::BoundingBoxD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & points) -> BoundingBox6D
3776  __init__(IMP::algebra::BoundingBoxD<(6)> self) -> BoundingBox6D
3777  """
3778  this = _IMP_algebra.new_BoundingBox6D(*args)
3779  try:
3780  self.this.append(this)
3781  except __builtin__.Exception:
3782  self.this = this
3783 
3784  def __getitem__(self, index):
3785  """__getitem__(BoundingBox6D self, unsigned int index) -> Vector6D"""
3786  return _IMP_algebra.BoundingBox6D___getitem__(self, index)
3787 
3788 
3789  def __iadd__(self, *args):
3790  _IMP_algebra.BoundingBox6D___iadd__(self, *args)
3791  return self
3792 
3793 
3794 
3795  def __len__(self):
3796  """__len__(BoundingBox6D self) -> unsigned int"""
3797  return _IMP_algebra.BoundingBox6D___len__(self)
3798 
3799 
3800  def __add__(self, *args):
3801  """
3802  __add__(BoundingBox6D self, BoundingBox6D o) -> BoundingBox6D
3803  __add__(BoundingBox6D self, Vector6D o) -> BoundingBox6D
3804  __add__(BoundingBox6D self, double o) -> BoundingBox6D
3805  """
3806  return _IMP_algebra.BoundingBox6D___add__(self, *args)
3807 
3808  __swig_destroy__ = _IMP_algebra.delete_BoundingBox6D
3809  __del__ = lambda self: None
3810 BoundingBox6D_swigregister = _IMP_algebra.BoundingBox6D_swigregister
3811 BoundingBox6D_swigregister(BoundingBox6D)
3812 
3813 class BoundingBoxKD(object):
3814  """Proxy of C++ IMP::algebra::BoundingBoxD<(-1)> class."""
3815 
3816  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3817 
3818  def get_dimension(self):
3819  """get_dimension(BoundingBoxKD self) -> unsigned int"""
3820  return _IMP_algebra.BoundingBoxKD_get_dimension(self)
3821 
3822 
3823  def get_corner(self, i):
3824  """get_corner(BoundingBoxKD self, unsigned int i) -> VectorKD"""
3825  return _IMP_algebra.BoundingBoxKD_get_corner(self, i)
3826 
3827 
3828  def get_contains(self, *args):
3829  """
3830  get_contains(BoundingBoxKD self, VectorKD o) -> bool
3831  get_contains(BoundingBoxKD self, BoundingBoxKD bb) -> bool
3832  """
3833  return _IMP_algebra.BoundingBoxKD_get_contains(self, *args)
3834 
3835 
3836  def show(self, *args):
3837  """
3838  show(BoundingBoxKD self, _ostream out)
3839  show(BoundingBoxKD self)
3840  """
3841  return _IMP_algebra.BoundingBoxKD_show(self, *args)
3842 
3843 
3844  def __str__(self):
3845  """__str__(BoundingBoxKD self) -> std::string"""
3846  return _IMP_algebra.BoundingBoxKD___str__(self)
3847 
3848 
3849  def __repr__(self):
3850  """__repr__(BoundingBoxKD self) -> std::string"""
3851  return _IMP_algebra.BoundingBoxKD___repr__(self)
3852 
3853 
3854  def __cmp__(self, arg2):
3855  """__cmp__(BoundingBoxKD self, BoundingBoxKD arg2) -> int"""
3856  return _IMP_algebra.BoundingBoxKD___cmp__(self, arg2)
3857 
3858 
3859  def __eq__(self, arg2):
3860  """__eq__(BoundingBoxKD self, BoundingBoxKD arg2) -> bool"""
3861  return _IMP_algebra.BoundingBoxKD___eq__(self, arg2)
3862 
3863 
3864  def __init__(self, *args):
3865  """
3866  __init__(IMP::algebra::BoundingBoxD<(-1)> self, unsigned int d) -> BoundingBoxKD
3867  __init__(IMP::algebra::BoundingBoxD<(-1)> self, VectorKD lb, VectorKD ub) -> BoundingBoxKD
3868  __init__(IMP::algebra::BoundingBoxD<(-1)> self, VectorKD v) -> BoundingBoxKD
3869  __init__(IMP::algebra::BoundingBoxD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & points) -> BoundingBoxKD
3870  __init__(IMP::algebra::BoundingBoxD<(-1)> self) -> BoundingBoxKD
3871  """
3872  this = _IMP_algebra.new_BoundingBoxKD(*args)
3873  try:
3874  self.this.append(this)
3875  except __builtin__.Exception:
3876  self.this = this
3877 
3878  def __getitem__(self, index):
3879  """__getitem__(BoundingBoxKD self, unsigned int index) -> VectorKD"""
3880  return _IMP_algebra.BoundingBoxKD___getitem__(self, index)
3881 
3882 
3883  def __iadd__(self, *args):
3884  _IMP_algebra.BoundingBoxKD___iadd__(self, *args)
3885  return self
3886 
3887 
3888 
3889  def __len__(self):
3890  """__len__(BoundingBoxKD self) -> unsigned int"""
3891  return _IMP_algebra.BoundingBoxKD___len__(self)
3892 
3893 
3894  def __add__(self, *args):
3895  """
3896  __add__(BoundingBoxKD self, BoundingBoxKD o) -> BoundingBoxKD
3897  __add__(BoundingBoxKD self, VectorKD o) -> BoundingBoxKD
3898  __add__(BoundingBoxKD self, double o) -> BoundingBoxKD
3899  """
3900  return _IMP_algebra.BoundingBoxKD___add__(self, *args)
3901 
3902  __swig_destroy__ = _IMP_algebra.delete_BoundingBoxKD
3903  __del__ = lambda self: None
3904 BoundingBoxKD_swigregister = _IMP_algebra.BoundingBoxKD_swigregister
3905 BoundingBoxKD_swigregister(BoundingBoxKD)
3906 
3907 class Sphere1D(_GeometricPrimitive1D):
3908  """Proxy of C++ IMP::algebra::SphereD<(1)> class."""
3909 
3910  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3911 
3912  def __init__(self, *args):
3913  """
3914  __init__(IMP::algebra::SphereD<(1)> self) -> Sphere1D
3915  __init__(IMP::algebra::SphereD<(1)> self, Vector1D center, double radius) -> Sphere1D
3916  """
3917  this = _IMP_algebra.new_Sphere1D(*args)
3918  try:
3919  self.this.append(this)
3920  except __builtin__.Exception:
3921  self.this = this
3922 
3923  def get_radius(self):
3924  """get_radius(Sphere1D self) -> double"""
3925  return _IMP_algebra.Sphere1D_get_radius(self)
3926 
3927 
3928  def get_center(self):
3929  """get_center(Sphere1D self) -> Vector1D"""
3930  return _IMP_algebra.Sphere1D_get_center(self)
3931 
3932 
3933  def get_contains(self, *args):
3934  """
3935  get_contains(Sphere1D self, Sphere1D o) -> bool
3936  get_contains(Sphere1D self, Vector1D p) -> bool
3937  """
3938  return _IMP_algebra.Sphere1D_get_contains(self, *args)
3939 
3940 
3941  def show(self, *args):
3942  """
3943  show(Sphere1D self, _ostream out)
3944  show(Sphere1D self)
3945  """
3946  return _IMP_algebra.Sphere1D_show(self, *args)
3947 
3948 
3949  def get_dimension(self):
3950  """get_dimension(Sphere1D self) -> unsigned int"""
3951  return _IMP_algebra.Sphere1D_get_dimension(self)
3952 
3953 
3954  def __str__(self):
3955  """__str__(Sphere1D self) -> std::string"""
3956  return _IMP_algebra.Sphere1D___str__(self)
3957 
3958 
3959  def __repr__(self):
3960  """__repr__(Sphere1D self) -> std::string"""
3961  return _IMP_algebra.Sphere1D___repr__(self)
3962 
3963 
3964  def __cmp__(self, arg2):
3965  """__cmp__(Sphere1D self, Sphere1D arg2) -> int"""
3966  return _IMP_algebra.Sphere1D___cmp__(self, arg2)
3967 
3968 
3969  def __eq__(self, arg2):
3970  """__eq__(Sphere1D self, Sphere1D arg2) -> bool"""
3971  return _IMP_algebra.Sphere1D___eq__(self, arg2)
3972 
3973  __swig_destroy__ = _IMP_algebra.delete_Sphere1D
3974  __del__ = lambda self: None
3975 Sphere1D_swigregister = _IMP_algebra.Sphere1D_swigregister
3976 Sphere1D_swigregister(Sphere1D)
3977 
3978 class Sphere2D(_GeometricPrimitive2D):
3979  """Proxy of C++ IMP::algebra::SphereD<(2)> class."""
3980 
3981  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3982 
3983  def __init__(self, *args):
3984  """
3985  __init__(IMP::algebra::SphereD<(2)> self) -> Sphere2D
3986  __init__(IMP::algebra::SphereD<(2)> self, Vector2D center, double radius) -> Sphere2D
3987  """
3988  this = _IMP_algebra.new_Sphere2D(*args)
3989  try:
3990  self.this.append(this)
3991  except __builtin__.Exception:
3992  self.this = this
3993 
3994  def get_radius(self):
3995  """get_radius(Sphere2D self) -> double"""
3996  return _IMP_algebra.Sphere2D_get_radius(self)
3997 
3998 
3999  def get_center(self):
4000  """get_center(Sphere2D self) -> Vector2D"""
4001  return _IMP_algebra.Sphere2D_get_center(self)
4002 
4003 
4004  def get_contains(self, *args):
4005  """
4006  get_contains(Sphere2D self, Sphere2D o) -> bool
4007  get_contains(Sphere2D self, Vector2D p) -> bool
4008  """
4009  return _IMP_algebra.Sphere2D_get_contains(self, *args)
4010 
4011 
4012  def show(self, *args):
4013  """
4014  show(Sphere2D self, _ostream out)
4015  show(Sphere2D self)
4016  """
4017  return _IMP_algebra.Sphere2D_show(self, *args)
4018 
4019 
4020  def get_dimension(self):
4021  """get_dimension(Sphere2D self) -> unsigned int"""
4022  return _IMP_algebra.Sphere2D_get_dimension(self)
4023 
4024 
4025  def __str__(self):
4026  """__str__(Sphere2D self) -> std::string"""
4027  return _IMP_algebra.Sphere2D___str__(self)
4028 
4029 
4030  def __repr__(self):
4031  """__repr__(Sphere2D self) -> std::string"""
4032  return _IMP_algebra.Sphere2D___repr__(self)
4033 
4034 
4035  def __cmp__(self, arg2):
4036  """__cmp__(Sphere2D self, Sphere2D arg2) -> int"""
4037  return _IMP_algebra.Sphere2D___cmp__(self, arg2)
4038 
4039 
4040  def __eq__(self, arg2):
4041  """__eq__(Sphere2D self, Sphere2D arg2) -> bool"""
4042  return _IMP_algebra.Sphere2D___eq__(self, arg2)
4043 
4044  __swig_destroy__ = _IMP_algebra.delete_Sphere2D
4045  __del__ = lambda self: None
4046 Sphere2D_swigregister = _IMP_algebra.Sphere2D_swigregister
4047 Sphere2D_swigregister(Sphere2D)
4048 
4049 class Sphere3D(_GeometricPrimitive3D):
4050  """Proxy of C++ IMP::algebra::SphereD<(3)> class."""
4051 
4052  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4053 
4054  def __init__(self, *args):
4055  """
4056  __init__(IMP::algebra::SphereD<(3)> self) -> Sphere3D
4057  __init__(IMP::algebra::SphereD<(3)> self, Vector3D center, double radius) -> Sphere3D
4058  """
4059  this = _IMP_algebra.new_Sphere3D(*args)
4060  try:
4061  self.this.append(this)
4062  except __builtin__.Exception:
4063  self.this = this
4064 
4065  def get_radius(self):
4066  """get_radius(Sphere3D self) -> double"""
4067  return _IMP_algebra.Sphere3D_get_radius(self)
4068 
4069 
4070  def get_center(self):
4071  """get_center(Sphere3D self) -> Vector3D"""
4072  return _IMP_algebra.Sphere3D_get_center(self)
4073 
4074 
4075  def get_contains(self, *args):
4076  """
4077  get_contains(Sphere3D self, Sphere3D o) -> bool
4078  get_contains(Sphere3D self, Vector3D p) -> bool
4079  """
4080  return _IMP_algebra.Sphere3D_get_contains(self, *args)
4081 
4082 
4083  def show(self, *args):
4084  """
4085  show(Sphere3D self, _ostream out)
4086  show(Sphere3D self)
4087  """
4088  return _IMP_algebra.Sphere3D_show(self, *args)
4089 
4090 
4091  def get_dimension(self):
4092  """get_dimension(Sphere3D self) -> unsigned int"""
4093  return _IMP_algebra.Sphere3D_get_dimension(self)
4094 
4095 
4096  def __str__(self):
4097  """__str__(Sphere3D self) -> std::string"""
4098  return _IMP_algebra.Sphere3D___str__(self)
4099 
4100 
4101  def __repr__(self):
4102  """__repr__(Sphere3D self) -> std::string"""
4103  return _IMP_algebra.Sphere3D___repr__(self)
4104 
4105 
4106  def __cmp__(self, arg2):
4107  """__cmp__(Sphere3D self, Sphere3D arg2) -> int"""
4108  return _IMP_algebra.Sphere3D___cmp__(self, arg2)
4109 
4110 
4111  def __eq__(self, arg2):
4112  """__eq__(Sphere3D self, Sphere3D arg2) -> bool"""
4113  return _IMP_algebra.Sphere3D___eq__(self, arg2)
4114 
4115  __swig_destroy__ = _IMP_algebra.delete_Sphere3D
4116  __del__ = lambda self: None
4117 Sphere3D_swigregister = _IMP_algebra.Sphere3D_swigregister
4118 Sphere3D_swigregister(Sphere3D)
4119 
4120 class Sphere4D(_GeometricPrimitive4D):
4121  """Proxy of C++ IMP::algebra::SphereD<(4)> class."""
4122 
4123  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4124 
4125  def __init__(self, *args):
4126  """
4127  __init__(IMP::algebra::SphereD<(4)> self) -> Sphere4D
4128  __init__(IMP::algebra::SphereD<(4)> self, Vector4D center, double radius) -> Sphere4D
4129  """
4130  this = _IMP_algebra.new_Sphere4D(*args)
4131  try:
4132  self.this.append(this)
4133  except __builtin__.Exception:
4134  self.this = this
4135 
4136  def get_radius(self):
4137  """get_radius(Sphere4D self) -> double"""
4138  return _IMP_algebra.Sphere4D_get_radius(self)
4139 
4140 
4141  def get_center(self):
4142  """get_center(Sphere4D self) -> Vector4D"""
4143  return _IMP_algebra.Sphere4D_get_center(self)
4144 
4145 
4146  def get_contains(self, *args):
4147  """
4148  get_contains(Sphere4D self, Sphere4D o) -> bool
4149  get_contains(Sphere4D self, Vector4D p) -> bool
4150  """
4151  return _IMP_algebra.Sphere4D_get_contains(self, *args)
4152 
4153 
4154  def show(self, *args):
4155  """
4156  show(Sphere4D self, _ostream out)
4157  show(Sphere4D self)
4158  """
4159  return _IMP_algebra.Sphere4D_show(self, *args)
4160 
4161 
4162  def get_dimension(self):
4163  """get_dimension(Sphere4D self) -> unsigned int"""
4164  return _IMP_algebra.Sphere4D_get_dimension(self)
4165 
4166 
4167  def __str__(self):
4168  """__str__(Sphere4D self) -> std::string"""
4169  return _IMP_algebra.Sphere4D___str__(self)
4170 
4171 
4172  def __repr__(self):
4173  """__repr__(Sphere4D self) -> std::string"""
4174  return _IMP_algebra.Sphere4D___repr__(self)
4175 
4176 
4177  def __cmp__(self, arg2):
4178  """__cmp__(Sphere4D self, Sphere4D arg2) -> int"""
4179  return _IMP_algebra.Sphere4D___cmp__(self, arg2)
4180 
4181 
4182  def __eq__(self, arg2):
4183  """__eq__(Sphere4D self, Sphere4D arg2) -> bool"""
4184  return _IMP_algebra.Sphere4D___eq__(self, arg2)
4185 
4186  __swig_destroy__ = _IMP_algebra.delete_Sphere4D
4187  __del__ = lambda self: None
4188 Sphere4D_swigregister = _IMP_algebra.Sphere4D_swigregister
4189 Sphere4D_swigregister(Sphere4D)
4190 
4191 class Sphere5D(_GeometricPrimitive5D):
4192  """Proxy of C++ IMP::algebra::SphereD<(5)> class."""
4193 
4194  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4195 
4196  def __init__(self, *args):
4197  """
4198  __init__(IMP::algebra::SphereD<(5)> self) -> Sphere5D
4199  __init__(IMP::algebra::SphereD<(5)> self, Vector5D center, double radius) -> Sphere5D
4200  """
4201  this = _IMP_algebra.new_Sphere5D(*args)
4202  try:
4203  self.this.append(this)
4204  except __builtin__.Exception:
4205  self.this = this
4206 
4207  def get_radius(self):
4208  """get_radius(Sphere5D self) -> double"""
4209  return _IMP_algebra.Sphere5D_get_radius(self)
4210 
4211 
4212  def get_center(self):
4213  """get_center(Sphere5D self) -> Vector5D"""
4214  return _IMP_algebra.Sphere5D_get_center(self)
4215 
4216 
4217  def get_contains(self, *args):
4218  """
4219  get_contains(Sphere5D self, Sphere5D o) -> bool
4220  get_contains(Sphere5D self, Vector5D p) -> bool
4221  """
4222  return _IMP_algebra.Sphere5D_get_contains(self, *args)
4223 
4224 
4225  def show(self, *args):
4226  """
4227  show(Sphere5D self, _ostream out)
4228  show(Sphere5D self)
4229  """
4230  return _IMP_algebra.Sphere5D_show(self, *args)
4231 
4232 
4233  def get_dimension(self):
4234  """get_dimension(Sphere5D self) -> unsigned int"""
4235  return _IMP_algebra.Sphere5D_get_dimension(self)
4236 
4237 
4238  def __str__(self):
4239  """__str__(Sphere5D self) -> std::string"""
4240  return _IMP_algebra.Sphere5D___str__(self)
4241 
4242 
4243  def __repr__(self):
4244  """__repr__(Sphere5D self) -> std::string"""
4245  return _IMP_algebra.Sphere5D___repr__(self)
4246 
4247 
4248  def __cmp__(self, arg2):
4249  """__cmp__(Sphere5D self, Sphere5D arg2) -> int"""
4250  return _IMP_algebra.Sphere5D___cmp__(self, arg2)
4251 
4252 
4253  def __eq__(self, arg2):
4254  """__eq__(Sphere5D self, Sphere5D arg2) -> bool"""
4255  return _IMP_algebra.Sphere5D___eq__(self, arg2)
4256 
4257  __swig_destroy__ = _IMP_algebra.delete_Sphere5D
4258  __del__ = lambda self: None
4259 Sphere5D_swigregister = _IMP_algebra.Sphere5D_swigregister
4260 Sphere5D_swigregister(Sphere5D)
4261 
4262 class Sphere6D(_GeometricPrimitive6D):
4263  """Proxy of C++ IMP::algebra::SphereD<(6)> class."""
4264 
4265  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4266 
4267  def __init__(self, *args):
4268  """
4269  __init__(IMP::algebra::SphereD<(6)> self) -> Sphere6D
4270  __init__(IMP::algebra::SphereD<(6)> self, Vector6D center, double radius) -> Sphere6D
4271  """
4272  this = _IMP_algebra.new_Sphere6D(*args)
4273  try:
4274  self.this.append(this)
4275  except __builtin__.Exception:
4276  self.this = this
4277 
4278  def get_radius(self):
4279  """get_radius(Sphere6D self) -> double"""
4280  return _IMP_algebra.Sphere6D_get_radius(self)
4281 
4282 
4283  def get_center(self):
4284  """get_center(Sphere6D self) -> Vector6D"""
4285  return _IMP_algebra.Sphere6D_get_center(self)
4286 
4287 
4288  def get_contains(self, *args):
4289  """
4290  get_contains(Sphere6D self, Sphere6D o) -> bool
4291  get_contains(Sphere6D self, Vector6D p) -> bool
4292  """
4293  return _IMP_algebra.Sphere6D_get_contains(self, *args)
4294 
4295 
4296  def show(self, *args):
4297  """
4298  show(Sphere6D self, _ostream out)
4299  show(Sphere6D self)
4300  """
4301  return _IMP_algebra.Sphere6D_show(self, *args)
4302 
4303 
4304  def get_dimension(self):
4305  """get_dimension(Sphere6D self) -> unsigned int"""
4306  return _IMP_algebra.Sphere6D_get_dimension(self)
4307 
4308 
4309  def __str__(self):
4310  """__str__(Sphere6D self) -> std::string"""
4311  return _IMP_algebra.Sphere6D___str__(self)
4312 
4313 
4314  def __repr__(self):
4315  """__repr__(Sphere6D self) -> std::string"""
4316  return _IMP_algebra.Sphere6D___repr__(self)
4317 
4318 
4319  def __cmp__(self, arg2):
4320  """__cmp__(Sphere6D self, Sphere6D arg2) -> int"""
4321  return _IMP_algebra.Sphere6D___cmp__(self, arg2)
4322 
4323 
4324  def __eq__(self, arg2):
4325  """__eq__(Sphere6D self, Sphere6D arg2) -> bool"""
4326  return _IMP_algebra.Sphere6D___eq__(self, arg2)
4327 
4328  __swig_destroy__ = _IMP_algebra.delete_Sphere6D
4329  __del__ = lambda self: None
4330 Sphere6D_swigregister = _IMP_algebra.Sphere6D_swigregister
4331 Sphere6D_swigregister(Sphere6D)
4332 
4333 class SphereKD(_GeometricPrimitiveKD):
4334  """Proxy of C++ IMP::algebra::SphereD<(-1)> class."""
4335 
4336  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4337 
4338  def __init__(self, *args):
4339  """
4340  __init__(IMP::algebra::SphereD<(-1)> self) -> SphereKD
4341  __init__(IMP::algebra::SphereD<(-1)> self, VectorKD center, double radius) -> SphereKD
4342  """
4343  this = _IMP_algebra.new_SphereKD(*args)
4344  try:
4345  self.this.append(this)
4346  except __builtin__.Exception:
4347  self.this = this
4348 
4349  def get_radius(self):
4350  """get_radius(SphereKD self) -> double"""
4351  return _IMP_algebra.SphereKD_get_radius(self)
4352 
4353 
4354  def get_center(self):
4355  """get_center(SphereKD self) -> VectorKD"""
4356  return _IMP_algebra.SphereKD_get_center(self)
4357 
4358 
4359  def get_contains(self, *args):
4360  """
4361  get_contains(SphereKD self, SphereKD o) -> bool
4362  get_contains(SphereKD self, VectorKD p) -> bool
4363  """
4364  return _IMP_algebra.SphereKD_get_contains(self, *args)
4365 
4366 
4367  def show(self, *args):
4368  """
4369  show(SphereKD self, _ostream out)
4370  show(SphereKD self)
4371  """
4372  return _IMP_algebra.SphereKD_show(self, *args)
4373 
4374 
4375  def get_dimension(self):
4376  """get_dimension(SphereKD self) -> unsigned int"""
4377  return _IMP_algebra.SphereKD_get_dimension(self)
4378 
4379 
4380  def __str__(self):
4381  """__str__(SphereKD self) -> std::string"""
4382  return _IMP_algebra.SphereKD___str__(self)
4383 
4384 
4385  def __repr__(self):
4386  """__repr__(SphereKD self) -> std::string"""
4387  return _IMP_algebra.SphereKD___repr__(self)
4388 
4389 
4390  def __cmp__(self, arg2):
4391  """__cmp__(SphereKD self, SphereKD arg2) -> int"""
4392  return _IMP_algebra.SphereKD___cmp__(self, arg2)
4393 
4394 
4395  def __eq__(self, arg2):
4396  """__eq__(SphereKD self, SphereKD arg2) -> bool"""
4397  return _IMP_algebra.SphereKD___eq__(self, arg2)
4398 
4399  __swig_destroy__ = _IMP_algebra.delete_SphereKD
4400  __del__ = lambda self: None
4401 SphereKD_swigregister = _IMP_algebra.SphereKD_swigregister
4402 SphereKD_swigregister(SphereKD)
4403 
4404 class ReferenceFrame3D(object):
4405  """Proxy of C++ IMP::algebra::ReferenceFrame3D class."""
4406 
4407  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4408 
4409  def __init__(self, *args):
4410  """
4411  __init__(IMP::algebra::ReferenceFrame3D self) -> ReferenceFrame3D
4412  __init__(IMP::algebra::ReferenceFrame3D self, Transformation3D tr) -> ReferenceFrame3D
4413  """
4414  this = _IMP_algebra.new_ReferenceFrame3D(*args)
4415  try:
4416  self.this.append(this)
4417  except __builtin__.Exception:
4418  self.this = this
4419  __swig_destroy__ = _IMP_algebra.delete_ReferenceFrame3D
4420  __del__ = lambda self: None
4421 
4422  def get_transformation_to(self):
4423  """get_transformation_to(ReferenceFrame3D self) -> Transformation3D"""
4424  return _IMP_algebra.ReferenceFrame3D_get_transformation_to(self)
4425 
4426 
4427  def get_transformation_from(self):
4428  """get_transformation_from(ReferenceFrame3D self) -> Transformation3D"""
4429  return _IMP_algebra.ReferenceFrame3D_get_transformation_from(self)
4430 
4431 
4432  def get_global_coordinates(self, v):
4433  """get_global_coordinates(ReferenceFrame3D self, Vector3D v) -> Vector3D"""
4434  return _IMP_algebra.ReferenceFrame3D_get_global_coordinates(self, v)
4435 
4436 
4437  def get_local_coordinates(self, v):
4438  """get_local_coordinates(ReferenceFrame3D self, Vector3D v) -> Vector3D"""
4439  return _IMP_algebra.ReferenceFrame3D_get_local_coordinates(self, v)
4440 
4441 
4442  def get_global_reference_frame(self, v):
4443  """get_global_reference_frame(ReferenceFrame3D self, ReferenceFrame3D v) -> ReferenceFrame3D"""
4444  return _IMP_algebra.ReferenceFrame3D_get_global_reference_frame(self, v)
4445 
4446 
4447  def get_local_reference_frame(self, v):
4448  """get_local_reference_frame(ReferenceFrame3D self, ReferenceFrame3D v) -> ReferenceFrame3D"""
4449  return _IMP_algebra.ReferenceFrame3D_get_local_reference_frame(self, v)
4450 
4451 
4452  def show(self, *args):
4453  """
4454  show(ReferenceFrame3D self, _ostream out)
4455  show(ReferenceFrame3D self)
4456  """
4457  return _IMP_algebra.ReferenceFrame3D_show(self, *args)
4458 
4459 
4460  def __str__(self):
4461  """__str__(ReferenceFrame3D self) -> std::string"""
4462  return _IMP_algebra.ReferenceFrame3D___str__(self)
4463 
4464 
4465  def __repr__(self):
4466  """__repr__(ReferenceFrame3D self) -> std::string"""
4467  return _IMP_algebra.ReferenceFrame3D___repr__(self)
4468 
4469 ReferenceFrame3D_swigregister = _IMP_algebra.ReferenceFrame3D_swigregister
4470 ReferenceFrame3D_swigregister(ReferenceFrame3D)
4471 
4472 
4473 def get_transformed(*args):
4474  """
4475  get_transformed(BoundingBox3D bb, Transformation3D tr) -> BoundingBox3D
4476  get_transformed(Line3D l, Transformation3D tr) -> Line3D
4477  get_transformed(ReferenceFrame3D rf, Transformation3D tr) -> ReferenceFrame3D
4478  """
4479  return _IMP_algebra.get_transformed(*args)
4480 
4481 def get_transformation_from_first_to_second(a, b):
4482  """get_transformation_from_first_to_second(ReferenceFrame3D a, ReferenceFrame3D b) -> Transformation3D"""
4483  return _IMP_algebra.get_transformation_from_first_to_second(a, b)
4484 class SphericalVector3D(_GeometricPrimitive3D):
4485  """Proxy of C++ IMP::algebra::SphericalVector3D class."""
4486 
4487  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4488 
4489  def __init__(self, *args):
4490  """
4491  __init__(IMP::algebra::SphericalVector3D self) -> SphericalVector3D
4492  __init__(IMP::algebra::SphericalVector3D self, Vector3D v) -> SphericalVector3D
4493  __init__(IMP::algebra::SphericalVector3D self, double r, double theta, double psi, bool apply_check=True) -> SphericalVector3D
4494  __init__(IMP::algebra::SphericalVector3D self, double r, double theta, double psi) -> SphericalVector3D
4495  """
4496  this = _IMP_algebra.new_SphericalVector3D(*args)
4497  try:
4498  self.this.append(this)
4499  except __builtin__.Exception:
4500  self.this = this
4501 
4502  def get_cartesian_coordinates(self):
4503  """get_cartesian_coordinates(SphericalVector3D self) -> Vector3D"""
4504  return _IMP_algebra.SphericalVector3D_get_cartesian_coordinates(self)
4505 
4506 
4507  def show(self, *args):
4508  """
4509  show(SphericalVector3D self, _ostream out)
4510  show(SphericalVector3D self)
4511  """
4512  return _IMP_algebra.SphericalVector3D_show(self, *args)
4513 
4514 
4515  def __str__(self):
4516  """__str__(SphericalVector3D self) -> std::string"""
4517  return _IMP_algebra.SphericalVector3D___str__(self)
4518 
4519 
4520  def __repr__(self):
4521  """__repr__(SphericalVector3D self) -> std::string"""
4522  return _IMP_algebra.SphericalVector3D___repr__(self)
4523 
4524 
4525  def __getitem__(self, index):
4526  """__getitem__(SphericalVector3D self, unsigned int index) -> double"""
4527  return _IMP_algebra.SphericalVector3D___getitem__(self, index)
4528 
4529 
4530  def __setitem__(self, index, val):
4531  """__setitem__(SphericalVector3D self, unsigned int index, double val)"""
4532  return _IMP_algebra.SphericalVector3D___setitem__(self, index, val)
4533 
4534  __swig_destroy__ = _IMP_algebra.delete_SphericalVector3D
4535  __del__ = lambda self: None
4536 SphericalVector3D_swigregister = _IMP_algebra.SphericalVector3D_swigregister
4537 SphericalVector3D_swigregister(SphericalVector3D)
4538 
4539 
4540 def get_alignments_from_first_to_second(pca1, pca2):
4541  """get_alignments_from_first_to_second(PrincipalComponentAnalysis3D pca1, PrincipalComponentAnalysis3D pca2) -> IMP::algebra::Transformation3Ds"""
4542  return _IMP_algebra.get_alignments_from_first_to_second(pca1, pca2)
4543 class Line3D(_GeometricPrimitive3D):
4544  """Proxy of C++ IMP::algebra::Line3D class."""
4545 
4546  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4547 
4548  def __init__(self, *args):
4549  """
4550  __init__(IMP::algebra::Line3D self) -> Line3D
4551  __init__(IMP::algebra::Line3D self, Vector3D direction, Vector3D point_on_line) -> Line3D
4552  __init__(IMP::algebra::Line3D self, Segment3D s) -> Line3D
4553  """
4554  this = _IMP_algebra.new_Line3D(*args)
4555  try:
4556  self.this.append(this)
4557  except __builtin__.Exception:
4558  self.this = this
4559 
4560  def get_direction(self):
4561  """get_direction(Line3D self) -> Vector3D"""
4562  return _IMP_algebra.Line3D_get_direction(self)
4563 
4564 
4565  def get_point_on_line(self):
4566  """get_point_on_line(Line3D self) -> Vector3D"""
4567  return _IMP_algebra.Line3D_get_point_on_line(self)
4568 
4569 
4570  def get_moment(self, *args):
4571  """
4572  get_moment(Line3D self) -> Vector3D
4573  get_moment(Line3D self, Vector3D v) -> Vector3D
4574  """
4575  return _IMP_algebra.Line3D_get_moment(self, *args)
4576 
4577 
4578  def get_reciprocal_product(self, l):
4579  """get_reciprocal_product(Line3D self, Line3D l) -> double"""
4580  return _IMP_algebra.Line3D_get_reciprocal_product(self, l)
4581 
4582 
4583  def get_opposite(self):
4584  """get_opposite(Line3D self) -> Line3D"""
4585  return _IMP_algebra.Line3D_get_opposite(self)
4586 
4587 
4588  def get_segment_starting_at(self, v, d):
4589  """get_segment_starting_at(Line3D self, Vector3D v, double d) -> Segment3D"""
4590  return _IMP_algebra.Line3D_get_segment_starting_at(self, v, d)
4591 
4592 
4593  def show(self, *args):
4594  """
4595  show(Line3D self, _ostream out)
4596  show(Line3D self)
4597  """
4598  return _IMP_algebra.Line3D_show(self, *args)
4599 
4600 
4601  def __str__(self):
4602  """__str__(Line3D self) -> std::string"""
4603  return _IMP_algebra.Line3D___str__(self)
4604 
4605 
4606  def __repr__(self):
4607  """__repr__(Line3D self) -> std::string"""
4608  return _IMP_algebra.Line3D___repr__(self)
4609 
4610  __swig_destroy__ = _IMP_algebra.delete_Line3D
4611  __del__ = lambda self: None
4612 Line3D_swigregister = _IMP_algebra.Line3D_swigregister
4613 Line3D_swigregister(Line3D)
4614 
4615 
4616 def get_line_3d_geometry(g):
4617  """get_line_3d_geometry(Line3D g) -> Line3D"""
4618  return _IMP_algebra.get_line_3d_geometry(g)
4619 
4620 def get_projected(*args):
4621  """
4622  get_projected(Line3D l, Vector3D p) -> Vector3D
4623  get_projected(Line3D l, Segment3D s) -> Segment3D
4624  """
4625  return _IMP_algebra.get_projected(*args)
4626 
4627 def get_angle(a, b):
4628  """get_angle(Line3D a, Line3D b) -> double"""
4629  return _IMP_algebra.get_angle(a, b)
4630 
4632  """get_segment_connecting_first_to_second(Line3D a, Line3D b) -> Segment3D"""
4633  return _IMP_algebra.get_segment_connecting_first_to_second(a, b)
4634 class Segment3D(_GeometricPrimitive3D):
4635  """Proxy of C++ IMP::algebra::Segment3D class."""
4636 
4637  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4638 
4639  def __init__(self, *args):
4640  """
4641  __init__(IMP::algebra::Segment3D self) -> Segment3D
4642  __init__(IMP::algebra::Segment3D self, Vector3D start, Vector3D end) -> Segment3D
4643  """
4644  this = _IMP_algebra.new_Segment3D(*args)
4645  try:
4646  self.this.append(this)
4647  except __builtin__.Exception:
4648  self.this = this
4649 
4650  def get_point(self, i):
4651  if i < 0 or i >= 2:
4652  raise IMP.UsageException("Invalid point index")
4653  return _IMP_algebra.Segment3D_get_point(self, i)
4654 
4655 
4656 
4657  def get_middle_point(self):
4658  """get_middle_point(Segment3D self) -> Vector3D"""
4659  return _IMP_algebra.Segment3D_get_middle_point(self)
4660 
4661 
4662  def get_direction(self):
4663  """get_direction(Segment3D self) -> Vector3D"""
4664  return _IMP_algebra.Segment3D_get_direction(self)
4665 
4666 
4667  def get_length(self):
4668  """get_length(Segment3D self) -> double"""
4669  return _IMP_algebra.Segment3D_get_length(self)
4670 
4671 
4672  def show(self, *args):
4673  """
4674  show(Segment3D self, _ostream out)
4675  show(Segment3D self)
4676  """
4677  return _IMP_algebra.Segment3D_show(self, *args)
4678 
4679 
4680  def __str__(self):
4681  """__str__(Segment3D self) -> std::string"""
4682  return _IMP_algebra.Segment3D___str__(self)
4683 
4684 
4685  def __repr__(self):
4686  """__repr__(Segment3D self) -> std::string"""
4687  return _IMP_algebra.Segment3D___repr__(self)
4688 
4689  __swig_destroy__ = _IMP_algebra.delete_Segment3D
4690  __del__ = lambda self: None
4691 Segment3D_swigregister = _IMP_algebra.Segment3D_swigregister
4692 Segment3D_swigregister(Segment3D)
4693 
4694 
4695 def get_segment_3d_geometry(g):
4696  """get_segment_3d_geometry(Segment3D g) -> Segment3D"""
4697  return _IMP_algebra.get_segment_3d_geometry(g)
4698 
4700  """get_relative_projection_on_segment(Segment3D s, Vector3D p) -> double"""
4701  return _IMP_algebra.get_relative_projection_on_segment(s, p)
4702 class Triangle3D(_GeometricPrimitive3D):
4703  """Proxy of C++ IMP::algebra::Triangle3D class."""
4704 
4705  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4706 
4707  def __init__(self, *args):
4708  """
4709  __init__(IMP::algebra::Triangle3D self) -> Triangle3D
4710  __init__(IMP::algebra::Triangle3D self, Vector3D p1, Vector3D p2, Vector3D p3) -> Triangle3D
4711  """
4712  this = _IMP_algebra.new_Triangle3D(*args)
4713  try:
4714  self.this.append(this)
4715  except __builtin__.Exception:
4716  self.this = this
4717 
4718  def get_point(self, i):
4719  """get_point(Triangle3D self, unsigned int i) -> Vector3D"""
4720  return _IMP_algebra.Triangle3D_get_point(self, i)
4721 
4722 
4723  def show(self, *args):
4724  """
4725  show(Triangle3D self, _ostream out)
4726  show(Triangle3D self)
4727  """
4728  return _IMP_algebra.Triangle3D_show(self, *args)
4729 
4730 
4731  def get_edge_lengths(self):
4732  """get_edge_lengths(Triangle3D self) -> IMP::Floats"""
4733  return _IMP_algebra.Triangle3D_get_edge_lengths(self)
4734 
4735 
4736  def __str__(self):
4737  """__str__(Triangle3D self) -> std::string"""
4738  return _IMP_algebra.Triangle3D___str__(self)
4739 
4740 
4741  def __repr__(self):
4742  """__repr__(Triangle3D self) -> std::string"""
4743  return _IMP_algebra.Triangle3D___repr__(self)
4744 
4745  __swig_destroy__ = _IMP_algebra.delete_Triangle3D
4746  __del__ = lambda self: None
4747 Triangle3D_swigregister = _IMP_algebra.Triangle3D_swigregister
4748 Triangle3D_swigregister(Triangle3D)
4749 
4750 
4751 def get_largest_triangle(points):
4752  """get_largest_triangle(IMP::algebra::Vector3Ds const & points) -> Triangle3D"""
4753  return _IMP_algebra.get_largest_triangle(points)
4754 
4755 def get_transformation_from_first_triangle_to_second(first_tri, second_tri):
4756  """get_transformation_from_first_triangle_to_second(Triangle3D first_tri, Triangle3D second_tri) -> Transformation3D"""
4757  return _IMP_algebra.get_transformation_from_first_triangle_to_second(first_tri, second_tri)
4758 
4759 def get_are_colinear(p1, p2, p3):
4760  """get_are_colinear(Vector3D p1, Vector3D p2, Vector3D p3) -> bool"""
4761  return _IMP_algebra.get_are_colinear(p1, p2, p3)
4762 class LinearFit2D(_GeometricPrimitive2D):
4763  """Proxy of C++ IMP::algebra::LinearFit2D class."""
4764 
4765  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4766 
4767  def __init__(self, *args):
4768  """
4769  __init__(IMP::algebra::LinearFit2D self, IMP::algebra::Vector2Ds const & data, IMP::Floats const & error_bars) -> LinearFit2D
4770  __init__(IMP::algebra::LinearFit2D self, IMP::algebra::Vector2Ds const & data) -> LinearFit2D
4771  """
4772  this = _IMP_algebra.new_LinearFit2D(*args)
4773  try:
4774  self.this.append(this)
4775  except __builtin__.Exception:
4776  self.this = this
4777 
4778  def get_fit_error(self):
4779  """get_fit_error(LinearFit2D self) -> double"""
4780  return _IMP_algebra.LinearFit2D_get_fit_error(self)
4781 
4782 
4783  def get_a(self):
4784  """get_a(LinearFit2D self) -> double"""
4785  return _IMP_algebra.LinearFit2D_get_a(self)
4786 
4787 
4788  def get_b(self):
4789  """get_b(LinearFit2D self) -> double"""
4790  return _IMP_algebra.LinearFit2D_get_b(self)
4791 
4792 
4793  def show(self, *args):
4794  """
4795  show(LinearFit2D self, _ostream out)
4796  show(LinearFit2D self)
4797  """
4798  return _IMP_algebra.LinearFit2D_show(self, *args)
4799 
4800 
4801  def __str__(self):
4802  """__str__(LinearFit2D self) -> std::string"""
4803  return _IMP_algebra.LinearFit2D___str__(self)
4804 
4805 
4806  def __repr__(self):
4807  """__repr__(LinearFit2D self) -> std::string"""
4808  return _IMP_algebra.LinearFit2D___repr__(self)
4809 
4810  __swig_destroy__ = _IMP_algebra.delete_LinearFit2D
4811  __del__ = lambda self: None
4812 LinearFit2D_swigregister = _IMP_algebra.LinearFit2D_swigregister
4813 LinearFit2D_swigregister(LinearFit2D)
4814 
4815 class ParabolicFit2D(_GeometricPrimitive2D):
4816  """Proxy of C++ IMP::algebra::ParabolicFit2D class."""
4817 
4818  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4819 
4820  def __init__(self, data):
4821  """__init__(IMP::algebra::ParabolicFit2D self, IMP::algebra::Vector2Ds const & data) -> ParabolicFit2D"""
4822  this = _IMP_algebra.new_ParabolicFit2D(data)
4823  try:
4824  self.this.append(this)
4825  except __builtin__.Exception:
4826  self.this = this
4827 
4828  def get_fit_error(self):
4829  """get_fit_error(ParabolicFit2D self) -> double"""
4830  return _IMP_algebra.ParabolicFit2D_get_fit_error(self)
4831 
4832 
4833  def get_a(self):
4834  """get_a(ParabolicFit2D self) -> double"""
4835  return _IMP_algebra.ParabolicFit2D_get_a(self)
4836 
4837 
4838  def get_b(self):
4839  """get_b(ParabolicFit2D self) -> double"""
4840  return _IMP_algebra.ParabolicFit2D_get_b(self)
4841 
4842 
4843  def get_c(self):
4844  """get_c(ParabolicFit2D self) -> double"""
4845  return _IMP_algebra.ParabolicFit2D_get_c(self)
4846 
4847 
4848  def show(self, *args):
4849  """
4850  show(ParabolicFit2D self, _ostream out)
4851  show(ParabolicFit2D self)
4852  """
4853  return _IMP_algebra.ParabolicFit2D_show(self, *args)
4854 
4855 
4856  def __str__(self):
4857  """__str__(ParabolicFit2D self) -> std::string"""
4858  return _IMP_algebra.ParabolicFit2D___str__(self)
4859 
4860 
4861  def __repr__(self):
4862  """__repr__(ParabolicFit2D self) -> std::string"""
4863  return _IMP_algebra.ParabolicFit2D___repr__(self)
4864 
4865  __swig_destroy__ = _IMP_algebra.delete_ParabolicFit2D
4866  __del__ = lambda self: None
4867 ParabolicFit2D_swigregister = _IMP_algebra.ParabolicFit2D_swigregister
4868 ParabolicFit2D_swigregister(ParabolicFit2D)
4869 
4870 class Plane3D(_GeometricPrimitive3D):
4871  """Proxy of C++ IMP::algebra::Plane3D class."""
4872 
4873  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4874 
4875  def __init__(self, *args):
4876  """
4877  __init__(IMP::algebra::Plane3D self) -> Plane3D
4878  __init__(IMP::algebra::Plane3D self, Vector3D point_on_plane, Vector3D normal_to_plane) -> Plane3D
4879  __init__(IMP::algebra::Plane3D self, double distance_to_plane, Vector3D normal_to_plane) -> Plane3D
4880  """
4881  this = _IMP_algebra.new_Plane3D(*args)
4882  try:
4883  self.this.append(this)
4884  except __builtin__.Exception:
4885  self.this = this
4886 
4887  def get_point_on_plane(self):
4888  """get_point_on_plane(Plane3D self) -> Vector3D"""
4889  return _IMP_algebra.Plane3D_get_point_on_plane(self)
4890 
4891 
4892  def get_normal(self):
4893  """get_normal(Plane3D self) -> Vector3D"""
4894  return _IMP_algebra.Plane3D_get_normal(self)
4895 
4896 
4897  def get_projected(self, p):
4898  """get_projected(Plane3D self, Vector3D p) -> Vector3D"""
4899  return _IMP_algebra.Plane3D_get_projected(self, p)
4900 
4901 
4902  def get_is_above(self, p):
4903  """get_is_above(Plane3D self, Vector3D p) -> bool"""
4904  return _IMP_algebra.Plane3D_get_is_above(self, p)
4905 
4906 
4907  def get_is_below(self, p):
4908  """get_is_below(Plane3D self, Vector3D p) -> bool"""
4909  return _IMP_algebra.Plane3D_get_is_below(self, p)
4910 
4911 
4912  def get_height(self, p):
4913  """get_height(Plane3D self, Vector3D p) -> double"""
4914  return _IMP_algebra.Plane3D_get_height(self, p)
4915 
4916 
4917  def show(self, *args):
4918  """
4919  show(Plane3D self, _ostream out)
4920  show(Plane3D self)
4921  """
4922  return _IMP_algebra.Plane3D_show(self, *args)
4923 
4924 
4925  def get_opposite(self):
4926  """get_opposite(Plane3D self) -> Plane3D"""
4927  return _IMP_algebra.Plane3D_get_opposite(self)
4928 
4929 
4930  def get_distance_from_origin(self):
4931  """get_distance_from_origin(Plane3D self) -> double"""
4932  return _IMP_algebra.Plane3D_get_distance_from_origin(self)
4933 
4934 
4935  def __str__(self):
4936  """__str__(Plane3D self) -> std::string"""
4937  return _IMP_algebra.Plane3D___str__(self)
4938 
4939 
4940  def __repr__(self):
4941  """__repr__(Plane3D self) -> std::string"""
4942  return _IMP_algebra.Plane3D___repr__(self)
4943 
4944  __swig_destroy__ = _IMP_algebra.delete_Plane3D
4945  __del__ = lambda self: None
4946 Plane3D_swigregister = _IMP_algebra.Plane3D_swigregister
4947 Plane3D_swigregister(Plane3D)
4948 
4949 
4950 def get_reflected(pln, p):
4951  """get_reflected(Plane3D pln, Vector3D p) -> Vector3D"""
4952  return _IMP_algebra.get_reflected(pln, p)
4953 
4954 def get_plane_3d_geometry(g):
4955  """get_plane_3d_geometry(Plane3D g) -> Plane3D"""
4956  return _IMP_algebra.get_plane_3d_geometry(g)
4957 class Reflection3D(_GeometricPrimitive3D):
4958  """Proxy of C++ IMP::algebra::Reflection3D class."""
4959 
4960  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4961 
4962  def __init__(self, *args):
4963  """
4964  __init__(IMP::algebra::Reflection3D self) -> Reflection3D
4965  __init__(IMP::algebra::Reflection3D self, Plane3D pl) -> Reflection3D
4966  """
4967  this = _IMP_algebra.new_Reflection3D(*args)
4968  try:
4969  self.this.append(this)
4970  except __builtin__.Exception:
4971  self.this = this
4972 
4973  def get_reflected(self, v):
4974  """get_reflected(Reflection3D self, Vector3D v) -> Vector3D"""
4975  return _IMP_algebra.Reflection3D_get_reflected(self, v)
4976 
4977 
4978  def show(self, *args):
4979  """
4980  show(Reflection3D self, _ostream out)
4981  show(Reflection3D self)
4982  """
4983  return _IMP_algebra.Reflection3D_show(self, *args)
4984 
4985 
4986  def __str__(self):
4987  """__str__(Reflection3D self) -> std::string"""
4988  return _IMP_algebra.Reflection3D___str__(self)
4989 
4990 
4991  def __repr__(self):
4992  """__repr__(Reflection3D self) -> std::string"""
4993  return _IMP_algebra.Reflection3D___repr__(self)
4994 
4995  __swig_destroy__ = _IMP_algebra.delete_Reflection3D
4996  __del__ = lambda self: None
4997 Reflection3D_swigregister = _IMP_algebra.Reflection3D_swigregister
4998 Reflection3D_swigregister(Reflection3D)
4999 
5000 class Cylinder3D(_GeometricPrimitive3D):
5001  """Proxy of C++ IMP::algebra::Cylinder3D class."""
5002 
5003  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5004 
5005  def __init__(self, *args):
5006  """
5007  __init__(IMP::algebra::Cylinder3D self) -> Cylinder3D
5008  __init__(IMP::algebra::Cylinder3D self, Segment3D s, double radius) -> Cylinder3D
5009  """
5010  this = _IMP_algebra.new_Cylinder3D(*args)
5011  try:
5012  self.this.append(this)
5013  except __builtin__.Exception:
5014  self.this = this
5015 
5016  def get_radius(self):
5017  """get_radius(Cylinder3D self) -> double"""
5018  return _IMP_algebra.Cylinder3D_get_radius(self)
5019 
5020 
5021  def get_segment(self):
5022  """get_segment(Cylinder3D self) -> Segment3D"""
5023  return _IMP_algebra.Cylinder3D_get_segment(self)
5024 
5025 
5026  def get_surface_point_at(self, relative_height, angle):
5027  """get_surface_point_at(Cylinder3D self, double relative_height, double angle) -> Vector3D"""
5028  return _IMP_algebra.Cylinder3D_get_surface_point_at(self, relative_height, angle)
5029 
5030 
5031  def get_inner_point_at(self, relative_height, relative_radius, angle):
5032  """get_inner_point_at(Cylinder3D self, double relative_height, double relative_radius, double angle) -> Vector3D"""
5033  return _IMP_algebra.Cylinder3D_get_inner_point_at(self, relative_height, relative_radius, angle)
5034 
5035 
5036  def show(self, *args):
5037  """
5038  show(Cylinder3D self, _ostream out)
5039  show(Cylinder3D self)
5040  """
5041  return _IMP_algebra.Cylinder3D_show(self, *args)
5042 
5043 
5044  def __str__(self):
5045  """__str__(Cylinder3D self) -> std::string"""
5046  return _IMP_algebra.Cylinder3D___str__(self)
5047 
5048 
5049  def __repr__(self):
5050  """__repr__(Cylinder3D self) -> std::string"""
5051  return _IMP_algebra.Cylinder3D___repr__(self)
5052 
5053  __swig_destroy__ = _IMP_algebra.delete_Cylinder3D
5054  __del__ = lambda self: None
5055 Cylinder3D_swigregister = _IMP_algebra.Cylinder3D_swigregister
5056 Cylinder3D_swigregister(Cylinder3D)
5057 
5058 
5059 def get_cylinder_3d_geometry(g):
5060  """get_cylinder_3d_geometry(Cylinder3D g) -> Cylinder3D"""
5061  return _IMP_algebra.get_cylinder_3d_geometry(g)
5062 class Ellipsoid3D(_GeometricPrimitive3D):
5063  """Proxy of C++ IMP::algebra::Ellipsoid3D class."""
5064 
5065  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5066 
5067  def __init__(self, *args):
5068  """
5069  __init__(IMP::algebra::Ellipsoid3D self) -> Ellipsoid3D
5070  __init__(IMP::algebra::Ellipsoid3D self, ReferenceFrame3D rf, Vector3D radii) -> Ellipsoid3D
5071  __init__(IMP::algebra::Ellipsoid3D self, Vector3D center, double radius_x, double radius_y, double radius_z, Rotation3D rot) -> Ellipsoid3D
5072  """
5073  this = _IMP_algebra.new_Ellipsoid3D(*args)
5074  try:
5075  self.this.append(this)
5076  except __builtin__.Exception:
5077  self.this = this
5078 
5079  def get_radii(self):
5080  """get_radii(Ellipsoid3D self) -> Vector3D"""
5081  return _IMP_algebra.Ellipsoid3D_get_radii(self)
5082 
5083 
5084  def get_reference_frame(self):
5085  """get_reference_frame(Ellipsoid3D self) -> ReferenceFrame3D"""
5086  return _IMP_algebra.Ellipsoid3D_get_reference_frame(self)
5087 
5088 
5089  def show(self, *args):
5090  """
5091  show(Ellipsoid3D self, _ostream out)
5092  show(Ellipsoid3D self)
5093  """
5094  return _IMP_algebra.Ellipsoid3D_show(self, *args)
5095 
5096 
5097  def __str__(self):
5098  """__str__(Ellipsoid3D self) -> std::string"""
5099  return _IMP_algebra.Ellipsoid3D___str__(self)
5100 
5101 
5102  def __repr__(self):
5103  """__repr__(Ellipsoid3D self) -> std::string"""
5104  return _IMP_algebra.Ellipsoid3D___repr__(self)
5105 
5106  __swig_destroy__ = _IMP_algebra.delete_Ellipsoid3D
5107  __del__ = lambda self: None
5108 Ellipsoid3D_swigregister = _IMP_algebra.Ellipsoid3D_swigregister
5109 Ellipsoid3D_swigregister(Ellipsoid3D)
5110 
5111 
5112 def get_ellipsoid_3d_geometry(g):
5113  """get_ellipsoid_3d_geometry(Ellipsoid3D g) -> Ellipsoid3D"""
5114  return _IMP_algebra.get_ellipsoid_3d_geometry(g)
5115 class ConnollySurfacePoint(object):
5116  """Proxy of C++ IMP::algebra::ConnollySurfacePoint class."""
5117 
5118  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5119 
5120  def __init__(self, a0, a1, a2, sp, a, n):
5121  """__init__(IMP::algebra::ConnollySurfacePoint self, int a0, int a1, int a2, Vector3D sp, float a, Vector3D n) -> ConnollySurfacePoint"""
5122  this = _IMP_algebra.new_ConnollySurfacePoint(a0, a1, a2, sp, a, n)
5123  try:
5124  self.this.append(this)
5125  except __builtin__.Exception:
5126  self.this = this
5127 
5128  def get_atom(self, i):
5129  """get_atom(ConnollySurfacePoint self, unsigned int i) -> int"""
5130  return _IMP_algebra.ConnollySurfacePoint_get_atom(self, i)
5131 
5132 
5133  def get_surface_point(self):
5134  """get_surface_point(ConnollySurfacePoint self) -> Vector3D"""
5135  return _IMP_algebra.ConnollySurfacePoint_get_surface_point(self)
5136 
5137 
5138  def get_area(self):
5139  """get_area(ConnollySurfacePoint self) -> double"""
5140  return _IMP_algebra.ConnollySurfacePoint_get_area(self)
5141 
5142 
5143  def get_normal(self):
5144  """get_normal(ConnollySurfacePoint self) -> Vector3D"""
5145  return _IMP_algebra.ConnollySurfacePoint_get_normal(self)
5146 
5147 
5148  def show(self, *args):
5149  """
5150  show(ConnollySurfacePoint self, _ostream out)
5151  show(ConnollySurfacePoint self)
5152  """
5153  return _IMP_algebra.ConnollySurfacePoint_show(self, *args)
5154 
5155 
5156  def __str__(self):
5157  """__str__(ConnollySurfacePoint self) -> std::string"""
5158  return _IMP_algebra.ConnollySurfacePoint___str__(self)
5159 
5160 
5161  def __repr__(self):
5162  """__repr__(ConnollySurfacePoint self) -> std::string"""
5163  return _IMP_algebra.ConnollySurfacePoint___repr__(self)
5164 
5165  __swig_destroy__ = _IMP_algebra.delete_ConnollySurfacePoint
5166  __del__ = lambda self: None
5167 ConnollySurfacePoint_swigregister = _IMP_algebra.ConnollySurfacePoint_swigregister
5168 ConnollySurfacePoint_swigregister(ConnollySurfacePoint)
5169 
5170 
5171 def get_connolly_surface(spheres, density, probe_radius):
5172  """get_connolly_surface(IMP::algebra::Sphere3Ds const & spheres, double density, double probe_radius) -> IMP::algebra::ConnollySurfacePoints"""
5173  return _IMP_algebra.get_connolly_surface(spheres, density, probe_radius)
5174 class LogEmbedding3D(object):
5175  """Proxy of C++ IMP::algebra::LogEmbeddingD<(3)> class."""
5176 
5177  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5178 
5179  def __init__(self, *args):
5180  """
5181  __init__(IMP::algebra::LogEmbeddingD<(3)> self, Vector3D origin, Vector3D cell, Vector3D base) -> LogEmbedding3D
5182  __init__(IMP::algebra::LogEmbeddingD<(3)> self, BoundingBox3D bb, Vector3D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding3D
5183  __init__(IMP::algebra::LogEmbeddingD<(3)> self, BoundingBox3D bb, Vector3D bases, IMP::Ints const & counts) -> LogEmbedding3D
5184  __init__(IMP::algebra::LogEmbeddingD<(3)> self, Vector3D arg2, Vector3D arg3) -> LogEmbedding3D
5185  __init__(IMP::algebra::LogEmbeddingD<(3)> self) -> LogEmbedding3D
5186  """
5187  this = _IMP_algebra.new_LogEmbedding3D(*args)
5188  try:
5189  self.this.append(this)
5190  except __builtin__.Exception:
5191  self.this = this
5192 
5193  def set_origin(self, o):
5194  """set_origin(LogEmbedding3D self, Vector3D o)"""
5195  return _IMP_algebra.LogEmbedding3D_set_origin(self, o)
5196 
5197 
5198  def get_origin(self):
5199  """get_origin(LogEmbedding3D self) -> Vector3D"""
5200  return _IMP_algebra.LogEmbedding3D_get_origin(self)
5201 
5202 
5203  def get_dimension(self):
5204  """get_dimension(LogEmbedding3D self) -> unsigned int"""
5205  return _IMP_algebra.LogEmbedding3D_get_dimension(self)
5206 
5207 
5208  def set_unit_cell(self, *args):
5209  """
5210  set_unit_cell(LogEmbedding3D self, Vector3D o, Vector3D base)
5211  set_unit_cell(LogEmbedding3D self, Vector3D o)
5212  """
5213  return _IMP_algebra.LogEmbedding3D_set_unit_cell(self, *args)
5214 
5215 
5216  def get_unit_cell(self):
5217  """get_unit_cell(LogEmbedding3D self) -> Vector3D"""
5218  return _IMP_algebra.LogEmbedding3D_get_unit_cell(self)
5219 
5220 
5221  def get_extended_index(self, o):
5222  """get_extended_index(LogEmbedding3D self, Vector3D o) -> ExtendedGridIndex3D"""
5223  return _IMP_algebra.LogEmbedding3D_get_extended_index(self, o)
5224 
5225 
5226  def get_index(self, o):
5227  """get_index(LogEmbedding3D self, Vector3D o) -> GridIndex3D"""
5228  return _IMP_algebra.LogEmbedding3D_get_index(self, o)
5229 
5230 
5231  def get_center(self, *args):
5232  """
5233  get_center(LogEmbedding3D self, ExtendedGridIndex3D ei) -> Vector3D
5234  get_center(LogEmbedding3D self, GridIndex3D ei) -> Vector3D
5235  """
5236  return _IMP_algebra.LogEmbedding3D_get_center(self, *args)
5237 
5238 
5239  def get_bounding_box(self, *args):
5240  """
5241  get_bounding_box(LogEmbedding3D self, ExtendedGridIndex3D ei) -> BoundingBox3D
5242  get_bounding_box(LogEmbedding3D self, GridIndex3D ei) -> BoundingBox3D
5243  """
5244  return _IMP_algebra.LogEmbedding3D_get_bounding_box(self, *args)
5245 
5246 
5247  def show(self, *args):
5248  """
5249  show(LogEmbedding3D self, _ostream out)
5250  show(LogEmbedding3D self)
5251  """
5252  return _IMP_algebra.LogEmbedding3D_show(self, *args)
5253 
5254 
5255  def __str__(self):
5256  """__str__(LogEmbedding3D self) -> std::string"""
5257  return _IMP_algebra.LogEmbedding3D___str__(self)
5258 
5259 
5260  def __repr__(self):
5261  """__repr__(LogEmbedding3D self) -> std::string"""
5262  return _IMP_algebra.LogEmbedding3D___repr__(self)
5263 
5264 
5265  def __cmp__(self, arg2):
5266  """__cmp__(LogEmbedding3D self, LogEmbedding3D arg2) -> int"""
5267  return _IMP_algebra.LogEmbedding3D___cmp__(self, arg2)
5268 
5269 
5270  def __eq__(self, arg2):
5271  """__eq__(LogEmbedding3D self, LogEmbedding3D arg2) -> bool"""
5272  return _IMP_algebra.LogEmbedding3D___eq__(self, arg2)
5273 
5274  __swig_destroy__ = _IMP_algebra.delete_LogEmbedding3D
5275  __del__ = lambda self: None
5276 LogEmbedding3D_swigregister = _IMP_algebra.LogEmbedding3D_swigregister
5277 LogEmbedding3D_swigregister(LogEmbedding3D)
5278 
5279 class LogEmbeddingKD(object):
5280  """Proxy of C++ IMP::algebra::LogEmbeddingD<(-1)> class."""
5281 
5282  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5283 
5284  def __init__(self, *args):
5285  """
5286  __init__(IMP::algebra::LogEmbeddingD<(-1)> self, VectorKD origin, VectorKD cell, VectorKD base) -> LogEmbeddingKD
5287  __init__(IMP::algebra::LogEmbeddingD<(-1)> self, BoundingBoxKD bb, VectorKD bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbeddingKD
5288  __init__(IMP::algebra::LogEmbeddingD<(-1)> self, BoundingBoxKD bb, VectorKD bases, IMP::Ints const & counts) -> LogEmbeddingKD
5289  __init__(IMP::algebra::LogEmbeddingD<(-1)> self, VectorKD arg2, VectorKD arg3) -> LogEmbeddingKD
5290  __init__(IMP::algebra::LogEmbeddingD<(-1)> self) -> LogEmbeddingKD
5291  """
5292  this = _IMP_algebra.new_LogEmbeddingKD(*args)
5293  try:
5294  self.this.append(this)
5295  except __builtin__.Exception:
5296  self.this = this
5297 
5298  def set_origin(self, o):
5299  """set_origin(LogEmbeddingKD self, VectorKD o)"""
5300  return _IMP_algebra.LogEmbeddingKD_set_origin(self, o)
5301 
5302 
5303  def get_origin(self):
5304  """get_origin(LogEmbeddingKD self) -> VectorKD"""
5305  return _IMP_algebra.LogEmbeddingKD_get_origin(self)
5306 
5307 
5308  def get_dimension(self):
5309  """get_dimension(LogEmbeddingKD self) -> unsigned int"""
5310  return _IMP_algebra.LogEmbeddingKD_get_dimension(self)
5311 
5312 
5313  def set_unit_cell(self, *args):
5314  """
5315  set_unit_cell(LogEmbeddingKD self, VectorKD o, VectorKD base)
5316  set_unit_cell(LogEmbeddingKD self, VectorKD o)
5317  """
5318  return _IMP_algebra.LogEmbeddingKD_set_unit_cell(self, *args)
5319 
5320 
5321  def get_unit_cell(self):
5322  """get_unit_cell(LogEmbeddingKD self) -> VectorKD"""
5323  return _IMP_algebra.LogEmbeddingKD_get_unit_cell(self)
5324 
5325 
5326  def get_extended_index(self, o):
5327  """get_extended_index(LogEmbeddingKD self, VectorKD o) -> ExtendedGridIndexKD"""
5328  return _IMP_algebra.LogEmbeddingKD_get_extended_index(self, o)
5329 
5330 
5331  def get_index(self, o):
5332  """get_index(LogEmbeddingKD self, VectorKD o) -> GridIndexKD"""
5333  return _IMP_algebra.LogEmbeddingKD_get_index(self, o)
5334 
5335 
5336  def get_center(self, *args):
5337  """
5338  get_center(LogEmbeddingKD self, ExtendedGridIndexKD ei) -> VectorKD
5339  get_center(LogEmbeddingKD self, GridIndexKD ei) -> VectorKD
5340  """
5341  return _IMP_algebra.LogEmbeddingKD_get_center(self, *args)
5342 
5343 
5344  def get_bounding_box(self, *args):
5345  """
5346  get_bounding_box(LogEmbeddingKD self, ExtendedGridIndexKD ei) -> BoundingBoxKD
5347  get_bounding_box(LogEmbeddingKD self, GridIndexKD ei) -> BoundingBoxKD
5348  """
5349  return _IMP_algebra.LogEmbeddingKD_get_bounding_box(self, *args)
5350 
5351 
5352  def show(self, *args):
5353  """
5354  show(LogEmbeddingKD self, _ostream out)
5355  show(LogEmbeddingKD self)
5356  """
5357  return _IMP_algebra.LogEmbeddingKD_show(self, *args)
5358 
5359 
5360  def __str__(self):
5361  """__str__(LogEmbeddingKD self) -> std::string"""
5362  return _IMP_algebra.LogEmbeddingKD___str__(self)
5363 
5364 
5365  def __repr__(self):
5366  """__repr__(LogEmbeddingKD self) -> std::string"""
5367  return _IMP_algebra.LogEmbeddingKD___repr__(self)
5368 
5369 
5370  def __cmp__(self, arg2):
5371  """__cmp__(LogEmbeddingKD self, LogEmbeddingKD arg2) -> int"""
5372  return _IMP_algebra.LogEmbeddingKD___cmp__(self, arg2)
5373 
5374 
5375  def __eq__(self, arg2):
5376  """__eq__(LogEmbeddingKD self, LogEmbeddingKD arg2) -> bool"""
5377  return _IMP_algebra.LogEmbeddingKD___eq__(self, arg2)
5378 
5379  __swig_destroy__ = _IMP_algebra.delete_LogEmbeddingKD
5380  __del__ = lambda self: None
5381 LogEmbeddingKD_swigregister = _IMP_algebra.LogEmbeddingKD_swigregister
5382 LogEmbeddingKD_swigregister(LogEmbeddingKD)
5383 
5384 class DenseFloatLogGridKD(object):
5385  """Proxy of C++ IMP::algebra::DenseFloatLogGridKD class."""
5386 
5387  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5388 
5389  def __init__(self, sz, le):
5390  """__init__(IMP::algebra::DenseFloatLogGridKD self, IMP::Ints const & sz, LogEmbeddingKD le) -> DenseFloatLogGridKD"""
5391  this = _IMP_algebra.new_DenseFloatLogGridKD(sz, le)
5392  try:
5393  self.this.append(this)
5394  except __builtin__.Exception:
5395  self.this = this
5396 
5397  def add_voxel(self, i, q):
5398  """add_voxel(DenseFloatLogGridKD self, ExtendedGridIndexKD i, float const & q) -> GridIndexKD"""
5399  return _IMP_algebra.DenseFloatLogGridKD_add_voxel(self, i, q)
5400 
5401 
5402  def __getitem__(self, *args):
5403  """
5404  __getitem__(DenseFloatLogGridKD self, GridIndexKD i) -> float
5405  __getitem__(DenseFloatLogGridKD self, VectorKD i) -> float
5406  """
5407  return _IMP_algebra.DenseFloatLogGridKD___getitem__(self, *args)
5408 
5409 
5410  def __setitem__(self, *args):
5411  """
5412  __setitem__(DenseFloatLogGridKD self, GridIndexKD i, float const & q)
5413  __setitem__(DenseFloatLogGridKD self, VectorKD i, float const & q)
5414  """
5415  return _IMP_algebra.DenseFloatLogGridKD___setitem__(self, *args)
5416 
5417 
5418  def get_bounding_box(self, *args):
5419  """
5420  get_bounding_box(DenseFloatLogGridKD self, ExtendedGridIndexKD v) -> BoundingBoxKD
5421  get_bounding_box(DenseFloatLogGridKD self) -> BoundingBoxKD
5422  """
5423  return _IMP_algebra.DenseFloatLogGridKD_get_bounding_box(self, *args)
5424 
5425 
5426  def get_indexes(self, *args):
5427  """
5428  get_indexes(DenseFloatLogGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
5429  get_indexes(DenseFloatLogGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
5430  """
5431  return _IMP_algebra.DenseFloatLogGridKD_get_indexes(self, *args)
5432 
5433 
5434  def get_all_indexes(self):
5435  """get_all_indexes(DenseFloatLogGridKD self) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
5436  return _IMP_algebra.DenseFloatLogGridKD_get_all_indexes(self)
5437 
5438 
5439  def get_extended_indexes(self, *args):
5440  """
5441  get_extended_indexes(DenseFloatLogGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
5442  get_extended_indexes(DenseFloatLogGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
5443  """
5444  return _IMP_algebra.DenseFloatLogGridKD_get_extended_indexes(self, *args)
5445 
5446 
5447  def get_center(self, *args):
5448  """
5449  get_center(DenseFloatLogGridKD self, ExtendedGridIndexKD ei) -> VectorKD
5450  get_center(DenseFloatLogGridKD self, GridIndexKD ei) -> VectorKD
5451  """
5452  return _IMP_algebra.DenseFloatLogGridKD_get_center(self, *args)
5453 
5454 
5455  def get_extended_index(self, v):
5456  """get_extended_index(DenseFloatLogGridKD self, VectorKD v) -> ExtendedGridIndexKD"""
5457  return _IMP_algebra.DenseFloatLogGridKD_get_extended_index(self, v)
5458 
5459 
5460  def get_index(self, v):
5461  """get_index(DenseFloatLogGridKD self, ExtendedGridIndexKD v) -> GridIndexKD"""
5462  return _IMP_algebra.DenseFloatLogGridKD_get_index(self, v)
5463 
5464 
5465  def get_origin(self):
5466  """get_origin(DenseFloatLogGridKD self) -> VectorKD"""
5467  return _IMP_algebra.DenseFloatLogGridKD_get_origin(self)
5468 
5469 
5470  def get_dimension(self):
5471  """get_dimension(DenseFloatLogGridKD self) -> unsigned int"""
5472  return _IMP_algebra.DenseFloatLogGridKD_get_dimension(self)
5473 
5474 
5475  def get_unit_cell(self):
5476  """get_unit_cell(DenseFloatLogGridKD self) -> VectorKD"""
5477  return _IMP_algebra.DenseFloatLogGridKD_get_unit_cell(self)
5478 
5479 
5480  def get_has_index(self, v):
5481  """get_has_index(DenseFloatLogGridKD self, ExtendedGridIndexKD v) -> bool"""
5482  return _IMP_algebra.DenseFloatLogGridKD_get_has_index(self, v)
5483 
5484 
5485  def __str__(self):
5486  """__str__(DenseFloatLogGridKD self) -> std::string"""
5487  return _IMP_algebra.DenseFloatLogGridKD___str__(self)
5488 
5489 
5490  def __repr__(self):
5491  """__repr__(DenseFloatLogGridKD self) -> std::string"""
5492  return _IMP_algebra.DenseFloatLogGridKD___repr__(self)
5493 
5494 
5495  def show(self, *args):
5496  """
5497  show(DenseFloatLogGridKD self, _ostream out)
5498  show(DenseFloatLogGridKD self)
5499  """
5500  return _IMP_algebra.DenseFloatLogGridKD_show(self, *args)
5501 
5502  __swig_destroy__ = _IMP_algebra.delete_DenseFloatLogGridKD
5503  __del__ = lambda self: None
5504 DenseFloatLogGridKD_swigregister = _IMP_algebra.DenseFloatLogGridKD_swigregister
5505 DenseFloatLogGridKD_swigregister(DenseFloatLogGridKD)
5506 
5507 class DenseIntLogGrid3D(object):
5508  """Proxy of C++ IMP::algebra::DenseIntLogGrid3D class."""
5509 
5510  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5511 
5512  def __init__(self, sz, le):
5513  """__init__(IMP::algebra::DenseIntLogGrid3D self, IMP::Ints const & sz, LogEmbedding3D le) -> DenseIntLogGrid3D"""
5514  this = _IMP_algebra.new_DenseIntLogGrid3D(sz, le)
5515  try:
5516  self.this.append(this)
5517  except __builtin__.Exception:
5518  self.this = this
5519 
5520  def add_voxel(self, i, q):
5521  """add_voxel(DenseIntLogGrid3D self, ExtendedGridIndex3D i, int const & q) -> GridIndex3D"""
5522  return _IMP_algebra.DenseIntLogGrid3D_add_voxel(self, i, q)
5523 
5524 
5525  def __getitem__(self, *args):
5526  """
5527  __getitem__(DenseIntLogGrid3D self, GridIndex3D i) -> int
5528  __getitem__(DenseIntLogGrid3D self, Vector3D i) -> int
5529  """
5530  return _IMP_algebra.DenseIntLogGrid3D___getitem__(self, *args)
5531 
5532 
5533  def __setitem__(self, *args):
5534  """
5535  __setitem__(DenseIntLogGrid3D self, GridIndex3D i, int const & q)
5536  __setitem__(DenseIntLogGrid3D self, Vector3D i, int const & q)
5537  """
5538  return _IMP_algebra.DenseIntLogGrid3D___setitem__(self, *args)
5539 
5540 
5541  def get_bounding_box(self, *args):
5542  """
5543  get_bounding_box(DenseIntLogGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
5544  get_bounding_box(DenseIntLogGrid3D self) -> BoundingBox3D
5545  """
5546  return _IMP_algebra.DenseIntLogGrid3D_get_bounding_box(self, *args)
5547 
5548 
5549  def get_indexes(self, *args):
5550  """
5551  get_indexes(DenseIntLogGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5552  get_indexes(DenseIntLogGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5553  """
5554  return _IMP_algebra.DenseIntLogGrid3D_get_indexes(self, *args)
5555 
5556 
5557  def get_all_indexes(self):
5558  """get_all_indexes(DenseIntLogGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
5559  return _IMP_algebra.DenseIntLogGrid3D_get_all_indexes(self)
5560 
5561 
5562  def get_extended_indexes(self, *args):
5563  """
5564  get_extended_indexes(DenseIntLogGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5565  get_extended_indexes(DenseIntLogGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5566  """
5567  return _IMP_algebra.DenseIntLogGrid3D_get_extended_indexes(self, *args)
5568 
5569 
5570  def get_center(self, *args):
5571  """
5572  get_center(DenseIntLogGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
5573  get_center(DenseIntLogGrid3D self, GridIndex3D ei) -> Vector3D
5574  """
5575  return _IMP_algebra.DenseIntLogGrid3D_get_center(self, *args)
5576 
5577 
5578  def get_extended_index(self, v):
5579  """get_extended_index(DenseIntLogGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
5580  return _IMP_algebra.DenseIntLogGrid3D_get_extended_index(self, v)
5581 
5582 
5583  def get_index(self, v):
5584  """get_index(DenseIntLogGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
5585  return _IMP_algebra.DenseIntLogGrid3D_get_index(self, v)
5586 
5587 
5588  def get_origin(self):
5589  """get_origin(DenseIntLogGrid3D self) -> Vector3D"""
5590  return _IMP_algebra.DenseIntLogGrid3D_get_origin(self)
5591 
5592 
5593  def get_dimension(self):
5594  """get_dimension(DenseIntLogGrid3D self) -> unsigned int"""
5595  return _IMP_algebra.DenseIntLogGrid3D_get_dimension(self)
5596 
5597 
5598  def get_unit_cell(self):
5599  """get_unit_cell(DenseIntLogGrid3D self) -> Vector3D"""
5600  return _IMP_algebra.DenseIntLogGrid3D_get_unit_cell(self)
5601 
5602 
5603  def get_has_index(self, v):
5604  """get_has_index(DenseIntLogGrid3D self, ExtendedGridIndex3D v) -> bool"""
5605  return _IMP_algebra.DenseIntLogGrid3D_get_has_index(self, v)
5606 
5607 
5608  def __str__(self):
5609  """__str__(DenseIntLogGrid3D self) -> std::string"""
5610  return _IMP_algebra.DenseIntLogGrid3D___str__(self)
5611 
5612 
5613  def __repr__(self):
5614  """__repr__(DenseIntLogGrid3D self) -> std::string"""
5615  return _IMP_algebra.DenseIntLogGrid3D___repr__(self)
5616 
5617 
5618  def show(self, *args):
5619  """
5620  show(DenseIntLogGrid3D self, _ostream out)
5621  show(DenseIntLogGrid3D self)
5622  """
5623  return _IMP_algebra.DenseIntLogGrid3D_show(self, *args)
5624 
5625  __swig_destroy__ = _IMP_algebra.delete_DenseIntLogGrid3D
5626  __del__ = lambda self: None
5627 DenseIntLogGrid3D_swigregister = _IMP_algebra.DenseIntLogGrid3D_swigregister
5628 DenseIntLogGrid3D_swigregister(DenseIntLogGrid3D)
5629 
5630 class DenseDoubleGrid3D(object):
5631  """Proxy of C++ IMP::algebra::DenseGrid3D<(double)> class."""
5632 
5633  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5634 
5635  def __init__(self, *args):
5636  """
5637  __init__(IMP::algebra::DenseGrid3D<(double)> self, double side, BoundingBox3D bb, double arg4) -> DenseDoubleGrid3D
5638  __init__(IMP::algebra::DenseGrid3D<(double)> self, double side, BoundingBox3D bb) -> DenseDoubleGrid3D
5639  __init__(IMP::algebra::DenseGrid3D<(double)> self) -> DenseDoubleGrid3D
5640  """
5641  this = _IMP_algebra.new_DenseDoubleGrid3D(*args)
5642  try:
5643  self.this.append(this)
5644  except __builtin__.Exception:
5645  self.this = this
5646 
5647  def add_voxel(self, i, q):
5648  """add_voxel(DenseDoubleGrid3D self, ExtendedGridIndex3D i, double const & q) -> GridIndex3D"""
5649  return _IMP_algebra.DenseDoubleGrid3D_add_voxel(self, i, q)
5650 
5651 
5652  def __getitem__(self, *args):
5653  """
5654  __getitem__(DenseDoubleGrid3D self, GridIndex3D i) -> double
5655  __getitem__(DenseDoubleGrid3D self, Vector3D i) -> double
5656  """
5657  return _IMP_algebra.DenseDoubleGrid3D___getitem__(self, *args)
5658 
5659 
5660  def __setitem__(self, *args):
5661  """
5662  __setitem__(DenseDoubleGrid3D self, GridIndex3D i, double const & q)
5663  __setitem__(DenseDoubleGrid3D self, Vector3D i, double const & q)
5664  """
5665  return _IMP_algebra.DenseDoubleGrid3D___setitem__(self, *args)
5666 
5667 
5668  def get_bounding_box(self, *args):
5669  """
5670  get_bounding_box(DenseDoubleGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
5671  get_bounding_box(DenseDoubleGrid3D self) -> BoundingBox3D
5672  """
5673  return _IMP_algebra.DenseDoubleGrid3D_get_bounding_box(self, *args)
5674 
5675 
5676  def get_indexes(self, *args):
5677  """
5678  get_indexes(DenseDoubleGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5679  get_indexes(DenseDoubleGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5680  """
5681  return _IMP_algebra.DenseDoubleGrid3D_get_indexes(self, *args)
5682 
5683 
5684  def get_all_indexes(self):
5685  """get_all_indexes(DenseDoubleGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
5686  return _IMP_algebra.DenseDoubleGrid3D_get_all_indexes(self)
5687 
5688 
5689  def get_extended_indexes(self, *args):
5690  """
5691  get_extended_indexes(DenseDoubleGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5692  get_extended_indexes(DenseDoubleGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5693  """
5694  return _IMP_algebra.DenseDoubleGrid3D_get_extended_indexes(self, *args)
5695 
5696 
5697  def get_center(self, *args):
5698  """
5699  get_center(DenseDoubleGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
5700  get_center(DenseDoubleGrid3D self, GridIndex3D ei) -> Vector3D
5701  """
5702  return _IMP_algebra.DenseDoubleGrid3D_get_center(self, *args)
5703 
5704 
5705  def get_extended_index(self, v):
5706  """get_extended_index(DenseDoubleGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
5707  return _IMP_algebra.DenseDoubleGrid3D_get_extended_index(self, v)
5708 
5709 
5710  def get_index(self, v):
5711  """get_index(DenseDoubleGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
5712  return _IMP_algebra.DenseDoubleGrid3D_get_index(self, v)
5713 
5714 
5715  def get_origin(self):
5716  """get_origin(DenseDoubleGrid3D self) -> Vector3D"""
5717  return _IMP_algebra.DenseDoubleGrid3D_get_origin(self)
5718 
5719 
5720  def get_dimension(self):
5721  """get_dimension(DenseDoubleGrid3D self) -> unsigned int"""
5722  return _IMP_algebra.DenseDoubleGrid3D_get_dimension(self)
5723 
5724 
5725  def get_unit_cell(self):
5726  """get_unit_cell(DenseDoubleGrid3D self) -> Vector3D"""
5727  return _IMP_algebra.DenseDoubleGrid3D_get_unit_cell(self)
5728 
5729 
5730  def get_has_index(self, v):
5731  """get_has_index(DenseDoubleGrid3D self, ExtendedGridIndex3D v) -> bool"""
5732  return _IMP_algebra.DenseDoubleGrid3D_get_has_index(self, v)
5733 
5734 
5735  def __str__(self):
5736  """__str__(DenseDoubleGrid3D self) -> std::string"""
5737  return _IMP_algebra.DenseDoubleGrid3D___str__(self)
5738 
5739 
5740  def __repr__(self):
5741  """__repr__(DenseDoubleGrid3D self) -> std::string"""
5742  return _IMP_algebra.DenseDoubleGrid3D___repr__(self)
5743 
5744 
5745  def show(self, *args):
5746  """
5747  show(DenseDoubleGrid3D self, _ostream out)
5748  show(DenseDoubleGrid3D self)
5749  """
5750  return _IMP_algebra.DenseDoubleGrid3D_show(self, *args)
5751 
5752  __swig_destroy__ = _IMP_algebra.delete_DenseDoubleGrid3D
5753  __del__ = lambda self: None
5754 DenseDoubleGrid3D_swigregister = _IMP_algebra.DenseDoubleGrid3D_swigregister
5755 DenseDoubleGrid3D_swigregister(DenseDoubleGrid3D)
5756 
5757 class DenseFloatGrid3D(object):
5758  """Proxy of C++ IMP::algebra::DenseGrid3D<(float)> class."""
5759 
5760  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5761 
5762  def __init__(self, *args):
5763  """
5764  __init__(IMP::algebra::DenseGrid3D<(float)> self, double side, BoundingBox3D bb, float arg4) -> DenseFloatGrid3D
5765  __init__(IMP::algebra::DenseGrid3D<(float)> self, double side, BoundingBox3D bb) -> DenseFloatGrid3D
5766  __init__(IMP::algebra::DenseGrid3D<(float)> self) -> DenseFloatGrid3D
5767  """
5768  this = _IMP_algebra.new_DenseFloatGrid3D(*args)
5769  try:
5770  self.this.append(this)
5771  except __builtin__.Exception:
5772  self.this = this
5773 
5774  def add_voxel(self, i, q):
5775  """add_voxel(DenseFloatGrid3D self, ExtendedGridIndex3D i, float const & q) -> GridIndex3D"""
5776  return _IMP_algebra.DenseFloatGrid3D_add_voxel(self, i, q)
5777 
5778 
5779  def __getitem__(self, *args):
5780  """
5781  __getitem__(DenseFloatGrid3D self, GridIndex3D i) -> float
5782  __getitem__(DenseFloatGrid3D self, Vector3D i) -> float
5783  """
5784  return _IMP_algebra.DenseFloatGrid3D___getitem__(self, *args)
5785 
5786 
5787  def __setitem__(self, *args):
5788  """
5789  __setitem__(DenseFloatGrid3D self, GridIndex3D i, float const & q)
5790  __setitem__(DenseFloatGrid3D self, Vector3D i, float const & q)
5791  """
5792  return _IMP_algebra.DenseFloatGrid3D___setitem__(self, *args)
5793 
5794 
5795  def get_bounding_box(self, *args):
5796  """
5797  get_bounding_box(DenseFloatGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
5798  get_bounding_box(DenseFloatGrid3D self) -> BoundingBox3D
5799  """
5800  return _IMP_algebra.DenseFloatGrid3D_get_bounding_box(self, *args)
5801 
5802 
5803  def get_indexes(self, *args):
5804  """
5805  get_indexes(DenseFloatGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5806  get_indexes(DenseFloatGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5807  """
5808  return _IMP_algebra.DenseFloatGrid3D_get_indexes(self, *args)
5809 
5810 
5811  def get_all_indexes(self):
5812  """get_all_indexes(DenseFloatGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
5813  return _IMP_algebra.DenseFloatGrid3D_get_all_indexes(self)
5814 
5815 
5816  def get_extended_indexes(self, *args):
5817  """
5818  get_extended_indexes(DenseFloatGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5819  get_extended_indexes(DenseFloatGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5820  """
5821  return _IMP_algebra.DenseFloatGrid3D_get_extended_indexes(self, *args)
5822 
5823 
5824  def get_center(self, *args):
5825  """
5826  get_center(DenseFloatGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
5827  get_center(DenseFloatGrid3D self, GridIndex3D ei) -> Vector3D
5828  """
5829  return _IMP_algebra.DenseFloatGrid3D_get_center(self, *args)
5830 
5831 
5832  def get_extended_index(self, v):
5833  """get_extended_index(DenseFloatGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
5834  return _IMP_algebra.DenseFloatGrid3D_get_extended_index(self, v)
5835 
5836 
5837  def get_index(self, v):
5838  """get_index(DenseFloatGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
5839  return _IMP_algebra.DenseFloatGrid3D_get_index(self, v)
5840 
5841 
5842  def get_origin(self):
5843  """get_origin(DenseFloatGrid3D self) -> Vector3D"""
5844  return _IMP_algebra.DenseFloatGrid3D_get_origin(self)
5845 
5846 
5847  def get_dimension(self):
5848  """get_dimension(DenseFloatGrid3D self) -> unsigned int"""
5849  return _IMP_algebra.DenseFloatGrid3D_get_dimension(self)
5850 
5851 
5852  def get_unit_cell(self):
5853  """get_unit_cell(DenseFloatGrid3D self) -> Vector3D"""
5854  return _IMP_algebra.DenseFloatGrid3D_get_unit_cell(self)
5855 
5856 
5857  def get_has_index(self, v):
5858  """get_has_index(DenseFloatGrid3D self, ExtendedGridIndex3D v) -> bool"""
5859  return _IMP_algebra.DenseFloatGrid3D_get_has_index(self, v)
5860 
5861 
5862  def __str__(self):
5863  """__str__(DenseFloatGrid3D self) -> std::string"""
5864  return _IMP_algebra.DenseFloatGrid3D___str__(self)
5865 
5866 
5867  def __repr__(self):
5868  """__repr__(DenseFloatGrid3D self) -> std::string"""
5869  return _IMP_algebra.DenseFloatGrid3D___repr__(self)
5870 
5871 
5872  def show(self, *args):
5873  """
5874  show(DenseFloatGrid3D self, _ostream out)
5875  show(DenseFloatGrid3D self)
5876  """
5877  return _IMP_algebra.DenseFloatGrid3D_show(self, *args)
5878 
5879  __swig_destroy__ = _IMP_algebra.delete_DenseFloatGrid3D
5880  __del__ = lambda self: None
5881 DenseFloatGrid3D_swigregister = _IMP_algebra.DenseFloatGrid3D_swigregister
5882 DenseFloatGrid3D_swigregister(DenseFloatGrid3D)
5883 
5884 class SparseUnboundedIntGrid3D(object):
5885  """Proxy of C++ IMP::algebra::SparseUnboundedGrid3D<(int)> class."""
5886 
5887  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5888 
5889  def __init__(self, *args):
5890  """
5891  __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, double side, Vector3D origin, int arg4) -> SparseUnboundedIntGrid3D
5892  __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, double side, Vector3D origin) -> SparseUnboundedIntGrid3D
5893  __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, Vector3D sides, Vector3D origin, int arg4) -> SparseUnboundedIntGrid3D
5894  __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self, Vector3D sides, Vector3D origin) -> SparseUnboundedIntGrid3D
5895  __init__(IMP::algebra::SparseUnboundedGrid3D<(int)> self) -> SparseUnboundedIntGrid3D
5896  """
5897  this = _IMP_algebra.new_SparseUnboundedIntGrid3D(*args)
5898  try:
5899  self.this.append(this)
5900  except __builtin__.Exception:
5901  self.this = this
5902 
5903  def add_voxel(self, i, q):
5904  """add_voxel(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D i, int const & q) -> GridIndex3D"""
5905  return _IMP_algebra.SparseUnboundedIntGrid3D_add_voxel(self, i, q)
5906 
5907 
5908  def __getitem__(self, *args):
5909  """
5910  __getitem__(SparseUnboundedIntGrid3D self, GridIndex3D i) -> int
5911  __getitem__(SparseUnboundedIntGrid3D self, Vector3D i) -> int
5912  """
5913  return _IMP_algebra.SparseUnboundedIntGrid3D___getitem__(self, *args)
5914 
5915 
5916  def __setitem__(self, *args):
5917  """
5918  __setitem__(SparseUnboundedIntGrid3D self, GridIndex3D i, int const & q)
5919  __setitem__(SparseUnboundedIntGrid3D self, Vector3D i, int const & q)
5920  """
5921  return _IMP_algebra.SparseUnboundedIntGrid3D___setitem__(self, *args)
5922 
5923 
5924  def get_bounding_box(self, *args):
5925  """
5926  get_bounding_box(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D v) -> BoundingBox3D
5927  get_bounding_box(SparseUnboundedIntGrid3D self) -> BoundingBox3D
5928  """
5929  return _IMP_algebra.SparseUnboundedIntGrid3D_get_bounding_box(self, *args)
5930 
5931 
5932  def get_indexes(self, *args):
5933  """
5934  get_indexes(SparseUnboundedIntGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5935  get_indexes(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >
5936  """
5937  return _IMP_algebra.SparseUnboundedIntGrid3D_get_indexes(self, *args)
5938 
5939 
5940  def get_all_indexes(self):
5941  """get_all_indexes(SparseUnboundedIntGrid3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
5942  return _IMP_algebra.SparseUnboundedIntGrid3D_get_all_indexes(self)
5943 
5944 
5945  def get_extended_indexes(self, *args):
5946  """
5947  get_extended_indexes(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5948  get_extended_indexes(SparseUnboundedIntGrid3D self, BoundingBox3D bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >
5949  """
5950  return _IMP_algebra.SparseUnboundedIntGrid3D_get_extended_indexes(self, *args)
5951 
5952 
5953  def get_center(self, *args):
5954  """
5955  get_center(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D ei) -> Vector3D
5956  get_center(SparseUnboundedIntGrid3D self, GridIndex3D ei) -> Vector3D
5957  """
5958  return _IMP_algebra.SparseUnboundedIntGrid3D_get_center(self, *args)
5959 
5960 
5961  def get_extended_index(self, v):
5962  """get_extended_index(SparseUnboundedIntGrid3D self, Vector3D v) -> ExtendedGridIndex3D"""
5963  return _IMP_algebra.SparseUnboundedIntGrid3D_get_extended_index(self, v)
5964 
5965 
5966  def get_index(self, v):
5967  """get_index(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
5968  return _IMP_algebra.SparseUnboundedIntGrid3D_get_index(self, v)
5969 
5970 
5971  def get_origin(self):
5972  """get_origin(SparseUnboundedIntGrid3D self) -> Vector3D"""
5973  return _IMP_algebra.SparseUnboundedIntGrid3D_get_origin(self)
5974 
5975 
5976  def get_dimension(self):
5977  """get_dimension(SparseUnboundedIntGrid3D self) -> unsigned int"""
5978  return _IMP_algebra.SparseUnboundedIntGrid3D_get_dimension(self)
5979 
5980 
5981  def get_unit_cell(self):
5982  """get_unit_cell(SparseUnboundedIntGrid3D self) -> Vector3D"""
5983  return _IMP_algebra.SparseUnboundedIntGrid3D_get_unit_cell(self)
5984 
5985 
5986  def get_has_index(self, v):
5987  """get_has_index(SparseUnboundedIntGrid3D self, ExtendedGridIndex3D v) -> bool"""
5988  return _IMP_algebra.SparseUnboundedIntGrid3D_get_has_index(self, v)
5989 
5990 
5991  def __str__(self):
5992  """__str__(SparseUnboundedIntGrid3D self) -> std::string"""
5993  return _IMP_algebra.SparseUnboundedIntGrid3D___str__(self)
5994 
5995 
5996  def __repr__(self):
5997  """__repr__(SparseUnboundedIntGrid3D self) -> std::string"""
5998  return _IMP_algebra.SparseUnboundedIntGrid3D___repr__(self)
5999 
6000 
6001  def show(self, *args):
6002  """
6003  show(SparseUnboundedIntGrid3D self, _ostream out)
6004  show(SparseUnboundedIntGrid3D self)
6005  """
6006  return _IMP_algebra.SparseUnboundedIntGrid3D_show(self, *args)
6007 
6008  __swig_destroy__ = _IMP_algebra.delete_SparseUnboundedIntGrid3D
6009  __del__ = lambda self: None
6010 SparseUnboundedIntGrid3D_swigregister = _IMP_algebra.SparseUnboundedIntGrid3D_swigregister
6011 SparseUnboundedIntGrid3D_swigregister(SparseUnboundedIntGrid3D)
6012 
6013 class SparseUnboundedIntGridKD(object):
6014  """Proxy of C++ IMP::algebra::SparseUnboundedGridD<(-1,int)> class."""
6015 
6016  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6017 
6018  def __init__(self, *args):
6019  """
6020  __init__(IMP::algebra::SparseUnboundedGridD<(-1,int)> self, double side, VectorKD origin, int arg4) -> SparseUnboundedIntGridKD
6021  __init__(IMP::algebra::SparseUnboundedGridD<(-1,int)> self, double side, VectorKD origin) -> SparseUnboundedIntGridKD
6022  __init__(IMP::algebra::SparseUnboundedGridD<(-1,int)> self) -> SparseUnboundedIntGridKD
6023  """
6024  this = _IMP_algebra.new_SparseUnboundedIntGridKD(*args)
6025  try:
6026  self.this.append(this)
6027  except __builtin__.Exception:
6028  self.this = this
6029 
6030  def add_voxel(self, i, q):
6031  """add_voxel(SparseUnboundedIntGridKD self, ExtendedGridIndexKD i, int const & q) -> GridIndexKD"""
6032  return _IMP_algebra.SparseUnboundedIntGridKD_add_voxel(self, i, q)
6033 
6034 
6035  def __getitem__(self, *args):
6036  """
6037  __getitem__(SparseUnboundedIntGridKD self, GridIndexKD i) -> int
6038  __getitem__(SparseUnboundedIntGridKD self, VectorKD i) -> int
6039  """
6040  return _IMP_algebra.SparseUnboundedIntGridKD___getitem__(self, *args)
6041 
6042 
6043  def __setitem__(self, *args):
6044  """
6045  __setitem__(SparseUnboundedIntGridKD self, GridIndexKD i, int const & q)
6046  __setitem__(SparseUnboundedIntGridKD self, VectorKD i, int const & q)
6047  """
6048  return _IMP_algebra.SparseUnboundedIntGridKD___setitem__(self, *args)
6049 
6050 
6051  def get_bounding_box(self, *args):
6052  """
6053  get_bounding_box(SparseUnboundedIntGridKD self, ExtendedGridIndexKD v) -> BoundingBoxKD
6054  get_bounding_box(SparseUnboundedIntGridKD self) -> BoundingBoxKD
6055  """
6056  return _IMP_algebra.SparseUnboundedIntGridKD_get_bounding_box(self, *args)
6057 
6058 
6059  def get_indexes(self, *args):
6060  """
6061  get_indexes(SparseUnboundedIntGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
6062  get_indexes(SparseUnboundedIntGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >
6063  """
6064  return _IMP_algebra.SparseUnboundedIntGridKD_get_indexes(self, *args)
6065 
6066 
6067  def get_all_indexes(self):
6068  """get_all_indexes(SparseUnboundedIntGridKD self) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
6069  return _IMP_algebra.SparseUnboundedIntGridKD_get_all_indexes(self)
6070 
6071 
6072  def get_extended_indexes(self, *args):
6073  """
6074  get_extended_indexes(SparseUnboundedIntGridKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
6075  get_extended_indexes(SparseUnboundedIntGridKD self, BoundingBoxKD bb) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >
6076  """
6077  return _IMP_algebra.SparseUnboundedIntGridKD_get_extended_indexes(self, *args)
6078 
6079 
6080  def get_center(self, *args):
6081  """
6082  get_center(SparseUnboundedIntGridKD self, ExtendedGridIndexKD ei) -> VectorKD
6083  get_center(SparseUnboundedIntGridKD self, GridIndexKD ei) -> VectorKD
6084  """
6085  return _IMP_algebra.SparseUnboundedIntGridKD_get_center(self, *args)
6086 
6087 
6088  def get_extended_index(self, v):
6089  """get_extended_index(SparseUnboundedIntGridKD self, VectorKD v) -> ExtendedGridIndexKD"""
6090  return _IMP_algebra.SparseUnboundedIntGridKD_get_extended_index(self, v)
6091 
6092 
6093  def get_index(self, v):
6094  """get_index(SparseUnboundedIntGridKD self, ExtendedGridIndexKD v) -> GridIndexKD"""
6095  return _IMP_algebra.SparseUnboundedIntGridKD_get_index(self, v)
6096 
6097 
6098  def get_origin(self):
6099  """get_origin(SparseUnboundedIntGridKD self) -> VectorKD"""
6100  return _IMP_algebra.SparseUnboundedIntGridKD_get_origin(self)
6101 
6102 
6103  def get_dimension(self):
6104  """get_dimension(SparseUnboundedIntGridKD self) -> unsigned int"""
6105  return _IMP_algebra.SparseUnboundedIntGridKD_get_dimension(self)
6106 
6107 
6108  def get_unit_cell(self):
6109  """get_unit_cell(SparseUnboundedIntGridKD self) -> VectorKD"""
6110  return _IMP_algebra.SparseUnboundedIntGridKD_get_unit_cell(self)
6111 
6112 
6113  def get_has_index(self, v):
6114  """get_has_index(SparseUnboundedIntGridKD self, ExtendedGridIndexKD v) -> bool"""
6115  return _IMP_algebra.SparseUnboundedIntGridKD_get_has_index(self, v)
6116 
6117 
6118  def __str__(self):
6119  """__str__(SparseUnboundedIntGridKD self) -> std::string"""
6120  return _IMP_algebra.SparseUnboundedIntGridKD___str__(self)
6121 
6122 
6123  def __repr__(self):
6124  """__repr__(SparseUnboundedIntGridKD self) -> std::string"""
6125  return _IMP_algebra.SparseUnboundedIntGridKD___repr__(self)
6126 
6127 
6128  def show(self, *args):
6129  """
6130  show(SparseUnboundedIntGridKD self, _ostream out)
6131  show(SparseUnboundedIntGridKD self)
6132  """
6133  return _IMP_algebra.SparseUnboundedIntGridKD_show(self, *args)
6134 
6135  __swig_destroy__ = _IMP_algebra.delete_SparseUnboundedIntGridKD
6136  __del__ = lambda self: None
6137 SparseUnboundedIntGridKD_swigregister = _IMP_algebra.SparseUnboundedIntGridKD_swigregister
6138 SparseUnboundedIntGridKD_swigregister(SparseUnboundedIntGridKD)
6139 
6140 class GridIndex1D(IMP._Value):
6141  """Proxy of C++ IMP::algebra::GridIndexD<(1)> class."""
6142 
6143  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6144 
6145  def __init__(self, *args):
6146  """
6147  __init__(IMP::algebra::GridIndexD<(1)> self) -> GridIndex1D
6148  __init__(IMP::algebra::GridIndexD<(1)> self, int x) -> GridIndex1D
6149  __init__(IMP::algebra::GridIndexD<(1)> self, int x, int y) -> GridIndex1D
6150  __init__(IMP::algebra::GridIndexD<(1)> self, int x, int y, int z) -> GridIndex1D
6151  __init__(IMP::algebra::GridIndexD<(1)> self, int i, int j, int k, int l) -> GridIndex1D
6152  __init__(IMP::algebra::GridIndexD<(1)> self, int i, int j, int k, int l, int m) -> GridIndex1D
6153  __init__(IMP::algebra::GridIndexD<(1)> self, int i, int j, int k, int l, int m, int n) -> GridIndex1D
6154  """
6155  this = _IMP_algebra.new_GridIndex1D(*args)
6156  try:
6157  self.this.append(this)
6158  except __builtin__.Exception:
6159  self.this = this
6160 
6161  def get_dimension(self):
6162  """get_dimension(GridIndex1D self) -> unsigned int"""
6163  return _IMP_algebra.GridIndex1D_get_dimension(self)
6164 
6165 
6166  def __getitem__(self, i):
6167  """__getitem__(GridIndex1D self, unsigned int i) -> int const &"""
6168  return _IMP_algebra.GridIndex1D___getitem__(self, i)
6169 
6170 
6171  def show(self, *args):
6172  """
6173  show(GridIndex1D self, _ostream out)
6174  show(GridIndex1D self)
6175  """
6176  return _IMP_algebra.GridIndex1D_show(self, *args)
6177 
6178 
6179  def __len__(self):
6180  """__len__(GridIndex1D self) -> unsigned int"""
6181  return _IMP_algebra.GridIndex1D___len__(self)
6182 
6183 
6184  def __cmp__(self, o):
6185  """__cmp__(GridIndex1D self, GridIndex1D o) -> int"""
6186  return _IMP_algebra.GridIndex1D___cmp__(self, o)
6187 
6188 
6189  def __eq__(self, o):
6190  """__eq__(GridIndex1D self, GridIndex1D o) -> bool"""
6191  return _IMP_algebra.GridIndex1D___eq__(self, o)
6192 
6193 
6194  def __ne__(self, o):
6195  """__ne__(GridIndex1D self, GridIndex1D o) -> bool"""
6196  return _IMP_algebra.GridIndex1D___ne__(self, o)
6197 
6198 
6199  def __lt__(self, o):
6200  """__lt__(GridIndex1D self, GridIndex1D o) -> bool"""
6201  return _IMP_algebra.GridIndex1D___lt__(self, o)
6202 
6203 
6204  def __gt__(self, o):
6205  """__gt__(GridIndex1D self, GridIndex1D o) -> bool"""
6206  return _IMP_algebra.GridIndex1D___gt__(self, o)
6207 
6208 
6209  def __ge__(self, o):
6210  """__ge__(GridIndex1D self, GridIndex1D o) -> bool"""
6211  return _IMP_algebra.GridIndex1D___ge__(self, o)
6212 
6213 
6214  def __le__(self, o):
6215  """__le__(GridIndex1D self, GridIndex1D o) -> bool"""
6216  return _IMP_algebra.GridIndex1D___le__(self, o)
6217 
6218 
6219  def __hash__(self):
6220  """__hash__(GridIndex1D self) -> std::size_t"""
6221  return _IMP_algebra.GridIndex1D___hash__(self)
6222 
6223 
6224  def __str__(self):
6225  """__str__(GridIndex1D self) -> std::string"""
6226  return _IMP_algebra.GridIndex1D___str__(self)
6227 
6228 
6229  def __repr__(self):
6230  """__repr__(GridIndex1D self) -> std::string"""
6231  return _IMP_algebra.GridIndex1D___repr__(self)
6232 
6233  __swig_destroy__ = _IMP_algebra.delete_GridIndex1D
6234  __del__ = lambda self: None
6235 GridIndex1D_swigregister = _IMP_algebra.GridIndex1D_swigregister
6236 GridIndex1D_swigregister(GridIndex1D)
6237 
6238 class GridIndex2D(IMP._Value):
6239  """Proxy of C++ IMP::algebra::GridIndexD<(2)> class."""
6240 
6241  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6242 
6243  def __init__(self, *args):
6244  """
6245  __init__(IMP::algebra::GridIndexD<(2)> self) -> GridIndex2D
6246  __init__(IMP::algebra::GridIndexD<(2)> self, int x) -> GridIndex2D
6247  __init__(IMP::algebra::GridIndexD<(2)> self, int x, int y) -> GridIndex2D
6248  __init__(IMP::algebra::GridIndexD<(2)> self, int x, int y, int z) -> GridIndex2D
6249  __init__(IMP::algebra::GridIndexD<(2)> self, int i, int j, int k, int l) -> GridIndex2D
6250  __init__(IMP::algebra::GridIndexD<(2)> self, int i, int j, int k, int l, int m) -> GridIndex2D
6251  __init__(IMP::algebra::GridIndexD<(2)> self, int i, int j, int k, int l, int m, int n) -> GridIndex2D
6252  """
6253  this = _IMP_algebra.new_GridIndex2D(*args)
6254  try:
6255  self.this.append(this)
6256  except __builtin__.Exception:
6257  self.this = this
6258 
6259  def get_dimension(self):
6260  """get_dimension(GridIndex2D self) -> unsigned int"""
6261  return _IMP_algebra.GridIndex2D_get_dimension(self)
6262 
6263 
6264  def __getitem__(self, i):
6265  """__getitem__(GridIndex2D self, unsigned int i) -> int const &"""
6266  return _IMP_algebra.GridIndex2D___getitem__(self, i)
6267 
6268 
6269  def show(self, *args):
6270  """
6271  show(GridIndex2D self, _ostream out)
6272  show(GridIndex2D self)
6273  """
6274  return _IMP_algebra.GridIndex2D_show(self, *args)
6275 
6276 
6277  def __len__(self):
6278  """__len__(GridIndex2D self) -> unsigned int"""
6279  return _IMP_algebra.GridIndex2D___len__(self)
6280 
6281 
6282  def __cmp__(self, o):
6283  """__cmp__(GridIndex2D self, GridIndex2D o) -> int"""
6284  return _IMP_algebra.GridIndex2D___cmp__(self, o)
6285 
6286 
6287  def __eq__(self, o):
6288  """__eq__(GridIndex2D self, GridIndex2D o) -> bool"""
6289  return _IMP_algebra.GridIndex2D___eq__(self, o)
6290 
6291 
6292  def __ne__(self, o):
6293  """__ne__(GridIndex2D self, GridIndex2D o) -> bool"""
6294  return _IMP_algebra.GridIndex2D___ne__(self, o)
6295 
6296 
6297  def __lt__(self, o):
6298  """__lt__(GridIndex2D self, GridIndex2D o) -> bool"""
6299  return _IMP_algebra.GridIndex2D___lt__(self, o)
6300 
6301 
6302  def __gt__(self, o):
6303  """__gt__(GridIndex2D self, GridIndex2D o) -> bool"""
6304  return _IMP_algebra.GridIndex2D___gt__(self, o)
6305 
6306 
6307  def __ge__(self, o):
6308  """__ge__(GridIndex2D self, GridIndex2D o) -> bool"""
6309  return _IMP_algebra.GridIndex2D___ge__(self, o)
6310 
6311 
6312  def __le__(self, o):
6313  """__le__(GridIndex2D self, GridIndex2D o) -> bool"""
6314  return _IMP_algebra.GridIndex2D___le__(self, o)
6315 
6316 
6317  def __hash__(self):
6318  """__hash__(GridIndex2D self) -> std::size_t"""
6319  return _IMP_algebra.GridIndex2D___hash__(self)
6320 
6321 
6322  def __str__(self):
6323  """__str__(GridIndex2D self) -> std::string"""
6324  return _IMP_algebra.GridIndex2D___str__(self)
6325 
6326 
6327  def __repr__(self):
6328  """__repr__(GridIndex2D self) -> std::string"""
6329  return _IMP_algebra.GridIndex2D___repr__(self)
6330 
6331  __swig_destroy__ = _IMP_algebra.delete_GridIndex2D
6332  __del__ = lambda self: None
6333 GridIndex2D_swigregister = _IMP_algebra.GridIndex2D_swigregister
6334 GridIndex2D_swigregister(GridIndex2D)
6335 
6336 class GridIndex3D(IMP._Value):
6337  """Proxy of C++ IMP::algebra::GridIndexD<(3)> class."""
6338 
6339  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6340 
6341  def __init__(self, *args):
6342  """
6343  __init__(IMP::algebra::GridIndexD<(3)> self) -> GridIndex3D
6344  __init__(IMP::algebra::GridIndexD<(3)> self, int x) -> GridIndex3D
6345  __init__(IMP::algebra::GridIndexD<(3)> self, int x, int y) -> GridIndex3D
6346  __init__(IMP::algebra::GridIndexD<(3)> self, int x, int y, int z) -> GridIndex3D
6347  __init__(IMP::algebra::GridIndexD<(3)> self, int i, int j, int k, int l) -> GridIndex3D
6348  __init__(IMP::algebra::GridIndexD<(3)> self, int i, int j, int k, int l, int m) -> GridIndex3D
6349  __init__(IMP::algebra::GridIndexD<(3)> self, int i, int j, int k, int l, int m, int n) -> GridIndex3D
6350  """
6351  this = _IMP_algebra.new_GridIndex3D(*args)
6352  try:
6353  self.this.append(this)
6354  except __builtin__.Exception:
6355  self.this = this
6356 
6357  def get_dimension(self):
6358  """get_dimension(GridIndex3D self) -> unsigned int"""
6359  return _IMP_algebra.GridIndex3D_get_dimension(self)
6360 
6361 
6362  def __getitem__(self, i):
6363  """__getitem__(GridIndex3D self, unsigned int i) -> int const &"""
6364  return _IMP_algebra.GridIndex3D___getitem__(self, i)
6365 
6366 
6367  def show(self, *args):
6368  """
6369  show(GridIndex3D self, _ostream out)
6370  show(GridIndex3D self)
6371  """
6372  return _IMP_algebra.GridIndex3D_show(self, *args)
6373 
6374 
6375  def __len__(self):
6376  """__len__(GridIndex3D self) -> unsigned int"""
6377  return _IMP_algebra.GridIndex3D___len__(self)
6378 
6379 
6380  def __cmp__(self, o):
6381  """__cmp__(GridIndex3D self, GridIndex3D o) -> int"""
6382  return _IMP_algebra.GridIndex3D___cmp__(self, o)
6383 
6384 
6385  def __eq__(self, o):
6386  """__eq__(GridIndex3D self, GridIndex3D o) -> bool"""
6387  return _IMP_algebra.GridIndex3D___eq__(self, o)
6388 
6389 
6390  def __ne__(self, o):
6391  """__ne__(GridIndex3D self, GridIndex3D o) -> bool"""
6392  return _IMP_algebra.GridIndex3D___ne__(self, o)
6393 
6394 
6395  def __lt__(self, o):
6396  """__lt__(GridIndex3D self, GridIndex3D o) -> bool"""
6397  return _IMP_algebra.GridIndex3D___lt__(self, o)
6398 
6399 
6400  def __gt__(self, o):
6401  """__gt__(GridIndex3D self, GridIndex3D o) -> bool"""
6402  return _IMP_algebra.GridIndex3D___gt__(self, o)
6403 
6404 
6405  def __ge__(self, o):
6406  """__ge__(GridIndex3D self, GridIndex3D o) -> bool"""
6407  return _IMP_algebra.GridIndex3D___ge__(self, o)
6408 
6409 
6410  def __le__(self, o):
6411  """__le__(GridIndex3D self, GridIndex3D o) -> bool"""
6412  return _IMP_algebra.GridIndex3D___le__(self, o)
6413 
6414 
6415  def __hash__(self):
6416  """__hash__(GridIndex3D self) -> std::size_t"""
6417  return _IMP_algebra.GridIndex3D___hash__(self)
6418 
6419 
6420  def __str__(self):
6421  """__str__(GridIndex3D self) -> std::string"""
6422  return _IMP_algebra.GridIndex3D___str__(self)
6423 
6424 
6425  def __repr__(self):
6426  """__repr__(GridIndex3D self) -> std::string"""
6427  return _IMP_algebra.GridIndex3D___repr__(self)
6428 
6429  __swig_destroy__ = _IMP_algebra.delete_GridIndex3D
6430  __del__ = lambda self: None
6431 GridIndex3D_swigregister = _IMP_algebra.GridIndex3D_swigregister
6432 GridIndex3D_swigregister(GridIndex3D)
6433 
6434 class GridIndex4D(IMP._Value):
6435  """Proxy of C++ IMP::algebra::GridIndexD<(4)> class."""
6436 
6437  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6438 
6439  def __init__(self, *args):
6440  """
6441  __init__(IMP::algebra::GridIndexD<(4)> self) -> GridIndex4D
6442  __init__(IMP::algebra::GridIndexD<(4)> self, int x) -> GridIndex4D
6443  __init__(IMP::algebra::GridIndexD<(4)> self, int x, int y) -> GridIndex4D
6444  __init__(IMP::algebra::GridIndexD<(4)> self, int x, int y, int z) -> GridIndex4D
6445  __init__(IMP::algebra::GridIndexD<(4)> self, int i, int j, int k, int l) -> GridIndex4D
6446  __init__(IMP::algebra::GridIndexD<(4)> self, int i, int j, int k, int l, int m) -> GridIndex4D
6447  __init__(IMP::algebra::GridIndexD<(4)> self, int i, int j, int k, int l, int m, int n) -> GridIndex4D
6448  """
6449  this = _IMP_algebra.new_GridIndex4D(*args)
6450  try:
6451  self.this.append(this)
6452  except __builtin__.Exception:
6453  self.this = this
6454 
6455  def get_dimension(self):
6456  """get_dimension(GridIndex4D self) -> unsigned int"""
6457  return _IMP_algebra.GridIndex4D_get_dimension(self)
6458 
6459 
6460  def __getitem__(self, i):
6461  """__getitem__(GridIndex4D self, unsigned int i) -> int const &"""
6462  return _IMP_algebra.GridIndex4D___getitem__(self, i)
6463 
6464 
6465  def show(self, *args):
6466  """
6467  show(GridIndex4D self, _ostream out)
6468  show(GridIndex4D self)
6469  """
6470  return _IMP_algebra.GridIndex4D_show(self, *args)
6471 
6472 
6473  def __len__(self):
6474  """__len__(GridIndex4D self) -> unsigned int"""
6475  return _IMP_algebra.GridIndex4D___len__(self)
6476 
6477 
6478  def __cmp__(self, o):
6479  """__cmp__(GridIndex4D self, GridIndex4D o) -> int"""
6480  return _IMP_algebra.GridIndex4D___cmp__(self, o)
6481 
6482 
6483  def __eq__(self, o):
6484  """__eq__(GridIndex4D self, GridIndex4D o) -> bool"""
6485  return _IMP_algebra.GridIndex4D___eq__(self, o)
6486 
6487 
6488  def __ne__(self, o):
6489  """__ne__(GridIndex4D self, GridIndex4D o) -> bool"""
6490  return _IMP_algebra.GridIndex4D___ne__(self, o)
6491 
6492 
6493  def __lt__(self, o):
6494  """__lt__(GridIndex4D self, GridIndex4D o) -> bool"""
6495  return _IMP_algebra.GridIndex4D___lt__(self, o)
6496 
6497 
6498  def __gt__(self, o):
6499  """__gt__(GridIndex4D self, GridIndex4D o) -> bool"""
6500  return _IMP_algebra.GridIndex4D___gt__(self, o)
6501 
6502 
6503  def __ge__(self, o):
6504  """__ge__(GridIndex4D self, GridIndex4D o) -> bool"""
6505  return _IMP_algebra.GridIndex4D___ge__(self, o)
6506 
6507 
6508  def __le__(self, o):
6509  """__le__(GridIndex4D self, GridIndex4D o) -> bool"""
6510  return _IMP_algebra.GridIndex4D___le__(self, o)
6511 
6512 
6513  def __hash__(self):
6514  """__hash__(GridIndex4D self) -> std::size_t"""
6515  return _IMP_algebra.GridIndex4D___hash__(self)
6516 
6517 
6518  def __str__(self):
6519  """__str__(GridIndex4D self) -> std::string"""
6520  return _IMP_algebra.GridIndex4D___str__(self)
6521 
6522 
6523  def __repr__(self):
6524  """__repr__(GridIndex4D self) -> std::string"""
6525  return _IMP_algebra.GridIndex4D___repr__(self)
6526 
6527  __swig_destroy__ = _IMP_algebra.delete_GridIndex4D
6528  __del__ = lambda self: None
6529 GridIndex4D_swigregister = _IMP_algebra.GridIndex4D_swigregister
6530 GridIndex4D_swigregister(GridIndex4D)
6531 
6532 class GridIndex5D(IMP._Value):
6533  """Proxy of C++ IMP::algebra::GridIndexD<(5)> class."""
6534 
6535  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6536 
6537  def __init__(self, *args):
6538  """
6539  __init__(IMP::algebra::GridIndexD<(5)> self) -> GridIndex5D
6540  __init__(IMP::algebra::GridIndexD<(5)> self, int x) -> GridIndex5D
6541  __init__(IMP::algebra::GridIndexD<(5)> self, int x, int y) -> GridIndex5D
6542  __init__(IMP::algebra::GridIndexD<(5)> self, int x, int y, int z) -> GridIndex5D
6543  __init__(IMP::algebra::GridIndexD<(5)> self, int i, int j, int k, int l) -> GridIndex5D
6544  __init__(IMP::algebra::GridIndexD<(5)> self, int i, int j, int k, int l, int m) -> GridIndex5D
6545  __init__(IMP::algebra::GridIndexD<(5)> self, int i, int j, int k, int l, int m, int n) -> GridIndex5D
6546  """
6547  this = _IMP_algebra.new_GridIndex5D(*args)
6548  try:
6549  self.this.append(this)
6550  except __builtin__.Exception:
6551  self.this = this
6552 
6553  def get_dimension(self):
6554  """get_dimension(GridIndex5D self) -> unsigned int"""
6555  return _IMP_algebra.GridIndex5D_get_dimension(self)
6556 
6557 
6558  def __getitem__(self, i):
6559  """__getitem__(GridIndex5D self, unsigned int i) -> int const &"""
6560  return _IMP_algebra.GridIndex5D___getitem__(self, i)
6561 
6562 
6563  def show(self, *args):
6564  """
6565  show(GridIndex5D self, _ostream out)
6566  show(GridIndex5D self)
6567  """
6568  return _IMP_algebra.GridIndex5D_show(self, *args)
6569 
6570 
6571  def __len__(self):
6572  """__len__(GridIndex5D self) -> unsigned int"""
6573  return _IMP_algebra.GridIndex5D___len__(self)
6574 
6575 
6576  def __cmp__(self, o):
6577  """__cmp__(GridIndex5D self, GridIndex5D o) -> int"""
6578  return _IMP_algebra.GridIndex5D___cmp__(self, o)
6579 
6580 
6581  def __eq__(self, o):
6582  """__eq__(GridIndex5D self, GridIndex5D o) -> bool"""
6583  return _IMP_algebra.GridIndex5D___eq__(self, o)
6584 
6585 
6586  def __ne__(self, o):
6587  """__ne__(GridIndex5D self, GridIndex5D o) -> bool"""
6588  return _IMP_algebra.GridIndex5D___ne__(self, o)
6589 
6590 
6591  def __lt__(self, o):
6592  """__lt__(GridIndex5D self, GridIndex5D o) -> bool"""
6593  return _IMP_algebra.GridIndex5D___lt__(self, o)
6594 
6595 
6596  def __gt__(self, o):
6597  """__gt__(GridIndex5D self, GridIndex5D o) -> bool"""
6598  return _IMP_algebra.GridIndex5D___gt__(self, o)
6599 
6600 
6601  def __ge__(self, o):
6602  """__ge__(GridIndex5D self, GridIndex5D o) -> bool"""
6603  return _IMP_algebra.GridIndex5D___ge__(self, o)
6604 
6605 
6606  def __le__(self, o):
6607  """__le__(GridIndex5D self, GridIndex5D o) -> bool"""
6608  return _IMP_algebra.GridIndex5D___le__(self, o)
6609 
6610 
6611  def __hash__(self):
6612  """__hash__(GridIndex5D self) -> std::size_t"""
6613  return _IMP_algebra.GridIndex5D___hash__(self)
6614 
6615 
6616  def __str__(self):
6617  """__str__(GridIndex5D self) -> std::string"""
6618  return _IMP_algebra.GridIndex5D___str__(self)
6619 
6620 
6621  def __repr__(self):
6622  """__repr__(GridIndex5D self) -> std::string"""
6623  return _IMP_algebra.GridIndex5D___repr__(self)
6624 
6625  __swig_destroy__ = _IMP_algebra.delete_GridIndex5D
6626  __del__ = lambda self: None
6627 GridIndex5D_swigregister = _IMP_algebra.GridIndex5D_swigregister
6628 GridIndex5D_swigregister(GridIndex5D)
6629 
6630 class GridIndex6D(IMP._Value):
6631  """Proxy of C++ IMP::algebra::GridIndexD<(6)> class."""
6632 
6633  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6634 
6635  def __init__(self, *args):
6636  """
6637  __init__(IMP::algebra::GridIndexD<(6)> self) -> GridIndex6D
6638  __init__(IMP::algebra::GridIndexD<(6)> self, int x) -> GridIndex6D
6639  __init__(IMP::algebra::GridIndexD<(6)> self, int x, int y) -> GridIndex6D
6640  __init__(IMP::algebra::GridIndexD<(6)> self, int x, int y, int z) -> GridIndex6D
6641  __init__(IMP::algebra::GridIndexD<(6)> self, int i, int j, int k, int l) -> GridIndex6D
6642  __init__(IMP::algebra::GridIndexD<(6)> self, int i, int j, int k, int l, int m) -> GridIndex6D
6643  __init__(IMP::algebra::GridIndexD<(6)> self, int i, int j, int k, int l, int m, int n) -> GridIndex6D
6644  """
6645  this = _IMP_algebra.new_GridIndex6D(*args)
6646  try:
6647  self.this.append(this)
6648  except __builtin__.Exception:
6649  self.this = this
6650 
6651  def get_dimension(self):
6652  """get_dimension(GridIndex6D self) -> unsigned int"""
6653  return _IMP_algebra.GridIndex6D_get_dimension(self)
6654 
6655 
6656  def __getitem__(self, i):
6657  """__getitem__(GridIndex6D self, unsigned int i) -> int const &"""
6658  return _IMP_algebra.GridIndex6D___getitem__(self, i)
6659 
6660 
6661  def show(self, *args):
6662  """
6663  show(GridIndex6D self, _ostream out)
6664  show(GridIndex6D self)
6665  """
6666  return _IMP_algebra.GridIndex6D_show(self, *args)
6667 
6668 
6669  def __len__(self):
6670  """__len__(GridIndex6D self) -> unsigned int"""
6671  return _IMP_algebra.GridIndex6D___len__(self)
6672 
6673 
6674  def __cmp__(self, o):
6675  """__cmp__(GridIndex6D self, GridIndex6D o) -> int"""
6676  return _IMP_algebra.GridIndex6D___cmp__(self, o)
6677 
6678 
6679  def __eq__(self, o):
6680  """__eq__(GridIndex6D self, GridIndex6D o) -> bool"""
6681  return _IMP_algebra.GridIndex6D___eq__(self, o)
6682 
6683 
6684  def __ne__(self, o):
6685  """__ne__(GridIndex6D self, GridIndex6D o) -> bool"""
6686  return _IMP_algebra.GridIndex6D___ne__(self, o)
6687 
6688 
6689  def __lt__(self, o):
6690  """__lt__(GridIndex6D self, GridIndex6D o) -> bool"""
6691  return _IMP_algebra.GridIndex6D___lt__(self, o)
6692 
6693 
6694  def __gt__(self, o):
6695  """__gt__(GridIndex6D self, GridIndex6D o) -> bool"""
6696  return _IMP_algebra.GridIndex6D___gt__(self, o)
6697 
6698 
6699  def __ge__(self, o):
6700  """__ge__(GridIndex6D self, GridIndex6D o) -> bool"""
6701  return _IMP_algebra.GridIndex6D___ge__(self, o)
6702 
6703 
6704  def __le__(self, o):
6705  """__le__(GridIndex6D self, GridIndex6D o) -> bool"""
6706  return _IMP_algebra.GridIndex6D___le__(self, o)
6707 
6708 
6709  def __hash__(self):
6710  """__hash__(GridIndex6D self) -> std::size_t"""
6711  return _IMP_algebra.GridIndex6D___hash__(self)
6712 
6713 
6714  def __str__(self):
6715  """__str__(GridIndex6D self) -> std::string"""
6716  return _IMP_algebra.GridIndex6D___str__(self)
6717 
6718 
6719  def __repr__(self):
6720  """__repr__(GridIndex6D self) -> std::string"""
6721  return _IMP_algebra.GridIndex6D___repr__(self)
6722 
6723  __swig_destroy__ = _IMP_algebra.delete_GridIndex6D
6724  __del__ = lambda self: None
6725 GridIndex6D_swigregister = _IMP_algebra.GridIndex6D_swigregister
6726 GridIndex6D_swigregister(GridIndex6D)
6727 
6728 class GridIndexKD(IMP._Value):
6729  """Proxy of C++ IMP::algebra::GridIndexD<(-1)> class."""
6730 
6731  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6732 
6733  def __init__(self, *args):
6734  """
6735  __init__(IMP::algebra::GridIndexD<(-1)> self) -> GridIndexKD
6736  __init__(IMP::algebra::GridIndexD<(-1)> self, int x) -> GridIndexKD
6737  __init__(IMP::algebra::GridIndexD<(-1)> self, int x, int y) -> GridIndexKD
6738  __init__(IMP::algebra::GridIndexD<(-1)> self, int x, int y, int z) -> GridIndexKD
6739  __init__(IMP::algebra::GridIndexD<(-1)> self, int i, int j, int k, int l) -> GridIndexKD
6740  __init__(IMP::algebra::GridIndexD<(-1)> self, int i, int j, int k, int l, int m) -> GridIndexKD
6741  __init__(IMP::algebra::GridIndexD<(-1)> self, int i, int j, int k, int l, int m, int n) -> GridIndexKD
6742  """
6743  this = _IMP_algebra.new_GridIndexKD(*args)
6744  try:
6745  self.this.append(this)
6746  except __builtin__.Exception:
6747  self.this = this
6748 
6749  def get_dimension(self):
6750  """get_dimension(GridIndexKD self) -> unsigned int"""
6751  return _IMP_algebra.GridIndexKD_get_dimension(self)
6752 
6753 
6754  def __getitem__(self, i):
6755  """__getitem__(GridIndexKD self, unsigned int i) -> int const &"""
6756  return _IMP_algebra.GridIndexKD___getitem__(self, i)
6757 
6758 
6759  def show(self, *args):
6760  """
6761  show(GridIndexKD self, _ostream out)
6762  show(GridIndexKD self)
6763  """
6764  return _IMP_algebra.GridIndexKD_show(self, *args)
6765 
6766 
6767  def __len__(self):
6768  """__len__(GridIndexKD self) -> unsigned int"""
6769  return _IMP_algebra.GridIndexKD___len__(self)
6770 
6771 
6772  def __cmp__(self, o):
6773  """__cmp__(GridIndexKD self, GridIndexKD o) -> int"""
6774  return _IMP_algebra.GridIndexKD___cmp__(self, o)
6775 
6776 
6777  def __eq__(self, o):
6778  """__eq__(GridIndexKD self, GridIndexKD o) -> bool"""
6779  return _IMP_algebra.GridIndexKD___eq__(self, o)
6780 
6781 
6782  def __ne__(self, o):
6783  """__ne__(GridIndexKD self, GridIndexKD o) -> bool"""
6784  return _IMP_algebra.GridIndexKD___ne__(self, o)
6785 
6786 
6787  def __lt__(self, o):
6788  """__lt__(GridIndexKD self, GridIndexKD o) -> bool"""
6789  return _IMP_algebra.GridIndexKD___lt__(self, o)
6790 
6791 
6792  def __gt__(self, o):
6793  """__gt__(GridIndexKD self, GridIndexKD o) -> bool"""
6794  return _IMP_algebra.GridIndexKD___gt__(self, o)
6795 
6796 
6797  def __ge__(self, o):
6798  """__ge__(GridIndexKD self, GridIndexKD o) -> bool"""
6799  return _IMP_algebra.GridIndexKD___ge__(self, o)
6800 
6801 
6802  def __le__(self, o):
6803  """__le__(GridIndexKD self, GridIndexKD o) -> bool"""
6804  return _IMP_algebra.GridIndexKD___le__(self, o)
6805 
6806 
6807  def __hash__(self):
6808  """__hash__(GridIndexKD self) -> std::size_t"""
6809  return _IMP_algebra.GridIndexKD___hash__(self)
6810 
6811 
6812  def __str__(self):
6813  """__str__(GridIndexKD self) -> std::string"""
6814  return _IMP_algebra.GridIndexKD___str__(self)
6815 
6816 
6817  def __repr__(self):
6818  """__repr__(GridIndexKD self) -> std::string"""
6819  return _IMP_algebra.GridIndexKD___repr__(self)
6820 
6821  __swig_destroy__ = _IMP_algebra.delete_GridIndexKD
6822  __del__ = lambda self: None
6823 GridIndexKD_swigregister = _IMP_algebra.GridIndexKD_swigregister
6824 GridIndexKD_swigregister(GridIndexKD)
6825 
6826 class ExtendedGridIndex1D(IMP._Value):
6827  """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(1)> class."""
6828 
6829  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6830 
6831  def __init__(self, *args):
6832  """
6833  __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, IMP::Ints vals) -> ExtendedGridIndex1D
6834  __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int x) -> ExtendedGridIndex1D
6835  __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int x, int y) -> ExtendedGridIndex1D
6836  __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int x, int y, int z) -> ExtendedGridIndex1D
6837  __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int i, int j, int k, int l) -> ExtendedGridIndex1D
6838  __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex1D
6839  __init__(IMP::algebra::ExtendedGridIndexD<(1)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex1D
6840  __init__(IMP::algebra::ExtendedGridIndexD<(1)> self) -> ExtendedGridIndex1D
6841  """
6842  this = _IMP_algebra.new_ExtendedGridIndex1D(*args)
6843  try:
6844  self.this.append(this)
6845  except __builtin__.Exception:
6846  self.this = this
6847 
6848  def get_dimension(self):
6849  """get_dimension(ExtendedGridIndex1D self) -> unsigned int"""
6850  return _IMP_algebra.ExtendedGridIndex1D_get_dimension(self)
6851 
6852 
6853  def __cmp__(self, o):
6854  """__cmp__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> int"""
6855  return _IMP_algebra.ExtendedGridIndex1D___cmp__(self, o)
6856 
6857 
6858  def __eq__(self, o):
6859  """__eq__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
6860  return _IMP_algebra.ExtendedGridIndex1D___eq__(self, o)
6861 
6862 
6863  def __ne__(self, o):
6864  """__ne__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
6865  return _IMP_algebra.ExtendedGridIndex1D___ne__(self, o)
6866 
6867 
6868  def __lt__(self, o):
6869  """__lt__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
6870  return _IMP_algebra.ExtendedGridIndex1D___lt__(self, o)
6871 
6872 
6873  def __gt__(self, o):
6874  """__gt__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
6875  return _IMP_algebra.ExtendedGridIndex1D___gt__(self, o)
6876 
6877 
6878  def __ge__(self, o):
6879  """__ge__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
6880  return _IMP_algebra.ExtendedGridIndex1D___ge__(self, o)
6881 
6882 
6883  def __le__(self, o):
6884  """__le__(ExtendedGridIndex1D self, ExtendedGridIndex1D o) -> bool"""
6885  return _IMP_algebra.ExtendedGridIndex1D___le__(self, o)
6886 
6887 
6888  def __setitem__(self, i, v):
6889  """__setitem__(ExtendedGridIndex1D self, unsigned int i, int const & v)"""
6890  return _IMP_algebra.ExtendedGridIndex1D___setitem__(self, i, v)
6891 
6892 
6893  def __getitem__(self, i):
6894  """__getitem__(ExtendedGridIndex1D self, unsigned int i) -> int const &"""
6895  return _IMP_algebra.ExtendedGridIndex1D___getitem__(self, i)
6896 
6897 
6898  def show(self, *args):
6899  """
6900  show(ExtendedGridIndex1D self, _ostream out)
6901  show(ExtendedGridIndex1D self)
6902  """
6903  return _IMP_algebra.ExtendedGridIndex1D_show(self, *args)
6904 
6905 
6906  def __len__(self):
6907  """__len__(ExtendedGridIndex1D self) -> unsigned int"""
6908  return _IMP_algebra.ExtendedGridIndex1D___len__(self)
6909 
6910 
6911  def __hash__(self):
6912  """__hash__(ExtendedGridIndex1D self) -> std::size_t"""
6913  return _IMP_algebra.ExtendedGridIndex1D___hash__(self)
6914 
6915 
6916  def get_uniform_offset(self, ii):
6917  """get_uniform_offset(ExtendedGridIndex1D self, int ii) -> ExtendedGridIndex1D"""
6918  return _IMP_algebra.ExtendedGridIndex1D_get_uniform_offset(self, ii)
6919 
6920 
6921  def get_offset(self, i, j, k):
6922  """get_offset(ExtendedGridIndex1D self, int i, int j, int k) -> ExtendedGridIndex1D"""
6923  return _IMP_algebra.ExtendedGridIndex1D_get_offset(self, i, j, k)
6924 
6925 
6926  def __str__(self):
6927  """__str__(ExtendedGridIndex1D self) -> std::string"""
6928  return _IMP_algebra.ExtendedGridIndex1D___str__(self)
6929 
6930 
6931  def __repr__(self):
6932  """__repr__(ExtendedGridIndex1D self) -> std::string"""
6933  return _IMP_algebra.ExtendedGridIndex1D___repr__(self)
6934 
6935  __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex1D
6936  __del__ = lambda self: None
6937 ExtendedGridIndex1D_swigregister = _IMP_algebra.ExtendedGridIndex1D_swigregister
6938 ExtendedGridIndex1D_swigregister(ExtendedGridIndex1D)
6939 
6940 class ExtendedGridIndex2D(IMP._Value):
6941  """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(2)> class."""
6942 
6943  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6944 
6945  def __init__(self, *args):
6946  """
6947  __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, IMP::Ints vals) -> ExtendedGridIndex2D
6948  __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int x) -> ExtendedGridIndex2D
6949  __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int x, int y) -> ExtendedGridIndex2D
6950  __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int x, int y, int z) -> ExtendedGridIndex2D
6951  __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int i, int j, int k, int l) -> ExtendedGridIndex2D
6952  __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex2D
6953  __init__(IMP::algebra::ExtendedGridIndexD<(2)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex2D
6954  __init__(IMP::algebra::ExtendedGridIndexD<(2)> self) -> ExtendedGridIndex2D
6955  """
6956  this = _IMP_algebra.new_ExtendedGridIndex2D(*args)
6957  try:
6958  self.this.append(this)
6959  except __builtin__.Exception:
6960  self.this = this
6961 
6962  def get_dimension(self):
6963  """get_dimension(ExtendedGridIndex2D self) -> unsigned int"""
6964  return _IMP_algebra.ExtendedGridIndex2D_get_dimension(self)
6965 
6966 
6967  def __cmp__(self, o):
6968  """__cmp__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> int"""
6969  return _IMP_algebra.ExtendedGridIndex2D___cmp__(self, o)
6970 
6971 
6972  def __eq__(self, o):
6973  """__eq__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
6974  return _IMP_algebra.ExtendedGridIndex2D___eq__(self, o)
6975 
6976 
6977  def __ne__(self, o):
6978  """__ne__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
6979  return _IMP_algebra.ExtendedGridIndex2D___ne__(self, o)
6980 
6981 
6982  def __lt__(self, o):
6983  """__lt__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
6984  return _IMP_algebra.ExtendedGridIndex2D___lt__(self, o)
6985 
6986 
6987  def __gt__(self, o):
6988  """__gt__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
6989  return _IMP_algebra.ExtendedGridIndex2D___gt__(self, o)
6990 
6991 
6992  def __ge__(self, o):
6993  """__ge__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
6994  return _IMP_algebra.ExtendedGridIndex2D___ge__(self, o)
6995 
6996 
6997  def __le__(self, o):
6998  """__le__(ExtendedGridIndex2D self, ExtendedGridIndex2D o) -> bool"""
6999  return _IMP_algebra.ExtendedGridIndex2D___le__(self, o)
7000 
7001 
7002  def __setitem__(self, i, v):
7003  """__setitem__(ExtendedGridIndex2D self, unsigned int i, int const & v)"""
7004  return _IMP_algebra.ExtendedGridIndex2D___setitem__(self, i, v)
7005 
7006 
7007  def __getitem__(self, i):
7008  """__getitem__(ExtendedGridIndex2D self, unsigned int i) -> int const &"""
7009  return _IMP_algebra.ExtendedGridIndex2D___getitem__(self, i)
7010 
7011 
7012  def show(self, *args):
7013  """
7014  show(ExtendedGridIndex2D self, _ostream out)
7015  show(ExtendedGridIndex2D self)
7016  """
7017  return _IMP_algebra.ExtendedGridIndex2D_show(self, *args)
7018 
7019 
7020  def __len__(self):
7021  """__len__(ExtendedGridIndex2D self) -> unsigned int"""
7022  return _IMP_algebra.ExtendedGridIndex2D___len__(self)
7023 
7024 
7025  def __hash__(self):
7026  """__hash__(ExtendedGridIndex2D self) -> std::size_t"""
7027  return _IMP_algebra.ExtendedGridIndex2D___hash__(self)
7028 
7029 
7030  def get_uniform_offset(self, ii):
7031  """get_uniform_offset(ExtendedGridIndex2D self, int ii) -> ExtendedGridIndex2D"""
7032  return _IMP_algebra.ExtendedGridIndex2D_get_uniform_offset(self, ii)
7033 
7034 
7035  def get_offset(self, i, j, k):
7036  """get_offset(ExtendedGridIndex2D self, int i, int j, int k) -> ExtendedGridIndex2D"""
7037  return _IMP_algebra.ExtendedGridIndex2D_get_offset(self, i, j, k)
7038 
7039 
7040  def __str__(self):
7041  """__str__(ExtendedGridIndex2D self) -> std::string"""
7042  return _IMP_algebra.ExtendedGridIndex2D___str__(self)
7043 
7044 
7045  def __repr__(self):
7046  """__repr__(ExtendedGridIndex2D self) -> std::string"""
7047  return _IMP_algebra.ExtendedGridIndex2D___repr__(self)
7048 
7049  __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex2D
7050  __del__ = lambda self: None
7051 ExtendedGridIndex2D_swigregister = _IMP_algebra.ExtendedGridIndex2D_swigregister
7052 ExtendedGridIndex2D_swigregister(ExtendedGridIndex2D)
7053 
7054 class ExtendedGridIndex3D(IMP._Value):
7055  """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(3)> class."""
7056 
7057  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7058 
7059  def __init__(self, *args):
7060  """
7061  __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, IMP::Ints vals) -> ExtendedGridIndex3D
7062  __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int x) -> ExtendedGridIndex3D
7063  __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int x, int y) -> ExtendedGridIndex3D
7064  __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int x, int y, int z) -> ExtendedGridIndex3D
7065  __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int i, int j, int k, int l) -> ExtendedGridIndex3D
7066  __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex3D
7067  __init__(IMP::algebra::ExtendedGridIndexD<(3)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex3D
7068  __init__(IMP::algebra::ExtendedGridIndexD<(3)> self) -> ExtendedGridIndex3D
7069  """
7070  this = _IMP_algebra.new_ExtendedGridIndex3D(*args)
7071  try:
7072  self.this.append(this)
7073  except __builtin__.Exception:
7074  self.this = this
7075 
7076  def get_dimension(self):
7077  """get_dimension(ExtendedGridIndex3D self) -> unsigned int"""
7078  return _IMP_algebra.ExtendedGridIndex3D_get_dimension(self)
7079 
7080 
7081  def __cmp__(self, o):
7082  """__cmp__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> int"""
7083  return _IMP_algebra.ExtendedGridIndex3D___cmp__(self, o)
7084 
7085 
7086  def __eq__(self, o):
7087  """__eq__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7088  return _IMP_algebra.ExtendedGridIndex3D___eq__(self, o)
7089 
7090 
7091  def __ne__(self, o):
7092  """__ne__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7093  return _IMP_algebra.ExtendedGridIndex3D___ne__(self, o)
7094 
7095 
7096  def __lt__(self, o):
7097  """__lt__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7098  return _IMP_algebra.ExtendedGridIndex3D___lt__(self, o)
7099 
7100 
7101  def __gt__(self, o):
7102  """__gt__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7103  return _IMP_algebra.ExtendedGridIndex3D___gt__(self, o)
7104 
7105 
7106  def __ge__(self, o):
7107  """__ge__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7108  return _IMP_algebra.ExtendedGridIndex3D___ge__(self, o)
7109 
7110 
7111  def __le__(self, o):
7112  """__le__(ExtendedGridIndex3D self, ExtendedGridIndex3D o) -> bool"""
7113  return _IMP_algebra.ExtendedGridIndex3D___le__(self, o)
7114 
7115 
7116  def __setitem__(self, i, v):
7117  """__setitem__(ExtendedGridIndex3D self, unsigned int i, int const & v)"""
7118  return _IMP_algebra.ExtendedGridIndex3D___setitem__(self, i, v)
7119 
7120 
7121  def __getitem__(self, i):
7122  """__getitem__(ExtendedGridIndex3D self, unsigned int i) -> int const &"""
7123  return _IMP_algebra.ExtendedGridIndex3D___getitem__(self, i)
7124 
7125 
7126  def show(self, *args):
7127  """
7128  show(ExtendedGridIndex3D self, _ostream out)
7129  show(ExtendedGridIndex3D self)
7130  """
7131  return _IMP_algebra.ExtendedGridIndex3D_show(self, *args)
7132 
7133 
7134  def __len__(self):
7135  """__len__(ExtendedGridIndex3D self) -> unsigned int"""
7136  return _IMP_algebra.ExtendedGridIndex3D___len__(self)
7137 
7138 
7139  def __hash__(self):
7140  """__hash__(ExtendedGridIndex3D self) -> std::size_t"""
7141  return _IMP_algebra.ExtendedGridIndex3D___hash__(self)
7142 
7143 
7144  def get_uniform_offset(self, ii):
7145  """get_uniform_offset(ExtendedGridIndex3D self, int ii) -> ExtendedGridIndex3D"""
7146  return _IMP_algebra.ExtendedGridIndex3D_get_uniform_offset(self, ii)
7147 
7148 
7149  def get_offset(self, i, j, k):
7150  """get_offset(ExtendedGridIndex3D self, int i, int j, int k) -> ExtendedGridIndex3D"""
7151  return _IMP_algebra.ExtendedGridIndex3D_get_offset(self, i, j, k)
7152 
7153 
7154  def __str__(self):
7155  """__str__(ExtendedGridIndex3D self) -> std::string"""
7156  return _IMP_algebra.ExtendedGridIndex3D___str__(self)
7157 
7158 
7159  def __repr__(self):
7160  """__repr__(ExtendedGridIndex3D self) -> std::string"""
7161  return _IMP_algebra.ExtendedGridIndex3D___repr__(self)
7162 
7163  __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex3D
7164  __del__ = lambda self: None
7165 ExtendedGridIndex3D_swigregister = _IMP_algebra.ExtendedGridIndex3D_swigregister
7166 ExtendedGridIndex3D_swigregister(ExtendedGridIndex3D)
7167 
7168 class ExtendedGridIndex4D(IMP._Value):
7169  """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(4)> class."""
7170 
7171  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7172 
7173  def __init__(self, *args):
7174  """
7175  __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, IMP::Ints vals) -> ExtendedGridIndex4D
7176  __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int x) -> ExtendedGridIndex4D
7177  __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int x, int y) -> ExtendedGridIndex4D
7178  __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int x, int y, int z) -> ExtendedGridIndex4D
7179  __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int i, int j, int k, int l) -> ExtendedGridIndex4D
7180  __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex4D
7181  __init__(IMP::algebra::ExtendedGridIndexD<(4)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex4D
7182  __init__(IMP::algebra::ExtendedGridIndexD<(4)> self) -> ExtendedGridIndex4D
7183  """
7184  this = _IMP_algebra.new_ExtendedGridIndex4D(*args)
7185  try:
7186  self.this.append(this)
7187  except __builtin__.Exception:
7188  self.this = this
7189 
7190  def get_dimension(self):
7191  """get_dimension(ExtendedGridIndex4D self) -> unsigned int"""
7192  return _IMP_algebra.ExtendedGridIndex4D_get_dimension(self)
7193 
7194 
7195  def __cmp__(self, o):
7196  """__cmp__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> int"""
7197  return _IMP_algebra.ExtendedGridIndex4D___cmp__(self, o)
7198 
7199 
7200  def __eq__(self, o):
7201  """__eq__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7202  return _IMP_algebra.ExtendedGridIndex4D___eq__(self, o)
7203 
7204 
7205  def __ne__(self, o):
7206  """__ne__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7207  return _IMP_algebra.ExtendedGridIndex4D___ne__(self, o)
7208 
7209 
7210  def __lt__(self, o):
7211  """__lt__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7212  return _IMP_algebra.ExtendedGridIndex4D___lt__(self, o)
7213 
7214 
7215  def __gt__(self, o):
7216  """__gt__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7217  return _IMP_algebra.ExtendedGridIndex4D___gt__(self, o)
7218 
7219 
7220  def __ge__(self, o):
7221  """__ge__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7222  return _IMP_algebra.ExtendedGridIndex4D___ge__(self, o)
7223 
7224 
7225  def __le__(self, o):
7226  """__le__(ExtendedGridIndex4D self, ExtendedGridIndex4D o) -> bool"""
7227  return _IMP_algebra.ExtendedGridIndex4D___le__(self, o)
7228 
7229 
7230  def __setitem__(self, i, v):
7231  """__setitem__(ExtendedGridIndex4D self, unsigned int i, int const & v)"""
7232  return _IMP_algebra.ExtendedGridIndex4D___setitem__(self, i, v)
7233 
7234 
7235  def __getitem__(self, i):
7236  """__getitem__(ExtendedGridIndex4D self, unsigned int i) -> int const &"""
7237  return _IMP_algebra.ExtendedGridIndex4D___getitem__(self, i)
7238 
7239 
7240  def show(self, *args):
7241  """
7242  show(ExtendedGridIndex4D self, _ostream out)
7243  show(ExtendedGridIndex4D self)
7244  """
7245  return _IMP_algebra.ExtendedGridIndex4D_show(self, *args)
7246 
7247 
7248  def __len__(self):
7249  """__len__(ExtendedGridIndex4D self) -> unsigned int"""
7250  return _IMP_algebra.ExtendedGridIndex4D___len__(self)
7251 
7252 
7253  def __hash__(self):
7254  """__hash__(ExtendedGridIndex4D self) -> std::size_t"""
7255  return _IMP_algebra.ExtendedGridIndex4D___hash__(self)
7256 
7257 
7258  def get_uniform_offset(self, ii):
7259  """get_uniform_offset(ExtendedGridIndex4D self, int ii) -> ExtendedGridIndex4D"""
7260  return _IMP_algebra.ExtendedGridIndex4D_get_uniform_offset(self, ii)
7261 
7262 
7263  def get_offset(self, i, j, k):
7264  """get_offset(ExtendedGridIndex4D self, int i, int j, int k) -> ExtendedGridIndex4D"""
7265  return _IMP_algebra.ExtendedGridIndex4D_get_offset(self, i, j, k)
7266 
7267 
7268  def __str__(self):
7269  """__str__(ExtendedGridIndex4D self) -> std::string"""
7270  return _IMP_algebra.ExtendedGridIndex4D___str__(self)
7271 
7272 
7273  def __repr__(self):
7274  """__repr__(ExtendedGridIndex4D self) -> std::string"""
7275  return _IMP_algebra.ExtendedGridIndex4D___repr__(self)
7276 
7277  __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex4D
7278  __del__ = lambda self: None
7279 ExtendedGridIndex4D_swigregister = _IMP_algebra.ExtendedGridIndex4D_swigregister
7280 ExtendedGridIndex4D_swigregister(ExtendedGridIndex4D)
7281 
7282 class ExtendedGridIndex5D(IMP._Value):
7283  """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(5)> class."""
7284 
7285  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7286 
7287  def __init__(self, *args):
7288  """
7289  __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, IMP::Ints vals) -> ExtendedGridIndex5D
7290  __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int x) -> ExtendedGridIndex5D
7291  __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int x, int y) -> ExtendedGridIndex5D
7292  __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int x, int y, int z) -> ExtendedGridIndex5D
7293  __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int i, int j, int k, int l) -> ExtendedGridIndex5D
7294  __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex5D
7295  __init__(IMP::algebra::ExtendedGridIndexD<(5)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex5D
7296  __init__(IMP::algebra::ExtendedGridIndexD<(5)> self) -> ExtendedGridIndex5D
7297  """
7298  this = _IMP_algebra.new_ExtendedGridIndex5D(*args)
7299  try:
7300  self.this.append(this)
7301  except __builtin__.Exception:
7302  self.this = this
7303 
7304  def get_dimension(self):
7305  """get_dimension(ExtendedGridIndex5D self) -> unsigned int"""
7306  return _IMP_algebra.ExtendedGridIndex5D_get_dimension(self)
7307 
7308 
7309  def __cmp__(self, o):
7310  """__cmp__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> int"""
7311  return _IMP_algebra.ExtendedGridIndex5D___cmp__(self, o)
7312 
7313 
7314  def __eq__(self, o):
7315  """__eq__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7316  return _IMP_algebra.ExtendedGridIndex5D___eq__(self, o)
7317 
7318 
7319  def __ne__(self, o):
7320  """__ne__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7321  return _IMP_algebra.ExtendedGridIndex5D___ne__(self, o)
7322 
7323 
7324  def __lt__(self, o):
7325  """__lt__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7326  return _IMP_algebra.ExtendedGridIndex5D___lt__(self, o)
7327 
7328 
7329  def __gt__(self, o):
7330  """__gt__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7331  return _IMP_algebra.ExtendedGridIndex5D___gt__(self, o)
7332 
7333 
7334  def __ge__(self, o):
7335  """__ge__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7336  return _IMP_algebra.ExtendedGridIndex5D___ge__(self, o)
7337 
7338 
7339  def __le__(self, o):
7340  """__le__(ExtendedGridIndex5D self, ExtendedGridIndex5D o) -> bool"""
7341  return _IMP_algebra.ExtendedGridIndex5D___le__(self, o)
7342 
7343 
7344  def __setitem__(self, i, v):
7345  """__setitem__(ExtendedGridIndex5D self, unsigned int i, int const & v)"""
7346  return _IMP_algebra.ExtendedGridIndex5D___setitem__(self, i, v)
7347 
7348 
7349  def __getitem__(self, i):
7350  """__getitem__(ExtendedGridIndex5D self, unsigned int i) -> int const &"""
7351  return _IMP_algebra.ExtendedGridIndex5D___getitem__(self, i)
7352 
7353 
7354  def show(self, *args):
7355  """
7356  show(ExtendedGridIndex5D self, _ostream out)
7357  show(ExtendedGridIndex5D self)
7358  """
7359  return _IMP_algebra.ExtendedGridIndex5D_show(self, *args)
7360 
7361 
7362  def __len__(self):
7363  """__len__(ExtendedGridIndex5D self) -> unsigned int"""
7364  return _IMP_algebra.ExtendedGridIndex5D___len__(self)
7365 
7366 
7367  def __hash__(self):
7368  """__hash__(ExtendedGridIndex5D self) -> std::size_t"""
7369  return _IMP_algebra.ExtendedGridIndex5D___hash__(self)
7370 
7371 
7372  def get_uniform_offset(self, ii):
7373  """get_uniform_offset(ExtendedGridIndex5D self, int ii) -> ExtendedGridIndex5D"""
7374  return _IMP_algebra.ExtendedGridIndex5D_get_uniform_offset(self, ii)
7375 
7376 
7377  def get_offset(self, i, j, k):
7378  """get_offset(ExtendedGridIndex5D self, int i, int j, int k) -> ExtendedGridIndex5D"""
7379  return _IMP_algebra.ExtendedGridIndex5D_get_offset(self, i, j, k)
7380 
7381 
7382  def __str__(self):
7383  """__str__(ExtendedGridIndex5D self) -> std::string"""
7384  return _IMP_algebra.ExtendedGridIndex5D___str__(self)
7385 
7386 
7387  def __repr__(self):
7388  """__repr__(ExtendedGridIndex5D self) -> std::string"""
7389  return _IMP_algebra.ExtendedGridIndex5D___repr__(self)
7390 
7391  __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex5D
7392  __del__ = lambda self: None
7393 ExtendedGridIndex5D_swigregister = _IMP_algebra.ExtendedGridIndex5D_swigregister
7394 ExtendedGridIndex5D_swigregister(ExtendedGridIndex5D)
7395 
7396 class ExtendedGridIndex6D(IMP._Value):
7397  """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(6)> class."""
7398 
7399  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7400 
7401  def __init__(self, *args):
7402  """
7403  __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, IMP::Ints vals) -> ExtendedGridIndex6D
7404  __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int x) -> ExtendedGridIndex6D
7405  __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int x, int y) -> ExtendedGridIndex6D
7406  __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int x, int y, int z) -> ExtendedGridIndex6D
7407  __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int i, int j, int k, int l) -> ExtendedGridIndex6D
7408  __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndex6D
7409  __init__(IMP::algebra::ExtendedGridIndexD<(6)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndex6D
7410  __init__(IMP::algebra::ExtendedGridIndexD<(6)> self) -> ExtendedGridIndex6D
7411  """
7412  this = _IMP_algebra.new_ExtendedGridIndex6D(*args)
7413  try:
7414  self.this.append(this)
7415  except __builtin__.Exception:
7416  self.this = this
7417 
7418  def get_dimension(self):
7419  """get_dimension(ExtendedGridIndex6D self) -> unsigned int"""
7420  return _IMP_algebra.ExtendedGridIndex6D_get_dimension(self)
7421 
7422 
7423  def __cmp__(self, o):
7424  """__cmp__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> int"""
7425  return _IMP_algebra.ExtendedGridIndex6D___cmp__(self, o)
7426 
7427 
7428  def __eq__(self, o):
7429  """__eq__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
7430  return _IMP_algebra.ExtendedGridIndex6D___eq__(self, o)
7431 
7432 
7433  def __ne__(self, o):
7434  """__ne__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
7435  return _IMP_algebra.ExtendedGridIndex6D___ne__(self, o)
7436 
7437 
7438  def __lt__(self, o):
7439  """__lt__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
7440  return _IMP_algebra.ExtendedGridIndex6D___lt__(self, o)
7441 
7442 
7443  def __gt__(self, o):
7444  """__gt__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
7445  return _IMP_algebra.ExtendedGridIndex6D___gt__(self, o)
7446 
7447 
7448  def __ge__(self, o):
7449  """__ge__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
7450  return _IMP_algebra.ExtendedGridIndex6D___ge__(self, o)
7451 
7452 
7453  def __le__(self, o):
7454  """__le__(ExtendedGridIndex6D self, ExtendedGridIndex6D o) -> bool"""
7455  return _IMP_algebra.ExtendedGridIndex6D___le__(self, o)
7456 
7457 
7458  def __setitem__(self, i, v):
7459  """__setitem__(ExtendedGridIndex6D self, unsigned int i, int const & v)"""
7460  return _IMP_algebra.ExtendedGridIndex6D___setitem__(self, i, v)
7461 
7462 
7463  def __getitem__(self, i):
7464  """__getitem__(ExtendedGridIndex6D self, unsigned int i) -> int const &"""
7465  return _IMP_algebra.ExtendedGridIndex6D___getitem__(self, i)
7466 
7467 
7468  def show(self, *args):
7469  """
7470  show(ExtendedGridIndex6D self, _ostream out)
7471  show(ExtendedGridIndex6D self)
7472  """
7473  return _IMP_algebra.ExtendedGridIndex6D_show(self, *args)
7474 
7475 
7476  def __len__(self):
7477  """__len__(ExtendedGridIndex6D self) -> unsigned int"""
7478  return _IMP_algebra.ExtendedGridIndex6D___len__(self)
7479 
7480 
7481  def __hash__(self):
7482  """__hash__(ExtendedGridIndex6D self) -> std::size_t"""
7483  return _IMP_algebra.ExtendedGridIndex6D___hash__(self)
7484 
7485 
7486  def get_uniform_offset(self, ii):
7487  """get_uniform_offset(ExtendedGridIndex6D self, int ii) -> ExtendedGridIndex6D"""
7488  return _IMP_algebra.ExtendedGridIndex6D_get_uniform_offset(self, ii)
7489 
7490 
7491  def get_offset(self, i, j, k):
7492  """get_offset(ExtendedGridIndex6D self, int i, int j, int k) -> ExtendedGridIndex6D"""
7493  return _IMP_algebra.ExtendedGridIndex6D_get_offset(self, i, j, k)
7494 
7495 
7496  def __str__(self):
7497  """__str__(ExtendedGridIndex6D self) -> std::string"""
7498  return _IMP_algebra.ExtendedGridIndex6D___str__(self)
7499 
7500 
7501  def __repr__(self):
7502  """__repr__(ExtendedGridIndex6D self) -> std::string"""
7503  return _IMP_algebra.ExtendedGridIndex6D___repr__(self)
7504 
7505  __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndex6D
7506  __del__ = lambda self: None
7507 ExtendedGridIndex6D_swigregister = _IMP_algebra.ExtendedGridIndex6D_swigregister
7508 ExtendedGridIndex6D_swigregister(ExtendedGridIndex6D)
7509 
7510 class ExtendedGridIndexKD(IMP._Value):
7511  """Proxy of C++ IMP::algebra::ExtendedGridIndexD<(-1)> class."""
7512 
7513  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7514 
7515  def __init__(self, *args):
7516  """
7517  __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, IMP::Ints vals) -> ExtendedGridIndexKD
7518  __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int x) -> ExtendedGridIndexKD
7519  __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int x, int y) -> ExtendedGridIndexKD
7520  __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int x, int y, int z) -> ExtendedGridIndexKD
7521  __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int i, int j, int k, int l) -> ExtendedGridIndexKD
7522  __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int i, int j, int k, int l, int m) -> ExtendedGridIndexKD
7523  __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self, int i, int j, int k, int l, int m, int n) -> ExtendedGridIndexKD
7524  __init__(IMP::algebra::ExtendedGridIndexD<(-1)> self) -> ExtendedGridIndexKD
7525  """
7526  this = _IMP_algebra.new_ExtendedGridIndexKD(*args)
7527  try:
7528  self.this.append(this)
7529  except __builtin__.Exception:
7530  self.this = this
7531 
7532  def get_dimension(self):
7533  """get_dimension(ExtendedGridIndexKD self) -> unsigned int"""
7534  return _IMP_algebra.ExtendedGridIndexKD_get_dimension(self)
7535 
7536 
7537  def __cmp__(self, o):
7538  """__cmp__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> int"""
7539  return _IMP_algebra.ExtendedGridIndexKD___cmp__(self, o)
7540 
7541 
7542  def __eq__(self, o):
7543  """__eq__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
7544  return _IMP_algebra.ExtendedGridIndexKD___eq__(self, o)
7545 
7546 
7547  def __ne__(self, o):
7548  """__ne__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
7549  return _IMP_algebra.ExtendedGridIndexKD___ne__(self, o)
7550 
7551 
7552  def __lt__(self, o):
7553  """__lt__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
7554  return _IMP_algebra.ExtendedGridIndexKD___lt__(self, o)
7555 
7556 
7557  def __gt__(self, o):
7558  """__gt__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
7559  return _IMP_algebra.ExtendedGridIndexKD___gt__(self, o)
7560 
7561 
7562  def __ge__(self, o):
7563  """__ge__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
7564  return _IMP_algebra.ExtendedGridIndexKD___ge__(self, o)
7565 
7566 
7567  def __le__(self, o):
7568  """__le__(ExtendedGridIndexKD self, ExtendedGridIndexKD o) -> bool"""
7569  return _IMP_algebra.ExtendedGridIndexKD___le__(self, o)
7570 
7571 
7572  def __setitem__(self, i, v):
7573  """__setitem__(ExtendedGridIndexKD self, unsigned int i, int const & v)"""
7574  return _IMP_algebra.ExtendedGridIndexKD___setitem__(self, i, v)
7575 
7576 
7577  def __getitem__(self, i):
7578  """__getitem__(ExtendedGridIndexKD self, unsigned int i) -> int const &"""
7579  return _IMP_algebra.ExtendedGridIndexKD___getitem__(self, i)
7580 
7581 
7582  def show(self, *args):
7583  """
7584  show(ExtendedGridIndexKD self, _ostream out)
7585  show(ExtendedGridIndexKD self)
7586  """
7587  return _IMP_algebra.ExtendedGridIndexKD_show(self, *args)
7588 
7589 
7590  def __len__(self):
7591  """__len__(ExtendedGridIndexKD self) -> unsigned int"""
7592  return _IMP_algebra.ExtendedGridIndexKD___len__(self)
7593 
7594 
7595  def __hash__(self):
7596  """__hash__(ExtendedGridIndexKD self) -> std::size_t"""
7597  return _IMP_algebra.ExtendedGridIndexKD___hash__(self)
7598 
7599 
7600  def get_uniform_offset(self, ii):
7601  """get_uniform_offset(ExtendedGridIndexKD self, int ii) -> ExtendedGridIndexKD"""
7602  return _IMP_algebra.ExtendedGridIndexKD_get_uniform_offset(self, ii)
7603 
7604 
7605  def get_offset(self, i, j, k):
7606  """get_offset(ExtendedGridIndexKD self, int i, int j, int k) -> ExtendedGridIndexKD"""
7607  return _IMP_algebra.ExtendedGridIndexKD_get_offset(self, i, j, k)
7608 
7609 
7610  def __str__(self):
7611  """__str__(ExtendedGridIndexKD self) -> std::string"""
7612  return _IMP_algebra.ExtendedGridIndexKD___str__(self)
7613 
7614 
7615  def __repr__(self):
7616  """__repr__(ExtendedGridIndexKD self) -> std::string"""
7617  return _IMP_algebra.ExtendedGridIndexKD___repr__(self)
7618 
7619  __swig_destroy__ = _IMP_algebra.delete_ExtendedGridIndexKD
7620  __del__ = lambda self: None
7621 ExtendedGridIndexKD_swigregister = _IMP_algebra.ExtendedGridIndexKD_swigregister
7622 ExtendedGridIndexKD_swigregister(ExtendedGridIndexKD)
7623 
7624 class BoundedGridRange1D(object):
7625  """Proxy of C++ IMP::algebra::BoundedGridRangeD<(1)> class."""
7626 
7627  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7628 
7629  def get_is_bounded():
7630  """get_is_bounded() -> bool"""
7631  return _IMP_algebra.BoundedGridRange1D_get_is_bounded()
7632 
7633  get_is_bounded = staticmethod(get_is_bounded)
7634 
7635  def __init__(self, *args):
7636  """
7637  __init__(IMP::algebra::BoundedGridRangeD<(1)> self) -> BoundedGridRange1D
7638  __init__(IMP::algebra::BoundedGridRangeD<(1)> self, IMP::Ints const & counts) -> BoundedGridRange1D
7639  """
7640  this = _IMP_algebra.new_BoundedGridRange1D(*args)
7641  try:
7642  self.this.append(this)
7643  except __builtin__.Exception:
7644  self.this = this
7645 
7646  def get_number_of_voxels(self, *args):
7647  """
7648  get_number_of_voxels(BoundedGridRange1D self, unsigned int i) -> unsigned int
7649  get_number_of_voxels(BoundedGridRange1D self) -> unsigned int
7650  """
7651  return _IMP_algebra.BoundedGridRange1D_get_number_of_voxels(self, *args)
7652 
7653 
7654  def get_end_index(self):
7655  """get_end_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
7656  return _IMP_algebra.BoundedGridRange1D_get_end_index(self)
7657 
7658 
7659  def show(self, *args):
7660  """
7661  show(BoundedGridRange1D self, _ostream out)
7662  show(BoundedGridRange1D self)
7663  """
7664  return _IMP_algebra.BoundedGridRange1D_show(self, *args)
7665 
7666 
7667  def get_all_indexes(self):
7668  """get_all_indexes(BoundedGridRange1D self) -> IMP::Vector< IMP::algebra::GridIndexD< 1 > >"""
7669  return _IMP_algebra.BoundedGridRange1D_get_all_indexes(self)
7670 
7671 
7672  def get_indexes(self, lb, ub):
7673  """get_indexes(BoundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 1 > >"""
7674  return _IMP_algebra.BoundedGridRange1D_get_indexes(self, lb, ub)
7675 
7676 
7677  def get_extended_indexes(self, lb, ub):
7678  """get_extended_indexes(BoundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 1 > >"""
7679  return _IMP_algebra.BoundedGridRange1D_get_extended_indexes(self, lb, ub)
7680 
7681 
7682  def get_index(self, v):
7683  """get_index(BoundedGridRange1D self, ExtendedGridIndex1D v) -> GridIndex1D"""
7684  return _IMP_algebra.BoundedGridRange1D_get_index(self, v)
7685 
7686 
7687  def get_has_index(self, v):
7688  """get_has_index(BoundedGridRange1D self, ExtendedGridIndex1D v) -> bool"""
7689  return _IMP_algebra.BoundedGridRange1D_get_has_index(self, v)
7690 
7691 
7692  def get_minimum_extended_index(self):
7693  """get_minimum_extended_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
7694  return _IMP_algebra.BoundedGridRange1D_get_minimum_extended_index(self)
7695 
7696 
7697  def get_maximum_extended_index(self):
7698  """get_maximum_extended_index(BoundedGridRange1D self) -> ExtendedGridIndex1D"""
7699  return _IMP_algebra.BoundedGridRange1D_get_maximum_extended_index(self)
7700 
7701 
7702  def __str__(self):
7703  """__str__(BoundedGridRange1D self) -> std::string"""
7704  return _IMP_algebra.BoundedGridRange1D___str__(self)
7705 
7706 
7707  def __repr__(self):
7708  """__repr__(BoundedGridRange1D self) -> std::string"""
7709  return _IMP_algebra.BoundedGridRange1D___repr__(self)
7710 
7711 
7712  def __cmp__(self, arg2):
7713  """__cmp__(BoundedGridRange1D self, BoundedGridRange1D arg2) -> int"""
7714  return _IMP_algebra.BoundedGridRange1D___cmp__(self, arg2)
7715 
7716 
7717  def __eq__(self, arg2):
7718  """__eq__(BoundedGridRange1D self, BoundedGridRange1D arg2) -> bool"""
7719  return _IMP_algebra.BoundedGridRange1D___eq__(self, arg2)
7720 
7721  __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange1D
7722  __del__ = lambda self: None
7723 BoundedGridRange1D_swigregister = _IMP_algebra.BoundedGridRange1D_swigregister
7724 BoundedGridRange1D_swigregister(BoundedGridRange1D)
7725 
7726 def BoundedGridRange1D_get_is_bounded():
7727  """BoundedGridRange1D_get_is_bounded() -> bool"""
7728  return _IMP_algebra.BoundedGridRange1D_get_is_bounded()
7729 
7730 class BoundedGridRange2D(object):
7731  """Proxy of C++ IMP::algebra::BoundedGridRangeD<(2)> class."""
7732 
7733  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7734 
7735  def get_is_bounded():
7736  """get_is_bounded() -> bool"""
7737  return _IMP_algebra.BoundedGridRange2D_get_is_bounded()
7738 
7739  get_is_bounded = staticmethod(get_is_bounded)
7740 
7741  def __init__(self, *args):
7742  """
7743  __init__(IMP::algebra::BoundedGridRangeD<(2)> self) -> BoundedGridRange2D
7744  __init__(IMP::algebra::BoundedGridRangeD<(2)> self, IMP::Ints const & counts) -> BoundedGridRange2D
7745  """
7746  this = _IMP_algebra.new_BoundedGridRange2D(*args)
7747  try:
7748  self.this.append(this)
7749  except __builtin__.Exception:
7750  self.this = this
7751 
7752  def get_number_of_voxels(self, *args):
7753  """
7754  get_number_of_voxels(BoundedGridRange2D self, unsigned int i) -> unsigned int
7755  get_number_of_voxels(BoundedGridRange2D self) -> unsigned int
7756  """
7757  return _IMP_algebra.BoundedGridRange2D_get_number_of_voxels(self, *args)
7758 
7759 
7760  def get_end_index(self):
7761  """get_end_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
7762  return _IMP_algebra.BoundedGridRange2D_get_end_index(self)
7763 
7764 
7765  def show(self, *args):
7766  """
7767  show(BoundedGridRange2D self, _ostream out)
7768  show(BoundedGridRange2D self)
7769  """
7770  return _IMP_algebra.BoundedGridRange2D_show(self, *args)
7771 
7772 
7773  def get_all_indexes(self):
7774  """get_all_indexes(BoundedGridRange2D self) -> IMP::Vector< IMP::algebra::GridIndexD< 2 > >"""
7775  return _IMP_algebra.BoundedGridRange2D_get_all_indexes(self)
7776 
7777 
7778  def get_indexes(self, lb, ub):
7779  """get_indexes(BoundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 2 > >"""
7780  return _IMP_algebra.BoundedGridRange2D_get_indexes(self, lb, ub)
7781 
7782 
7783  def get_extended_indexes(self, lb, ub):
7784  """get_extended_indexes(BoundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 2 > >"""
7785  return _IMP_algebra.BoundedGridRange2D_get_extended_indexes(self, lb, ub)
7786 
7787 
7788  def get_index(self, v):
7789  """get_index(BoundedGridRange2D self, ExtendedGridIndex2D v) -> GridIndex2D"""
7790  return _IMP_algebra.BoundedGridRange2D_get_index(self, v)
7791 
7792 
7793  def get_has_index(self, v):
7794  """get_has_index(BoundedGridRange2D self, ExtendedGridIndex2D v) -> bool"""
7795  return _IMP_algebra.BoundedGridRange2D_get_has_index(self, v)
7796 
7797 
7798  def get_minimum_extended_index(self):
7799  """get_minimum_extended_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
7800  return _IMP_algebra.BoundedGridRange2D_get_minimum_extended_index(self)
7801 
7802 
7803  def get_maximum_extended_index(self):
7804  """get_maximum_extended_index(BoundedGridRange2D self) -> ExtendedGridIndex2D"""
7805  return _IMP_algebra.BoundedGridRange2D_get_maximum_extended_index(self)
7806 
7807 
7808  def __str__(self):
7809  """__str__(BoundedGridRange2D self) -> std::string"""
7810  return _IMP_algebra.BoundedGridRange2D___str__(self)
7811 
7812 
7813  def __repr__(self):
7814  """__repr__(BoundedGridRange2D self) -> std::string"""
7815  return _IMP_algebra.BoundedGridRange2D___repr__(self)
7816 
7817 
7818  def __cmp__(self, arg2):
7819  """__cmp__(BoundedGridRange2D self, BoundedGridRange2D arg2) -> int"""
7820  return _IMP_algebra.BoundedGridRange2D___cmp__(self, arg2)
7821 
7822 
7823  def __eq__(self, arg2):
7824  """__eq__(BoundedGridRange2D self, BoundedGridRange2D arg2) -> bool"""
7825  return _IMP_algebra.BoundedGridRange2D___eq__(self, arg2)
7826 
7827  __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange2D
7828  __del__ = lambda self: None
7829 BoundedGridRange2D_swigregister = _IMP_algebra.BoundedGridRange2D_swigregister
7830 BoundedGridRange2D_swigregister(BoundedGridRange2D)
7831 
7832 def BoundedGridRange2D_get_is_bounded():
7833  """BoundedGridRange2D_get_is_bounded() -> bool"""
7834  return _IMP_algebra.BoundedGridRange2D_get_is_bounded()
7835 
7836 class BoundedGridRange3D(object):
7837  """Proxy of C++ IMP::algebra::BoundedGridRangeD<(3)> class."""
7838 
7839  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7840 
7841  def get_is_bounded():
7842  """get_is_bounded() -> bool"""
7843  return _IMP_algebra.BoundedGridRange3D_get_is_bounded()
7844 
7845  get_is_bounded = staticmethod(get_is_bounded)
7846 
7847  def __init__(self, *args):
7848  """
7849  __init__(IMP::algebra::BoundedGridRangeD<(3)> self) -> BoundedGridRange3D
7850  __init__(IMP::algebra::BoundedGridRangeD<(3)> self, IMP::Ints const & counts) -> BoundedGridRange3D
7851  """
7852  this = _IMP_algebra.new_BoundedGridRange3D(*args)
7853  try:
7854  self.this.append(this)
7855  except __builtin__.Exception:
7856  self.this = this
7857 
7858  def get_number_of_voxels(self, *args):
7859  """
7860  get_number_of_voxels(BoundedGridRange3D self, unsigned int i) -> unsigned int
7861  get_number_of_voxels(BoundedGridRange3D self) -> unsigned int
7862  """
7863  return _IMP_algebra.BoundedGridRange3D_get_number_of_voxels(self, *args)
7864 
7865 
7866  def get_end_index(self):
7867  """get_end_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
7868  return _IMP_algebra.BoundedGridRange3D_get_end_index(self)
7869 
7870 
7871  def show(self, *args):
7872  """
7873  show(BoundedGridRange3D self, _ostream out)
7874  show(BoundedGridRange3D self)
7875  """
7876  return _IMP_algebra.BoundedGridRange3D_show(self, *args)
7877 
7878 
7879  def get_all_indexes(self):
7880  """get_all_indexes(BoundedGridRange3D self) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
7881  return _IMP_algebra.BoundedGridRange3D_get_all_indexes(self)
7882 
7883 
7884  def get_indexes(self, lb, ub):
7885  """get_indexes(BoundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 3 > >"""
7886  return _IMP_algebra.BoundedGridRange3D_get_indexes(self, lb, ub)
7887 
7888 
7889  def get_extended_indexes(self, lb, ub):
7890  """get_extended_indexes(BoundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >"""
7891  return _IMP_algebra.BoundedGridRange3D_get_extended_indexes(self, lb, ub)
7892 
7893 
7894  def get_index(self, v):
7895  """get_index(BoundedGridRange3D self, ExtendedGridIndex3D v) -> GridIndex3D"""
7896  return _IMP_algebra.BoundedGridRange3D_get_index(self, v)
7897 
7898 
7899  def get_has_index(self, v):
7900  """get_has_index(BoundedGridRange3D self, ExtendedGridIndex3D v) -> bool"""
7901  return _IMP_algebra.BoundedGridRange3D_get_has_index(self, v)
7902 
7903 
7904  def get_minimum_extended_index(self):
7905  """get_minimum_extended_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
7906  return _IMP_algebra.BoundedGridRange3D_get_minimum_extended_index(self)
7907 
7908 
7909  def get_maximum_extended_index(self):
7910  """get_maximum_extended_index(BoundedGridRange3D self) -> ExtendedGridIndex3D"""
7911  return _IMP_algebra.BoundedGridRange3D_get_maximum_extended_index(self)
7912 
7913 
7914  def __str__(self):
7915  """__str__(BoundedGridRange3D self) -> std::string"""
7916  return _IMP_algebra.BoundedGridRange3D___str__(self)
7917 
7918 
7919  def __repr__(self):
7920  """__repr__(BoundedGridRange3D self) -> std::string"""
7921  return _IMP_algebra.BoundedGridRange3D___repr__(self)
7922 
7923 
7924  def __cmp__(self, arg2):
7925  """__cmp__(BoundedGridRange3D self, BoundedGridRange3D arg2) -> int"""
7926  return _IMP_algebra.BoundedGridRange3D___cmp__(self, arg2)
7927 
7928 
7929  def __eq__(self, arg2):
7930  """__eq__(BoundedGridRange3D self, BoundedGridRange3D arg2) -> bool"""
7931  return _IMP_algebra.BoundedGridRange3D___eq__(self, arg2)
7932 
7933  __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange3D
7934  __del__ = lambda self: None
7935 BoundedGridRange3D_swigregister = _IMP_algebra.BoundedGridRange3D_swigregister
7936 BoundedGridRange3D_swigregister(BoundedGridRange3D)
7937 
7938 def BoundedGridRange3D_get_is_bounded():
7939  """BoundedGridRange3D_get_is_bounded() -> bool"""
7940  return _IMP_algebra.BoundedGridRange3D_get_is_bounded()
7941 
7942 class BoundedGridRange4D(object):
7943  """Proxy of C++ IMP::algebra::BoundedGridRangeD<(4)> class."""
7944 
7945  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7946 
7947  def get_is_bounded():
7948  """get_is_bounded() -> bool"""
7949  return _IMP_algebra.BoundedGridRange4D_get_is_bounded()
7950 
7951  get_is_bounded = staticmethod(get_is_bounded)
7952 
7953  def __init__(self, *args):
7954  """
7955  __init__(IMP::algebra::BoundedGridRangeD<(4)> self) -> BoundedGridRange4D
7956  __init__(IMP::algebra::BoundedGridRangeD<(4)> self, IMP::Ints const & counts) -> BoundedGridRange4D
7957  """
7958  this = _IMP_algebra.new_BoundedGridRange4D(*args)
7959  try:
7960  self.this.append(this)
7961  except __builtin__.Exception:
7962  self.this = this
7963 
7964  def get_number_of_voxels(self, *args):
7965  """
7966  get_number_of_voxels(BoundedGridRange4D self, unsigned int i) -> unsigned int
7967  get_number_of_voxels(BoundedGridRange4D self) -> unsigned int
7968  """
7969  return _IMP_algebra.BoundedGridRange4D_get_number_of_voxels(self, *args)
7970 
7971 
7972  def get_end_index(self):
7973  """get_end_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
7974  return _IMP_algebra.BoundedGridRange4D_get_end_index(self)
7975 
7976 
7977  def show(self, *args):
7978  """
7979  show(BoundedGridRange4D self, _ostream out)
7980  show(BoundedGridRange4D self)
7981  """
7982  return _IMP_algebra.BoundedGridRange4D_show(self, *args)
7983 
7984 
7985  def get_all_indexes(self):
7986  """get_all_indexes(BoundedGridRange4D self) -> IMP::Vector< IMP::algebra::GridIndexD< 4 > >"""
7987  return _IMP_algebra.BoundedGridRange4D_get_all_indexes(self)
7988 
7989 
7990  def get_indexes(self, lb, ub):
7991  """get_indexes(BoundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 4 > >"""
7992  return _IMP_algebra.BoundedGridRange4D_get_indexes(self, lb, ub)
7993 
7994 
7995  def get_extended_indexes(self, lb, ub):
7996  """get_extended_indexes(BoundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 4 > >"""
7997  return _IMP_algebra.BoundedGridRange4D_get_extended_indexes(self, lb, ub)
7998 
7999 
8000  def get_index(self, v):
8001  """get_index(BoundedGridRange4D self, ExtendedGridIndex4D v) -> GridIndex4D"""
8002  return _IMP_algebra.BoundedGridRange4D_get_index(self, v)
8003 
8004 
8005  def get_has_index(self, v):
8006  """get_has_index(BoundedGridRange4D self, ExtendedGridIndex4D v) -> bool"""
8007  return _IMP_algebra.BoundedGridRange4D_get_has_index(self, v)
8008 
8009 
8010  def get_minimum_extended_index(self):
8011  """get_minimum_extended_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
8012  return _IMP_algebra.BoundedGridRange4D_get_minimum_extended_index(self)
8013 
8014 
8015  def get_maximum_extended_index(self):
8016  """get_maximum_extended_index(BoundedGridRange4D self) -> ExtendedGridIndex4D"""
8017  return _IMP_algebra.BoundedGridRange4D_get_maximum_extended_index(self)
8018 
8019 
8020  def __str__(self):
8021  """__str__(BoundedGridRange4D self) -> std::string"""
8022  return _IMP_algebra.BoundedGridRange4D___str__(self)
8023 
8024 
8025  def __repr__(self):
8026  """__repr__(BoundedGridRange4D self) -> std::string"""
8027  return _IMP_algebra.BoundedGridRange4D___repr__(self)
8028 
8029 
8030  def __cmp__(self, arg2):
8031  """__cmp__(BoundedGridRange4D self, BoundedGridRange4D arg2) -> int"""
8032  return _IMP_algebra.BoundedGridRange4D___cmp__(self, arg2)
8033 
8034 
8035  def __eq__(self, arg2):
8036  """__eq__(BoundedGridRange4D self, BoundedGridRange4D arg2) -> bool"""
8037  return _IMP_algebra.BoundedGridRange4D___eq__(self, arg2)
8038 
8039  __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange4D
8040  __del__ = lambda self: None
8041 BoundedGridRange4D_swigregister = _IMP_algebra.BoundedGridRange4D_swigregister
8042 BoundedGridRange4D_swigregister(BoundedGridRange4D)
8043 
8044 def BoundedGridRange4D_get_is_bounded():
8045  """BoundedGridRange4D_get_is_bounded() -> bool"""
8046  return _IMP_algebra.BoundedGridRange4D_get_is_bounded()
8047 
8048 class BoundedGridRange5D(object):
8049  """Proxy of C++ IMP::algebra::BoundedGridRangeD<(5)> class."""
8050 
8051  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8052 
8053  def get_is_bounded():
8054  """get_is_bounded() -> bool"""
8055  return _IMP_algebra.BoundedGridRange5D_get_is_bounded()
8056 
8057  get_is_bounded = staticmethod(get_is_bounded)
8058 
8059  def __init__(self, *args):
8060  """
8061  __init__(IMP::algebra::BoundedGridRangeD<(5)> self) -> BoundedGridRange5D
8062  __init__(IMP::algebra::BoundedGridRangeD<(5)> self, IMP::Ints const & counts) -> BoundedGridRange5D
8063  """
8064  this = _IMP_algebra.new_BoundedGridRange5D(*args)
8065  try:
8066  self.this.append(this)
8067  except __builtin__.Exception:
8068  self.this = this
8069 
8070  def get_number_of_voxels(self, *args):
8071  """
8072  get_number_of_voxels(BoundedGridRange5D self, unsigned int i) -> unsigned int
8073  get_number_of_voxels(BoundedGridRange5D self) -> unsigned int
8074  """
8075  return _IMP_algebra.BoundedGridRange5D_get_number_of_voxels(self, *args)
8076 
8077 
8078  def get_end_index(self):
8079  """get_end_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
8080  return _IMP_algebra.BoundedGridRange5D_get_end_index(self)
8081 
8082 
8083  def show(self, *args):
8084  """
8085  show(BoundedGridRange5D self, _ostream out)
8086  show(BoundedGridRange5D self)
8087  """
8088  return _IMP_algebra.BoundedGridRange5D_show(self, *args)
8089 
8090 
8091  def get_all_indexes(self):
8092  """get_all_indexes(BoundedGridRange5D self) -> IMP::Vector< IMP::algebra::GridIndexD< 5 > >"""
8093  return _IMP_algebra.BoundedGridRange5D_get_all_indexes(self)
8094 
8095 
8096  def get_indexes(self, lb, ub):
8097  """get_indexes(BoundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 5 > >"""
8098  return _IMP_algebra.BoundedGridRange5D_get_indexes(self, lb, ub)
8099 
8100 
8101  def get_extended_indexes(self, lb, ub):
8102  """get_extended_indexes(BoundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 5 > >"""
8103  return _IMP_algebra.BoundedGridRange5D_get_extended_indexes(self, lb, ub)
8104 
8105 
8106  def get_index(self, v):
8107  """get_index(BoundedGridRange5D self, ExtendedGridIndex5D v) -> GridIndex5D"""
8108  return _IMP_algebra.BoundedGridRange5D_get_index(self, v)
8109 
8110 
8111  def get_has_index(self, v):
8112  """get_has_index(BoundedGridRange5D self, ExtendedGridIndex5D v) -> bool"""
8113  return _IMP_algebra.BoundedGridRange5D_get_has_index(self, v)
8114 
8115 
8116  def get_minimum_extended_index(self):
8117  """get_minimum_extended_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
8118  return _IMP_algebra.BoundedGridRange5D_get_minimum_extended_index(self)
8119 
8120 
8121  def get_maximum_extended_index(self):
8122  """get_maximum_extended_index(BoundedGridRange5D self) -> ExtendedGridIndex5D"""
8123  return _IMP_algebra.BoundedGridRange5D_get_maximum_extended_index(self)
8124 
8125 
8126  def __str__(self):
8127  """__str__(BoundedGridRange5D self) -> std::string"""
8128  return _IMP_algebra.BoundedGridRange5D___str__(self)
8129 
8130 
8131  def __repr__(self):
8132  """__repr__(BoundedGridRange5D self) -> std::string"""
8133  return _IMP_algebra.BoundedGridRange5D___repr__(self)
8134 
8135 
8136  def __cmp__(self, arg2):
8137  """__cmp__(BoundedGridRange5D self, BoundedGridRange5D arg2) -> int"""
8138  return _IMP_algebra.BoundedGridRange5D___cmp__(self, arg2)
8139 
8140 
8141  def __eq__(self, arg2):
8142  """__eq__(BoundedGridRange5D self, BoundedGridRange5D arg2) -> bool"""
8143  return _IMP_algebra.BoundedGridRange5D___eq__(self, arg2)
8144 
8145  __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange5D
8146  __del__ = lambda self: None
8147 BoundedGridRange5D_swigregister = _IMP_algebra.BoundedGridRange5D_swigregister
8148 BoundedGridRange5D_swigregister(BoundedGridRange5D)
8149 
8150 def BoundedGridRange5D_get_is_bounded():
8151  """BoundedGridRange5D_get_is_bounded() -> bool"""
8152  return _IMP_algebra.BoundedGridRange5D_get_is_bounded()
8153 
8154 class BoundedGridRange6D(object):
8155  """Proxy of C++ IMP::algebra::BoundedGridRangeD<(6)> class."""
8156 
8157  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8158 
8159  def get_is_bounded():
8160  """get_is_bounded() -> bool"""
8161  return _IMP_algebra.BoundedGridRange6D_get_is_bounded()
8162 
8163  get_is_bounded = staticmethod(get_is_bounded)
8164 
8165  def __init__(self, *args):
8166  """
8167  __init__(IMP::algebra::BoundedGridRangeD<(6)> self) -> BoundedGridRange6D
8168  __init__(IMP::algebra::BoundedGridRangeD<(6)> self, IMP::Ints const & counts) -> BoundedGridRange6D
8169  """
8170  this = _IMP_algebra.new_BoundedGridRange6D(*args)
8171  try:
8172  self.this.append(this)
8173  except __builtin__.Exception:
8174  self.this = this
8175 
8176  def get_number_of_voxels(self, *args):
8177  """
8178  get_number_of_voxels(BoundedGridRange6D self, unsigned int i) -> unsigned int
8179  get_number_of_voxels(BoundedGridRange6D self) -> unsigned int
8180  """
8181  return _IMP_algebra.BoundedGridRange6D_get_number_of_voxels(self, *args)
8182 
8183 
8184  def get_end_index(self):
8185  """get_end_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
8186  return _IMP_algebra.BoundedGridRange6D_get_end_index(self)
8187 
8188 
8189  def show(self, *args):
8190  """
8191  show(BoundedGridRange6D self, _ostream out)
8192  show(BoundedGridRange6D self)
8193  """
8194  return _IMP_algebra.BoundedGridRange6D_show(self, *args)
8195 
8196 
8197  def get_all_indexes(self):
8198  """get_all_indexes(BoundedGridRange6D self) -> IMP::Vector< IMP::algebra::GridIndexD< 6 > >"""
8199  return _IMP_algebra.BoundedGridRange6D_get_all_indexes(self)
8200 
8201 
8202  def get_indexes(self, lb, ub):
8203  """get_indexes(BoundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::Vector< IMP::algebra::GridIndexD< 6 > >"""
8204  return _IMP_algebra.BoundedGridRange6D_get_indexes(self, lb, ub)
8205 
8206 
8207  def get_extended_indexes(self, lb, ub):
8208  """get_extended_indexes(BoundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 6 > >"""
8209  return _IMP_algebra.BoundedGridRange6D_get_extended_indexes(self, lb, ub)
8210 
8211 
8212  def get_index(self, v):
8213  """get_index(BoundedGridRange6D self, ExtendedGridIndex6D v) -> GridIndex6D"""
8214  return _IMP_algebra.BoundedGridRange6D_get_index(self, v)
8215 
8216 
8217  def get_has_index(self, v):
8218  """get_has_index(BoundedGridRange6D self, ExtendedGridIndex6D v) -> bool"""
8219  return _IMP_algebra.BoundedGridRange6D_get_has_index(self, v)
8220 
8221 
8222  def get_minimum_extended_index(self):
8223  """get_minimum_extended_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
8224  return _IMP_algebra.BoundedGridRange6D_get_minimum_extended_index(self)
8225 
8226 
8227  def get_maximum_extended_index(self):
8228  """get_maximum_extended_index(BoundedGridRange6D self) -> ExtendedGridIndex6D"""
8229  return _IMP_algebra.BoundedGridRange6D_get_maximum_extended_index(self)
8230 
8231 
8232  def __str__(self):
8233  """__str__(BoundedGridRange6D self) -> std::string"""
8234  return _IMP_algebra.BoundedGridRange6D___str__(self)
8235 
8236 
8237  def __repr__(self):
8238  """__repr__(BoundedGridRange6D self) -> std::string"""
8239  return _IMP_algebra.BoundedGridRange6D___repr__(self)
8240 
8241 
8242  def __cmp__(self, arg2):
8243  """__cmp__(BoundedGridRange6D self, BoundedGridRange6D arg2) -> int"""
8244  return _IMP_algebra.BoundedGridRange6D___cmp__(self, arg2)
8245 
8246 
8247  def __eq__(self, arg2):
8248  """__eq__(BoundedGridRange6D self, BoundedGridRange6D arg2) -> bool"""
8249  return _IMP_algebra.BoundedGridRange6D___eq__(self, arg2)
8250 
8251  __swig_destroy__ = _IMP_algebra.delete_BoundedGridRange6D
8252  __del__ = lambda self: None
8253 BoundedGridRange6D_swigregister = _IMP_algebra.BoundedGridRange6D_swigregister
8254 BoundedGridRange6D_swigregister(BoundedGridRange6D)
8255 
8256 def BoundedGridRange6D_get_is_bounded():
8257  """BoundedGridRange6D_get_is_bounded() -> bool"""
8258  return _IMP_algebra.BoundedGridRange6D_get_is_bounded()
8259 
8260 class BoundedGridRangeKD(object):
8261  """Proxy of C++ IMP::algebra::BoundedGridRangeD<(-1)> class."""
8262 
8263  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8264 
8265  def get_is_bounded():
8266  """get_is_bounded() -> bool"""
8267  return _IMP_algebra.BoundedGridRangeKD_get_is_bounded()
8268 
8269  get_is_bounded = staticmethod(get_is_bounded)
8270 
8271  def __init__(self, *args):
8272  """
8273  __init__(IMP::algebra::BoundedGridRangeD<(-1)> self) -> BoundedGridRangeKD
8274  __init__(IMP::algebra::BoundedGridRangeD<(-1)> self, IMP::Ints const & counts) -> BoundedGridRangeKD
8275  """
8276  this = _IMP_algebra.new_BoundedGridRangeKD(*args)
8277  try:
8278  self.this.append(this)
8279  except __builtin__.Exception:
8280  self.this = this
8281 
8282  def get_number_of_voxels(self, *args):
8283  """
8284  get_number_of_voxels(BoundedGridRangeKD self, unsigned int i) -> unsigned int
8285  get_number_of_voxels(BoundedGridRangeKD self) -> unsigned int
8286  """
8287  return _IMP_algebra.BoundedGridRangeKD_get_number_of_voxels(self, *args)
8288 
8289 
8290  def get_end_index(self):
8291  """get_end_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
8292  return _IMP_algebra.BoundedGridRangeKD_get_end_index(self)
8293 
8294 
8295  def show(self, *args):
8296  """
8297  show(BoundedGridRangeKD self, _ostream out)
8298  show(BoundedGridRangeKD self)
8299  """
8300  return _IMP_algebra.BoundedGridRangeKD_show(self, *args)
8301 
8302 
8303  def get_all_indexes(self):
8304  """get_all_indexes(BoundedGridRangeKD self) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
8305  return _IMP_algebra.BoundedGridRangeKD_get_all_indexes(self)
8306 
8307 
8308  def get_indexes(self, lb, ub):
8309  """get_indexes(BoundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::GridIndexD< -1 > >"""
8310  return _IMP_algebra.BoundedGridRangeKD_get_indexes(self, lb, ub)
8311 
8312 
8313  def get_extended_indexes(self, lb, ub):
8314  """get_extended_indexes(BoundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >"""
8315  return _IMP_algebra.BoundedGridRangeKD_get_extended_indexes(self, lb, ub)
8316 
8317 
8318  def get_index(self, v):
8319  """get_index(BoundedGridRangeKD self, ExtendedGridIndexKD v) -> GridIndexKD"""
8320  return _IMP_algebra.BoundedGridRangeKD_get_index(self, v)
8321 
8322 
8323  def get_has_index(self, v):
8324  """get_has_index(BoundedGridRangeKD self, ExtendedGridIndexKD v) -> bool"""
8325  return _IMP_algebra.BoundedGridRangeKD_get_has_index(self, v)
8326 
8327 
8328  def get_minimum_extended_index(self):
8329  """get_minimum_extended_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
8330  return _IMP_algebra.BoundedGridRangeKD_get_minimum_extended_index(self)
8331 
8332 
8333  def get_maximum_extended_index(self):
8334  """get_maximum_extended_index(BoundedGridRangeKD self) -> ExtendedGridIndexKD"""
8335  return _IMP_algebra.BoundedGridRangeKD_get_maximum_extended_index(self)
8336 
8337 
8338  def __str__(self):
8339  """__str__(BoundedGridRangeKD self) -> std::string"""
8340  return _IMP_algebra.BoundedGridRangeKD___str__(self)
8341 
8342 
8343  def __repr__(self):
8344  """__repr__(BoundedGridRangeKD self) -> std::string"""
8345  return _IMP_algebra.BoundedGridRangeKD___repr__(self)
8346 
8347 
8348  def __cmp__(self, arg2):
8349  """__cmp__(BoundedGridRangeKD self, BoundedGridRangeKD arg2) -> int"""
8350  return _IMP_algebra.BoundedGridRangeKD___cmp__(self, arg2)
8351 
8352 
8353  def __eq__(self, arg2):
8354  """__eq__(BoundedGridRangeKD self, BoundedGridRangeKD arg2) -> bool"""
8355  return _IMP_algebra.BoundedGridRangeKD___eq__(self, arg2)
8356 
8357  __swig_destroy__ = _IMP_algebra.delete_BoundedGridRangeKD
8358  __del__ = lambda self: None
8359 BoundedGridRangeKD_swigregister = _IMP_algebra.BoundedGridRangeKD_swigregister
8360 BoundedGridRangeKD_swigregister(BoundedGridRangeKD)
8361 
8362 def BoundedGridRangeKD_get_is_bounded():
8363  """BoundedGridRangeKD_get_is_bounded() -> bool"""
8364  return _IMP_algebra.BoundedGridRangeKD_get_is_bounded()
8365 
8366 class UnboundedGridRange1D(object):
8367  """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(1)> class."""
8368 
8369  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8370 
8371  def __init__(self, *args):
8372  """
8373  __init__(IMP::algebra::UnboundedGridRangeD<(1)> self) -> UnboundedGridRange1D
8374  __init__(IMP::algebra::UnboundedGridRangeD<(1)> self, IMP::Ints const & arg2) -> UnboundedGridRange1D
8375  """
8376  this = _IMP_algebra.new_UnboundedGridRange1D(*args)
8377  try:
8378  self.this.append(this)
8379  except __builtin__.Exception:
8380  self.this = this
8381 
8382  def set_number_of_voxels(self, arg2):
8383  """set_number_of_voxels(UnboundedGridRange1D self, IMP::Ints arg2)"""
8384  return _IMP_algebra.UnboundedGridRange1D_set_number_of_voxels(self, arg2)
8385 
8386 
8387  def get_number_of_voxels(self, arg2):
8388  """get_number_of_voxels(UnboundedGridRange1D self, int arg2) -> unsigned int"""
8389  return _IMP_algebra.UnboundedGridRange1D_get_number_of_voxels(self, arg2)
8390 
8391 
8392  def get_is_bounded():
8393  """get_is_bounded() -> bool"""
8394  return _IMP_algebra.UnboundedGridRange1D_get_is_bounded()
8395 
8396  get_is_bounded = staticmethod(get_is_bounded)
8397 
8398  def get_has_index(self, arg2):
8399  """get_has_index(UnboundedGridRange1D self, ExtendedGridIndex1D arg2) -> bool"""
8400  return _IMP_algebra.UnboundedGridRange1D_get_has_index(self, arg2)
8401 
8402 
8403  def show(self, *args):
8404  """
8405  show(UnboundedGridRange1D self, _ostream out)
8406  show(UnboundedGridRange1D self)
8407  """
8408  return _IMP_algebra.UnboundedGridRange1D_show(self, *args)
8409 
8410 
8411  def get_extended_indexes(self, lb, ub):
8412  """get_extended_indexes(UnboundedGridRange1D self, ExtendedGridIndex1D lb, ExtendedGridIndex1D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 1 > >"""
8413  return _IMP_algebra.UnboundedGridRange1D_get_extended_indexes(self, lb, ub)
8414 
8415 
8416  def __str__(self):
8417  """__str__(UnboundedGridRange1D self) -> std::string"""
8418  return _IMP_algebra.UnboundedGridRange1D___str__(self)
8419 
8420 
8421  def __repr__(self):
8422  """__repr__(UnboundedGridRange1D self) -> std::string"""
8423  return _IMP_algebra.UnboundedGridRange1D___repr__(self)
8424 
8425 
8426  def __cmp__(self, arg2):
8427  """__cmp__(UnboundedGridRange1D self, UnboundedGridRange1D arg2) -> int"""
8428  return _IMP_algebra.UnboundedGridRange1D___cmp__(self, arg2)
8429 
8430 
8431  def __eq__(self, arg2):
8432  """__eq__(UnboundedGridRange1D self, UnboundedGridRange1D arg2) -> bool"""
8433  return _IMP_algebra.UnboundedGridRange1D___eq__(self, arg2)
8434 
8435  __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange1D
8436  __del__ = lambda self: None
8437 UnboundedGridRange1D_swigregister = _IMP_algebra.UnboundedGridRange1D_swigregister
8438 UnboundedGridRange1D_swigregister(UnboundedGridRange1D)
8439 
8440 def UnboundedGridRange1D_get_is_bounded():
8441  """UnboundedGridRange1D_get_is_bounded() -> bool"""
8442  return _IMP_algebra.UnboundedGridRange1D_get_is_bounded()
8443 
8444 class UnboundedGridRange2D(object):
8445  """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(2)> class."""
8446 
8447  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8448 
8449  def __init__(self, *args):
8450  """
8451  __init__(IMP::algebra::UnboundedGridRangeD<(2)> self) -> UnboundedGridRange2D
8452  __init__(IMP::algebra::UnboundedGridRangeD<(2)> self, IMP::Ints const & arg2) -> UnboundedGridRange2D
8453  """
8454  this = _IMP_algebra.new_UnboundedGridRange2D(*args)
8455  try:
8456  self.this.append(this)
8457  except __builtin__.Exception:
8458  self.this = this
8459 
8460  def set_number_of_voxels(self, arg2):
8461  """set_number_of_voxels(UnboundedGridRange2D self, IMP::Ints arg2)"""
8462  return _IMP_algebra.UnboundedGridRange2D_set_number_of_voxels(self, arg2)
8463 
8464 
8465  def get_number_of_voxels(self, arg2):
8466  """get_number_of_voxels(UnboundedGridRange2D self, int arg2) -> unsigned int"""
8467  return _IMP_algebra.UnboundedGridRange2D_get_number_of_voxels(self, arg2)
8468 
8469 
8470  def get_is_bounded():
8471  """get_is_bounded() -> bool"""
8472  return _IMP_algebra.UnboundedGridRange2D_get_is_bounded()
8473 
8474  get_is_bounded = staticmethod(get_is_bounded)
8475 
8476  def get_has_index(self, arg2):
8477  """get_has_index(UnboundedGridRange2D self, ExtendedGridIndex2D arg2) -> bool"""
8478  return _IMP_algebra.UnboundedGridRange2D_get_has_index(self, arg2)
8479 
8480 
8481  def show(self, *args):
8482  """
8483  show(UnboundedGridRange2D self, _ostream out)
8484  show(UnboundedGridRange2D self)
8485  """
8486  return _IMP_algebra.UnboundedGridRange2D_show(self, *args)
8487 
8488 
8489  def get_extended_indexes(self, lb, ub):
8490  """get_extended_indexes(UnboundedGridRange2D self, ExtendedGridIndex2D lb, ExtendedGridIndex2D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 2 > >"""
8491  return _IMP_algebra.UnboundedGridRange2D_get_extended_indexes(self, lb, ub)
8492 
8493 
8494  def __str__(self):
8495  """__str__(UnboundedGridRange2D self) -> std::string"""
8496  return _IMP_algebra.UnboundedGridRange2D___str__(self)
8497 
8498 
8499  def __repr__(self):
8500  """__repr__(UnboundedGridRange2D self) -> std::string"""
8501  return _IMP_algebra.UnboundedGridRange2D___repr__(self)
8502 
8503 
8504  def __cmp__(self, arg2):
8505  """__cmp__(UnboundedGridRange2D self, UnboundedGridRange2D arg2) -> int"""
8506  return _IMP_algebra.UnboundedGridRange2D___cmp__(self, arg2)
8507 
8508 
8509  def __eq__(self, arg2):
8510  """__eq__(UnboundedGridRange2D self, UnboundedGridRange2D arg2) -> bool"""
8511  return _IMP_algebra.UnboundedGridRange2D___eq__(self, arg2)
8512 
8513  __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange2D
8514  __del__ = lambda self: None
8515 UnboundedGridRange2D_swigregister = _IMP_algebra.UnboundedGridRange2D_swigregister
8516 UnboundedGridRange2D_swigregister(UnboundedGridRange2D)
8517 
8518 def UnboundedGridRange2D_get_is_bounded():
8519  """UnboundedGridRange2D_get_is_bounded() -> bool"""
8520  return _IMP_algebra.UnboundedGridRange2D_get_is_bounded()
8521 
8522 class UnboundedGridRange3D(object):
8523  """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(3)> class."""
8524 
8525  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8526 
8527  def __init__(self, *args):
8528  """
8529  __init__(IMP::algebra::UnboundedGridRangeD<(3)> self) -> UnboundedGridRange3D
8530  __init__(IMP::algebra::UnboundedGridRangeD<(3)> self, IMP::Ints const & arg2) -> UnboundedGridRange3D
8531  """
8532  this = _IMP_algebra.new_UnboundedGridRange3D(*args)
8533  try:
8534  self.this.append(this)
8535  except __builtin__.Exception:
8536  self.this = this
8537 
8538  def set_number_of_voxels(self, arg2):
8539  """set_number_of_voxels(UnboundedGridRange3D self, IMP::Ints arg2)"""
8540  return _IMP_algebra.UnboundedGridRange3D_set_number_of_voxels(self, arg2)
8541 
8542 
8543  def get_number_of_voxels(self, arg2):
8544  """get_number_of_voxels(UnboundedGridRange3D self, int arg2) -> unsigned int"""
8545  return _IMP_algebra.UnboundedGridRange3D_get_number_of_voxels(self, arg2)
8546 
8547 
8548  def get_is_bounded():
8549  """get_is_bounded() -> bool"""
8550  return _IMP_algebra.UnboundedGridRange3D_get_is_bounded()
8551 
8552  get_is_bounded = staticmethod(get_is_bounded)
8553 
8554  def get_has_index(self, arg2):
8555  """get_has_index(UnboundedGridRange3D self, ExtendedGridIndex3D arg2) -> bool"""
8556  return _IMP_algebra.UnboundedGridRange3D_get_has_index(self, arg2)
8557 
8558 
8559  def show(self, *args):
8560  """
8561  show(UnboundedGridRange3D self, _ostream out)
8562  show(UnboundedGridRange3D self)
8563  """
8564  return _IMP_algebra.UnboundedGridRange3D_show(self, *args)
8565 
8566 
8567  def get_extended_indexes(self, lb, ub):
8568  """get_extended_indexes(UnboundedGridRange3D self, ExtendedGridIndex3D lb, ExtendedGridIndex3D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 3 > >"""
8569  return _IMP_algebra.UnboundedGridRange3D_get_extended_indexes(self, lb, ub)
8570 
8571 
8572  def __str__(self):
8573  """__str__(UnboundedGridRange3D self) -> std::string"""
8574  return _IMP_algebra.UnboundedGridRange3D___str__(self)
8575 
8576 
8577  def __repr__(self):
8578  """__repr__(UnboundedGridRange3D self) -> std::string"""
8579  return _IMP_algebra.UnboundedGridRange3D___repr__(self)
8580 
8581 
8582  def __cmp__(self, arg2):
8583  """__cmp__(UnboundedGridRange3D self, UnboundedGridRange3D arg2) -> int"""
8584  return _IMP_algebra.UnboundedGridRange3D___cmp__(self, arg2)
8585 
8586 
8587  def __eq__(self, arg2):
8588  """__eq__(UnboundedGridRange3D self, UnboundedGridRange3D arg2) -> bool"""
8589  return _IMP_algebra.UnboundedGridRange3D___eq__(self, arg2)
8590 
8591  __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange3D
8592  __del__ = lambda self: None
8593 UnboundedGridRange3D_swigregister = _IMP_algebra.UnboundedGridRange3D_swigregister
8594 UnboundedGridRange3D_swigregister(UnboundedGridRange3D)
8595 
8596 def UnboundedGridRange3D_get_is_bounded():
8597  """UnboundedGridRange3D_get_is_bounded() -> bool"""
8598  return _IMP_algebra.UnboundedGridRange3D_get_is_bounded()
8599 
8600 class UnboundedGridRange4D(object):
8601  """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(4)> class."""
8602 
8603  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8604 
8605  def __init__(self, *args):
8606  """
8607  __init__(IMP::algebra::UnboundedGridRangeD<(4)> self) -> UnboundedGridRange4D
8608  __init__(IMP::algebra::UnboundedGridRangeD<(4)> self, IMP::Ints const & arg2) -> UnboundedGridRange4D
8609  """
8610  this = _IMP_algebra.new_UnboundedGridRange4D(*args)
8611  try:
8612  self.this.append(this)
8613  except __builtin__.Exception:
8614  self.this = this
8615 
8616  def set_number_of_voxels(self, arg2):
8617  """set_number_of_voxels(UnboundedGridRange4D self, IMP::Ints arg2)"""
8618  return _IMP_algebra.UnboundedGridRange4D_set_number_of_voxels(self, arg2)
8619 
8620 
8621  def get_number_of_voxels(self, arg2):
8622  """get_number_of_voxels(UnboundedGridRange4D self, int arg2) -> unsigned int"""
8623  return _IMP_algebra.UnboundedGridRange4D_get_number_of_voxels(self, arg2)
8624 
8625 
8626  def get_is_bounded():
8627  """get_is_bounded() -> bool"""
8628  return _IMP_algebra.UnboundedGridRange4D_get_is_bounded()
8629 
8630  get_is_bounded = staticmethod(get_is_bounded)
8631 
8632  def get_has_index(self, arg2):
8633  """get_has_index(UnboundedGridRange4D self, ExtendedGridIndex4D arg2) -> bool"""
8634  return _IMP_algebra.UnboundedGridRange4D_get_has_index(self, arg2)
8635 
8636 
8637  def show(self, *args):
8638  """
8639  show(UnboundedGridRange4D self, _ostream out)
8640  show(UnboundedGridRange4D self)
8641  """
8642  return _IMP_algebra.UnboundedGridRange4D_show(self, *args)
8643 
8644 
8645  def get_extended_indexes(self, lb, ub):
8646  """get_extended_indexes(UnboundedGridRange4D self, ExtendedGridIndex4D lb, ExtendedGridIndex4D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 4 > >"""
8647  return _IMP_algebra.UnboundedGridRange4D_get_extended_indexes(self, lb, ub)
8648 
8649 
8650  def __str__(self):
8651  """__str__(UnboundedGridRange4D self) -> std::string"""
8652  return _IMP_algebra.UnboundedGridRange4D___str__(self)
8653 
8654 
8655  def __repr__(self):
8656  """__repr__(UnboundedGridRange4D self) -> std::string"""
8657  return _IMP_algebra.UnboundedGridRange4D___repr__(self)
8658 
8659 
8660  def __cmp__(self, arg2):
8661  """__cmp__(UnboundedGridRange4D self, UnboundedGridRange4D arg2) -> int"""
8662  return _IMP_algebra.UnboundedGridRange4D___cmp__(self, arg2)
8663 
8664 
8665  def __eq__(self, arg2):
8666  """__eq__(UnboundedGridRange4D self, UnboundedGridRange4D arg2) -> bool"""
8667  return _IMP_algebra.UnboundedGridRange4D___eq__(self, arg2)
8668 
8669  __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange4D
8670  __del__ = lambda self: None
8671 UnboundedGridRange4D_swigregister = _IMP_algebra.UnboundedGridRange4D_swigregister
8672 UnboundedGridRange4D_swigregister(UnboundedGridRange4D)
8673 
8674 def UnboundedGridRange4D_get_is_bounded():
8675  """UnboundedGridRange4D_get_is_bounded() -> bool"""
8676  return _IMP_algebra.UnboundedGridRange4D_get_is_bounded()
8677 
8678 class UnboundedGridRange5D(object):
8679  """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(5)> class."""
8680 
8681  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8682 
8683  def __init__(self, *args):
8684  """
8685  __init__(IMP::algebra::UnboundedGridRangeD<(5)> self) -> UnboundedGridRange5D
8686  __init__(IMP::algebra::UnboundedGridRangeD<(5)> self, IMP::Ints const & arg2) -> UnboundedGridRange5D
8687  """
8688  this = _IMP_algebra.new_UnboundedGridRange5D(*args)
8689  try:
8690  self.this.append(this)
8691  except __builtin__.Exception:
8692  self.this = this
8693 
8694  def set_number_of_voxels(self, arg2):
8695  """set_number_of_voxels(UnboundedGridRange5D self, IMP::Ints arg2)"""
8696  return _IMP_algebra.UnboundedGridRange5D_set_number_of_voxels(self, arg2)
8697 
8698 
8699  def get_number_of_voxels(self, arg2):
8700  """get_number_of_voxels(UnboundedGridRange5D self, int arg2) -> unsigned int"""
8701  return _IMP_algebra.UnboundedGridRange5D_get_number_of_voxels(self, arg2)
8702 
8703 
8704  def get_is_bounded():
8705  """get_is_bounded() -> bool"""
8706  return _IMP_algebra.UnboundedGridRange5D_get_is_bounded()
8707 
8708  get_is_bounded = staticmethod(get_is_bounded)
8709 
8710  def get_has_index(self, arg2):
8711  """get_has_index(UnboundedGridRange5D self, ExtendedGridIndex5D arg2) -> bool"""
8712  return _IMP_algebra.UnboundedGridRange5D_get_has_index(self, arg2)
8713 
8714 
8715  def show(self, *args):
8716  """
8717  show(UnboundedGridRange5D self, _ostream out)
8718  show(UnboundedGridRange5D self)
8719  """
8720  return _IMP_algebra.UnboundedGridRange5D_show(self, *args)
8721 
8722 
8723  def get_extended_indexes(self, lb, ub):
8724  """get_extended_indexes(UnboundedGridRange5D self, ExtendedGridIndex5D lb, ExtendedGridIndex5D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 5 > >"""
8725  return _IMP_algebra.UnboundedGridRange5D_get_extended_indexes(self, lb, ub)
8726 
8727 
8728  def __str__(self):
8729  """__str__(UnboundedGridRange5D self) -> std::string"""
8730  return _IMP_algebra.UnboundedGridRange5D___str__(self)
8731 
8732 
8733  def __repr__(self):
8734  """__repr__(UnboundedGridRange5D self) -> std::string"""
8735  return _IMP_algebra.UnboundedGridRange5D___repr__(self)
8736 
8737 
8738  def __cmp__(self, arg2):
8739  """__cmp__(UnboundedGridRange5D self, UnboundedGridRange5D arg2) -> int"""
8740  return _IMP_algebra.UnboundedGridRange5D___cmp__(self, arg2)
8741 
8742 
8743  def __eq__(self, arg2):
8744  """__eq__(UnboundedGridRange5D self, UnboundedGridRange5D arg2) -> bool"""
8745  return _IMP_algebra.UnboundedGridRange5D___eq__(self, arg2)
8746 
8747  __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange5D
8748  __del__ = lambda self: None
8749 UnboundedGridRange5D_swigregister = _IMP_algebra.UnboundedGridRange5D_swigregister
8750 UnboundedGridRange5D_swigregister(UnboundedGridRange5D)
8751 
8752 def UnboundedGridRange5D_get_is_bounded():
8753  """UnboundedGridRange5D_get_is_bounded() -> bool"""
8754  return _IMP_algebra.UnboundedGridRange5D_get_is_bounded()
8755 
8756 class UnboundedGridRange6D(object):
8757  """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(6)> class."""
8758 
8759  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8760 
8761  def __init__(self, *args):
8762  """
8763  __init__(IMP::algebra::UnboundedGridRangeD<(6)> self) -> UnboundedGridRange6D
8764  __init__(IMP::algebra::UnboundedGridRangeD<(6)> self, IMP::Ints const & arg2) -> UnboundedGridRange6D
8765  """
8766  this = _IMP_algebra.new_UnboundedGridRange6D(*args)
8767  try:
8768  self.this.append(this)
8769  except __builtin__.Exception:
8770  self.this = this
8771 
8772  def set_number_of_voxels(self, arg2):
8773  """set_number_of_voxels(UnboundedGridRange6D self, IMP::Ints arg2)"""
8774  return _IMP_algebra.UnboundedGridRange6D_set_number_of_voxels(self, arg2)
8775 
8776 
8777  def get_number_of_voxels(self, arg2):
8778  """get_number_of_voxels(UnboundedGridRange6D self, int arg2) -> unsigned int"""
8779  return _IMP_algebra.UnboundedGridRange6D_get_number_of_voxels(self, arg2)
8780 
8781 
8782  def get_is_bounded():
8783  """get_is_bounded() -> bool"""
8784  return _IMP_algebra.UnboundedGridRange6D_get_is_bounded()
8785 
8786  get_is_bounded = staticmethod(get_is_bounded)
8787 
8788  def get_has_index(self, arg2):
8789  """get_has_index(UnboundedGridRange6D self, ExtendedGridIndex6D arg2) -> bool"""
8790  return _IMP_algebra.UnboundedGridRange6D_get_has_index(self, arg2)
8791 
8792 
8793  def show(self, *args):
8794  """
8795  show(UnboundedGridRange6D self, _ostream out)
8796  show(UnboundedGridRange6D self)
8797  """
8798  return _IMP_algebra.UnboundedGridRange6D_show(self, *args)
8799 
8800 
8801  def get_extended_indexes(self, lb, ub):
8802  """get_extended_indexes(UnboundedGridRange6D self, ExtendedGridIndex6D lb, ExtendedGridIndex6D ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< 6 > >"""
8803  return _IMP_algebra.UnboundedGridRange6D_get_extended_indexes(self, lb, ub)
8804 
8805 
8806  def __str__(self):
8807  """__str__(UnboundedGridRange6D self) -> std::string"""
8808  return _IMP_algebra.UnboundedGridRange6D___str__(self)
8809 
8810 
8811  def __repr__(self):
8812  """__repr__(UnboundedGridRange6D self) -> std::string"""
8813  return _IMP_algebra.UnboundedGridRange6D___repr__(self)
8814 
8815 
8816  def __cmp__(self, arg2):
8817  """__cmp__(UnboundedGridRange6D self, UnboundedGridRange6D arg2) -> int"""
8818  return _IMP_algebra.UnboundedGridRange6D___cmp__(self, arg2)
8819 
8820 
8821  def __eq__(self, arg2):
8822  """__eq__(UnboundedGridRange6D self, UnboundedGridRange6D arg2) -> bool"""
8823  return _IMP_algebra.UnboundedGridRange6D___eq__(self, arg2)
8824 
8825  __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRange6D
8826  __del__ = lambda self: None
8827 UnboundedGridRange6D_swigregister = _IMP_algebra.UnboundedGridRange6D_swigregister
8828 UnboundedGridRange6D_swigregister(UnboundedGridRange6D)
8829 
8830 def UnboundedGridRange6D_get_is_bounded():
8831  """UnboundedGridRange6D_get_is_bounded() -> bool"""
8832  return _IMP_algebra.UnboundedGridRange6D_get_is_bounded()
8833 
8834 class UnboundedGridRangeKD(object):
8835  """Proxy of C++ IMP::algebra::UnboundedGridRangeD<(-1)> class."""
8836 
8837  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8838 
8839  def __init__(self, *args):
8840  """
8841  __init__(IMP::algebra::UnboundedGridRangeD<(-1)> self) -> UnboundedGridRangeKD
8842  __init__(IMP::algebra::UnboundedGridRangeD<(-1)> self, IMP::Ints const & arg2) -> UnboundedGridRangeKD
8843  """
8844  this = _IMP_algebra.new_UnboundedGridRangeKD(*args)
8845  try:
8846  self.this.append(this)
8847  except __builtin__.Exception:
8848  self.this = this
8849 
8850  def set_number_of_voxels(self, arg2):
8851  """set_number_of_voxels(UnboundedGridRangeKD self, IMP::Ints arg2)"""
8852  return _IMP_algebra.UnboundedGridRangeKD_set_number_of_voxels(self, arg2)
8853 
8854 
8855  def get_number_of_voxels(self, arg2):
8856  """get_number_of_voxels(UnboundedGridRangeKD self, int arg2) -> unsigned int"""
8857  return _IMP_algebra.UnboundedGridRangeKD_get_number_of_voxels(self, arg2)
8858 
8859 
8860  def get_is_bounded():
8861  """get_is_bounded() -> bool"""
8862  return _IMP_algebra.UnboundedGridRangeKD_get_is_bounded()
8863 
8864  get_is_bounded = staticmethod(get_is_bounded)
8865 
8866  def get_has_index(self, arg2):
8867  """get_has_index(UnboundedGridRangeKD self, ExtendedGridIndexKD arg2) -> bool"""
8868  return _IMP_algebra.UnboundedGridRangeKD_get_has_index(self, arg2)
8869 
8870 
8871  def show(self, *args):
8872  """
8873  show(UnboundedGridRangeKD self, _ostream out)
8874  show(UnboundedGridRangeKD self)
8875  """
8876  return _IMP_algebra.UnboundedGridRangeKD_show(self, *args)
8877 
8878 
8879  def get_extended_indexes(self, lb, ub):
8880  """get_extended_indexes(UnboundedGridRangeKD self, ExtendedGridIndexKD lb, ExtendedGridIndexKD ub) -> IMP::Vector< IMP::algebra::ExtendedGridIndexD< -1 > >"""
8881  return _IMP_algebra.UnboundedGridRangeKD_get_extended_indexes(self, lb, ub)
8882 
8883 
8884  def __str__(self):
8885  """__str__(UnboundedGridRangeKD self) -> std::string"""
8886  return _IMP_algebra.UnboundedGridRangeKD___str__(self)
8887 
8888 
8889  def __repr__(self):
8890  """__repr__(UnboundedGridRangeKD self) -> std::string"""
8891  return _IMP_algebra.UnboundedGridRangeKD___repr__(self)
8892 
8893 
8894  def __cmp__(self, arg2):
8895  """__cmp__(UnboundedGridRangeKD self, UnboundedGridRangeKD arg2) -> int"""
8896  return _IMP_algebra.UnboundedGridRangeKD___cmp__(self, arg2)
8897 
8898 
8899  def __eq__(self, arg2):
8900  """__eq__(UnboundedGridRangeKD self, UnboundedGridRangeKD arg2) -> bool"""
8901  return _IMP_algebra.UnboundedGridRangeKD___eq__(self, arg2)
8902 
8903  __swig_destroy__ = _IMP_algebra.delete_UnboundedGridRangeKD
8904  __del__ = lambda self: None
8905 UnboundedGridRangeKD_swigregister = _IMP_algebra.UnboundedGridRangeKD_swigregister
8906 UnboundedGridRangeKD_swigregister(UnboundedGridRangeKD)
8907 
8908 def UnboundedGridRangeKD_get_is_bounded():
8909  """UnboundedGridRangeKD_get_is_bounded() -> bool"""
8910  return _IMP_algebra.UnboundedGridRangeKD_get_is_bounded()
8911 
8912 class DefaultEmbedding1D(object):
8913  """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(1)> class."""
8914 
8915  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8916 
8917  def __init__(self, *args):
8918  """
8919  __init__(IMP::algebra::DefaultEmbeddingD<(1)> self, Vector1D origin, Vector1D cell) -> DefaultEmbedding1D
8920  __init__(IMP::algebra::DefaultEmbeddingD<(1)> self) -> DefaultEmbedding1D
8921  """
8922  this = _IMP_algebra.new_DefaultEmbedding1D(*args)
8923  try:
8924  self.this.append(this)
8925  except __builtin__.Exception:
8926  self.this = this
8927 
8928  def set_origin(self, o):
8929  """set_origin(DefaultEmbedding1D self, Vector1D o)"""
8930  return _IMP_algebra.DefaultEmbedding1D_set_origin(self, o)
8931 
8932 
8933  def get_origin(self):
8934  """get_origin(DefaultEmbedding1D self) -> Vector1D"""
8935  return _IMP_algebra.DefaultEmbedding1D_get_origin(self)
8936 
8937 
8938  def get_dimension(self):
8939  """get_dimension(DefaultEmbedding1D self) -> unsigned int"""
8940  return _IMP_algebra.DefaultEmbedding1D_get_dimension(self)
8941 
8942 
8943  def set_unit_cell(self, o):
8944  """set_unit_cell(DefaultEmbedding1D self, Vector1D o)"""
8945  return _IMP_algebra.DefaultEmbedding1D_set_unit_cell(self, o)
8946 
8947 
8948  def get_inverse_unit_cell(self):
8949  """get_inverse_unit_cell(DefaultEmbedding1D self) -> Vector1D"""
8950  return _IMP_algebra.DefaultEmbedding1D_get_inverse_unit_cell(self)
8951 
8952 
8953  def get_unit_cell(self):
8954  """get_unit_cell(DefaultEmbedding1D self) -> Vector1D"""
8955  return _IMP_algebra.DefaultEmbedding1D_get_unit_cell(self)
8956 
8957 
8958  def get_extended_index(self, o):
8959  """get_extended_index(DefaultEmbedding1D self, Vector1D o) -> ExtendedGridIndex1D"""
8960  return _IMP_algebra.DefaultEmbedding1D_get_extended_index(self, o)
8961 
8962 
8963  def get_index(self, o):
8964  """get_index(DefaultEmbedding1D self, Vector1D o) -> GridIndex1D"""
8965  return _IMP_algebra.DefaultEmbedding1D_get_index(self, o)
8966 
8967 
8968  def get_center(self, *args):
8969  """
8970  get_center(DefaultEmbedding1D self, ExtendedGridIndex1D ei) -> Vector1D
8971  get_center(DefaultEmbedding1D self, GridIndex1D ei) -> Vector1D
8972  """
8973  return _IMP_algebra.DefaultEmbedding1D_get_center(self, *args)
8974 
8975 
8976  def get_bounding_box(self, *args):
8977  """
8978  get_bounding_box(DefaultEmbedding1D self, ExtendedGridIndex1D ei) -> BoundingBox1D
8979  get_bounding_box(DefaultEmbedding1D self, GridIndex1D ei) -> BoundingBox1D
8980  """
8981  return _IMP_algebra.DefaultEmbedding1D_get_bounding_box(self, *args)
8982 
8983 
8984  def show(self, *args):
8985  """
8986  show(DefaultEmbedding1D self, _ostream out)
8987  show(DefaultEmbedding1D self)
8988  """
8989  return _IMP_algebra.DefaultEmbedding1D_show(self, *args)
8990 
8991 
8992  def __str__(self):
8993  """__str__(DefaultEmbedding1D self) -> std::string"""
8994  return _IMP_algebra.DefaultEmbedding1D___str__(self)
8995 
8996 
8997  def __repr__(self):
8998  """__repr__(DefaultEmbedding1D self) -> std::string"""
8999  return _IMP_algebra.DefaultEmbedding1D___repr__(self)
9000 
9001 
9002  def __cmp__(self, arg2):
9003  """__cmp__(DefaultEmbedding1D self, DefaultEmbedding1D arg2) -> int"""
9004  return _IMP_algebra.DefaultEmbedding1D___cmp__(self, arg2)
9005 
9006 
9007  def __eq__(self, arg2):
9008  """__eq__(DefaultEmbedding1D self, DefaultEmbedding1D arg2) -> bool"""
9009  return _IMP_algebra.DefaultEmbedding1D___eq__(self, arg2)
9010 
9011  __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding1D
9012  __del__ = lambda self: None
9013 DefaultEmbedding1D_swigregister = _IMP_algebra.DefaultEmbedding1D_swigregister
9014 DefaultEmbedding1D_swigregister(DefaultEmbedding1D)
9015 
9016 class DefaultEmbedding2D(object):
9017  """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(2)> class."""
9018 
9019  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9020 
9021  def __init__(self, *args):
9022  """
9023  __init__(IMP::algebra::DefaultEmbeddingD<(2)> self, Vector2D origin, Vector2D cell) -> DefaultEmbedding2D
9024  __init__(IMP::algebra::DefaultEmbeddingD<(2)> self) -> DefaultEmbedding2D
9025  """
9026  this = _IMP_algebra.new_DefaultEmbedding2D(*args)
9027  try:
9028  self.this.append(this)
9029  except __builtin__.Exception:
9030  self.this = this
9031 
9032  def set_origin(self, o):
9033  """set_origin(DefaultEmbedding2D self, Vector2D o)"""
9034  return _IMP_algebra.DefaultEmbedding2D_set_origin(self, o)
9035 
9036 
9037  def get_origin(self):
9038  """get_origin(DefaultEmbedding2D self) -> Vector2D"""
9039  return _IMP_algebra.DefaultEmbedding2D_get_origin(self)
9040 
9041 
9042  def get_dimension(self):
9043  """get_dimension(DefaultEmbedding2D self) -> unsigned int"""
9044  return _IMP_algebra.DefaultEmbedding2D_get_dimension(self)
9045 
9046 
9047  def set_unit_cell(self, o):
9048  """set_unit_cell(DefaultEmbedding2D self, Vector2D o)"""
9049  return _IMP_algebra.DefaultEmbedding2D_set_unit_cell(self, o)
9050 
9051 
9052  def get_inverse_unit_cell(self):
9053  """get_inverse_unit_cell(DefaultEmbedding2D self) -> Vector2D"""
9054  return _IMP_algebra.DefaultEmbedding2D_get_inverse_unit_cell(self)
9055 
9056 
9057  def get_unit_cell(self):
9058  """get_unit_cell(DefaultEmbedding2D self) -> Vector2D"""
9059  return _IMP_algebra.DefaultEmbedding2D_get_unit_cell(self)
9060 
9061 
9062  def get_extended_index(self, o):
9063  """get_extended_index(DefaultEmbedding2D self, Vector2D o) -> ExtendedGridIndex2D"""
9064  return _IMP_algebra.DefaultEmbedding2D_get_extended_index(self, o)
9065 
9066 
9067  def get_index(self, o):
9068  """get_index(DefaultEmbedding2D self, Vector2D o) -> GridIndex2D"""
9069  return _IMP_algebra.DefaultEmbedding2D_get_index(self, o)
9070 
9071 
9072  def get_center(self, *args):
9073  """
9074  get_center(DefaultEmbedding2D self, ExtendedGridIndex2D ei) -> Vector2D
9075  get_center(DefaultEmbedding2D self, GridIndex2D ei) -> Vector2D
9076  """
9077  return _IMP_algebra.DefaultEmbedding2D_get_center(self, *args)
9078 
9079 
9080  def get_bounding_box(self, *args):
9081  """
9082  get_bounding_box(DefaultEmbedding2D self, ExtendedGridIndex2D ei) -> BoundingBox2D
9083  get_bounding_box(DefaultEmbedding2D self, GridIndex2D ei) -> BoundingBox2D
9084  """
9085  return _IMP_algebra.DefaultEmbedding2D_get_bounding_box(self, *args)
9086 
9087 
9088  def show(self, *args):
9089  """
9090  show(DefaultEmbedding2D self, _ostream out)
9091  show(DefaultEmbedding2D self)
9092  """
9093  return _IMP_algebra.DefaultEmbedding2D_show(self, *args)
9094 
9095 
9096  def __str__(self):
9097  """__str__(DefaultEmbedding2D self) -> std::string"""
9098  return _IMP_algebra.DefaultEmbedding2D___str__(self)
9099 
9100 
9101  def __repr__(self):
9102  """__repr__(DefaultEmbedding2D self) -> std::string"""
9103  return _IMP_algebra.DefaultEmbedding2D___repr__(self)
9104 
9105 
9106  def __cmp__(self, arg2):
9107  """__cmp__(DefaultEmbedding2D self, DefaultEmbedding2D arg2) -> int"""
9108  return _IMP_algebra.DefaultEmbedding2D___cmp__(self, arg2)
9109 
9110 
9111  def __eq__(self, arg2):
9112  """__eq__(DefaultEmbedding2D self, DefaultEmbedding2D arg2) -> bool"""
9113  return _IMP_algebra.DefaultEmbedding2D___eq__(self, arg2)
9114 
9115  __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding2D
9116  __del__ = lambda self: None
9117 DefaultEmbedding2D_swigregister = _IMP_algebra.DefaultEmbedding2D_swigregister
9118 DefaultEmbedding2D_swigregister(DefaultEmbedding2D)
9119 
9120 class DefaultEmbedding3D(object):
9121  """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(3)> class."""
9122 
9123  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9124 
9125  def __init__(self, *args):
9126  """
9127  __init__(IMP::algebra::DefaultEmbeddingD<(3)> self, Vector3D origin, Vector3D cell) -> DefaultEmbedding3D
9128  __init__(IMP::algebra::DefaultEmbeddingD<(3)> self) -> DefaultEmbedding3D
9129  """
9130  this = _IMP_algebra.new_DefaultEmbedding3D(*args)
9131  try:
9132  self.this.append(this)
9133  except __builtin__.Exception:
9134  self.this = this
9135 
9136  def set_origin(self, o):
9137  """set_origin(DefaultEmbedding3D self, Vector3D o)"""
9138  return _IMP_algebra.DefaultEmbedding3D_set_origin(self, o)
9139 
9140 
9141  def get_origin(self):
9142  """get_origin(DefaultEmbedding3D self) -> Vector3D"""
9143  return _IMP_algebra.DefaultEmbedding3D_get_origin(self)
9144 
9145 
9146  def get_dimension(self):
9147  """get_dimension(DefaultEmbedding3D self) -> unsigned int"""
9148  return _IMP_algebra.DefaultEmbedding3D_get_dimension(self)
9149 
9150 
9151  def set_unit_cell(self, o):
9152  """set_unit_cell(DefaultEmbedding3D self, Vector3D o)"""
9153  return _IMP_algebra.DefaultEmbedding3D_set_unit_cell(self, o)
9154 
9155 
9156  def get_inverse_unit_cell(self):
9157  """get_inverse_unit_cell(DefaultEmbedding3D self) -> Vector3D"""
9158  return _IMP_algebra.DefaultEmbedding3D_get_inverse_unit_cell(self)
9159 
9160 
9161  def get_unit_cell(self):
9162  """get_unit_cell(DefaultEmbedding3D self) -> Vector3D"""
9163  return _IMP_algebra.DefaultEmbedding3D_get_unit_cell(self)
9164 
9165 
9166  def get_extended_index(self, o):
9167  """get_extended_index(DefaultEmbedding3D self, Vector3D o) -> ExtendedGridIndex3D"""
9168  return _IMP_algebra.DefaultEmbedding3D_get_extended_index(self, o)
9169 
9170 
9171  def get_index(self, o):
9172  """get_index(DefaultEmbedding3D self, Vector3D o) -> GridIndex3D"""
9173  return _IMP_algebra.DefaultEmbedding3D_get_index(self, o)
9174 
9175 
9176  def get_center(self, *args):
9177  """
9178  get_center(DefaultEmbedding3D self, ExtendedGridIndex3D ei) -> Vector3D
9179  get_center(DefaultEmbedding3D self, GridIndex3D ei) -> Vector3D
9180  """
9181  return _IMP_algebra.DefaultEmbedding3D_get_center(self, *args)
9182 
9183 
9184  def get_bounding_box(self, *args):
9185  """
9186  get_bounding_box(DefaultEmbedding3D self, ExtendedGridIndex3D ei) -> BoundingBox3D
9187  get_bounding_box(DefaultEmbedding3D self, GridIndex3D ei) -> BoundingBox3D
9188  """
9189  return _IMP_algebra.DefaultEmbedding3D_get_bounding_box(self, *args)
9190 
9191 
9192  def show(self, *args):
9193  """
9194  show(DefaultEmbedding3D self, _ostream out)
9195  show(DefaultEmbedding3D self)
9196  """
9197  return _IMP_algebra.DefaultEmbedding3D_show(self, *args)
9198 
9199 
9200  def __str__(self):
9201  """__str__(DefaultEmbedding3D self) -> std::string"""
9202  return _IMP_algebra.DefaultEmbedding3D___str__(self)
9203 
9204 
9205  def __repr__(self):
9206  """__repr__(DefaultEmbedding3D self) -> std::string"""
9207  return _IMP_algebra.DefaultEmbedding3D___repr__(self)
9208 
9209 
9210  def __cmp__(self, arg2):
9211  """__cmp__(DefaultEmbedding3D self, DefaultEmbedding3D arg2) -> int"""
9212  return _IMP_algebra.DefaultEmbedding3D___cmp__(self, arg2)
9213 
9214 
9215  def __eq__(self, arg2):
9216  """__eq__(DefaultEmbedding3D self, DefaultEmbedding3D arg2) -> bool"""
9217  return _IMP_algebra.DefaultEmbedding3D___eq__(self, arg2)
9218 
9219  __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding3D
9220  __del__ = lambda self: None
9221 DefaultEmbedding3D_swigregister = _IMP_algebra.DefaultEmbedding3D_swigregister
9222 DefaultEmbedding3D_swigregister(DefaultEmbedding3D)
9223 
9224 class DefaultEmbedding4D(object):
9225  """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(4)> class."""
9226 
9227  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9228 
9229  def __init__(self, *args):
9230  """
9231  __init__(IMP::algebra::DefaultEmbeddingD<(4)> self, Vector4D origin, Vector4D cell) -> DefaultEmbedding4D
9232  __init__(IMP::algebra::DefaultEmbeddingD<(4)> self) -> DefaultEmbedding4D
9233  """
9234  this = _IMP_algebra.new_DefaultEmbedding4D(*args)
9235  try:
9236  self.this.append(this)
9237  except __builtin__.Exception:
9238  self.this = this
9239 
9240  def set_origin(self, o):
9241  """set_origin(DefaultEmbedding4D self, Vector4D o)"""
9242  return _IMP_algebra.DefaultEmbedding4D_set_origin(self, o)
9243 
9244 
9245  def get_origin(self):
9246  """get_origin(DefaultEmbedding4D self) -> Vector4D"""
9247  return _IMP_algebra.DefaultEmbedding4D_get_origin(self)
9248 
9249 
9250  def get_dimension(self):
9251  """get_dimension(DefaultEmbedding4D self) -> unsigned int"""
9252  return _IMP_algebra.DefaultEmbedding4D_get_dimension(self)
9253 
9254 
9255  def set_unit_cell(self, o):
9256  """set_unit_cell(DefaultEmbedding4D self, Vector4D o)"""
9257  return _IMP_algebra.DefaultEmbedding4D_set_unit_cell(self, o)
9258 
9259 
9260  def get_inverse_unit_cell(self):
9261  """get_inverse_unit_cell(DefaultEmbedding4D self) -> Vector4D"""
9262  return _IMP_algebra.DefaultEmbedding4D_get_inverse_unit_cell(self)
9263 
9264 
9265  def get_unit_cell(self):
9266  """get_unit_cell(DefaultEmbedding4D self) -> Vector4D"""
9267  return _IMP_algebra.DefaultEmbedding4D_get_unit_cell(self)
9268 
9269 
9270  def get_extended_index(self, o):
9271  """get_extended_index(DefaultEmbedding4D self, Vector4D o) -> ExtendedGridIndex4D"""
9272  return _IMP_algebra.DefaultEmbedding4D_get_extended_index(self, o)
9273 
9274 
9275  def get_index(self, o):
9276  """get_index(DefaultEmbedding4D self, Vector4D o) -> GridIndex4D"""
9277  return _IMP_algebra.DefaultEmbedding4D_get_index(self, o)
9278 
9279 
9280  def get_center(self, *args):
9281  """
9282  get_center(DefaultEmbedding4D self, ExtendedGridIndex4D ei) -> Vector4D
9283  get_center(DefaultEmbedding4D self, GridIndex4D ei) -> Vector4D
9284  """
9285  return _IMP_algebra.DefaultEmbedding4D_get_center(self, *args)
9286 
9287 
9288  def get_bounding_box(self, *args):
9289  """
9290  get_bounding_box(DefaultEmbedding4D self, ExtendedGridIndex4D ei) -> BoundingBox4D
9291  get_bounding_box(DefaultEmbedding4D self, GridIndex4D ei) -> BoundingBox4D
9292  """
9293  return _IMP_algebra.DefaultEmbedding4D_get_bounding_box(self, *args)
9294 
9295 
9296  def show(self, *args):
9297  """
9298  show(DefaultEmbedding4D self, _ostream out)
9299  show(DefaultEmbedding4D self)
9300  """
9301  return _IMP_algebra.DefaultEmbedding4D_show(self, *args)
9302 
9303 
9304  def __str__(self):
9305  """__str__(DefaultEmbedding4D self) -> std::string"""
9306  return _IMP_algebra.DefaultEmbedding4D___str__(self)
9307 
9308 
9309  def __repr__(self):
9310  """__repr__(DefaultEmbedding4D self) -> std::string"""
9311  return _IMP_algebra.DefaultEmbedding4D___repr__(self)
9312 
9313 
9314  def __cmp__(self, arg2):
9315  """__cmp__(DefaultEmbedding4D self, DefaultEmbedding4D arg2) -> int"""
9316  return _IMP_algebra.DefaultEmbedding4D___cmp__(self, arg2)
9317 
9318 
9319  def __eq__(self, arg2):
9320  """__eq__(DefaultEmbedding4D self, DefaultEmbedding4D arg2) -> bool"""
9321  return _IMP_algebra.DefaultEmbedding4D___eq__(self, arg2)
9322 
9323  __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding4D
9324  __del__ = lambda self: None
9325 DefaultEmbedding4D_swigregister = _IMP_algebra.DefaultEmbedding4D_swigregister
9326 DefaultEmbedding4D_swigregister(DefaultEmbedding4D)
9327 
9328 class DefaultEmbedding5D(object):
9329  """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(5)> class."""
9330 
9331  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9332 
9333  def __init__(self, *args):
9334  """
9335  __init__(IMP::algebra::DefaultEmbeddingD<(5)> self, Vector5D origin, Vector5D cell) -> DefaultEmbedding5D
9336  __init__(IMP::algebra::DefaultEmbeddingD<(5)> self) -> DefaultEmbedding5D
9337  """
9338  this = _IMP_algebra.new_DefaultEmbedding5D(*args)
9339  try:
9340  self.this.append(this)
9341  except __builtin__.Exception:
9342  self.this = this
9343 
9344  def set_origin(self, o):
9345  """set_origin(DefaultEmbedding5D self, Vector5D o)"""
9346  return _IMP_algebra.DefaultEmbedding5D_set_origin(self, o)
9347 
9348 
9349  def get_origin(self):
9350  """get_origin(DefaultEmbedding5D self) -> Vector5D"""
9351  return _IMP_algebra.DefaultEmbedding5D_get_origin(self)
9352 
9353 
9354  def get_dimension(self):
9355  """get_dimension(DefaultEmbedding5D self) -> unsigned int"""
9356  return _IMP_algebra.DefaultEmbedding5D_get_dimension(self)
9357 
9358 
9359  def set_unit_cell(self, o):
9360  """set_unit_cell(DefaultEmbedding5D self, Vector5D o)"""
9361  return _IMP_algebra.DefaultEmbedding5D_set_unit_cell(self, o)
9362 
9363 
9364  def get_inverse_unit_cell(self):
9365  """get_inverse_unit_cell(DefaultEmbedding5D self) -> Vector5D"""
9366  return _IMP_algebra.DefaultEmbedding5D_get_inverse_unit_cell(self)
9367 
9368 
9369  def get_unit_cell(self):
9370  """get_unit_cell(DefaultEmbedding5D self) -> Vector5D"""
9371  return _IMP_algebra.DefaultEmbedding5D_get_unit_cell(self)
9372 
9373 
9374  def get_extended_index(self, o):
9375  """get_extended_index(DefaultEmbedding5D self, Vector5D o) -> ExtendedGridIndex5D"""
9376  return _IMP_algebra.DefaultEmbedding5D_get_extended_index(self, o)
9377 
9378 
9379  def get_index(self, o):
9380  """get_index(DefaultEmbedding5D self, Vector5D o) -> GridIndex5D"""
9381  return _IMP_algebra.DefaultEmbedding5D_get_index(self, o)
9382 
9383 
9384  def get_center(self, *args):
9385  """
9386  get_center(DefaultEmbedding5D self, ExtendedGridIndex5D ei) -> Vector5D
9387  get_center(DefaultEmbedding5D self, GridIndex5D ei) -> Vector5D
9388  """
9389  return _IMP_algebra.DefaultEmbedding5D_get_center(self, *args)
9390 
9391 
9392  def get_bounding_box(self, *args):
9393  """
9394  get_bounding_box(DefaultEmbedding5D self, ExtendedGridIndex5D ei) -> BoundingBox5D
9395  get_bounding_box(DefaultEmbedding5D self, GridIndex5D ei) -> BoundingBox5D
9396  """
9397  return _IMP_algebra.DefaultEmbedding5D_get_bounding_box(self, *args)
9398 
9399 
9400  def show(self, *args):
9401  """
9402  show(DefaultEmbedding5D self, _ostream out)
9403  show(DefaultEmbedding5D self)
9404  """
9405  return _IMP_algebra.DefaultEmbedding5D_show(self, *args)
9406 
9407 
9408  def __str__(self):
9409  """__str__(DefaultEmbedding5D self) -> std::string"""
9410  return _IMP_algebra.DefaultEmbedding5D___str__(self)
9411 
9412 
9413  def __repr__(self):
9414  """__repr__(DefaultEmbedding5D self) -> std::string"""
9415  return _IMP_algebra.DefaultEmbedding5D___repr__(self)
9416 
9417 
9418  def __cmp__(self, arg2):
9419  """__cmp__(DefaultEmbedding5D self, DefaultEmbedding5D arg2) -> int"""
9420  return _IMP_algebra.DefaultEmbedding5D___cmp__(self, arg2)
9421 
9422 
9423  def __eq__(self, arg2):
9424  """__eq__(DefaultEmbedding5D self, DefaultEmbedding5D arg2) -> bool"""
9425  return _IMP_algebra.DefaultEmbedding5D___eq__(self, arg2)
9426 
9427  __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding5D
9428  __del__ = lambda self: None
9429 DefaultEmbedding5D_swigregister = _IMP_algebra.DefaultEmbedding5D_swigregister
9430 DefaultEmbedding5D_swigregister(DefaultEmbedding5D)
9431 
9432 class DefaultEmbedding6D(object):
9433  """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(6)> class."""
9434 
9435  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9436 
9437  def __init__(self, *args):
9438  """
9439  __init__(IMP::algebra::DefaultEmbeddingD<(6)> self, Vector6D origin, Vector6D cell) -> DefaultEmbedding6D
9440  __init__(IMP::algebra::DefaultEmbeddingD<(6)> self) -> DefaultEmbedding6D
9441  """
9442  this = _IMP_algebra.new_DefaultEmbedding6D(*args)
9443  try:
9444  self.this.append(this)
9445  except __builtin__.Exception:
9446  self.this = this
9447 
9448  def set_origin(self, o):
9449  """set_origin(DefaultEmbedding6D self, Vector6D o)"""
9450  return _IMP_algebra.DefaultEmbedding6D_set_origin(self, o)
9451 
9452 
9453  def get_origin(self):
9454  """get_origin(DefaultEmbedding6D self) -> Vector6D"""
9455  return _IMP_algebra.DefaultEmbedding6D_get_origin(self)
9456 
9457 
9458  def get_dimension(self):
9459  """get_dimension(DefaultEmbedding6D self) -> unsigned int"""
9460  return _IMP_algebra.DefaultEmbedding6D_get_dimension(self)
9461 
9462 
9463  def set_unit_cell(self, o):
9464  """set_unit_cell(DefaultEmbedding6D self, Vector6D o)"""
9465  return _IMP_algebra.DefaultEmbedding6D_set_unit_cell(self, o)
9466 
9467 
9468  def get_inverse_unit_cell(self):
9469  """get_inverse_unit_cell(DefaultEmbedding6D self) -> Vector6D"""
9470  return _IMP_algebra.DefaultEmbedding6D_get_inverse_unit_cell(self)
9471 
9472 
9473  def get_unit_cell(self):
9474  """get_unit_cell(DefaultEmbedding6D self) -> Vector6D"""
9475  return _IMP_algebra.DefaultEmbedding6D_get_unit_cell(self)
9476 
9477 
9478  def get_extended_index(self, o):
9479  """get_extended_index(DefaultEmbedding6D self, Vector6D o) -> ExtendedGridIndex6D"""
9480  return _IMP_algebra.DefaultEmbedding6D_get_extended_index(self, o)
9481 
9482 
9483  def get_index(self, o):
9484  """get_index(DefaultEmbedding6D self, Vector6D o) -> GridIndex6D"""
9485  return _IMP_algebra.DefaultEmbedding6D_get_index(self, o)
9486 
9487 
9488  def get_center(self, *args):
9489  """
9490  get_center(DefaultEmbedding6D self, ExtendedGridIndex6D ei) -> Vector6D
9491  get_center(DefaultEmbedding6D self, GridIndex6D ei) -> Vector6D
9492  """
9493  return _IMP_algebra.DefaultEmbedding6D_get_center(self, *args)
9494 
9495 
9496  def get_bounding_box(self, *args):
9497  """
9498  get_bounding_box(DefaultEmbedding6D self, ExtendedGridIndex6D ei) -> BoundingBox6D
9499  get_bounding_box(DefaultEmbedding6D self, GridIndex6D ei) -> BoundingBox6D
9500  """
9501  return _IMP_algebra.DefaultEmbedding6D_get_bounding_box(self, *args)
9502 
9503 
9504  def show(self, *args):
9505  """
9506  show(DefaultEmbedding6D self, _ostream out)
9507  show(DefaultEmbedding6D self)
9508  """
9509  return _IMP_algebra.DefaultEmbedding6D_show(self, *args)
9510 
9511 
9512  def __str__(self):
9513  """__str__(DefaultEmbedding6D self) -> std::string"""
9514  return _IMP_algebra.DefaultEmbedding6D___str__(self)
9515 
9516 
9517  def __repr__(self):
9518  """__repr__(DefaultEmbedding6D self) -> std::string"""
9519  return _IMP_algebra.DefaultEmbedding6D___repr__(self)
9520 
9521 
9522  def __cmp__(self, arg2):
9523  """__cmp__(DefaultEmbedding6D self, DefaultEmbedding6D arg2) -> int"""
9524  return _IMP_algebra.DefaultEmbedding6D___cmp__(self, arg2)
9525 
9526 
9527  def __eq__(self, arg2):
9528  """__eq__(DefaultEmbedding6D self, DefaultEmbedding6D arg2) -> bool"""
9529  return _IMP_algebra.DefaultEmbedding6D___eq__(self, arg2)
9530 
9531  __swig_destroy__ = _IMP_algebra.delete_DefaultEmbedding6D
9532  __del__ = lambda self: None
9533 DefaultEmbedding6D_swigregister = _IMP_algebra.DefaultEmbedding6D_swigregister
9534 DefaultEmbedding6D_swigregister(DefaultEmbedding6D)
9535 
9536 class DefaultEmbeddingKD(object):
9537  """Proxy of C++ IMP::algebra::DefaultEmbeddingD<(-1)> class."""
9538 
9539  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9540 
9541  def __init__(self, *args):
9542  """
9543  __init__(IMP::algebra::DefaultEmbeddingD<(-1)> self, VectorKD origin, VectorKD cell) -> DefaultEmbeddingKD
9544  __init__(IMP::algebra::DefaultEmbeddingD<(-1)> self) -> DefaultEmbeddingKD
9545  """
9546  this = _IMP_algebra.new_DefaultEmbeddingKD(*args)
9547  try:
9548  self.this.append(this)
9549  except __builtin__.Exception:
9550  self.this = this
9551 
9552  def set_origin(self, o):
9553  """set_origin(DefaultEmbeddingKD self, VectorKD o)"""
9554  return _IMP_algebra.DefaultEmbeddingKD_set_origin(self, o)
9555 
9556 
9557  def get_origin(self):
9558  """get_origin(DefaultEmbeddingKD self) -> VectorKD"""
9559  return _IMP_algebra.DefaultEmbeddingKD_get_origin(self)
9560 
9561 
9562  def get_dimension(self):
9563  """get_dimension(DefaultEmbeddingKD self) -> unsigned int"""
9564  return _IMP_algebra.DefaultEmbeddingKD_get_dimension(self)
9565 
9566 
9567  def set_unit_cell(self, o):
9568  """set_unit_cell(DefaultEmbeddingKD self, VectorKD o)"""
9569  return _IMP_algebra.DefaultEmbeddingKD_set_unit_cell(self, o)
9570 
9571 
9572  def get_inverse_unit_cell(self):
9573  """get_inverse_unit_cell(DefaultEmbeddingKD self) -> VectorKD"""
9574  return _IMP_algebra.DefaultEmbeddingKD_get_inverse_unit_cell(self)
9575 
9576 
9577  def get_unit_cell(self):
9578  """get_unit_cell(DefaultEmbeddingKD self) -> VectorKD"""
9579  return _IMP_algebra.DefaultEmbeddingKD_get_unit_cell(self)
9580 
9581 
9582  def get_extended_index(self, o):
9583  """get_extended_index(DefaultEmbeddingKD self, VectorKD o) -> ExtendedGridIndexKD"""
9584  return _IMP_algebra.DefaultEmbeddingKD_get_extended_index(self, o)
9585 
9586 
9587  def get_index(self, o):
9588  """get_index(DefaultEmbeddingKD self, VectorKD o) -> GridIndexKD"""
9589  return _IMP_algebra.DefaultEmbeddingKD_get_index(self, o)
9590 
9591 
9592  def get_center(self, *args):
9593  """
9594  get_center(DefaultEmbeddingKD self, ExtendedGridIndexKD ei) -> VectorKD
9595  get_center(DefaultEmbeddingKD self, GridIndexKD ei) -> VectorKD
9596  """
9597  return _IMP_algebra.DefaultEmbeddingKD_get_center(self, *args)
9598 
9599 
9600  def get_bounding_box(self, *args):
9601  """
9602  get_bounding_box(DefaultEmbeddingKD self, ExtendedGridIndexKD ei) -> BoundingBoxKD
9603  get_bounding_box(DefaultEmbeddingKD self, GridIndexKD ei) -> BoundingBoxKD
9604  """
9605  return _IMP_algebra.DefaultEmbeddingKD_get_bounding_box(self, *args)
9606 
9607 
9608  def show(self, *args):
9609  """
9610  show(DefaultEmbeddingKD self, _ostream out)
9611  show(DefaultEmbeddingKD self)
9612  """
9613  return _IMP_algebra.DefaultEmbeddingKD_show(self, *args)
9614 
9615 
9616  def __str__(self):
9617  """__str__(DefaultEmbeddingKD self) -> std::string"""
9618  return _IMP_algebra.DefaultEmbeddingKD___str__(self)
9619 
9620 
9621  def __repr__(self):
9622  """__repr__(DefaultEmbeddingKD self) -> std::string"""
9623  return _IMP_algebra.DefaultEmbeddingKD___repr__(self)
9624 
9625 
9626  def __cmp__(self, arg2):
9627  """__cmp__(DefaultEmbeddingKD self, DefaultEmbeddingKD arg2) -> int"""
9628  return _IMP_algebra.DefaultEmbeddingKD___cmp__(self, arg2)
9629 
9630 
9631  def __eq__(self, arg2):
9632  """__eq__(DefaultEmbeddingKD self, DefaultEmbeddingKD arg2) -> bool"""
9633  return _IMP_algebra.DefaultEmbeddingKD___eq__(self, arg2)
9634 
9635  __swig_destroy__ = _IMP_algebra.delete_DefaultEmbeddingKD
9636  __del__ = lambda self: None
9637 DefaultEmbeddingKD_swigregister = _IMP_algebra.DefaultEmbeddingKD_swigregister
9638 DefaultEmbeddingKD_swigregister(DefaultEmbeddingKD)
9639 
9640 class LogEmbedding1D(object):
9641  """Proxy of C++ IMP::algebra::LogEmbeddingD<(1)> class."""
9642 
9643  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9644 
9645  def __init__(self, *args):
9646  """
9647  __init__(IMP::algebra::LogEmbeddingD<(1)> self, Vector1D origin, Vector1D cell, Vector1D base) -> LogEmbedding1D
9648  __init__(IMP::algebra::LogEmbeddingD<(1)> self, BoundingBox1D bb, Vector1D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding1D
9649  __init__(IMP::algebra::LogEmbeddingD<(1)> self, BoundingBox1D bb, Vector1D bases, IMP::Ints const & counts) -> LogEmbedding1D
9650  __init__(IMP::algebra::LogEmbeddingD<(1)> self, Vector1D arg2, Vector1D arg3) -> LogEmbedding1D
9651  __init__(IMP::algebra::LogEmbeddingD<(1)> self) -> LogEmbedding1D
9652  """
9653  this = _IMP_algebra.new_LogEmbedding1D(*args)
9654  try:
9655  self.this.append(this)
9656  except __builtin__.Exception:
9657  self.this = this
9658 
9659  def set_origin(self, o):
9660  """set_origin(LogEmbedding1D self, Vector1D o)"""
9661  return _IMP_algebra.LogEmbedding1D_set_origin(self, o)
9662 
9663 
9664  def get_origin(self):
9665  """get_origin(LogEmbedding1D self) -> Vector1D"""
9666  return _IMP_algebra.LogEmbedding1D_get_origin(self)
9667 
9668 
9669  def get_dimension(self):
9670  """get_dimension(LogEmbedding1D self) -> unsigned int"""
9671  return _IMP_algebra.LogEmbedding1D_get_dimension(self)
9672 
9673 
9674  def set_unit_cell(self, *args):
9675  """
9676  set_unit_cell(LogEmbedding1D self, Vector1D o, Vector1D base)
9677  set_unit_cell(LogEmbedding1D self, Vector1D o)
9678  """
9679  return _IMP_algebra.LogEmbedding1D_set_unit_cell(self, *args)
9680 
9681 
9682  def get_unit_cell(self):
9683  """get_unit_cell(LogEmbedding1D self) -> Vector1D"""
9684  return _IMP_algebra.LogEmbedding1D_get_unit_cell(self)
9685 
9686 
9687  def get_extended_index(self, o):
9688  """get_extended_index(LogEmbedding1D self, Vector1D o) -> ExtendedGridIndex1D"""
9689  return _IMP_algebra.LogEmbedding1D_get_extended_index(self, o)
9690 
9691 
9692  def get_index(self, o):
9693  """get_index(LogEmbedding1D self, Vector1D o) -> GridIndex1D"""
9694  return _IMP_algebra.LogEmbedding1D_get_index(self, o)
9695 
9696 
9697  def get_center(self, *args):
9698  """
9699  get_center(LogEmbedding1D self, ExtendedGridIndex1D ei) -> Vector1D
9700  get_center(LogEmbedding1D self, GridIndex1D ei) -> Vector1D
9701  """
9702  return _IMP_algebra.LogEmbedding1D_get_center(self, *args)
9703 
9704 
9705  def get_bounding_box(self, *args):
9706  """
9707  get_bounding_box(LogEmbedding1D self, ExtendedGridIndex1D ei) -> BoundingBox1D
9708  get_bounding_box(LogEmbedding1D self, GridIndex1D ei) -> BoundingBox1D
9709  """
9710  return _IMP_algebra.LogEmbedding1D_get_bounding_box(self, *args)
9711 
9712 
9713  def show(self, *args):
9714  """
9715  show(LogEmbedding1D self, _ostream out)
9716  show(LogEmbedding1D self)
9717  """
9718  return _IMP_algebra.LogEmbedding1D_show(self, *args)
9719 
9720 
9721  def __str__(self):
9722  """__str__(LogEmbedding1D self) -> std::string"""
9723  return _IMP_algebra.LogEmbedding1D___str__(self)
9724 
9725 
9726  def __repr__(self):
9727  """__repr__(LogEmbedding1D self) -> std::string"""
9728  return _IMP_algebra.LogEmbedding1D___repr__(self)
9729 
9730 
9731  def __cmp__(self, arg2):
9732  """__cmp__(LogEmbedding1D self, LogEmbedding1D arg2) -> int"""
9733  return _IMP_algebra.LogEmbedding1D___cmp__(self, arg2)
9734 
9735 
9736  def __eq__(self, arg2):
9737  """__eq__(LogEmbedding1D self, LogEmbedding1D arg2) -> bool"""
9738  return _IMP_algebra.LogEmbedding1D___eq__(self, arg2)
9739 
9740  __swig_destroy__ = _IMP_algebra.delete_LogEmbedding1D
9741  __del__ = lambda self: None
9742 LogEmbedding1D_swigregister = _IMP_algebra.LogEmbedding1D_swigregister
9743 LogEmbedding1D_swigregister(LogEmbedding1D)
9744 
9745 class LogEmbedding2D(object):
9746  """Proxy of C++ IMP::algebra::LogEmbeddingD<(2)> class."""
9747 
9748  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9749 
9750  def __init__(self, *args):
9751  """
9752  __init__(IMP::algebra::LogEmbeddingD<(2)> self, Vector2D origin, Vector2D cell, Vector2D base) -> LogEmbedding2D
9753  __init__(IMP::algebra::LogEmbeddingD<(2)> self, BoundingBox2D bb, Vector2D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding2D
9754  __init__(IMP::algebra::LogEmbeddingD<(2)> self, BoundingBox2D bb, Vector2D bases, IMP::Ints const & counts) -> LogEmbedding2D
9755  __init__(IMP::algebra::LogEmbeddingD<(2)> self, Vector2D arg2, Vector2D arg3) -> LogEmbedding2D
9756  __init__(IMP::algebra::LogEmbeddingD<(2)> self) -> LogEmbedding2D
9757  """
9758  this = _IMP_algebra.new_LogEmbedding2D(*args)
9759  try:
9760  self.this.append(this)
9761  except __builtin__.Exception:
9762  self.this = this
9763 
9764  def set_origin(self, o):
9765  """set_origin(LogEmbedding2D self, Vector2D o)"""
9766  return _IMP_algebra.LogEmbedding2D_set_origin(self, o)
9767 
9768 
9769  def get_origin(self):
9770  """get_origin(LogEmbedding2D self) -> Vector2D"""
9771  return _IMP_algebra.LogEmbedding2D_get_origin(self)
9772 
9773 
9774  def get_dimension(self):
9775  """get_dimension(LogEmbedding2D self) -> unsigned int"""
9776  return _IMP_algebra.LogEmbedding2D_get_dimension(self)
9777 
9778 
9779  def set_unit_cell(self, *args):
9780  """
9781  set_unit_cell(LogEmbedding2D self, Vector2D o, Vector2D base)
9782  set_unit_cell(LogEmbedding2D self, Vector2D o)
9783  """
9784  return _IMP_algebra.LogEmbedding2D_set_unit_cell(self, *args)
9785 
9786 
9787  def get_unit_cell(self):
9788  """get_unit_cell(LogEmbedding2D self) -> Vector2D"""
9789  return _IMP_algebra.LogEmbedding2D_get_unit_cell(self)
9790 
9791 
9792  def get_extended_index(self, o):
9793  """get_extended_index(LogEmbedding2D self, Vector2D o) -> ExtendedGridIndex2D"""
9794  return _IMP_algebra.LogEmbedding2D_get_extended_index(self, o)
9795 
9796 
9797  def get_index(self, o):
9798  """get_index(LogEmbedding2D self, Vector2D o) -> GridIndex2D"""
9799  return _IMP_algebra.LogEmbedding2D_get_index(self, o)
9800 
9801 
9802  def get_center(self, *args):
9803  """
9804  get_center(LogEmbedding2D self, ExtendedGridIndex2D ei) -> Vector2D
9805  get_center(LogEmbedding2D self, GridIndex2D ei) -> Vector2D
9806  """
9807  return _IMP_algebra.LogEmbedding2D_get_center(self, *args)
9808 
9809 
9810  def get_bounding_box(self, *args):
9811  """
9812  get_bounding_box(LogEmbedding2D self, ExtendedGridIndex2D ei) -> BoundingBox2D
9813  get_bounding_box(LogEmbedding2D self, GridIndex2D ei) -> BoundingBox2D
9814  """
9815  return _IMP_algebra.LogEmbedding2D_get_bounding_box(self, *args)
9816 
9817 
9818  def show(self, *args):
9819  """
9820  show(LogEmbedding2D self, _ostream out)
9821  show(LogEmbedding2D self)
9822  """
9823  return _IMP_algebra.LogEmbedding2D_show(self, *args)
9824 
9825 
9826  def __str__(self):
9827  """__str__(LogEmbedding2D self) -> std::string"""
9828  return _IMP_algebra.LogEmbedding2D___str__(self)
9829 
9830 
9831  def __repr__(self):
9832  """__repr__(LogEmbedding2D self) -> std::string"""
9833  return _IMP_algebra.LogEmbedding2D___repr__(self)
9834 
9835 
9836  def __cmp__(self, arg2):
9837  """__cmp__(LogEmbedding2D self, LogEmbedding2D arg2) -> int"""
9838  return _IMP_algebra.LogEmbedding2D___cmp__(self, arg2)
9839 
9840 
9841  def __eq__(self, arg2):
9842  """__eq__(LogEmbedding2D self, LogEmbedding2D arg2) -> bool"""
9843  return _IMP_algebra.LogEmbedding2D___eq__(self, arg2)
9844 
9845  __swig_destroy__ = _IMP_algebra.delete_LogEmbedding2D
9846  __del__ = lambda self: None
9847 LogEmbedding2D_swigregister = _IMP_algebra.LogEmbedding2D_swigregister
9848 LogEmbedding2D_swigregister(LogEmbedding2D)
9849 
9850 class LogEmbedding4D(object):
9851  """Proxy of C++ IMP::algebra::LogEmbeddingD<(4)> class."""
9852 
9853  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9854 
9855  def __init__(self, *args):
9856  """
9857  __init__(IMP::algebra::LogEmbeddingD<(4)> self, Vector4D origin, Vector4D cell, Vector4D base) -> LogEmbedding4D
9858  __init__(IMP::algebra::LogEmbeddingD<(4)> self, BoundingBox4D bb, Vector4D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding4D
9859  __init__(IMP::algebra::LogEmbeddingD<(4)> self, BoundingBox4D bb, Vector4D bases, IMP::Ints const & counts) -> LogEmbedding4D
9860  __init__(IMP::algebra::LogEmbeddingD<(4)> self, Vector4D arg2, Vector4D arg3) -> LogEmbedding4D
9861  __init__(IMP::algebra::LogEmbeddingD<(4)> self) -> LogEmbedding4D
9862  """
9863  this = _IMP_algebra.new_LogEmbedding4D(*args)
9864  try:
9865  self.this.append(this)
9866  except __builtin__.Exception:
9867  self.this = this
9868 
9869  def set_origin(self, o):
9870  """set_origin(LogEmbedding4D self, Vector4D o)"""
9871  return _IMP_algebra.LogEmbedding4D_set_origin(self, o)
9872 
9873 
9874  def get_origin(self):
9875  """get_origin(LogEmbedding4D self) -> Vector4D"""
9876  return _IMP_algebra.LogEmbedding4D_get_origin(self)
9877 
9878 
9879  def get_dimension(self):
9880  """get_dimension(LogEmbedding4D self) -> unsigned int"""
9881  return _IMP_algebra.LogEmbedding4D_get_dimension(self)
9882 
9883 
9884  def set_unit_cell(self, *args):
9885  """
9886  set_unit_cell(LogEmbedding4D self, Vector4D o, Vector4D base)
9887  set_unit_cell(LogEmbedding4D self, Vector4D o)
9888  """
9889  return _IMP_algebra.LogEmbedding4D_set_unit_cell(self, *args)
9890 
9891 
9892  def get_unit_cell(self):
9893  """get_unit_cell(LogEmbedding4D self) -> Vector4D"""
9894  return _IMP_algebra.LogEmbedding4D_get_unit_cell(self)
9895 
9896 
9897  def get_extended_index(self, o):
9898  """get_extended_index(LogEmbedding4D self, Vector4D o) -> ExtendedGridIndex4D"""
9899  return _IMP_algebra.LogEmbedding4D_get_extended_index(self, o)
9900 
9901 
9902  def get_index(self, o):
9903  """get_index(LogEmbedding4D self, Vector4D o) -> GridIndex4D"""
9904  return _IMP_algebra.LogEmbedding4D_get_index(self, o)
9905 
9906 
9907  def get_center(self, *args):
9908  """
9909  get_center(LogEmbedding4D self, ExtendedGridIndex4D ei) -> Vector4D
9910  get_center(LogEmbedding4D self, GridIndex4D ei) -> Vector4D
9911  """
9912  return _IMP_algebra.LogEmbedding4D_get_center(self, *args)
9913 
9914 
9915  def get_bounding_box(self, *args):
9916  """
9917  get_bounding_box(LogEmbedding4D self, ExtendedGridIndex4D ei) -> BoundingBox4D
9918  get_bounding_box(LogEmbedding4D self, GridIndex4D ei) -> BoundingBox4D
9919  """
9920  return _IMP_algebra.LogEmbedding4D_get_bounding_box(self, *args)
9921 
9922 
9923  def show(self, *args):
9924  """
9925  show(LogEmbedding4D self, _ostream out)
9926  show(LogEmbedding4D self)
9927  """
9928  return _IMP_algebra.LogEmbedding4D_show(self, *args)
9929 
9930 
9931  def __str__(self):
9932  """__str__(LogEmbedding4D self) -> std::string"""
9933  return _IMP_algebra.LogEmbedding4D___str__(self)
9934 
9935 
9936  def __repr__(self):
9937  """__repr__(LogEmbedding4D self) -> std::string"""
9938  return _IMP_algebra.LogEmbedding4D___repr__(self)
9939 
9940 
9941  def __cmp__(self, arg2):
9942  """__cmp__(LogEmbedding4D self, LogEmbedding4D arg2) -> int"""
9943  return _IMP_algebra.LogEmbedding4D___cmp__(self, arg2)
9944 
9945 
9946  def __eq__(self, arg2):
9947  """__eq__(LogEmbedding4D self, LogEmbedding4D arg2) -> bool"""
9948  return _IMP_algebra.LogEmbedding4D___eq__(self, arg2)
9949 
9950  __swig_destroy__ = _IMP_algebra.delete_LogEmbedding4D
9951  __del__ = lambda self: None
9952 LogEmbedding4D_swigregister = _IMP_algebra.LogEmbedding4D_swigregister
9953 LogEmbedding4D_swigregister(LogEmbedding4D)
9954 
9955 class LogEmbedding5D(object):
9956  """Proxy of C++ IMP::algebra::LogEmbeddingD<(5)> class."""
9957 
9958  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9959 
9960  def __init__(self, *args):
9961  """
9962  __init__(IMP::algebra::LogEmbeddingD<(5)> self, Vector5D origin, Vector5D cell, Vector5D base) -> LogEmbedding5D
9963  __init__(IMP::algebra::LogEmbeddingD<(5)> self, BoundingBox5D bb, Vector5D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding5D
9964  __init__(IMP::algebra::LogEmbeddingD<(5)> self, BoundingBox5D bb, Vector5D bases, IMP::Ints const & counts) -> LogEmbedding5D
9965  __init__(IMP::algebra::LogEmbeddingD<(5)> self, Vector5D arg2, Vector5D arg3) -> LogEmbedding5D
9966  __init__(IMP::algebra::LogEmbeddingD<(5)> self) -> LogEmbedding5D
9967  """
9968  this = _IMP_algebra.new_LogEmbedding5D(*args)
9969  try:
9970  self.this.append(this)
9971  except __builtin__.Exception:
9972  self.this = this
9973 
9974  def set_origin(self, o):
9975  """set_origin(LogEmbedding5D self, Vector5D o)"""
9976  return _IMP_algebra.LogEmbedding5D_set_origin(self, o)
9977 
9978 
9979  def get_origin(self):
9980  """get_origin(LogEmbedding5D self) -> Vector5D"""
9981  return _IMP_algebra.LogEmbedding5D_get_origin(self)
9982 
9983 
9984  def get_dimension(self):
9985  """get_dimension(LogEmbedding5D self) -> unsigned int"""
9986  return _IMP_algebra.LogEmbedding5D_get_dimension(self)
9987 
9988 
9989  def set_unit_cell(self, *args):
9990  """
9991  set_unit_cell(LogEmbedding5D self, Vector5D o, Vector5D base)
9992  set_unit_cell(LogEmbedding5D self, Vector5D o)
9993  """
9994  return _IMP_algebra.LogEmbedding5D_set_unit_cell(self, *args)
9995 
9996 
9997  def get_unit_cell(self):
9998  """get_unit_cell(LogEmbedding5D self) -> Vector5D"""
9999  return _IMP_algebra.LogEmbedding5D_get_unit_cell(self)
10000 
10001 
10002  def get_extended_index(self, o):
10003  """get_extended_index(LogEmbedding5D self, Vector5D o) -> ExtendedGridIndex5D"""
10004  return _IMP_algebra.LogEmbedding5D_get_extended_index(self, o)
10005 
10006 
10007  def get_index(self, o):
10008  """get_index(LogEmbedding5D self, Vector5D o) -> GridIndex5D"""
10009  return _IMP_algebra.LogEmbedding5D_get_index(self, o)
10010 
10011 
10012  def get_center(self, *args):
10013  """
10014  get_center(LogEmbedding5D self, ExtendedGridIndex5D ei) -> Vector5D
10015  get_center(LogEmbedding5D self, GridIndex5D ei) -> Vector5D
10016  """
10017  return _IMP_algebra.LogEmbedding5D_get_center(self, *args)
10018 
10019 
10020  def get_bounding_box(self, *args):
10021  """
10022  get_bounding_box(LogEmbedding5D self, ExtendedGridIndex5D ei) -> BoundingBox5D
10023  get_bounding_box(LogEmbedding5D self, GridIndex5D ei) -> BoundingBox5D
10024  """
10025  return _IMP_algebra.LogEmbedding5D_get_bounding_box(self, *args)
10026 
10027 
10028  def show(self, *args):
10029  """
10030  show(LogEmbedding5D self, _ostream out)
10031  show(LogEmbedding5D self)
10032  """
10033  return _IMP_algebra.LogEmbedding5D_show(self, *args)
10034 
10035 
10036  def __str__(self):
10037  """__str__(LogEmbedding5D self) -> std::string"""
10038  return _IMP_algebra.LogEmbedding5D___str__(self)
10039 
10040 
10041  def __repr__(self):
10042  """__repr__(LogEmbedding5D self) -> std::string"""
10043  return _IMP_algebra.LogEmbedding5D___repr__(self)
10044 
10045 
10046  def __cmp__(self, arg2):
10047  """__cmp__(LogEmbedding5D self, LogEmbedding5D arg2) -> int"""
10048  return _IMP_algebra.LogEmbedding5D___cmp__(self, arg2)
10049 
10050 
10051  def __eq__(self, arg2):
10052  """__eq__(LogEmbedding5D self, LogEmbedding5D arg2) -> bool"""
10053  return _IMP_algebra.LogEmbedding5D___eq__(self, arg2)
10054 
10055  __swig_destroy__ = _IMP_algebra.delete_LogEmbedding5D
10056  __del__ = lambda self: None
10057 LogEmbedding5D_swigregister = _IMP_algebra.LogEmbedding5D_swigregister
10058 LogEmbedding5D_swigregister(LogEmbedding5D)
10059 
10060 class LogEmbedding6D(object):
10061  """Proxy of C++ IMP::algebra::LogEmbeddingD<(6)> class."""
10062 
10063  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10064 
10065  def __init__(self, *args):
10066  """
10067  __init__(IMP::algebra::LogEmbeddingD<(6)> self, Vector6D origin, Vector6D cell, Vector6D base) -> LogEmbedding6D
10068  __init__(IMP::algebra::LogEmbeddingD<(6)> self, BoundingBox6D bb, Vector6D bases, IMP::Ints const & counts, bool bound_centers=False) -> LogEmbedding6D
10069  __init__(IMP::algebra::LogEmbeddingD<(6)> self, BoundingBox6D bb, Vector6D bases, IMP::Ints const & counts) -> LogEmbedding6D
10070  __init__(IMP::algebra::LogEmbeddingD<(6)> self, Vector6D arg2, Vector6D arg3) -> LogEmbedding6D
10071  __init__(IMP::algebra::LogEmbeddingD<(6)> self) -> LogEmbedding6D
10072  """
10073  this = _IMP_algebra.new_LogEmbedding6D(*args)
10074  try:
10075  self.this.append(this)
10076  except __builtin__.Exception:
10077  self.this = this
10078 
10079  def set_origin(self, o):
10080  """set_origin(LogEmbedding6D self, Vector6D o)"""
10081  return _IMP_algebra.LogEmbedding6D_set_origin(self, o)
10082 
10083 
10084  def get_origin(self):
10085  """get_origin(LogEmbedding6D self) -> Vector6D"""
10086  return _IMP_algebra.LogEmbedding6D_get_origin(self)
10087 
10088 
10089  def get_dimension(self):
10090  """get_dimension(LogEmbedding6D self) -> unsigned int"""
10091  return _IMP_algebra.LogEmbedding6D_get_dimension(self)
10092 
10093 
10094  def set_unit_cell(self, *args):
10095  """
10096  set_unit_cell(LogEmbedding6D self, Vector6D o, Vector6D base)
10097  set_unit_cell(LogEmbedding6D self, Vector6D o)
10098  """
10099  return _IMP_algebra.LogEmbedding6D_set_unit_cell(self, *args)
10100 
10101 
10102  def get_unit_cell(self):
10103  """get_unit_cell(LogEmbedding6D self) -> Vector6D"""
10104  return _IMP_algebra.LogEmbedding6D_get_unit_cell(self)
10105 
10106 
10107  def get_extended_index(self, o):
10108  """get_extended_index(LogEmbedding6D self, Vector6D o) -> ExtendedGridIndex6D"""
10109  return _IMP_algebra.LogEmbedding6D_get_extended_index(self, o)
10110 
10111 
10112  def get_index(self, o):
10113  """get_index(LogEmbedding6D self, Vector6D o) -> GridIndex6D"""
10114  return _IMP_algebra.LogEmbedding6D_get_index(self, o)
10115 
10116 
10117  def get_center(self, *args):
10118  """
10119  get_center(LogEmbedding6D self, ExtendedGridIndex6D ei) -> Vector6D
10120  get_center(LogEmbedding6D self, GridIndex6D ei) -> Vector6D
10121  """
10122  return _IMP_algebra.LogEmbedding6D_get_center(self, *args)
10123 
10124 
10125  def get_bounding_box(self, *args):
10126  """
10127  get_bounding_box(LogEmbedding6D self, ExtendedGridIndex6D ei) -> BoundingBox6D
10128  get_bounding_box(LogEmbedding6D self, GridIndex6D ei) -> BoundingBox6D
10129  """
10130  return _IMP_algebra.LogEmbedding6D_get_bounding_box(self, *args)
10131 
10132 
10133  def show(self, *args):
10134  """
10135  show(LogEmbedding6D self, _ostream out)
10136  show(LogEmbedding6D self)
10137  """
10138  return _IMP_algebra.LogEmbedding6D_show(self, *args)
10139 
10140 
10141  def __str__(self):
10142  """__str__(LogEmbedding6D self) -> std::string"""
10143  return _IMP_algebra.LogEmbedding6D___str__(self)
10144 
10145 
10146  def __repr__(self):
10147  """__repr__(LogEmbedding6D self) -> std::string"""
10148  return _IMP_algebra.LogEmbedding6D___repr__(self)
10149 
10150 
10151  def __cmp__(self, arg2):
10152  """__cmp__(LogEmbedding6D self, LogEmbedding6D arg2) -> int"""
10153  return _IMP_algebra.LogEmbedding6D___cmp__(self, arg2)
10154 
10155 
10156  def __eq__(self, arg2):
10157  """__eq__(LogEmbedding6D self, LogEmbedding6D arg2) -> bool"""
10158  return _IMP_algebra.LogEmbedding6D___eq__(self, arg2)
10159 
10160  __swig_destroy__ = _IMP_algebra.delete_LogEmbedding6D
10161  __del__ = lambda self: None
10162 LogEmbedding6D_swigregister = _IMP_algebra.LogEmbedding6D_swigregister
10163 LogEmbedding6D_swigregister(LogEmbedding6D)
10164 
10165 class SpherePatch3D(_GeometricPrimitive3D):
10166  """Proxy of C++ IMP::algebra::SpherePatch3D class."""
10167 
10168  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10169 
10170  def __init__(self, *args):
10171  """
10172  __init__(IMP::algebra::SpherePatch3D self) -> SpherePatch3D
10173  __init__(IMP::algebra::SpherePatch3D self, Sphere3D sph, Plane3D crossing_plane) -> SpherePatch3D
10174  """
10175  this = _IMP_algebra.new_SpherePatch3D(*args)
10176  try:
10177  self.this.append(this)
10178  except __builtin__.Exception:
10179  self.this = this
10180 
10181  def get_contains(self, p):
10182  """get_contains(SpherePatch3D self, Vector3D p) -> bool"""
10183  return _IMP_algebra.SpherePatch3D_get_contains(self, p)
10184 
10185 
10186  def get_plane(self):
10187  """get_plane(SpherePatch3D self) -> Plane3D"""
10188  return _IMP_algebra.SpherePatch3D_get_plane(self)
10189 
10190 
10191  def get_sphere(self):
10192  """get_sphere(SpherePatch3D self) -> Sphere3D"""
10193  return _IMP_algebra.SpherePatch3D_get_sphere(self)
10194 
10195 
10196  def show(self, *args):
10197  """
10198  show(SpherePatch3D self, _ostream out)
10199  show(SpherePatch3D self)
10200  """
10201  return _IMP_algebra.SpherePatch3D_show(self, *args)
10202 
10203 
10204  def get_boundary_point(self):
10205  """get_boundary_point(SpherePatch3D self) -> Vector3D"""
10206  return _IMP_algebra.SpherePatch3D_get_boundary_point(self)
10207 
10208 
10209  def __str__(self):
10210  """__str__(SpherePatch3D self) -> std::string"""
10211  return _IMP_algebra.SpherePatch3D___str__(self)
10212 
10213 
10214  def __repr__(self):
10215  """__repr__(SpherePatch3D self) -> std::string"""
10216  return _IMP_algebra.SpherePatch3D___repr__(self)
10217 
10218  __swig_destroy__ = _IMP_algebra.delete_SpherePatch3D
10219  __del__ = lambda self: None
10220 SpherePatch3D_swigregister = _IMP_algebra.SpherePatch3D_swigregister
10221 SpherePatch3D_swigregister(SpherePatch3D)
10222 
10223 
10224 def get_area(*args):
10225  """
10226  get_area(Plane3D g) -> double
10227  get_area(SpherePatch3D g) -> double
10228  """
10229  return _IMP_algebra.get_area(*args)
10230 
10231 def get_sphere_patch_3d_geometry(g):
10232  """get_sphere_patch_3d_geometry(SpherePatch3D g) -> SpherePatch3D"""
10233  return _IMP_algebra.get_sphere_patch_3d_geometry(g)
10234 class Cone3D(_GeometricPrimitive3D):
10235  """Proxy of C++ IMP::algebra::Cone3D class."""
10236 
10237  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10238 
10239  def __init__(self, *args):
10240  """
10241  __init__(IMP::algebra::Cone3D self) -> Cone3D
10242  __init__(IMP::algebra::Cone3D self, Segment3D s, double radius) -> Cone3D
10243  """
10244  this = _IMP_algebra.new_Cone3D(*args)
10245  try:
10246  self.this.append(this)
10247  except __builtin__.Exception:
10248  self.this = this
10249 
10250  def get_tip(self):
10251  """get_tip(Cone3D self) -> Vector3D"""
10252  return _IMP_algebra.Cone3D_get_tip(self)
10253 
10254 
10255  def get_direction(self):
10256  """get_direction(Cone3D self) -> Vector3D"""
10257  return _IMP_algebra.Cone3D_get_direction(self)
10258 
10259 
10260  def get_height(self):
10261  """get_height(Cone3D self) -> double"""
10262  return _IMP_algebra.Cone3D_get_height(self)
10263 
10264 
10265  def get_angle(self):
10266  """get_angle(Cone3D self) -> double"""
10267  return _IMP_algebra.Cone3D_get_angle(self)
10268 
10269 
10270  def get_radius(self):
10271  """get_radius(Cone3D self) -> double"""
10272  return _IMP_algebra.Cone3D_get_radius(self)
10273 
10274 
10275  def get_contains(self, v):
10276  """get_contains(Cone3D self, Vector3D v) -> bool"""
10277  return _IMP_algebra.Cone3D_get_contains(self, v)
10278 
10279 
10280  def get_base_plane(self):
10281  """get_base_plane(Cone3D self) -> Plane3D"""
10282  return _IMP_algebra.Cone3D_get_base_plane(self)
10283 
10284 
10285  def show(self, *args):
10286  """
10287  show(Cone3D self, _ostream out)
10288  show(Cone3D self)
10289  """
10290  return _IMP_algebra.Cone3D_show(self, *args)
10291 
10292 
10293  def __str__(self):
10294  """__str__(Cone3D self) -> std::string"""
10295  return _IMP_algebra.Cone3D___str__(self)
10296 
10297 
10298  def __repr__(self):
10299  """__repr__(Cone3D self) -> std::string"""
10300  return _IMP_algebra.Cone3D___repr__(self)
10301 
10302  __swig_destroy__ = _IMP_algebra.delete_Cone3D
10303  __del__ = lambda self: None
10304 Cone3D_swigregister = _IMP_algebra.Cone3D_swigregister
10305 Cone3D_swigregister(Cone3D)
10306 
10307 
10308 def get_surface_area(*args):
10309  """
10310  get_surface_area(BoundingBox3D g) -> double
10311  get_surface_area(Sphere3D g) -> double
10312  get_surface_area(Cylinder3D g) -> double
10313  get_surface_area(Ellipsoid3D g) -> double
10314  get_surface_area(Cone3D g) -> double
10315  """
10316  return _IMP_algebra.get_surface_area(*args)
10317 
10318 def get_volume(*args):
10319  """
10320  get_volume(BoundingBox3D g) -> double
10321  get_volume(Sphere3D g) -> double
10322  get_volume(Cylinder3D g) -> double
10323  get_volume(Ellipsoid3D g) -> double
10324  get_volume(Cone3D g) -> double
10325  """
10326  return _IMP_algebra.get_volume(*args)
10327 
10328 def get_cone_3d_geometry(g):
10329  """get_cone_3d_geometry(Cone3D g) -> Cone3D"""
10330  return _IMP_algebra.get_cone_3d_geometry(g)
10331 
10332 def write_pts(vs, out):
10333  """write_pts(IMP::algebra::Vector3Ds const & vs, TextOutput out)"""
10334  return _IMP_algebra.write_pts(vs, out)
10335 
10336 def read_pts(input):
10337  """read_pts(TextInput input) -> IMP::algebra::Vector3Ds"""
10338  return _IMP_algebra.read_pts(input)
10339 
10340 def write_spheres(vs, out):
10341  """write_spheres(IMP::algebra::Sphere3Ds const & vs, TextOutput out)"""
10342  return _IMP_algebra.write_spheres(vs, out)
10343 
10344 def read_spheres(input):
10345  """read_spheres(TextInput input) -> IMP::algebra::Sphere3Ds"""
10346  return _IMP_algebra.read_spheres(input)
10347 
10349  """get_random_vector_on_unit_sphere() -> Vector3D"""
10350  return _IMP_algebra.get_random_vector_on_unit_sphere()
10351 
10352 def get_grid_surface_cover(cyl, number_of_cycles, number_of_points_on_cycle):
10353  """get_grid_surface_cover(Cylinder3D cyl, int number_of_cycles, int number_of_points_on_cycle) -> IMP::algebra::Vector3Ds"""
10354  return _IMP_algebra.get_grid_surface_cover(cyl, number_of_cycles, number_of_points_on_cycle)
10355 
10356 def get_random_chain(*args):
10357  """
10358  get_random_chain(unsigned int n, double r, Vector3D start, IMP::algebra::Sphere3Ds const & obstacles) -> IMP::algebra::Vector3Ds
10359  get_random_chain(unsigned int n, double r, Vector3D start) -> IMP::algebra::Vector3Ds
10360  get_random_chain(unsigned int n, double r) -> IMP::algebra::Vector3Ds
10361  """
10362  return _IMP_algebra.get_random_chain(*args)
10363 
10364 def reversed_read(dest, size, nitems, f, reverse):
10365  """reversed_read(void * dest, size_t size, size_t nitems, std::ifstream & f, bool reverse)"""
10366  return _IMP_algebra.reversed_read(dest, size, nitems, f, reverse)
10367 
10368 def reversed_write(src, size, nitems, f, reverse=False):
10369  """
10370  reversed_write(void const * src, size_t size, size_t nitems, std::ofstream & f, bool reverse=False)
10371  reversed_write(void const * src, size_t size, size_t nitems, std::ofstream & f)
10372  """
10373  return _IMP_algebra.reversed_write(src, size, nitems, f, reverse)
10374 
10375 def get_is_big_endian():
10376  """get_is_big_endian() -> bool"""
10377  return _IMP_algebra.get_is_big_endian()
10378 
10379 def get_is_little_endian():
10380  """get_is_little_endian() -> bool"""
10381  return _IMP_algebra.get_is_little_endian()
10382 
10383 def get_shortest_segment(*args):
10384  """
10385  get_shortest_segment(Segment3D s, Vector3D p) -> Segment3D
10386  get_shortest_segment(Segment3D sa, Segment3D sb) -> Segment3D
10387  """
10388  return _IMP_algebra.get_shortest_segment(*args)
10389 class DynamicNearestNeighbor3D(IMP.Object):
10390  """Proxy of C++ IMP::algebra::DynamicNearestNeighbor3D class."""
10391 
10392  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10393 
10394  def __init__(self, vs, query_estimate=1):
10395  """
10396  __init__(IMP::algebra::DynamicNearestNeighbor3D self, IMP::algebra::Vector3Ds const & vs, double query_estimate=1) -> DynamicNearestNeighbor3D
10397  __init__(IMP::algebra::DynamicNearestNeighbor3D self, IMP::algebra::Vector3Ds const & vs) -> DynamicNearestNeighbor3D
10398  """
10399  this = _IMP_algebra.new_DynamicNearestNeighbor3D(vs, query_estimate)
10400  try:
10401  self.this.append(this)
10402  except __builtin__.Exception:
10403  self.this = this
10404 
10405  def get_in_ball(self, id, distance):
10406  """get_in_ball(DynamicNearestNeighbor3D self, int id, double distance) -> IMP::Ints"""
10407  return _IMP_algebra.DynamicNearestNeighbor3D_get_in_ball(self, id, distance)
10408 
10409 
10410  def set_coordinates(self, id, nc):
10411  """set_coordinates(DynamicNearestNeighbor3D self, int id, Vector3D nc)"""
10412  return _IMP_algebra.DynamicNearestNeighbor3D_set_coordinates(self, id, nc)
10413 
10414 
10415  def get_version_info(self):
10416  """get_version_info(DynamicNearestNeighbor3D self) -> VersionInfo"""
10417  return _IMP_algebra.DynamicNearestNeighbor3D_get_version_info(self)
10418 
10419 
10420  def __str__(self):
10421  """__str__(DynamicNearestNeighbor3D self) -> std::string"""
10422  return _IMP_algebra.DynamicNearestNeighbor3D___str__(self)
10423 
10424 
10425  def __repr__(self):
10426  """__repr__(DynamicNearestNeighbor3D self) -> std::string"""
10427  return _IMP_algebra.DynamicNearestNeighbor3D___repr__(self)
10428 
10429 
10430  @staticmethod
10431  def get_from(o):
10432  return _object_cast_to_DynamicNearestNeighbor3D(o)
10433 
10434 DynamicNearestNeighbor3D_swigregister = _IMP_algebra.DynamicNearestNeighbor3D_swigregister
10435 DynamicNearestNeighbor3D_swigregister(DynamicNearestNeighbor3D)
10436 
10437 class VectorKDMetric(IMP.Object):
10438  """Proxy of C++ IMP::algebra::VectorKDMetric class."""
10439 
10440  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10441 
10442  def __init__(self, name):
10443  """__init__(IMP::algebra::VectorKDMetric self, std::string name) -> VectorKDMetric"""
10444  if self.__class__ == VectorKDMetric:
10445  _self = None
10446  else:
10447  _self = self
10448  this = _IMP_algebra.new_VectorKDMetric(_self, name)
10449  try:
10450  self.this.append(this)
10451  except __builtin__.Exception:
10452  self.this = this
10453 
10454  if self.__class__ != VectorKDMetric:
10455  _director_objects.register(self)
10456 
10457 
10458 
10459 
10460  def get_distance(self, a, b):
10461  """get_distance(VectorKDMetric self, VectorKD a, VectorKD b) -> double"""
10462  return _IMP_algebra.VectorKDMetric_get_distance(self, a, b)
10463 
10464 
10465  def get_centroid(self, vs):
10466  """get_centroid(VectorKDMetric self, IMP::algebra::VectorKDs const & vs) -> VectorKD"""
10467  return _IMP_algebra.VectorKDMetric_get_centroid(self, vs)
10468 
10469 
10470  def __str__(self):
10471  """__str__(VectorKDMetric self) -> std::string"""
10472  return _IMP_algebra.VectorKDMetric___str__(self)
10473 
10474 
10475  def __repr__(self):
10476  """__repr__(VectorKDMetric self) -> std::string"""
10477  return _IMP_algebra.VectorKDMetric___repr__(self)
10478 
10479 
10480  @staticmethod
10481  def get_from(o):
10482  return _object_cast_to_VectorKDMetric(o)
10483 
10484 
10485  def get_type_name(self):
10486  return self.__class__.__name__
10487  def do_show(self, out):
10488  pass
10489  def get_version_info(self):
10490  if"IMP::algebra" == "IMP":
10491  return VersionInfo(self.__module__,
10492  __import__(self.__module__).get_module_version())
10493  else:
10494  return IMP.VersionInfo(self.__module__,
10495  __import__(self.__module__).get_module_version())
10496  @staticmethod
10497  def get_from(o):
10498  return _object_cast_to_VectorKDMetric(o)
10499 
10500  __swig_destroy__ = _IMP_algebra.delete_VectorKDMetric
10501  __del__ = lambda self: None
10502  def __disown__(self):
10503  self.this.disown()
10504  _IMP_algebra.disown_VectorKDMetric(self)
10505  return weakref_proxy(self)
10506 
10507  def do_destroy(self):
10508  """do_destroy(VectorKDMetric self)"""
10509  return _IMP_algebra.VectorKDMetric_do_destroy(self)
10510 
10511 VectorKDMetric_swigregister = _IMP_algebra.VectorKDMetric_swigregister
10512 VectorKDMetric_swigregister(VectorKDMetric)
10513 
10514 class EuclideanVectorKDMetric(VectorKDMetric):
10515  """Proxy of C++ IMP::algebra::EuclideanVectorKDMetric class."""
10516 
10517  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10518 
10519  def __init__(self, *args):
10520  """
10521  __init__(IMP::algebra::EuclideanVectorKDMetric self, std::string name) -> EuclideanVectorKDMetric
10522  __init__(IMP::algebra::EuclideanVectorKDMetric self) -> EuclideanVectorKDMetric
10523  """
10524  this = _IMP_algebra.new_EuclideanVectorKDMetric(*args)
10525  try:
10526  self.this.append(this)
10527  except __builtin__.Exception:
10528  self.this = this
10529 
10530  def get_version_info(self):
10531  """get_version_info(EuclideanVectorKDMetric self) -> VersionInfo"""
10532  return _IMP_algebra.EuclideanVectorKDMetric_get_version_info(self)
10533 
10534 
10535  def __str__(self):
10536  """__str__(EuclideanVectorKDMetric self) -> std::string"""
10537  return _IMP_algebra.EuclideanVectorKDMetric___str__(self)
10538 
10539 
10540  def __repr__(self):
10541  """__repr__(EuclideanVectorKDMetric self) -> std::string"""
10542  return _IMP_algebra.EuclideanVectorKDMetric___repr__(self)
10543 
10544 
10545  @staticmethod
10546  def get_from(o):
10547  return _object_cast_to_EuclideanVectorKDMetric(o)
10548 
10549 EuclideanVectorKDMetric_swigregister = _IMP_algebra.EuclideanVectorKDMetric_swigregister
10550 EuclideanVectorKDMetric_swigregister(EuclideanVectorKDMetric)
10551 
10552 class MaxVectorKDMetric(VectorKDMetric):
10553  """Proxy of C++ IMP::algebra::MaxVectorKDMetric class."""
10554 
10555  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10556 
10557  def __init__(self, *args):
10558  """
10559  __init__(IMP::algebra::MaxVectorKDMetric self, std::string name) -> MaxVectorKDMetric
10560  __init__(IMP::algebra::MaxVectorKDMetric self) -> MaxVectorKDMetric
10561  """
10562  this = _IMP_algebra.new_MaxVectorKDMetric(*args)
10563  try:
10564  self.this.append(this)
10565  except __builtin__.Exception:
10566  self.this = this
10567 
10568  def get_version_info(self):
10569  """get_version_info(MaxVectorKDMetric self) -> VersionInfo"""
10570  return _IMP_algebra.MaxVectorKDMetric_get_version_info(self)
10571 
10572 
10573  def __str__(self):
10574  """__str__(MaxVectorKDMetric self) -> std::string"""
10575  return _IMP_algebra.MaxVectorKDMetric___str__(self)
10576 
10577 
10578  def __repr__(self):
10579  """__repr__(MaxVectorKDMetric self) -> std::string"""
10580  return _IMP_algebra.MaxVectorKDMetric___repr__(self)
10581 
10582 
10583  @staticmethod
10584  def get_from(o):
10585  return _object_cast_to_MaxVectorKDMetric(o)
10586 
10587 MaxVectorKDMetric_swigregister = _IMP_algebra.MaxVectorKDMetric_swigregister
10588 MaxVectorKDMetric_swigregister(MaxVectorKDMetric)
10589 
10590 class Gaussian3D(_GeometricPrimitive3D):
10591  """Proxy of C++ IMP::algebra::Gaussian3D class."""
10592 
10593  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10594 
10595  def __init__(self, *args):
10596  """
10597  __init__(IMP::algebra::Gaussian3D self) -> Gaussian3D
10598  __init__(IMP::algebra::Gaussian3D self, ReferenceFrame3D tr, Vector3D variances) -> Gaussian3D
10599  """
10600  this = _IMP_algebra.new_Gaussian3D(*args)
10601  try:
10602  self.this.append(this)
10603  except __builtin__.Exception:
10604  self.this = this
10605 
10606  def get_reference_frame(self):
10607  """get_reference_frame(Gaussian3D self) -> ReferenceFrame3D"""
10608  return _IMP_algebra.Gaussian3D_get_reference_frame(self)
10609 
10610 
10611  def get_variances(self):
10612  """get_variances(Gaussian3D self) -> Vector3D"""
10613  return _IMP_algebra.Gaussian3D_get_variances(self)
10614 
10615 
10616  def get_center(self):
10617  """get_center(Gaussian3D self) -> Vector3D"""
10618  return _IMP_algebra.Gaussian3D_get_center(self)
10619 
10620 
10621  def show(self, *args):
10622  """
10623  show(Gaussian3D self, _ostream out)
10624  show(Gaussian3D self)
10625  """
10626  return _IMP_algebra.Gaussian3D_show(self, *args)
10627 
10628 
10629  def __str__(self):
10630  """__str__(Gaussian3D self) -> std::string"""
10631  return _IMP_algebra.Gaussian3D___str__(self)
10632 
10633 
10634  def __repr__(self):
10635  """__repr__(Gaussian3D self) -> std::string"""
10636  return _IMP_algebra.Gaussian3D___repr__(self)
10637 
10638  __swig_destroy__ = _IMP_algebra.delete_Gaussian3D
10639  __del__ = lambda self: None
10640 Gaussian3D_swigregister = _IMP_algebra.Gaussian3D_swigregister
10641 Gaussian3D_swigregister(Gaussian3D)
10642 
10643 
10644 def get_covariance(g):
10645  """get_covariance(Gaussian3D g) -> Eigen::Matrix3d"""
10646  return _IMP_algebra.get_covariance(g)
10647 
10648 def get_gaussian_from_covariance(covariance, center):
10649  """get_gaussian_from_covariance(Eigen::Matrix3d const & covariance, Vector3D center) -> Gaussian3D"""
10650  return _IMP_algebra.get_gaussian_from_covariance(covariance, center)
10651 
10652 def get_rasterized(gmm, weights, cell_width, bb):
10653  """get_rasterized(IMP::algebra::Gaussian3Ds const & gmm, IMP::Floats const & weights, double cell_width, BoundingBox3D bb) -> DenseDoubleGrid3D"""
10654  return _IMP_algebra.get_rasterized(gmm, weights, cell_width, bb)
10655 
10656 def get_rasterized_fast(gmm, weights, cell_width, bb, factor=2.5):
10657  """
10658  get_rasterized_fast(IMP::algebra::Gaussian3Ds const & gmm, IMP::Floats const & weights, double cell_width, BoundingBox3D bb, double factor=2.5) -> DenseDoubleGrid3D
10659  get_rasterized_fast(IMP::algebra::Gaussian3Ds const & gmm, IMP::Floats const & weights, double cell_width, BoundingBox3D bb) -> DenseDoubleGrid3D
10660  """
10661  return _IMP_algebra.get_rasterized_fast(gmm, weights, cell_width, bb, factor)
10662 
10663 def _pass_matrix_xf(m):
10664  """_pass_matrix_xf(Eigen::MatrixXf const & m) -> Eigen::MatrixXf"""
10665  return _IMP_algebra._pass_matrix_xf(m)
10666 
10667 def _pass_matrix_xd(m):
10668  """_pass_matrix_xd(Eigen::MatrixXd const & m) -> Eigen::MatrixXd"""
10669  return _IMP_algebra._pass_matrix_xd(m)
10670 
10671 def _pass_matrix_3d(m):
10672  """_pass_matrix_3d(Eigen::Matrix3d const & m) -> Eigen::Matrix3d"""
10673  return _IMP_algebra._pass_matrix_3d(m)
10674 
10675 def _pass_array_xd(m):
10676  """_pass_array_xd(Eigen::ArrayXXd const & m) -> Eigen::ArrayXXd"""
10677  return _IMP_algebra._pass_array_xd(m)
10678 
10679 def _pass_vector_xd(m):
10680  """_pass_vector_xd(Eigen::VectorXd const & m) -> Eigen::VectorXd"""
10681  return _IMP_algebra._pass_vector_xd(m)
10682 class NearestNeighbor1D(IMP.Object):
10683  """Proxy of C++ IMP::algebra::NearestNeighborD<(1)> class."""
10684 
10685  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10686 
10687  def __init__(self, vs, epsilon=0):
10688  """
10689  __init__(IMP::algebra::NearestNeighborD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & vs, double epsilon=0) -> NearestNeighbor1D
10690  __init__(IMP::algebra::NearestNeighborD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & vs) -> NearestNeighbor1D
10691  """
10692  this = _IMP_algebra.new_NearestNeighbor1D(vs, epsilon)
10693  try:
10694  self.this.append(this)
10695  except __builtin__.Exception:
10696  self.this = this
10697 
10698  def set_query_log(self, fname):
10699  """set_query_log(NearestNeighbor1D self, std::string fname)"""
10700  return _IMP_algebra.NearestNeighbor1D_set_query_log(self, fname)
10701 
10702 
10703  def get_nearest_neighbor(self, *args):
10704  """
10705  get_nearest_neighbor(NearestNeighbor1D self, Vector1D q) -> unsigned int
10706  get_nearest_neighbor(NearestNeighbor1D self, unsigned int i) -> unsigned int
10707  """
10708  return _IMP_algebra.NearestNeighbor1D_get_nearest_neighbor(self, *args)
10709 
10710 
10711  def get_nearest_neighbors(self, *args):
10712  """
10713  get_nearest_neighbors(NearestNeighbor1D self, unsigned int i, unsigned int k) -> IMP::Ints
10714  get_nearest_neighbors(NearestNeighbor1D self, Vector1D v, unsigned int k) -> IMP::Ints
10715  """
10716  return _IMP_algebra.NearestNeighbor1D_get_nearest_neighbors(self, *args)
10717 
10718 
10719  def get_in_ball(self, *args):
10720  """
10721  get_in_ball(NearestNeighbor1D self, unsigned int i, double distance) -> IMP::Ints
10722  get_in_ball(NearestNeighbor1D self, Vector1D pt, double distance) -> IMP::Ints
10723  """
10724  return _IMP_algebra.NearestNeighbor1D_get_in_ball(self, *args)
10725 
10726 
10727  def get_version_info(self):
10728  """get_version_info(NearestNeighbor1D self) -> VersionInfo"""
10729  return _IMP_algebra.NearestNeighbor1D_get_version_info(self)
10730 
10731 
10732  def __str__(self):
10733  """__str__(NearestNeighbor1D self) -> std::string"""
10734  return _IMP_algebra.NearestNeighbor1D___str__(self)
10735 
10736 
10737  def __repr__(self):
10738  """__repr__(NearestNeighbor1D self) -> std::string"""
10739  return _IMP_algebra.NearestNeighbor1D___repr__(self)
10740 
10741 
10742  @staticmethod
10743  def get_from(o):
10744  return _object_cast_to_NearestNeighborD(o)
10745 
10746 NearestNeighbor1D_swigregister = _IMP_algebra.NearestNeighbor1D_swigregister
10747 NearestNeighbor1D_swigregister(NearestNeighbor1D)
10748 
10749 class NearestNeighbor2D(IMP.Object):
10750  """Proxy of C++ IMP::algebra::NearestNeighborD<(2)> class."""
10751 
10752  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10753 
10754  def __init__(self, vs, epsilon=0):
10755  """
10756  __init__(IMP::algebra::NearestNeighborD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & vs, double epsilon=0) -> NearestNeighbor2D
10757  __init__(IMP::algebra::NearestNeighborD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & vs) -> NearestNeighbor2D
10758  """
10759  this = _IMP_algebra.new_NearestNeighbor2D(vs, epsilon)
10760  try:
10761  self.this.append(this)
10762  except __builtin__.Exception:
10763  self.this = this
10764 
10765  def set_query_log(self, fname):
10766  """set_query_log(NearestNeighbor2D self, std::string fname)"""
10767  return _IMP_algebra.NearestNeighbor2D_set_query_log(self, fname)
10768 
10769 
10770  def get_nearest_neighbor(self, *args):
10771  """
10772  get_nearest_neighbor(NearestNeighbor2D self, Vector2D q) -> unsigned int
10773  get_nearest_neighbor(NearestNeighbor2D self, unsigned int i) -> unsigned int
10774  """
10775  return _IMP_algebra.NearestNeighbor2D_get_nearest_neighbor(self, *args)
10776 
10777 
10778  def get_nearest_neighbors(self, *args):
10779  """
10780  get_nearest_neighbors(NearestNeighbor2D self, unsigned int i, unsigned int k) -> IMP::Ints
10781  get_nearest_neighbors(NearestNeighbor2D self, Vector2D v, unsigned int k) -> IMP::Ints
10782  """
10783  return _IMP_algebra.NearestNeighbor2D_get_nearest_neighbors(self, *args)
10784 
10785 
10786  def get_in_ball(self, *args):
10787  """
10788  get_in_ball(NearestNeighbor2D self, unsigned int i, double distance) -> IMP::Ints
10789  get_in_ball(NearestNeighbor2D self, Vector2D pt, double distance) -> IMP::Ints
10790  """
10791  return _IMP_algebra.NearestNeighbor2D_get_in_ball(self, *args)
10792 
10793 
10794  def get_version_info(self):
10795  """get_version_info(NearestNeighbor2D self) -> VersionInfo"""
10796  return _IMP_algebra.NearestNeighbor2D_get_version_info(self)
10797 
10798 
10799  def __str__(self):
10800  """__str__(NearestNeighbor2D self) -> std::string"""
10801  return _IMP_algebra.NearestNeighbor2D___str__(self)
10802 
10803 
10804  def __repr__(self):
10805  """__repr__(NearestNeighbor2D self) -> std::string"""
10806  return _IMP_algebra.NearestNeighbor2D___repr__(self)
10807 
10808 
10809  @staticmethod
10810  def get_from(o):
10811  return _object_cast_to_NearestNeighborD(o)
10812 
10813 NearestNeighbor2D_swigregister = _IMP_algebra.NearestNeighbor2D_swigregister
10814 NearestNeighbor2D_swigregister(NearestNeighbor2D)
10815 
10816 class NearestNeighbor3D(IMP.Object):
10817  """Proxy of C++ IMP::algebra::NearestNeighborD<(3)> class."""
10818 
10819  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10820 
10821  def __init__(self, vs, epsilon=0):
10822  """
10823  __init__(IMP::algebra::NearestNeighborD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & vs, double epsilon=0) -> NearestNeighbor3D
10824  __init__(IMP::algebra::NearestNeighborD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & vs) -> NearestNeighbor3D
10825  """
10826  this = _IMP_algebra.new_NearestNeighbor3D(vs, epsilon)
10827  try:
10828  self.this.append(this)
10829  except __builtin__.Exception:
10830  self.this = this
10831 
10832  def set_query_log(self, fname):
10833  """set_query_log(NearestNeighbor3D self, std::string fname)"""
10834  return _IMP_algebra.NearestNeighbor3D_set_query_log(self, fname)
10835 
10836 
10837  def get_nearest_neighbor(self, *args):
10838  """
10839  get_nearest_neighbor(NearestNeighbor3D self, Vector3D q) -> unsigned int
10840  get_nearest_neighbor(NearestNeighbor3D self, unsigned int i) -> unsigned int
10841  """
10842  return _IMP_algebra.NearestNeighbor3D_get_nearest_neighbor(self, *args)
10843 
10844 
10845  def get_nearest_neighbors(self, *args):
10846  """
10847  get_nearest_neighbors(NearestNeighbor3D self, unsigned int i, unsigned int k) -> IMP::Ints
10848  get_nearest_neighbors(NearestNeighbor3D self, Vector3D v, unsigned int k) -> IMP::Ints
10849  """
10850  return _IMP_algebra.NearestNeighbor3D_get_nearest_neighbors(self, *args)
10851 
10852 
10853  def get_in_ball(self, *args):
10854  """
10855  get_in_ball(NearestNeighbor3D self, unsigned int i, double distance) -> IMP::Ints
10856  get_in_ball(NearestNeighbor3D self, Vector3D pt, double distance) -> IMP::Ints
10857  """
10858  return _IMP_algebra.NearestNeighbor3D_get_in_ball(self, *args)
10859 
10860 
10861  def get_version_info(self):
10862  """get_version_info(NearestNeighbor3D self) -> VersionInfo"""
10863  return _IMP_algebra.NearestNeighbor3D_get_version_info(self)
10864 
10865 
10866  def __str__(self):
10867  """__str__(NearestNeighbor3D self) -> std::string"""
10868  return _IMP_algebra.NearestNeighbor3D___str__(self)
10869 
10870 
10871  def __repr__(self):
10872  """__repr__(NearestNeighbor3D self) -> std::string"""
10873  return _IMP_algebra.NearestNeighbor3D___repr__(self)
10874 
10875 
10876  @staticmethod
10877  def get_from(o):
10878  return _object_cast_to_NearestNeighborD(o)
10879 
10880 NearestNeighbor3D_swigregister = _IMP_algebra.NearestNeighbor3D_swigregister
10881 NearestNeighbor3D_swigregister(NearestNeighbor3D)
10882 
10883 class NearestNeighbor4D(IMP.Object):
10884  """Proxy of C++ IMP::algebra::NearestNeighborD<(4)> class."""
10885 
10886  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10887 
10888  def __init__(self, vs, epsilon=0):
10889  """
10890  __init__(IMP::algebra::NearestNeighborD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & vs, double epsilon=0) -> NearestNeighbor4D
10891  __init__(IMP::algebra::NearestNeighborD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & vs) -> NearestNeighbor4D
10892  """
10893  this = _IMP_algebra.new_NearestNeighbor4D(vs, epsilon)
10894  try:
10895  self.this.append(this)
10896  except __builtin__.Exception:
10897  self.this = this
10898 
10899  def set_query_log(self, fname):
10900  """set_query_log(NearestNeighbor4D self, std::string fname)"""
10901  return _IMP_algebra.NearestNeighbor4D_set_query_log(self, fname)
10902 
10903 
10904  def get_nearest_neighbor(self, *args):
10905  """
10906  get_nearest_neighbor(NearestNeighbor4D self, Vector4D q) -> unsigned int
10907  get_nearest_neighbor(NearestNeighbor4D self, unsigned int i) -> unsigned int
10908  """
10909  return _IMP_algebra.NearestNeighbor4D_get_nearest_neighbor(self, *args)
10910 
10911 
10912  def get_nearest_neighbors(self, *args):
10913  """
10914  get_nearest_neighbors(NearestNeighbor4D self, unsigned int i, unsigned int k) -> IMP::Ints
10915  get_nearest_neighbors(NearestNeighbor4D self, Vector4D v, unsigned int k) -> IMP::Ints
10916  """
10917  return _IMP_algebra.NearestNeighbor4D_get_nearest_neighbors(self, *args)
10918 
10919 
10920  def get_in_ball(self, *args):
10921  """
10922  get_in_ball(NearestNeighbor4D self, unsigned int i, double distance) -> IMP::Ints
10923  get_in_ball(NearestNeighbor4D self, Vector4D pt, double distance) -> IMP::Ints
10924  """
10925  return _IMP_algebra.NearestNeighbor4D_get_in_ball(self, *args)
10926 
10927 
10928  def get_version_info(self):
10929  """get_version_info(NearestNeighbor4D self) -> VersionInfo"""
10930  return _IMP_algebra.NearestNeighbor4D_get_version_info(self)
10931 
10932 
10933  def __str__(self):
10934  """__str__(NearestNeighbor4D self) -> std::string"""
10935  return _IMP_algebra.NearestNeighbor4D___str__(self)
10936 
10937 
10938  def __repr__(self):
10939  """__repr__(NearestNeighbor4D self) -> std::string"""
10940  return _IMP_algebra.NearestNeighbor4D___repr__(self)
10941 
10942 
10943  @staticmethod
10944  def get_from(o):
10945  return _object_cast_to_NearestNeighborD(o)
10946 
10947 NearestNeighbor4D_swigregister = _IMP_algebra.NearestNeighbor4D_swigregister
10948 NearestNeighbor4D_swigregister(NearestNeighbor4D)
10949 
10950 class NearestNeighbor5D(IMP.Object):
10951  """Proxy of C++ IMP::algebra::NearestNeighborD<(5)> class."""
10952 
10953  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10954 
10955  def __init__(self, vs, epsilon=0):
10956  """
10957  __init__(IMP::algebra::NearestNeighborD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & vs, double epsilon=0) -> NearestNeighbor5D
10958  __init__(IMP::algebra::NearestNeighborD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & vs) -> NearestNeighbor5D
10959  """
10960  this = _IMP_algebra.new_NearestNeighbor5D(vs, epsilon)
10961  try:
10962  self.this.append(this)
10963  except __builtin__.Exception:
10964  self.this = this
10965 
10966  def set_query_log(self, fname):
10967  """set_query_log(NearestNeighbor5D self, std::string fname)"""
10968  return _IMP_algebra.NearestNeighbor5D_set_query_log(self, fname)
10969 
10970 
10971  def get_nearest_neighbor(self, *args):
10972  """
10973  get_nearest_neighbor(NearestNeighbor5D self, Vector5D q) -> unsigned int
10974  get_nearest_neighbor(NearestNeighbor5D self, unsigned int i) -> unsigned int
10975  """
10976  return _IMP_algebra.NearestNeighbor5D_get_nearest_neighbor(self, *args)
10977 
10978 
10979  def get_nearest_neighbors(self, *args):
10980  """
10981  get_nearest_neighbors(NearestNeighbor5D self, unsigned int i, unsigned int k) -> IMP::Ints
10982  get_nearest_neighbors(NearestNeighbor5D self, Vector5D v, unsigned int k) -> IMP::Ints
10983  """
10984  return _IMP_algebra.NearestNeighbor5D_get_nearest_neighbors(self, *args)
10985 
10986 
10987  def get_in_ball(self, *args):
10988  """
10989  get_in_ball(NearestNeighbor5D self, unsigned int i, double distance) -> IMP::Ints
10990  get_in_ball(NearestNeighbor5D self, Vector5D pt, double distance) -> IMP::Ints
10991  """
10992  return _IMP_algebra.NearestNeighbor5D_get_in_ball(self, *args)
10993 
10994 
10995  def get_version_info(self):
10996  """get_version_info(NearestNeighbor5D self) -> VersionInfo"""
10997  return _IMP_algebra.NearestNeighbor5D_get_version_info(self)
10998 
10999 
11000  def __str__(self):
11001  """__str__(NearestNeighbor5D self) -> std::string"""
11002  return _IMP_algebra.NearestNeighbor5D___str__(self)
11003 
11004 
11005  def __repr__(self):
11006  """__repr__(NearestNeighbor5D self) -> std::string"""
11007  return _IMP_algebra.NearestNeighbor5D___repr__(self)
11008 
11009 
11010  @staticmethod
11011  def get_from(o):
11012  return _object_cast_to_NearestNeighborD(o)
11013 
11014 NearestNeighbor5D_swigregister = _IMP_algebra.NearestNeighbor5D_swigregister
11015 NearestNeighbor5D_swigregister(NearestNeighbor5D)
11016 
11017 class NearestNeighbor6D(IMP.Object):
11018  """Proxy of C++ IMP::algebra::NearestNeighborD<(6)> class."""
11019 
11020  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11021 
11022  def __init__(self, vs, epsilon=0):
11023  """
11024  __init__(IMP::algebra::NearestNeighborD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & vs, double epsilon=0) -> NearestNeighbor6D
11025  __init__(IMP::algebra::NearestNeighborD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & vs) -> NearestNeighbor6D
11026  """
11027  this = _IMP_algebra.new_NearestNeighbor6D(vs, epsilon)
11028  try:
11029  self.this.append(this)
11030  except __builtin__.Exception:
11031  self.this = this
11032 
11033  def set_query_log(self, fname):
11034  """set_query_log(NearestNeighbor6D self, std::string fname)"""
11035  return _IMP_algebra.NearestNeighbor6D_set_query_log(self, fname)
11036 
11037 
11038  def get_nearest_neighbor(self, *args):
11039  """
11040  get_nearest_neighbor(NearestNeighbor6D self, Vector6D q) -> unsigned int
11041  get_nearest_neighbor(NearestNeighbor6D self, unsigned int i) -> unsigned int
11042  """
11043  return _IMP_algebra.NearestNeighbor6D_get_nearest_neighbor(self, *args)
11044 
11045 
11046  def get_nearest_neighbors(self, *args):
11047  """
11048  get_nearest_neighbors(NearestNeighbor6D self, unsigned int i, unsigned int k) -> IMP::Ints
11049  get_nearest_neighbors(NearestNeighbor6D self, Vector6D v, unsigned int k) -> IMP::Ints
11050  """
11051  return _IMP_algebra.NearestNeighbor6D_get_nearest_neighbors(self, *args)
11052 
11053 
11054  def get_in_ball(self, *args):
11055  """
11056  get_in_ball(NearestNeighbor6D self, unsigned int i, double distance) -> IMP::Ints
11057  get_in_ball(NearestNeighbor6D self, Vector6D pt, double distance) -> IMP::Ints
11058  """
11059  return _IMP_algebra.NearestNeighbor6D_get_in_ball(self, *args)
11060 
11061 
11062  def get_version_info(self):
11063  """get_version_info(NearestNeighbor6D self) -> VersionInfo"""
11064  return _IMP_algebra.NearestNeighbor6D_get_version_info(self)
11065 
11066 
11067  def __str__(self):
11068  """__str__(NearestNeighbor6D self) -> std::string"""
11069  return _IMP_algebra.NearestNeighbor6D___str__(self)
11070 
11071 
11072  def __repr__(self):
11073  """__repr__(NearestNeighbor6D self) -> std::string"""
11074  return _IMP_algebra.NearestNeighbor6D___repr__(self)
11075 
11076 
11077  @staticmethod
11078  def get_from(o):
11079  return _object_cast_to_NearestNeighborD(o)
11080 
11081 NearestNeighbor6D_swigregister = _IMP_algebra.NearestNeighbor6D_swigregister
11082 NearestNeighbor6D_swigregister(NearestNeighbor6D)
11083 
11084 class NearestNeighborKD(IMP.Object):
11085  """Proxy of C++ IMP::algebra::NearestNeighborD<(-1)> class."""
11086 
11087  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11088 
11089  def __init__(self, vs, epsilon=0):
11090  """
11091  __init__(IMP::algebra::NearestNeighborD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & vs, double epsilon=0) -> NearestNeighborKD
11092  __init__(IMP::algebra::NearestNeighborD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & vs) -> NearestNeighborKD
11093  """
11094  this = _IMP_algebra.new_NearestNeighborKD(vs, epsilon)
11095  try:
11096  self.this.append(this)
11097  except __builtin__.Exception:
11098  self.this = this
11099 
11100  def set_query_log(self, fname):
11101  """set_query_log(NearestNeighborKD self, std::string fname)"""
11102  return _IMP_algebra.NearestNeighborKD_set_query_log(self, fname)
11103 
11104 
11105  def get_nearest_neighbor(self, *args):
11106  """
11107  get_nearest_neighbor(NearestNeighborKD self, VectorKD q) -> unsigned int
11108  get_nearest_neighbor(NearestNeighborKD self, unsigned int i) -> unsigned int
11109  """
11110  return _IMP_algebra.NearestNeighborKD_get_nearest_neighbor(self, *args)
11111 
11112 
11113  def get_nearest_neighbors(self, *args):
11114  """
11115  get_nearest_neighbors(NearestNeighborKD self, unsigned int i, unsigned int k) -> IMP::Ints
11116  get_nearest_neighbors(NearestNeighborKD self, VectorKD v, unsigned int k) -> IMP::Ints
11117  """
11118  return _IMP_algebra.NearestNeighborKD_get_nearest_neighbors(self, *args)
11119 
11120 
11121  def get_in_ball(self, *args):
11122  """
11123  get_in_ball(NearestNeighborKD self, unsigned int i, double distance) -> IMP::Ints
11124  get_in_ball(NearestNeighborKD self, VectorKD pt, double distance) -> IMP::Ints
11125  """
11126  return _IMP_algebra.NearestNeighborKD_get_in_ball(self, *args)
11127 
11128 
11129  def get_version_info(self):
11130  """get_version_info(NearestNeighborKD self) -> VersionInfo"""
11131  return _IMP_algebra.NearestNeighborKD_get_version_info(self)
11132 
11133 
11134  def __str__(self):
11135  """__str__(NearestNeighborKD self) -> std::string"""
11136  return _IMP_algebra.NearestNeighborKD___str__(self)
11137 
11138 
11139  def __repr__(self):
11140  """__repr__(NearestNeighborKD self) -> std::string"""
11141  return _IMP_algebra.NearestNeighborKD___repr__(self)
11142 
11143 
11144  @staticmethod
11145  def get_from(o):
11146  return _object_cast_to_NearestNeighborD(o)
11147 
11148 NearestNeighborKD_swigregister = _IMP_algebra.NearestNeighborKD_swigregister
11149 NearestNeighborKD_swigregister(NearestNeighborKD)
11150 
11151 
11152 def get_transformation_aligning_pair(set_from, set_to):
11153  """get_transformation_aligning_pair(IMP::algebra::Vector2Ds const & set_from, IMP::algebra::Vector2Ds const & set_to) -> Transformation2D"""
11154  return _IMP_algebra.get_transformation_aligning_pair(set_from, set_to)
11155 class PrincipalComponentAnalysis1D(_GeometricPrimitive1D):
11156  """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(1)> class."""
11157 
11158  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11159 
11160  def __init__(self, *args):
11161  """
11162  __init__(IMP::algebra::PrincipalComponentAnalysisD<(1)> self) -> PrincipalComponentAnalysis1D
11163  __init__(IMP::algebra::PrincipalComponentAnalysisD<(1)> self, IMP::Vector< IMP::algebra::VectorD< 1 > > const & pcs, Vector1D values, Vector1D centroid) -> PrincipalComponentAnalysis1D
11164  """
11165  this = _IMP_algebra.new_PrincipalComponentAnalysis1D(*args)
11166  try:
11167  self.this.append(this)
11168  except __builtin__.Exception:
11169  self.this = this
11170 
11171  def get_principal_components(self):
11172  """get_principal_components(PrincipalComponentAnalysis1D self) -> IMP::Vector< IMP::algebra::VectorD< 1 > >"""
11173  return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_components(self)
11174 
11175 
11176  def get_principal_component(self, i):
11177  """get_principal_component(PrincipalComponentAnalysis1D self, unsigned int i) -> Vector1D"""
11178  return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_component(self, i)
11179 
11180 
11181  def get_principal_values(self):
11182  """get_principal_values(PrincipalComponentAnalysis1D self) -> Vector1D"""
11183  return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_values(self)
11184 
11185 
11186  def get_principal_value(self, i):
11187  """get_principal_value(PrincipalComponentAnalysis1D self, unsigned int i) -> double"""
11188  return _IMP_algebra.PrincipalComponentAnalysis1D_get_principal_value(self, i)
11189 
11190 
11191  def get_centroid(self):
11192  """get_centroid(PrincipalComponentAnalysis1D self) -> Vector1D"""
11193  return _IMP_algebra.PrincipalComponentAnalysis1D_get_centroid(self)
11194 
11195 
11196  def set_centroid(self, cntr):
11197  """set_centroid(PrincipalComponentAnalysis1D self, Vector1D cntr)"""
11198  return _IMP_algebra.PrincipalComponentAnalysis1D_set_centroid(self, cntr)
11199 
11200 
11201  def show(self, *args):
11202  """
11203  show(PrincipalComponentAnalysis1D self, _ostream out)
11204  show(PrincipalComponentAnalysis1D self)
11205  """
11206  return _IMP_algebra.PrincipalComponentAnalysis1D_show(self, *args)
11207 
11208 
11209  def __cmp__(self, o):
11210  """__cmp__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> int"""
11211  return _IMP_algebra.PrincipalComponentAnalysis1D___cmp__(self, o)
11212 
11213 
11214  def __eq__(self, o):
11215  """__eq__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11216  return _IMP_algebra.PrincipalComponentAnalysis1D___eq__(self, o)
11217 
11218 
11219  def __ne__(self, o):
11220  """__ne__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11221  return _IMP_algebra.PrincipalComponentAnalysis1D___ne__(self, o)
11222 
11223 
11224  def __lt__(self, o):
11225  """__lt__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11226  return _IMP_algebra.PrincipalComponentAnalysis1D___lt__(self, o)
11227 
11228 
11229  def __gt__(self, o):
11230  """__gt__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11231  return _IMP_algebra.PrincipalComponentAnalysis1D___gt__(self, o)
11232 
11233 
11234  def __ge__(self, o):
11235  """__ge__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11236  return _IMP_algebra.PrincipalComponentAnalysis1D___ge__(self, o)
11237 
11238 
11239  def __le__(self, o):
11240  """__le__(PrincipalComponentAnalysis1D self, PrincipalComponentAnalysis1D o) -> bool"""
11241  return _IMP_algebra.PrincipalComponentAnalysis1D___le__(self, o)
11242 
11243 
11244  def __str__(self):
11245  """__str__(PrincipalComponentAnalysis1D self) -> std::string"""
11246  return _IMP_algebra.PrincipalComponentAnalysis1D___str__(self)
11247 
11248 
11249  def __repr__(self):
11250  """__repr__(PrincipalComponentAnalysis1D self) -> std::string"""
11251  return _IMP_algebra.PrincipalComponentAnalysis1D___repr__(self)
11252 
11253  __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis1D
11254  __del__ = lambda self: None
11255 PrincipalComponentAnalysis1D_swigregister = _IMP_algebra.PrincipalComponentAnalysis1D_swigregister
11256 PrincipalComponentAnalysis1D_swigregister(PrincipalComponentAnalysis1D)
11257 
11258 class PrincipalComponentAnalysis2D(_GeometricPrimitive2D):
11259  """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(2)> class."""
11260 
11261  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11262 
11263  def __init__(self, *args):
11264  """
11265  __init__(IMP::algebra::PrincipalComponentAnalysisD<(2)> self) -> PrincipalComponentAnalysis2D
11266  __init__(IMP::algebra::PrincipalComponentAnalysisD<(2)> self, IMP::Vector< IMP::algebra::VectorD< 2 > > const & pcs, Vector2D values, Vector2D centroid) -> PrincipalComponentAnalysis2D
11267  """
11268  this = _IMP_algebra.new_PrincipalComponentAnalysis2D(*args)
11269  try:
11270  self.this.append(this)
11271  except __builtin__.Exception:
11272  self.this = this
11273 
11274  def get_principal_components(self):
11275  """get_principal_components(PrincipalComponentAnalysis2D self) -> IMP::Vector< IMP::algebra::VectorD< 2 > >"""
11276  return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_components(self)
11277 
11278 
11279  def get_principal_component(self, i):
11280  """get_principal_component(PrincipalComponentAnalysis2D self, unsigned int i) -> Vector2D"""
11281  return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_component(self, i)
11282 
11283 
11284  def get_principal_values(self):
11285  """get_principal_values(PrincipalComponentAnalysis2D self) -> Vector2D"""
11286  return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_values(self)
11287 
11288 
11289  def get_principal_value(self, i):
11290  """get_principal_value(PrincipalComponentAnalysis2D self, unsigned int i) -> double"""
11291  return _IMP_algebra.PrincipalComponentAnalysis2D_get_principal_value(self, i)
11292 
11293 
11294  def get_centroid(self):
11295  """get_centroid(PrincipalComponentAnalysis2D self) -> Vector2D"""
11296  return _IMP_algebra.PrincipalComponentAnalysis2D_get_centroid(self)
11297 
11298 
11299  def set_centroid(self, cntr):
11300  """set_centroid(PrincipalComponentAnalysis2D self, Vector2D cntr)"""
11301  return _IMP_algebra.PrincipalComponentAnalysis2D_set_centroid(self, cntr)
11302 
11303 
11304  def show(self, *args):
11305  """
11306  show(PrincipalComponentAnalysis2D self, _ostream out)
11307  show(PrincipalComponentAnalysis2D self)
11308  """
11309  return _IMP_algebra.PrincipalComponentAnalysis2D_show(self, *args)
11310 
11311 
11312  def __cmp__(self, o):
11313  """__cmp__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> int"""
11314  return _IMP_algebra.PrincipalComponentAnalysis2D___cmp__(self, o)
11315 
11316 
11317  def __eq__(self, o):
11318  """__eq__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11319  return _IMP_algebra.PrincipalComponentAnalysis2D___eq__(self, o)
11320 
11321 
11322  def __ne__(self, o):
11323  """__ne__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11324  return _IMP_algebra.PrincipalComponentAnalysis2D___ne__(self, o)
11325 
11326 
11327  def __lt__(self, o):
11328  """__lt__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11329  return _IMP_algebra.PrincipalComponentAnalysis2D___lt__(self, o)
11330 
11331 
11332  def __gt__(self, o):
11333  """__gt__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11334  return _IMP_algebra.PrincipalComponentAnalysis2D___gt__(self, o)
11335 
11336 
11337  def __ge__(self, o):
11338  """__ge__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11339  return _IMP_algebra.PrincipalComponentAnalysis2D___ge__(self, o)
11340 
11341 
11342  def __le__(self, o):
11343  """__le__(PrincipalComponentAnalysis2D self, PrincipalComponentAnalysis2D o) -> bool"""
11344  return _IMP_algebra.PrincipalComponentAnalysis2D___le__(self, o)
11345 
11346 
11347  def __str__(self):
11348  """__str__(PrincipalComponentAnalysis2D self) -> std::string"""
11349  return _IMP_algebra.PrincipalComponentAnalysis2D___str__(self)
11350 
11351 
11352  def __repr__(self):
11353  """__repr__(PrincipalComponentAnalysis2D self) -> std::string"""
11354  return _IMP_algebra.PrincipalComponentAnalysis2D___repr__(self)
11355 
11356  __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis2D
11357  __del__ = lambda self: None
11358 PrincipalComponentAnalysis2D_swigregister = _IMP_algebra.PrincipalComponentAnalysis2D_swigregister
11359 PrincipalComponentAnalysis2D_swigregister(PrincipalComponentAnalysis2D)
11360 
11361 class PrincipalComponentAnalysis3D(_GeometricPrimitive3D):
11362  """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(3)> class."""
11363 
11364  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11365 
11366  def __init__(self, *args):
11367  """
11368  __init__(IMP::algebra::PrincipalComponentAnalysisD<(3)> self) -> PrincipalComponentAnalysis3D
11369  __init__(IMP::algebra::PrincipalComponentAnalysisD<(3)> self, IMP::Vector< IMP::algebra::VectorD< 3 > > const & pcs, Vector3D values, Vector3D centroid) -> PrincipalComponentAnalysis3D
11370  """
11371  this = _IMP_algebra.new_PrincipalComponentAnalysis3D(*args)
11372  try:
11373  self.this.append(this)
11374  except __builtin__.Exception:
11375  self.this = this
11376 
11377  def get_principal_components(self):
11378  """get_principal_components(PrincipalComponentAnalysis3D self) -> IMP::Vector< IMP::algebra::VectorD< 3 > >"""
11379  return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_components(self)
11380 
11381 
11382  def get_principal_component(self, i):
11383  """get_principal_component(PrincipalComponentAnalysis3D self, unsigned int i) -> Vector3D"""
11384  return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_component(self, i)
11385 
11386 
11387  def get_principal_values(self):
11388  """get_principal_values(PrincipalComponentAnalysis3D self) -> Vector3D"""
11389  return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_values(self)
11390 
11391 
11392  def get_principal_value(self, i):
11393  """get_principal_value(PrincipalComponentAnalysis3D self, unsigned int i) -> double"""
11394  return _IMP_algebra.PrincipalComponentAnalysis3D_get_principal_value(self, i)
11395 
11396 
11397  def get_centroid(self):
11398  """get_centroid(PrincipalComponentAnalysis3D self) -> Vector3D"""
11399  return _IMP_algebra.PrincipalComponentAnalysis3D_get_centroid(self)
11400 
11401 
11402  def set_centroid(self, cntr):
11403  """set_centroid(PrincipalComponentAnalysis3D self, Vector3D cntr)"""
11404  return _IMP_algebra.PrincipalComponentAnalysis3D_set_centroid(self, cntr)
11405 
11406 
11407  def show(self, *args):
11408  """
11409  show(PrincipalComponentAnalysis3D self, _ostream out)
11410  show(PrincipalComponentAnalysis3D self)
11411  """
11412  return _IMP_algebra.PrincipalComponentAnalysis3D_show(self, *args)
11413 
11414 
11415  def __cmp__(self, o):
11416  """__cmp__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> int"""
11417  return _IMP_algebra.PrincipalComponentAnalysis3D___cmp__(self, o)
11418 
11419 
11420  def __eq__(self, o):
11421  """__eq__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11422  return _IMP_algebra.PrincipalComponentAnalysis3D___eq__(self, o)
11423 
11424 
11425  def __ne__(self, o):
11426  """__ne__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11427  return _IMP_algebra.PrincipalComponentAnalysis3D___ne__(self, o)
11428 
11429 
11430  def __lt__(self, o):
11431  """__lt__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11432  return _IMP_algebra.PrincipalComponentAnalysis3D___lt__(self, o)
11433 
11434 
11435  def __gt__(self, o):
11436  """__gt__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11437  return _IMP_algebra.PrincipalComponentAnalysis3D___gt__(self, o)
11438 
11439 
11440  def __ge__(self, o):
11441  """__ge__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11442  return _IMP_algebra.PrincipalComponentAnalysis3D___ge__(self, o)
11443 
11444 
11445  def __le__(self, o):
11446  """__le__(PrincipalComponentAnalysis3D self, PrincipalComponentAnalysis3D o) -> bool"""
11447  return _IMP_algebra.PrincipalComponentAnalysis3D___le__(self, o)
11448 
11449 
11450  def __str__(self):
11451  """__str__(PrincipalComponentAnalysis3D self) -> std::string"""
11452  return _IMP_algebra.PrincipalComponentAnalysis3D___str__(self)
11453 
11454 
11455  def __repr__(self):
11456  """__repr__(PrincipalComponentAnalysis3D self) -> std::string"""
11457  return _IMP_algebra.PrincipalComponentAnalysis3D___repr__(self)
11458 
11459  __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis3D
11460  __del__ = lambda self: None
11461 PrincipalComponentAnalysis3D_swigregister = _IMP_algebra.PrincipalComponentAnalysis3D_swigregister
11462 PrincipalComponentAnalysis3D_swigregister(PrincipalComponentAnalysis3D)
11463 
11464 class PrincipalComponentAnalysis4D(_GeometricPrimitive4D):
11465  """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(4)> class."""
11466 
11467  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11468 
11469  def __init__(self, *args):
11470  """
11471  __init__(IMP::algebra::PrincipalComponentAnalysisD<(4)> self) -> PrincipalComponentAnalysis4D
11472  __init__(IMP::algebra::PrincipalComponentAnalysisD<(4)> self, IMP::Vector< IMP::algebra::VectorD< 4 > > const & pcs, Vector4D values, Vector4D centroid) -> PrincipalComponentAnalysis4D
11473  """
11474  this = _IMP_algebra.new_PrincipalComponentAnalysis4D(*args)
11475  try:
11476  self.this.append(this)
11477  except __builtin__.Exception:
11478  self.this = this
11479 
11480  def get_principal_components(self):
11481  """get_principal_components(PrincipalComponentAnalysis4D self) -> IMP::Vector< IMP::algebra::VectorD< 4 > >"""
11482  return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_components(self)
11483 
11484 
11485  def get_principal_component(self, i):
11486  """get_principal_component(PrincipalComponentAnalysis4D self, unsigned int i) -> Vector4D"""
11487  return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_component(self, i)
11488 
11489 
11490  def get_principal_values(self):
11491  """get_principal_values(PrincipalComponentAnalysis4D self) -> Vector4D"""
11492  return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_values(self)
11493 
11494 
11495  def get_principal_value(self, i):
11496  """get_principal_value(PrincipalComponentAnalysis4D self, unsigned int i) -> double"""
11497  return _IMP_algebra.PrincipalComponentAnalysis4D_get_principal_value(self, i)
11498 
11499 
11500  def get_centroid(self):
11501  """get_centroid(PrincipalComponentAnalysis4D self) -> Vector4D"""
11502  return _IMP_algebra.PrincipalComponentAnalysis4D_get_centroid(self)
11503 
11504 
11505  def set_centroid(self, cntr):
11506  """set_centroid(PrincipalComponentAnalysis4D self, Vector4D cntr)"""
11507  return _IMP_algebra.PrincipalComponentAnalysis4D_set_centroid(self, cntr)
11508 
11509 
11510  def show(self, *args):
11511  """
11512  show(PrincipalComponentAnalysis4D self, _ostream out)
11513  show(PrincipalComponentAnalysis4D self)
11514  """
11515  return _IMP_algebra.PrincipalComponentAnalysis4D_show(self, *args)
11516 
11517 
11518  def __cmp__(self, o):
11519  """__cmp__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> int"""
11520  return _IMP_algebra.PrincipalComponentAnalysis4D___cmp__(self, o)
11521 
11522 
11523  def __eq__(self, o):
11524  """__eq__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
11525  return _IMP_algebra.PrincipalComponentAnalysis4D___eq__(self, o)
11526 
11527 
11528  def __ne__(self, o):
11529  """__ne__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
11530  return _IMP_algebra.PrincipalComponentAnalysis4D___ne__(self, o)
11531 
11532 
11533  def __lt__(self, o):
11534  """__lt__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
11535  return _IMP_algebra.PrincipalComponentAnalysis4D___lt__(self, o)
11536 
11537 
11538  def __gt__(self, o):
11539  """__gt__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
11540  return _IMP_algebra.PrincipalComponentAnalysis4D___gt__(self, o)
11541 
11542 
11543  def __ge__(self, o):
11544  """__ge__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
11545  return _IMP_algebra.PrincipalComponentAnalysis4D___ge__(self, o)
11546 
11547 
11548  def __le__(self, o):
11549  """__le__(PrincipalComponentAnalysis4D self, PrincipalComponentAnalysis4D o) -> bool"""
11550  return _IMP_algebra.PrincipalComponentAnalysis4D___le__(self, o)
11551 
11552 
11553  def __str__(self):
11554  """__str__(PrincipalComponentAnalysis4D self) -> std::string"""
11555  return _IMP_algebra.PrincipalComponentAnalysis4D___str__(self)
11556 
11557 
11558  def __repr__(self):
11559  """__repr__(PrincipalComponentAnalysis4D self) -> std::string"""
11560  return _IMP_algebra.PrincipalComponentAnalysis4D___repr__(self)
11561 
11562  __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis4D
11563  __del__ = lambda self: None
11564 PrincipalComponentAnalysis4D_swigregister = _IMP_algebra.PrincipalComponentAnalysis4D_swigregister
11565 PrincipalComponentAnalysis4D_swigregister(PrincipalComponentAnalysis4D)
11566 
11567 class PrincipalComponentAnalysis5D(_GeometricPrimitive5D):
11568  """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(5)> class."""
11569 
11570  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11571 
11572  def __init__(self, *args):
11573  """
11574  __init__(IMP::algebra::PrincipalComponentAnalysisD<(5)> self) -> PrincipalComponentAnalysis5D
11575  __init__(IMP::algebra::PrincipalComponentAnalysisD<(5)> self, IMP::Vector< IMP::algebra::VectorD< 5 > > const & pcs, Vector5D values, Vector5D centroid) -> PrincipalComponentAnalysis5D
11576  """
11577  this = _IMP_algebra.new_PrincipalComponentAnalysis5D(*args)
11578  try:
11579  self.this.append(this)
11580  except __builtin__.Exception:
11581  self.this = this
11582 
11583  def get_principal_components(self):
11584  """get_principal_components(PrincipalComponentAnalysis5D self) -> IMP::Vector< IMP::algebra::VectorD< 5 > >"""
11585  return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_components(self)
11586 
11587 
11588  def get_principal_component(self, i):
11589  """get_principal_component(PrincipalComponentAnalysis5D self, unsigned int i) -> Vector5D"""
11590  return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_component(self, i)
11591 
11592 
11593  def get_principal_values(self):
11594  """get_principal_values(PrincipalComponentAnalysis5D self) -> Vector5D"""
11595  return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_values(self)
11596 
11597 
11598  def get_principal_value(self, i):
11599  """get_principal_value(PrincipalComponentAnalysis5D self, unsigned int i) -> double"""
11600  return _IMP_algebra.PrincipalComponentAnalysis5D_get_principal_value(self, i)
11601 
11602 
11603  def get_centroid(self):
11604  """get_centroid(PrincipalComponentAnalysis5D self) -> Vector5D"""
11605  return _IMP_algebra.PrincipalComponentAnalysis5D_get_centroid(self)
11606 
11607 
11608  def set_centroid(self, cntr):
11609  """set_centroid(PrincipalComponentAnalysis5D self, Vector5D cntr)"""
11610  return _IMP_algebra.PrincipalComponentAnalysis5D_set_centroid(self, cntr)
11611 
11612 
11613  def show(self, *args):
11614  """
11615  show(PrincipalComponentAnalysis5D self, _ostream out)
11616  show(PrincipalComponentAnalysis5D self)
11617  """
11618  return _IMP_algebra.PrincipalComponentAnalysis5D_show(self, *args)
11619 
11620 
11621  def __cmp__(self, o):
11622  """__cmp__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> int"""
11623  return _IMP_algebra.PrincipalComponentAnalysis5D___cmp__(self, o)
11624 
11625 
11626  def __eq__(self, o):
11627  """__eq__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
11628  return _IMP_algebra.PrincipalComponentAnalysis5D___eq__(self, o)
11629 
11630 
11631  def __ne__(self, o):
11632  """__ne__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
11633  return _IMP_algebra.PrincipalComponentAnalysis5D___ne__(self, o)
11634 
11635 
11636  def __lt__(self, o):
11637  """__lt__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
11638  return _IMP_algebra.PrincipalComponentAnalysis5D___lt__(self, o)
11639 
11640 
11641  def __gt__(self, o):
11642  """__gt__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
11643  return _IMP_algebra.PrincipalComponentAnalysis5D___gt__(self, o)
11644 
11645 
11646  def __ge__(self, o):
11647  """__ge__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
11648  return _IMP_algebra.PrincipalComponentAnalysis5D___ge__(self, o)
11649 
11650 
11651  def __le__(self, o):
11652  """__le__(PrincipalComponentAnalysis5D self, PrincipalComponentAnalysis5D o) -> bool"""
11653  return _IMP_algebra.PrincipalComponentAnalysis5D___le__(self, o)
11654 
11655 
11656  def __str__(self):
11657  """__str__(PrincipalComponentAnalysis5D self) -> std::string"""
11658  return _IMP_algebra.PrincipalComponentAnalysis5D___str__(self)
11659 
11660 
11661  def __repr__(self):
11662  """__repr__(PrincipalComponentAnalysis5D self) -> std::string"""
11663  return _IMP_algebra.PrincipalComponentAnalysis5D___repr__(self)
11664 
11665  __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis5D
11666  __del__ = lambda self: None
11667 PrincipalComponentAnalysis5D_swigregister = _IMP_algebra.PrincipalComponentAnalysis5D_swigregister
11668 PrincipalComponentAnalysis5D_swigregister(PrincipalComponentAnalysis5D)
11669 
11670 class PrincipalComponentAnalysis6D(_GeometricPrimitive6D):
11671  """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(6)> class."""
11672 
11673  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11674 
11675  def __init__(self, *args):
11676  """
11677  __init__(IMP::algebra::PrincipalComponentAnalysisD<(6)> self) -> PrincipalComponentAnalysis6D
11678  __init__(IMP::algebra::PrincipalComponentAnalysisD<(6)> self, IMP::Vector< IMP::algebra::VectorD< 6 > > const & pcs, Vector6D values, Vector6D centroid) -> PrincipalComponentAnalysis6D
11679  """
11680  this = _IMP_algebra.new_PrincipalComponentAnalysis6D(*args)
11681  try:
11682  self.this.append(this)
11683  except __builtin__.Exception:
11684  self.this = this
11685 
11686  def get_principal_components(self):
11687  """get_principal_components(PrincipalComponentAnalysis6D self) -> IMP::Vector< IMP::algebra::VectorD< 6 > >"""
11688  return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_components(self)
11689 
11690 
11691  def get_principal_component(self, i):
11692  """get_principal_component(PrincipalComponentAnalysis6D self, unsigned int i) -> Vector6D"""
11693  return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_component(self, i)
11694 
11695 
11696  def get_principal_values(self):
11697  """get_principal_values(PrincipalComponentAnalysis6D self) -> Vector6D"""
11698  return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_values(self)
11699 
11700 
11701  def get_principal_value(self, i):
11702  """get_principal_value(PrincipalComponentAnalysis6D self, unsigned int i) -> double"""
11703  return _IMP_algebra.PrincipalComponentAnalysis6D_get_principal_value(self, i)
11704 
11705 
11706  def get_centroid(self):
11707  """get_centroid(PrincipalComponentAnalysis6D self) -> Vector6D"""
11708  return _IMP_algebra.PrincipalComponentAnalysis6D_get_centroid(self)
11709 
11710 
11711  def set_centroid(self, cntr):
11712  """set_centroid(PrincipalComponentAnalysis6D self, Vector6D cntr)"""
11713  return _IMP_algebra.PrincipalComponentAnalysis6D_set_centroid(self, cntr)
11714 
11715 
11716  def show(self, *args):
11717  """
11718  show(PrincipalComponentAnalysis6D self, _ostream out)
11719  show(PrincipalComponentAnalysis6D self)
11720  """
11721  return _IMP_algebra.PrincipalComponentAnalysis6D_show(self, *args)
11722 
11723 
11724  def __cmp__(self, o):
11725  """__cmp__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> int"""
11726  return _IMP_algebra.PrincipalComponentAnalysis6D___cmp__(self, o)
11727 
11728 
11729  def __eq__(self, o):
11730  """__eq__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
11731  return _IMP_algebra.PrincipalComponentAnalysis6D___eq__(self, o)
11732 
11733 
11734  def __ne__(self, o):
11735  """__ne__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
11736  return _IMP_algebra.PrincipalComponentAnalysis6D___ne__(self, o)
11737 
11738 
11739  def __lt__(self, o):
11740  """__lt__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
11741  return _IMP_algebra.PrincipalComponentAnalysis6D___lt__(self, o)
11742 
11743 
11744  def __gt__(self, o):
11745  """__gt__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
11746  return _IMP_algebra.PrincipalComponentAnalysis6D___gt__(self, o)
11747 
11748 
11749  def __ge__(self, o):
11750  """__ge__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
11751  return _IMP_algebra.PrincipalComponentAnalysis6D___ge__(self, o)
11752 
11753 
11754  def __le__(self, o):
11755  """__le__(PrincipalComponentAnalysis6D self, PrincipalComponentAnalysis6D o) -> bool"""
11756  return _IMP_algebra.PrincipalComponentAnalysis6D___le__(self, o)
11757 
11758 
11759  def __str__(self):
11760  """__str__(PrincipalComponentAnalysis6D self) -> std::string"""
11761  return _IMP_algebra.PrincipalComponentAnalysis6D___str__(self)
11762 
11763 
11764  def __repr__(self):
11765  """__repr__(PrincipalComponentAnalysis6D self) -> std::string"""
11766  return _IMP_algebra.PrincipalComponentAnalysis6D___repr__(self)
11767 
11768  __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysis6D
11769  __del__ = lambda self: None
11770 PrincipalComponentAnalysis6D_swigregister = _IMP_algebra.PrincipalComponentAnalysis6D_swigregister
11771 PrincipalComponentAnalysis6D_swigregister(PrincipalComponentAnalysis6D)
11772 
11773 class PrincipalComponentAnalysisKD(_GeometricPrimitiveKD):
11774  """Proxy of C++ IMP::algebra::PrincipalComponentAnalysisD<(-1)> class."""
11775 
11776  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11777 
11778  def __init__(self, *args):
11779  """
11780  __init__(IMP::algebra::PrincipalComponentAnalysisD<(-1)> self) -> PrincipalComponentAnalysisKD
11781  __init__(IMP::algebra::PrincipalComponentAnalysisD<(-1)> self, IMP::Vector< IMP::algebra::VectorD< -1 > > const & pcs, VectorKD values, VectorKD centroid) -> PrincipalComponentAnalysisKD
11782  """
11783  this = _IMP_algebra.new_PrincipalComponentAnalysisKD(*args)
11784  try:
11785  self.this.append(this)
11786  except __builtin__.Exception:
11787  self.this = this
11788 
11789  def get_principal_components(self):
11790  """get_principal_components(PrincipalComponentAnalysisKD self) -> IMP::Vector< IMP::algebra::VectorD< -1 > >"""
11791  return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_components(self)
11792 
11793 
11794  def get_principal_component(self, i):
11795  """get_principal_component(PrincipalComponentAnalysisKD self, unsigned int i) -> VectorKD"""
11796  return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_component(self, i)
11797 
11798 
11799  def get_principal_values(self):
11800  """get_principal_values(PrincipalComponentAnalysisKD self) -> VectorKD"""
11801  return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_values(self)
11802 
11803 
11804  def get_principal_value(self, i):
11805  """get_principal_value(PrincipalComponentAnalysisKD self, unsigned int i) -> double"""
11806  return _IMP_algebra.PrincipalComponentAnalysisKD_get_principal_value(self, i)
11807 
11808 
11809  def get_centroid(self):
11810  """get_centroid(PrincipalComponentAnalysisKD self) -> VectorKD"""
11811  return _IMP_algebra.PrincipalComponentAnalysisKD_get_centroid(self)
11812 
11813 
11814  def set_centroid(self, cntr):
11815  """set_centroid(PrincipalComponentAnalysisKD self, VectorKD cntr)"""
11816  return _IMP_algebra.PrincipalComponentAnalysisKD_set_centroid(self, cntr)
11817 
11818 
11819  def show(self, *args):
11820  """
11821  show(PrincipalComponentAnalysisKD self, _ostream out)
11822  show(PrincipalComponentAnalysisKD self)
11823  """
11824  return _IMP_algebra.PrincipalComponentAnalysisKD_show(self, *args)
11825 
11826 
11827  def __cmp__(self, o):
11828  """__cmp__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> int"""
11829  return _IMP_algebra.PrincipalComponentAnalysisKD___cmp__(self, o)
11830 
11831 
11832  def __eq__(self, o):
11833  """__eq__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
11834  return _IMP_algebra.PrincipalComponentAnalysisKD___eq__(self, o)
11835 
11836 
11837  def __ne__(self, o):
11838  """__ne__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
11839  return _IMP_algebra.PrincipalComponentAnalysisKD___ne__(self, o)
11840 
11841 
11842  def __lt__(self, o):
11843  """__lt__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
11844  return _IMP_algebra.PrincipalComponentAnalysisKD___lt__(self, o)
11845 
11846 
11847  def __gt__(self, o):
11848  """__gt__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
11849  return _IMP_algebra.PrincipalComponentAnalysisKD___gt__(self, o)
11850 
11851 
11852  def __ge__(self, o):
11853  """__ge__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
11854  return _IMP_algebra.PrincipalComponentAnalysisKD___ge__(self, o)
11855 
11856 
11857  def __le__(self, o):
11858  """__le__(PrincipalComponentAnalysisKD self, PrincipalComponentAnalysisKD o) -> bool"""
11859  return _IMP_algebra.PrincipalComponentAnalysisKD___le__(self, o)
11860 
11861 
11862  def __str__(self):
11863  """__str__(PrincipalComponentAnalysisKD self) -> std::string"""
11864  return _IMP_algebra.PrincipalComponentAnalysisKD___str__(self)
11865 
11866 
11867  def __repr__(self):
11868  """__repr__(PrincipalComponentAnalysisKD self) -> std::string"""
11869  return _IMP_algebra.PrincipalComponentAnalysisKD___repr__(self)
11870 
11871  __swig_destroy__ = _IMP_algebra.delete_PrincipalComponentAnalysisKD
11872  __del__ = lambda self: None
11873 PrincipalComponentAnalysisKD_swigregister = _IMP_algebra.PrincipalComponentAnalysisKD_swigregister
11874 PrincipalComponentAnalysisKD_swigregister(PrincipalComponentAnalysisKD)
11875 
11876 
11877 def get_principal_components(*args):
11878  """
11879  get_principal_components(IMP::Vector< IMP::algebra::Vector1D > const & a) -> PrincipalComponentAnalysis1D
11880  get_principal_components(IMP::Vector< IMP::algebra::Vector2D > const & a) -> PrincipalComponentAnalysis2D
11881  get_principal_components(IMP::Vector< IMP::algebra::Vector3D > const & a) -> PrincipalComponentAnalysis3D
11882  get_principal_components(IMP::Vector< IMP::algebra::Vector4D > const & a) -> PrincipalComponentAnalysis4D
11883  get_principal_components(IMP::Vector< IMP::algebra::Vector5D > const & a) -> PrincipalComponentAnalysis5D
11884  get_principal_components(IMP::Vector< IMP::algebra::Vector6D > const & a) -> PrincipalComponentAnalysis6D
11885  get_principal_components(IMP::Vector< IMP::algebra::VectorKD > const & a) -> PrincipalComponentAnalysisKD
11886  """
11887  return _IMP_algebra.get_principal_components(*args)
11888 
11889 def get_vertices(*args):
11890  """
11891  get_vertices(BoundingBox1D a) -> IMP::Vector< IMP::algebra::Vector1D >
11892  get_vertices(BoundingBox2D a) -> IMP::Vector< IMP::algebra::Vector2D >
11893  get_vertices(BoundingBox3D a) -> IMP::Vector< IMP::algebra::Vector3D >
11894  get_vertices(BoundingBox4D a) -> IMP::Vector< IMP::algebra::Vector4D >
11895  get_vertices(BoundingBox5D a) -> IMP::Vector< IMP::algebra::Vector5D >
11896  get_vertices(BoundingBox6D a) -> IMP::Vector< IMP::algebra::Vector6D >
11897  get_vertices(BoundingBoxKD a) -> IMP::Vector< IMP::algebra::VectorKD >
11898  """
11899  return _IMP_algebra.get_vertices(*args)
11900 
11901 def get_distance(*args):
11902  """
11903  get_distance(Rotation3D r0, Rotation3D r1) -> double
11904  get_distance(Line3D s, Vector3D p) -> double
11905  get_distance(Line3D a, Line3D b) -> double
11906  get_distance(Segment3D s, Vector3D p) -> double
11907  get_distance(Segment3D a, Segment3D b) -> double
11908  get_distance(Plane3D pln, Vector3D p) -> double
11909  get_distance(Vector1D a, Vector1D b) -> double
11910  get_distance(Vector2D a, Vector2D b) -> double
11911  get_distance(Vector3D a, Vector3D b) -> double
11912  get_distance(Vector4D a, Vector4D b) -> double
11913  get_distance(Vector5D a, Vector5D b) -> double
11914  get_distance(Vector6D a, Vector6D b) -> double
11915  get_distance(VectorKD a, VectorKD b) -> double
11916  get_distance(Sphere1D a, Sphere1D b) -> double
11917  get_distance(Sphere2D a, Sphere2D b) -> double
11918  get_distance(Sphere3D a, Sphere3D b) -> double
11919  get_distance(Sphere4D a, Sphere4D b) -> double
11920  get_distance(Sphere5D a, Sphere5D b) -> double
11921  get_distance(Sphere6D a, Sphere6D b) -> double
11922  get_distance(SphereKD a, SphereKD b) -> double
11923  """
11924  return _IMP_algebra.get_distance(*args)
11925 
11926 def get_squared_distance(*args):
11927  """
11928  get_squared_distance(Vector1D a, Vector1D b) -> double
11929  get_squared_distance(Vector2D a, Vector2D b) -> double
11930  get_squared_distance(Vector3D a, Vector3D b) -> double
11931  get_squared_distance(Vector4D a, Vector4D b) -> double
11932  get_squared_distance(Vector5D a, Vector5D b) -> double
11933  get_squared_distance(Vector6D a, Vector6D b) -> double
11934  get_squared_distance(VectorKD a, VectorKD b) -> double
11935  """
11936  return _IMP_algebra.get_squared_distance(*args)
11937 
11938 def get_basis_vector_1d(coordinate):
11939  """get_basis_vector_1d(unsigned int coordinate) -> Vector1D"""
11940  return _IMP_algebra.get_basis_vector_1d(coordinate)
11941 
11942 def get_basis_vector_2d(coordinate):
11943  """get_basis_vector_2d(unsigned int coordinate) -> Vector2D"""
11944  return _IMP_algebra.get_basis_vector_2d(coordinate)
11945 
11946 def get_basis_vector_3d(coordinate):
11947  """get_basis_vector_3d(unsigned int coordinate) -> Vector3D"""
11948  return _IMP_algebra.get_basis_vector_3d(coordinate)
11949 
11950 def get_basis_vector_4d(coordinate):
11951  """get_basis_vector_4d(unsigned int coordinate) -> Vector4D"""
11952  return _IMP_algebra.get_basis_vector_4d(coordinate)
11953 
11954 def get_basis_vector_5d(coordinate):
11955  """get_basis_vector_5d(unsigned int coordinate) -> Vector5D"""
11956  return _IMP_algebra.get_basis_vector_5d(coordinate)
11957 
11958 def get_basis_vector_6d(coordinate):
11959  """get_basis_vector_6d(unsigned int coordinate) -> Vector6D"""
11960  return _IMP_algebra.get_basis_vector_6d(coordinate)
11961 
11962 def get_zero_vector_1d():
11963  """get_zero_vector_1d() -> Vector1D"""
11964  return _IMP_algebra.get_zero_vector_1d()
11965 
11966 def get_zero_vector_2d():
11967  """get_zero_vector_2d() -> Vector2D"""
11968  return _IMP_algebra.get_zero_vector_2d()
11969 
11970 def get_zero_vector_3d():
11971  """get_zero_vector_3d() -> Vector3D"""
11972  return _IMP_algebra.get_zero_vector_3d()
11973 
11974 def get_zero_vector_4d():
11975  """get_zero_vector_4d() -> Vector4D"""
11976  return _IMP_algebra.get_zero_vector_4d()
11977 
11978 def get_zero_vector_5d():
11979  """get_zero_vector_5d() -> Vector5D"""
11980  return _IMP_algebra.get_zero_vector_5d()
11981 
11982 def get_zero_vector_6d():
11983  """get_zero_vector_6d() -> Vector6D"""
11984  return _IMP_algebra.get_zero_vector_6d()
11985 
11986 def get_ones_vector_1d(v=1):
11987  """
11988  get_ones_vector_1d(double v=1) -> Vector1D
11989  get_ones_vector_1d() -> Vector1D
11990  """
11991  return _IMP_algebra.get_ones_vector_1d(v)
11992 
11993 def get_ones_vector_2d(v=1):
11994  """
11995  get_ones_vector_2d(double v=1) -> Vector2D
11996  get_ones_vector_2d() -> Vector2D
11997  """
11998  return _IMP_algebra.get_ones_vector_2d(v)
11999 
12000 def get_ones_vector_3d(v=1):
12001  """
12002  get_ones_vector_3d(double v=1) -> Vector3D
12003  get_ones_vector_3d() -> Vector3D
12004  """
12005  return _IMP_algebra.get_ones_vector_3d(v)
12006 
12007 def get_ones_vector_4d(v=1):
12008  """
12009  get_ones_vector_4d(double v=1) -> Vector4D
12010  get_ones_vector_4d() -> Vector4D
12011  """
12012  return _IMP_algebra.get_ones_vector_4d(v)
12013 
12014 def get_ones_vector_5d(v=1):
12015  """
12016  get_ones_vector_5d(double v=1) -> Vector5D
12017  get_ones_vector_5d() -> Vector5D
12018  """
12019  return _IMP_algebra.get_ones_vector_5d(v)
12020 
12021 def get_ones_vector_6d(v=1):
12022  """
12023  get_ones_vector_6d(double v=1) -> Vector6D
12024  get_ones_vector_6d() -> Vector6D
12025  """
12026  return _IMP_algebra.get_ones_vector_6d(v)
12027 
12028 def get_unit_bounding_box_1d():
12029  """get_unit_bounding_box_1d() -> BoundingBox1D"""
12030  return _IMP_algebra.get_unit_bounding_box_1d()
12031 
12032 def get_unit_bounding_box_2d():
12033  """get_unit_bounding_box_2d() -> BoundingBox2D"""
12034  return _IMP_algebra.get_unit_bounding_box_2d()
12035 
12036 def get_unit_bounding_box_3d():
12037  """get_unit_bounding_box_3d() -> BoundingBox3D"""
12038  return _IMP_algebra.get_unit_bounding_box_3d()
12039 
12040 def get_unit_bounding_box_4d():
12041  """get_unit_bounding_box_4d() -> BoundingBox4D"""
12042  return _IMP_algebra.get_unit_bounding_box_4d()
12043 
12044 def get_unit_bounding_box_5d():
12045  """get_unit_bounding_box_5d() -> BoundingBox5D"""
12046  return _IMP_algebra.get_unit_bounding_box_5d()
12047 
12048 def get_unit_bounding_box_6d():
12049  """get_unit_bounding_box_6d() -> BoundingBox6D"""
12050  return _IMP_algebra.get_unit_bounding_box_6d()
12051 
12052 def get_cube_1d(radius):
12053  """get_cube_1d(double radius) -> BoundingBox1D"""
12054  return _IMP_algebra.get_cube_1d(radius)
12055 
12056 def get_cube_2d(radius):
12057  """get_cube_2d(double radius) -> BoundingBox2D"""
12058  return _IMP_algebra.get_cube_2d(radius)
12059 
12060 def get_cube_3d(radius):
12061  """get_cube_3d(double radius) -> BoundingBox3D"""
12062  return _IMP_algebra.get_cube_3d(radius)
12063 
12064 def get_cube_4d(radius):
12065  """get_cube_4d(double radius) -> BoundingBox4D"""
12066  return _IMP_algebra.get_cube_4d(radius)
12067 
12068 def get_cube_5d(radius):
12069  """get_cube_5d(double radius) -> BoundingBox5D"""
12070  return _IMP_algebra.get_cube_5d(radius)
12071 
12072 def get_cube_6d(radius):
12073  """get_cube_6d(double radius) -> BoundingBox6D"""
12074  return _IMP_algebra.get_cube_6d(radius)
12075 
12076 def get_unit_sphere_1d():
12077  """get_unit_sphere_1d() -> Sphere1D"""
12078  return _IMP_algebra.get_unit_sphere_1d()
12079 
12080 def get_unit_sphere_2d():
12081  """get_unit_sphere_2d() -> Sphere2D"""
12082  return _IMP_algebra.get_unit_sphere_2d()
12083 
12084 def get_unit_sphere_3d():
12085  """get_unit_sphere_3d() -> Sphere3D"""
12086  return _IMP_algebra.get_unit_sphere_3d()
12087 
12088 def get_unit_sphere_4d():
12089  """get_unit_sphere_4d() -> Sphere4D"""
12090  return _IMP_algebra.get_unit_sphere_4d()
12091 
12092 def get_unit_sphere_5d():
12093  """get_unit_sphere_5d() -> Sphere5D"""
12094  return _IMP_algebra.get_unit_sphere_5d()
12095 
12096 def get_unit_sphere_6d():
12097  """get_unit_sphere_6d() -> Sphere6D"""
12098  return _IMP_algebra.get_unit_sphere_6d()
12099 
12100 def get_interiors_intersect(*args):
12101  """
12102  get_interiors_intersect(Sphere1D a, Sphere1D b) -> bool
12103  get_interiors_intersect(Sphere2D a, Sphere2D b) -> bool
12104  get_interiors_intersect(Sphere3D a, Sphere3D b) -> bool
12105  get_interiors_intersect(Sphere4D a, Sphere4D b) -> bool
12106  get_interiors_intersect(Sphere5D a, Sphere5D b) -> bool
12107  get_interiors_intersect(Sphere6D a, Sphere6D b) -> bool
12108  get_interiors_intersect(SphereKD a, SphereKD b) -> bool
12109  get_interiors_intersect(BoundingBox1D a, BoundingBox1D b) -> bool
12110  get_interiors_intersect(BoundingBox2D a, BoundingBox2D b) -> bool
12111  get_interiors_intersect(BoundingBox3D a, BoundingBox3D b) -> bool
12112  get_interiors_intersect(BoundingBox4D a, BoundingBox4D b) -> bool
12113  get_interiors_intersect(BoundingBox5D a, BoundingBox5D b) -> bool
12114  get_interiors_intersect(BoundingBox6D a, BoundingBox6D b) -> bool
12115  get_interiors_intersect(BoundingBoxKD a, BoundingBoxKD b) -> bool
12116  """
12117  return _IMP_algebra.get_interiors_intersect(*args)
12118 
12119 def get_random_vector_on(*args):
12120  """
12121  get_random_vector_on(Sphere1D a) -> Vector1D
12122  get_random_vector_on(Sphere2D a) -> Vector2D
12123  get_random_vector_on(Sphere3D a) -> Vector3D
12124  get_random_vector_on(Sphere4D a) -> Vector4D
12125  get_random_vector_on(Sphere5D a) -> Vector5D
12126  get_random_vector_on(Sphere6D a) -> Vector6D
12127  get_random_vector_on(SphereKD a) -> VectorKD
12128  get_random_vector_on(BoundingBox1D a) -> Vector1D
12129  get_random_vector_on(BoundingBox2D a) -> Vector2D
12130  get_random_vector_on(BoundingBox3D a) -> Vector3D
12131  get_random_vector_on(BoundingBox4D a) -> Vector4D
12132  get_random_vector_on(BoundingBox5D a) -> Vector5D
12133  get_random_vector_on(BoundingBox6D a) -> Vector6D
12134  get_random_vector_on(BoundingBoxKD a) -> VectorKD
12135  """
12136  return _IMP_algebra.get_random_vector_on(*args)
12137 
12138 def get_random_vector_in(*args):
12139  """
12140  get_random_vector_in(Cylinder3D c) -> Vector3D
12141  get_random_vector_in(Sphere1D a) -> Vector1D
12142  get_random_vector_in(Sphere2D a) -> Vector2D
12143  get_random_vector_in(Sphere3D a) -> Vector3D
12144  get_random_vector_in(Sphere4D a) -> Vector4D
12145  get_random_vector_in(Sphere5D a) -> Vector5D
12146  get_random_vector_in(Sphere6D a) -> Vector6D
12147  get_random_vector_in(SphereKD a) -> VectorKD
12148  get_random_vector_in(BoundingBox1D a) -> Vector1D
12149  get_random_vector_in(BoundingBox2D a) -> Vector2D
12150  get_random_vector_in(BoundingBox3D a) -> Vector3D
12151  get_random_vector_in(BoundingBox4D a) -> Vector4D
12152  get_random_vector_in(BoundingBox5D a) -> Vector5D
12153  get_random_vector_in(BoundingBox6D a) -> Vector6D
12154  get_random_vector_in(BoundingBoxKD a) -> VectorKD
12155  """
12156  return _IMP_algebra.get_random_vector_in(*args)
12157 
12158 def get_intersection(*args):
12159  """
12160  get_intersection(BoundingBox1D a, BoundingBox1D b) -> BoundingBox1D
12161  get_intersection(BoundingBox2D a, BoundingBox2D b) -> BoundingBox2D
12162  get_intersection(BoundingBox3D a, BoundingBox3D b) -> BoundingBox3D
12163  get_intersection(BoundingBox4D a, BoundingBox4D b) -> BoundingBox4D
12164  get_intersection(BoundingBox5D a, BoundingBox5D b) -> BoundingBox5D
12165  get_intersection(BoundingBox6D a, BoundingBox6D b) -> BoundingBox6D
12166  get_intersection(BoundingBoxKD a, BoundingBoxKD b) -> BoundingBoxKD
12167  """
12168  return _IMP_algebra.get_intersection(*args)
12169 
12170 def get_union(*args):
12171  """
12172  get_union(BoundingBox1D a, BoundingBox1D b) -> BoundingBox1D
12173  get_union(BoundingBox2D a, BoundingBox2D b) -> BoundingBox2D
12174  get_union(BoundingBox3D a, BoundingBox3D b) -> BoundingBox3D
12175  get_union(BoundingBox4D a, BoundingBox4D b) -> BoundingBox4D
12176  get_union(BoundingBox5D a, BoundingBox5D b) -> BoundingBox5D
12177  get_union(BoundingBox6D a, BoundingBox6D b) -> BoundingBox6D
12178  get_union(BoundingBoxKD a, BoundingBoxKD b) -> BoundingBoxKD
12179  """
12180  return _IMP_algebra.get_union(*args)
12181 
12182 def get_bounding_box(*args):
12183  """
12184  get_bounding_box(Line3D g) -> BoundingBox3D
12185  get_bounding_box(Segment3D g) -> BoundingBox3D
12186  get_bounding_box(Plane3D g) -> BoundingBox3D
12187  get_bounding_box(Cylinder3D g) -> BoundingBox3D
12188  get_bounding_box(Ellipsoid3D g) -> BoundingBox3D
12189  get_bounding_box(SpherePatch3D g) -> BoundingBox3D
12190  get_bounding_box(Cone3D g) -> BoundingBox3D
12191  get_bounding_box(Sphere1D a) -> BoundingBox1D
12192  get_bounding_box(Sphere2D a) -> BoundingBox2D
12193  get_bounding_box(Sphere3D a) -> BoundingBox3D
12194  get_bounding_box(Sphere4D a) -> BoundingBox4D
12195  get_bounding_box(Sphere5D a) -> BoundingBox5D
12196  get_bounding_box(Sphere6D a) -> BoundingBox6D
12197  get_bounding_box(SphereKD a) -> BoundingBoxKD
12198  """
12199  return _IMP_algebra.get_bounding_box(*args)
12200 
12201 def get_uniform_surface_cover(*args):
12202  """
12203  get_uniform_surface_cover(Cylinder3D cyl, int number_of_points) -> IMP::algebra::Vector3Ds
12204  get_uniform_surface_cover(SpherePatch3D sph, unsigned int number_of_points) -> IMP::algebra::Vector3Ds
12205  get_uniform_surface_cover(Cone3D cone, unsigned int number_of_points) -> IMP::algebra::Vector3Ds
12206  get_uniform_surface_cover(IMP::algebra::Sphere3Ds const & arg1, double points_per_square_angstrom) -> IMP::algebra::Vector3Ds
12207  get_uniform_surface_cover(Sphere1D a, unsigned int const & b) -> IMP::algebra::Vector1Ds
12208  get_uniform_surface_cover(Sphere2D a, unsigned int const & b) -> IMP::algebra::Vector2Ds
12209  get_uniform_surface_cover(Sphere3D a, unsigned int const & b) -> IMP::algebra::Vector3Ds
12210  get_uniform_surface_cover(Sphere4D a, unsigned int const & b) -> IMP::algebra::Vector4Ds
12211  get_uniform_surface_cover(Sphere5D a, unsigned int const & b) -> IMP::algebra::Vector5Ds
12212  get_uniform_surface_cover(Sphere6D a, unsigned int const & b) -> IMP::algebra::Vector6Ds
12213  get_uniform_surface_cover(SphereKD a, unsigned int const & b) -> IMP::algebra::VectorKDs
12214  """
12215  return _IMP_algebra.get_uniform_surface_cover(*args)
12216 
12218  """
12219  get_grid_interior_cover_by_spacing(BoundingBox1D a, double const & b) -> IMP::algebra::Vector1Ds
12220  get_grid_interior_cover_by_spacing(BoundingBox2D a, double const & b) -> IMP::algebra::Vector2Ds
12221  get_grid_interior_cover_by_spacing(BoundingBox3D a, double const & b) -> IMP::algebra::Vector3Ds
12222  get_grid_interior_cover_by_spacing(BoundingBox4D a, double const & b) -> IMP::algebra::Vector4Ds
12223  get_grid_interior_cover_by_spacing(BoundingBox5D a, double const & b) -> IMP::algebra::Vector5Ds
12224  get_grid_interior_cover_by_spacing(BoundingBox6D a, double const & b) -> IMP::algebra::Vector6Ds
12225  get_grid_interior_cover_by_spacing(BoundingBoxKD a, double const & b) -> IMP::algebra::VectorKDs
12226  """
12227  return _IMP_algebra.get_grid_interior_cover_by_spacing(*args)
12228 class _AxisAnglePair(object):
12229  """Proxy of C++ std::pair<(IMP::algebra::VectorD<(3)>,double)> class."""
12230 
12231  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12232  __repr__ = _swig_repr
12233 
12234  def __init__(self, *args):
12235  """
12236  __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self) -> _AxisAnglePair
12237  __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self, Vector3D first, double second) -> _AxisAnglePair
12238  __init__(std::pair<(IMP::algebra::VectorD<(3)>,double)> self, _AxisAnglePair p) -> _AxisAnglePair
12239  """
12240  this = _IMP_algebra.new__AxisAnglePair(*args)
12241  try:
12242  self.this.append(this)
12243  except __builtin__.Exception:
12244  self.this = this
12245  first = _swig_property(_IMP_algebra._AxisAnglePair_first_get, _IMP_algebra._AxisAnglePair_first_set)
12246  second = _swig_property(_IMP_algebra._AxisAnglePair_second_get, _IMP_algebra._AxisAnglePair_second_set)
12247  def __len__(self):
12248  return 2
12249  def __repr__(self):
12250  return str((self.first, self.second))
12251  def __getitem__(self, index):
12252  if not (index % 2):
12253  return self.first
12254  else:
12255  return self.second
12256  def __setitem__(self, index, val):
12257  if not (index % 2):
12258  self.first = val
12259  else:
12260  self.second = val
12261  __swig_destroy__ = _IMP_algebra.delete__AxisAnglePair
12262  __del__ = lambda self: None
12263 _AxisAnglePair_swigregister = _IMP_algebra._AxisAnglePair_swigregister
12264 _AxisAnglePair_swigregister(_AxisAnglePair)
12265 
12266 
12268  """get_transformation_aligning_first_to_second(IMP::Vector< IMP::algebra::VectorD< 3 > > const & source, IMP::Vector< IMP::algebra::VectorD< 3 > > const & target) -> Transformation3D"""
12269  return _IMP_algebra.get_transformation_aligning_first_to_second(source, target)
12270 
12271 def get_rmsd_transforming_first(tr, v0, v1):
12272  """get_rmsd_transforming_first(Transformation3D tr, IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1) -> double"""
12273  return _IMP_algebra.get_rmsd_transforming_first(tr, v0, v1)
12274 
12275 def get_rmsd(v0, v1):
12276  """get_rmsd(IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1) -> double"""
12277  return _IMP_algebra.get_rmsd(v0, v1)
12278 
12279 def get_weighted_rmsd_transforming_first(tr, v0, v1, weights):
12280  """get_weighted_rmsd_transforming_first(Transformation3D tr, IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1, IMP::Floats const & weights) -> double"""
12281  return _IMP_algebra.get_weighted_rmsd_transforming_first(tr, v0, v1, weights)
12282 
12283 def get_weighted_rmsd(v0, v1, weights):
12284  """get_weighted_rmsd(IMP::algebra::Vector3Ds const & v0, IMP::algebra::Vector3Ds const & v1, IMP::Floats const & weights) -> double"""
12285  return _IMP_algebra.get_weighted_rmsd(v0, v1, weights)
12286 
12287 LinearFit=LinearFit2D
12288 ParabolicFit=ParabolicFit2D
12289 
12290 
12291 def get_module_version():
12292  """get_module_version() -> std::string const"""
12293  return _IMP_algebra.get_module_version()
12294 
12295 def get_example_path(fname):
12296  """get_example_path(std::string fname) -> std::string"""
12297  return _IMP_algebra.get_example_path(fname)
12298 
12299 def get_data_path(fname):
12300  """get_data_path(std::string fname) -> std::string"""
12301  return _IMP_algebra.get_data_path(fname)
12302 
12303 from . import _version_check
12304 _version_check.check_version(get_module_version())
12305 __version__ = get_module_version()
12306 
12307 
12308 
bool get_is_big_endian()
Returns 1 if machine is big endian else 0.
BoundingBoxD<-1 > BoundingBoxKD
Typedef for Python.
Definition: BoundingBoxD.h:176
Rotation3D get_rotation_about_normalized_axis(const Vector3D &axis_norm, double angle)
Definition: Rotation3D.h:348
double get_height(const Surface &s, const XYZR &d)
Get height of sphere above surface.
Definition: Surface.h:129
Transformation2D get_transformation_aligning_pair(const Vector2Ds &set_from, const Vector2Ds &set_to)
Grid3D< float, DenseGridStorage3D< float > > DenseFloatGrid3D
SphereD< 4 > Sphere4D
Typedef for Python.
Definition: SphereD.h:96
SphereD< 3 > Sphere3D
Typedef for Python.
Definition: SphereD.h:96
VectorD< D > get_random_vector_on(const BoundingBoxD< D > &bb)
Generate a random vector on a box with uniform density.
void write_pts(const Vector3Ds &vs, TextOutput out)
Write a set of 3D vectors to a file.
Grid3D< int, SparseGridStorage3D< int, UnboundedGridStorage3D > > SparseUnboundedIntGrid3D
Rotation3D get_rotation_from_x_y_axes(const Vector3D &x, const Vector3D &y)
VectorD< 6 > Vector6D
Definition: VectorD.h:407
BoundingBoxD< 3 > BoundingBox3D
Typedef for Python.
Definition: BoundingBoxD.h:176
Rotation3D get_rotation_from_fixed_xyz(double xr, double yr, double zr)
Initialize a rotation in x-y-z order from three angles.
VectorD< 2 > Vector2D
Definition: VectorD.h:391
VectorD< 3 > get_random_vector_on_unit_sphere()
DenseGrid3D< double > get_rasterized(const Gaussian3Ds &gmm, const Floats &weights, double cell_width, const BoundingBox3D &bb)
Rasterize the Gaussians to a grid.
Vector3Ds get_random_chain(unsigned int n, double r, const Vector3D &start=Vector3D(0, 0, 0), const Sphere3Ds &obstacles=Sphere3Ds())
Generate a random chain with no collisions.
VectorD< D > get_zero_vector_kd(int Di)
Return a dynamically sized vector of zeros.
Definition: VectorD.h:262
Rotation2D compose(const Rotation2D &a, const Rotation2D &b)
Compose two rotations a and b.
Definition: Rotation2D.h:108
Sphere3D get_enclosing_sphere(const Sphere3Ds &ss)
Return a sphere containing the listed spheres.
VectorD< 5 > Vector5D
Definition: VectorD.h:403
Vector< VectorD< D > > get_uniform_surface_cover(const SphereD< D > &s, unsigned int n)
Generate a set of vectors which covers a sphere uniformly.
algebra::Rotation3Ds get_uniformly_sampled_rotations(double delta)
Generates a nondegenerate set of Euler angles with a delta resolution.
Vector< VectorD< D > > get_vertices(const BoundingBoxD< D > &bb)
Return a list of the 2^D bounding points for the bounding box.
Definition: BoundingBoxD.h:274
bool get_is_little_endian()
Returns 1 if machine is little endian else 0.
Triangle3D get_largest_triangle(const Vector3Ds &points)
Return the largest triangle defined by 3 points from the input.
An exception for an invalid usage of IMP.
Definition: exception.h:123
Make CGAL functionality available to IMP.
Gaussian3D get_gaussian_from_covariance(const Eigen::Matrix3d &covariance, const Vector3D &center)
Return a Gaussian centered at the origin from a covariance matrix.
IntPairs get_edges(const BoundingBoxD< 3 > &)
Return the edges of the box as indices into the vertices list.
Definition: BoundingBoxD.h:307
double get_area(const Geometry &)
Compute the area of any surface object.
BoundingBoxD< 5 > BoundingBox5D
Typedef for Python.
Definition: BoundingBoxD.h:176
SphereD< 2 > Sphere2D
Typedef for Python.
Definition: SphereD.h:96
BoundingBoxD< D > get_union(BoundingBoxD< D > a, const BoundingBoxD< D > &b)
Return the union bounding box.
Definition: BoundingBoxD.h:254
double get_squared_distance(const VectorD< D > &v1, const VectorD< D > &v2)
Compute the squared distance between two vectors.
Definition: VectorD.h:201
VT get_unit_vector(VT vt)
Returns a unit vector pointing at the same direction as this vector.
Definition: VectorBaseD.h:229
Transformation3D get_transformation_from_first_triangle_to_second(Triangle3D first_tri, Triangle3D second_tri)
Return a transformation between two triangles.
double get_ball_radius_from_volume_3d(double volume)
Return the radius of a sphere with a given volume.
Definition: Sphere3D.h:35
Eigen::MatrixXd get_gradient_of_composed_with_respect_to_second(const Rotation3D &q, const Rotation3D &p, bool projected=true)
Get gradient of quaternion product with respect to second quaternion.
double get_weighted_rmsd(const Vector3DsOrXYZs0 &m1, const Vector3DsOrXYZs1 &m2, const Floats &weights)
Vector3D get_reflected(const Plane3D &pln, const Vector3D &p)
Return the point reflected about the plane.
Definition: Plane3D.h:68
std::string get_data_path(std::string file_name)
Return the full path to one of this module's data files.
Grid3D< double, DenseGridStorage3D< double > > DenseDoubleGrid3D
Atom get_atom(Residue rd, AtomType at)
Return a particle atom from the residue.
double get_angle(const Line3D &a, const Line3D &b)
Get angle in radians between two lines around their closest points.
VectorD< 4 > Vector4D
Definition: VectorD.h:399
VectorD< D > get_ones_vector_kd(unsigned int Di, double v=1)
Return a vector of ones (or another constant)
Definition: VectorD.h:289
BoundingBoxD< 2 > BoundingBox2D
Typedef for Python.
Definition: BoundingBoxD.h:176
Rotation3D get_rotation_about_axis(const Vector3D &axis, double angle)
Generate a Rotation3D object from a rotation around an axis.
Definition: Rotation3D.h:374
VectorD<-1 > get_basis_vector_kd(int D, unsigned int coordinate)
Return a dynamically sized basis vector.
Definition: VectorD.h:235
Segment3D get_shortest_segment(const Segment3D &s, const Vector3D &p)
Vector3Ds read_pts(TextInput input)
Read a set of 3D vectors from a file.
BoundingBoxD< D > get_intersection(const BoundingBoxD< D > &a, const BoundingBoxD< D > &b)
Return the intersecting bounding box.
Definition: BoundingBoxD.h:223
IMP::algebra::Transformation3D get_transformation_aligning_first_to_second(const Vector3DsOrXYZs0 &source, const Vector3DsOrXYZs1 &target)
Compute the rigid transform bringing the first point set to the second.
Transformation2D get_rotation_about_point(const Vector2D &point, const Rotation2D &rotation)
Generate a Transformation2D object from a rotation around a point.
double get_volume(const BoundingBoxD< D > &bb)
See BoundingBoxD.
Definition: BoundingBoxD.h:163
Rotation3D get_random_rotation_3d()
Pick a rotation at random from all possible rotations.
Vector3D get_vector_product(const Vector3D &p1, const Vector3D &p2)
Return the vector product (cross product) of two vectors.
Definition: Vector3D.h:31
bool get_interiors_intersect(const BoundingBoxD< D > &a, const BoundingBoxD< D > &b)
Return true if they intersect.
Definition: BoundingBoxD.h:209
Ints get_index(const ParticlesTemp &particles, const Subset &subset, const Subsets &excluded)
Common base class for heavy weight IMP objects.
Definition: Object.h:106
FixedXYZ get_fixed_xyz_from_rotation(const Rotation3D &r)
The inverse of rotation_from_fixed_xyz()
bool get_are_colinear(const Vector3D &p1, const Vector3D &p2, const Vector3D &p3)
Return true if the three points are co-linear.
BoundingBoxD< 4 > BoundingBox4D
Typedef for Python.
Definition: BoundingBoxD.h:176
Rotation2D get_identity_rotation_2d()
Build an identity rotation in 2D.
Definition: Rotation2D.h:90
Sphere3Ds read_spheres(TextInput input)
Read a set of 3D spheres from a file.
Vector3D get_projected(const Line3D &l, const Vector3D &p)
Project a point onto the line.
Rotation3D get_rotation_from_fixed_zyz(double Rot, double Tilt, double Psi)
Generate a rotation object from Euler Angles.
SphereD< 6 > Sphere6D
Typedef for Python.
Definition: SphereD.h:96
double get_rmsd(const Vector3DsOrXYZs0 &m1, const Vector3DsOrXYZs1 &m2)
VectorD< D > get_random_vector_in(const BoundingBoxD< D > &bb)
Generate a random vector in a box with uniform density.
SphereD< 5 > Sphere5D
Typedef for Python.
Definition: SphereD.h:96
BoundingBoxD<-1 > get_unit_bounding_box_kd(unsigned int d)
Box with radius one.
Definition: BoundingBoxD.h:187
Version and module information for Objects.
Definition: VersionInfo.h:28
double get_radius_of_gyration(const Vector3Ds &ps)
Return the radius of gyration of a set of points.
Definition: Vector3D.h:77
std::pair< Vector3D, double > get_axis_and_angle(const Rotation3D &rot)
Decompose a Rotation3D object into a rotation around an axis.
VectorD< 1 > Vector1D
Definition: VectorD.h:387
FloatPair get_surface_area_and_volume(const algebra::Sphere3Ds &ss)
Get surface area & volume of the union of the balls bounded by the spheres.
Transformation3Ds get_alignments_from_first_to_second(const PrincipalComponentAnalysisD< 3 > &pca1, const PrincipalComponentAnalysisD< 3 > &pca2)
Get all alignments of the first principal component system to the second one.
SphereD< 1 > Sphere1D
Typedef for Python.
Definition: SphereD.h:96
Rotation3D get_interpolated(const Rotation3D &a, const Rotation3D &b, double f)
Interpolate between two rotations.
Definition: Rotation3D.h:545
Rotation3D get_rotation_from_vector4d(const VectorD< 4 > &v)
Compute a rotation from an unnormalized quaternion.
Definition: Rotation3D.h:441
BoundingBoxD<-1 > get_cube_kd(unsigned int d, double radius)
Cube with radius of length side.
Definition: BoundingBoxD.h:201
Rotation3D get_rotation_taking_first_to_second(const Vector3D &v1, const Vector3D &v2)
Create a rotation from the first vector to the second one.
Rotation3Ds get_uniform_cover_rotations_3d(unsigned int num_points)
Cover the space of rotations evenly.
PrincipalComponentAnalysisD< D > get_principal_components(const Vector< VectorD< D > > &ps)
Perform principal components analysis on a set of vectors.
Rotation2D get_rotation_to_x_axis(const Vector2D &v)
Definition: Rotation2D.h:100
Vector3D get_centroid(const Vector3Ds &ps)
Return the centroid of a set of vectors.
Definition: Vector3D.h:68
std::ostream & show(Hierarchy h, std::ostream &out=std::cout)
Print the hierarchy using a given decorator to display each node.
Transformation3D get_identity_transformation_3d()
Return a transformation that does not do anything.
void reversed_read(void *dest, size_t size, size_t nitems, std::ifstream &f, bool reverse)
Reads from file in normal or reverse order.
Rotation3D get_rotation_from_matrix(double m00, double m01, double m02, double m10, double m11, double m12, double m20, double m21, double m22)
Generate a Rotation3D object from a rotation matrix.
Transformation3D get_transformation_3d(const Transformation2D &t2d)
Build a 3D transformation from a 2D one.
double get_relative_projection_on_segment(const Segment3D &s, const algebra::Vector3D &p)
Return the 'relative' projection of a point p onto the line that contains s.
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
Eigen::Matrix3d get_covariance(const Gaussian3D &g)
VectorD< 3 > Vector3D
Definition: VectorD.h:395
Rotation3D get_identity_rotation_3d()
Return a rotation that does not do anything.
Definition: Rotation3D.h:309
void write_spheres(const Sphere3Ds &vs, TextOutput out)
Write a set of 3D spheres to a file.
Sphere3Ds get_simplified_from_volume(Sphere3Ds in, double maximum_allowed_error_angstroms)
Get a set of balls that approximates the surface of the passed set.
void reversed_write(const void *src, size_t size, size_t nitems, std::ofstream &f, bool reverse=false)
Writes to a file in normal or reversed order.
Eigen::MatrixXd get_gradient_of_composed_with_respect_to_first(const Rotation3D &q, const Rotation3D &p, bool projected=true)
Get gradient of quaternion product with respect to first quaternion.
algebra::Segment3D get_segment_connecting_first_to_second(const Line3D &a, const Line3D &b)
Get shortest possible segment from the first line to the second.
Vector< VectorD< D > > get_grid_interior_cover_by_spacing(const BoundingBoxD< D > &bb, double s)
DenseGrid3D< double > get_rasterized_fast(const Gaussian3Ds &gmm, const Floats &weights, double cell_width, const BoundingBox3D &bb, double factor=2.5)
Rasterize the Gaussians to a grid.
Vector3D get_orthogonal_vector(const Vector3D &v)
Return a vector that is perpendicular to the given vector.
Definition: Vector3D.h:51
double get_surface_area(const Geometry &)
Compute the surface area of any volumetric object.
double get_rmsd_transforming_first(const Transformation3D &tr, const Vector3DsOrXYZs0 &m1, const Vector3DsOrXYZs1 &m2)
Calculate the root mean square deviation between two sets of 3D points.
VectorD<-1 > VectorKD
Definition: VectorD.h:411
BoundingBoxD< 6 > BoundingBox6D
Typedef for Python.
Definition: BoundingBoxD.h:176
SphereD<-1 > SphereKD
Typedef for Python.
Definition: SphereD.h:96
ParticleIndexes get_indexes(const ParticlesTemp &ps)
DensityMap * get_segment(DensityMap *map_to_segment, int nx_start, int nx_end, int ny_start, int ny_end, int nz_start, int nz_end)
Get a segment of the map according to xyz indexes.
Vector3Ds get_grid_surface_cover(const Cylinder3D &cyl, int number_of_cycles, int number_of_points_on_cycle)
Generate a grid of 3d points on a cylinder surface.
Rotation3D get_rotation_from_fixed_zxz(double phi, double theta, double psi)
Initialize a rotation from Euler angles.
BoundingBoxD< 1 > BoundingBox1D
Typedef for Python.
Definition: BoundingBoxD.h:176
double get_distance(const Line3D &s, const Vector3D &p)
Get closest distance between a line and a point.
Transformation3D get_random_local_transformation(Vector3D origin, double max_translation=5., double max_angle_in_rad=0.26)
Get a local transformation.
Transformation2D get_identity_transformation_2d()
Return a transformation that does not do anything.
ConnollySurfacePoints get_connolly_surface(const algebra::Sphere3Ds &spheres, double density, double probe_radius)
Rotation2D get_random_rotation_2d()
Build an identity rotation in 2D.
Definition: Rotation2D.h:93