ensemble_hic/forcefields.py
def gradient(self, structure):
        """
        Cython implementation of the energy gradient

        :param structure: coordinates of a structure
        :type structure: :class:`numpy.ndarray`

        :returns: gradient vector
        :rtype: :class:`numpy.ndarray`
        """        
        from ensemble_hic.forcefield_c import forcefield_gradient
        
        grad = forcefield_gradient(structure, self.bead_radii,
                                   self.bead_radii2,
                                   self.force_constant)
        
        return grad

        Cython implementation of the energy gradient

        :param structure: coordinates of a structure
        :type structure: :class:`numpy.ndarray`

        :returns: gradient vector
        :rtype: :class:`numpy.ndarray`
        
Cython implementation of the energy gradient
Cython implementation of the energy gradient
def gradient(self, structure):
        from ensemble_hic.forcefield_c import forcefield_gradient
        grad = forcefield_gradient(structure, self.bead_radii,
                                   self.bead_radii2,
                                   self.force_constant)
        return grad
def gradient ( self , structure ) : from ensemble_hic . forcefield_c import forcefield_gradient grad = forcefield_gradient ( structure , self . bead_radii , self . bead_radii2 , self . force_constant ) return grad
Cython implementation of the energy gradient
Cython implementation of the energy gradient
"""
        Cython implementation of the energy gradient

        :param structure: coordinates of a structure
        :type structure: :class:`numpy.ndarray`

        :returns: gradient vector
        :rtype: :class:`numpy.ndarray`
        """
None
:class:`numpy.ndarray`
self
structure
coordinates of a structure
coordinates of a structure