linear_algebra

Bindings for numeric::linear_algebra namespace

class pyrosetta.rosetta.numeric.linear_algebra.EllipseParameters

Bases: pybind11_builtins.pybind11_object

Container class for ellipse parameters

add_buffer(self: pyrosetta.rosetta.numeric.linear_algebra.EllipseParameters, major_buffer: float, minor_buffer: float) None

Add buffer to major & minor radius

C++: numeric::linear_algebra::EllipseParameters::add_buffer(double, double) –> void

assign(self: pyrosetta.rosetta.numeric.linear_algebra.EllipseParameters, : pyrosetta.rosetta.numeric.linear_algebra.EllipseParameters) pyrosetta.rosetta.numeric.linear_algebra.EllipseParameters

C++: numeric::linear_algebra::EllipseParameters::operator=(const class numeric::linear_algebra::EllipseParameters &) –> class numeric::linear_algebra::EllipseParameters &

center_h(self: pyrosetta.rosetta.numeric.linear_algebra.EllipseParameters) float

Get the x-coordinate of the ellipse center

C++: numeric::linear_algebra::EllipseParameters::center_h() const –> double

center_k(self: pyrosetta.rosetta.numeric.linear_algebra.EllipseParameters) float

Get the y-coordinate of the ellipse center

C++: numeric::linear_algebra::EllipseParameters::center_k() const –> double

clone(self: pyrosetta.rosetta.numeric.linear_algebra.EllipseParameters) pyrosetta.rosetta.numeric.linear_algebra.EllipseParameters

C++: numeric::linear_algebra::EllipseParameters::clone() const –> class std::shared_ptr<class numeric::linear_algebra::EllipseParameters>

major_radius(self: pyrosetta.rosetta.numeric.linear_algebra.EllipseParameters) float

Get the major radius length of the ellipse

C++: numeric::linear_algebra::EllipseParameters::major_radius() const –> double

minor_radius(self: pyrosetta.rosetta.numeric.linear_algebra.EllipseParameters) float

Get the minor radius length of the ellipse

C++: numeric::linear_algebra::EllipseParameters::minor_radius() const –> double

rotation(self: pyrosetta.rosetta.numeric.linear_algebra.EllipseParameters) pyrosetta.rosetta.numeric.MathMatrix_double_t

2D matrix defining the ellipse rotation

C++: numeric::linear_algebra::EllipseParameters::rotation() const –> class numeric::MathMatrix<double>

pyrosetta.rosetta.numeric.linear_algebra.epslon(x: float) float

C++: numeric::linear_algebra::epslon(const double &) –> double

pyrosetta.rosetta.numeric.linear_algebra.minimum_bounding_ellipse(*args, **kwargs)

Overloaded function.

  1. minimum_bounding_ellipse(points: pyrosetta.rosetta.utility.vector1_numeric_xyzVector_double_t, tolerance: float) -> pyrosetta.rosetta.numeric.linear_algebra.EllipseParameters

  2. minimum_bounding_ellipse(points: pyrosetta.rosetta.utility.vector1_numeric_xyzVector_double_t, tolerance: float, max_iterations: int) -> pyrosetta.rosetta.numeric.linear_algebra.EllipseParameters

Use the Khachiyan Algorithm to compute the minimum volume enclosing ellipsoid given a set of (x,y) data points

C++: numeric::linear_algebra::minimum_bounding_ellipse(class utility::vector1<class numeric::xyzVector<double>, class std::allocator<class numeric::xyzVector<double> > >, double, unsigned long) –> class std::shared_ptr<class numeric::linear_algebra::EllipseParameters>

pyrosetta.rosetta.numeric.linear_algebra.non_square_transpose(matrix_in: pyrosetta.rosetta.numeric.MathMatrix_double_t) pyrosetta.rosetta.numeric.MathMatrix_double_t
Calculate the transpose of a non-square MathMatrix

and return the result as a new MathMatrix

C++: numeric::linear_algebra::non_square_transpose(class numeric::MathMatrix<double>) –> class numeric::MathMatrix<double>

pyrosetta.rosetta.numeric.linear_algebra.point_in_ellipse(p: pyrosetta.rosetta.numeric.xyzVector_double_t, h: float, k: float, a: float, b: float, rotation: pyrosetta.rosetta.numeric.MathMatrix_double_t) bool

Check whether a given test point lies within an ellipse

C++: numeric::linear_algebra::point_in_ellipse(class numeric::xyzVector<double>, const double, const double, const double, const double, class numeric::MathMatrix<double>) –> bool

pyrosetta.rosetta.numeric.linear_algebra.sum_of_square_differences(old_u: pyrosetta.rosetta.numeric.MathMatrix_double_t, new_u: pyrosetta.rosetta.numeric.MathMatrix_double_t) float
Calculate the sum-of-square differences between

values stored in two vector1 objects

C++: numeric::linear_algebra::sum_of_square_differences(class numeric::MathMatrix<double>, class numeric::MathMatrix<double>) –> double

pyrosetta.rosetta.numeric.linear_algebra.svdcmp(a: pyrosetta.rosetta.utility.vector1_utility_vector1_double_std_allocator_double_t, m: int, n: int, w: pyrosetta.rosetta.utility.vector1_double, v: pyrosetta.rosetta.utility.vector1_utility_vector1_double_std_allocator_double_t) None

C++: numeric::linear_algebra::svdcmp(class utility::vector1<class utility::vector1<double, class std::allocator<double> >, class std::allocator<class utility::vector1<double, class std::allocator<double> > > > &, const unsigned long, const unsigned long, class utility::vector1<double, class std::allocator<double> > &, class utility::vector1<class utility::vector1<double, class std::allocator<double> >, class std::allocator<class utility::vector1<double, class std::allocator<double> > > > &) –> void