bugged stringlengths 4 228k | fixed stringlengths 0 96.3M | __index_level_0__ int64 0 481k |
|---|---|---|
def ruler_frame(lower_left, upper_right, ticks=4, sub_ticks=4, **kwds): """ Draw a frame made of 3D rulers, with major and minor ticks. INPUT: - ``lower_left`` - the lower left corner of the frame, as a list, tuple, or vector - ``upper_right`` - the upper right corner of the frame, as a list, tuple, or vector - ``t... | def ruler_frame(lower_left, upper_right, ticks=4, sub_ticks=4, **kwds): """ Draw a frame made of 3D rulers, with major and minor ticks. INPUT: - ``lower_left`` - the lower left corner of the frame, as a list, tuple, or vector - ``upper_right`` - the upper right corner of the frame, as a list, tuple, or vector - ``t... | 472,500 |
def ruler_frame(lower_left, upper_right, ticks=4, sub_ticks=4, **kwds): """ Draw a frame made of 3D rulers, with major and minor ticks. INPUT: - ``lower_left`` - the lower left corner of the frame, as a list, tuple, or vector - ``upper_right`` - the upper right corner of the frame, as a list, tuple, or vector - ``t... | def ruler_frame(lower_left, upper_right, ticks=4, sub_ticks=4, **kwds): """ Draw a frame made of 3D rulers, with major and minor ticks. INPUT: - ``lower_left`` - the lower left corner of the frame, as a list, tuple, or vector - ``upper_right`` - the upper right corner of the frame, as a list, tuple, or vector - ``t... | 472,501 |
def text3d(txt, (x,y,z), **kwds): r""" Display 3d text. INPUT: - ``txt`` - some text - ``(x,y,z)`` - position - ``**kwds`` - standard 3d graphics options .. note:: There is no way to change the font size or opacity yet. EXAMPLES: We write the word Sage in red at position (1,2,3):: sage: text3d("Sage", (1,2,3... | def text3d(txt, (x,y,z), **kwds): r""" Display 3d text. INPUT: - ``txt`` - some text - ``(x,y,z)`` - position - ``**kwds`` - standard 3d graphics options .. note:: There is no way to change the font size or opacity yet. EXAMPLES: We write the word Sage in red at position (1,2,3):: sage: text3d("Sage", (1,2,3... | 472,502 |
def text3d(txt, (x,y,z), **kwds): r""" Display 3d text. INPUT: - ``txt`` - some text - ``(x,y,z)`` - position - ``**kwds`` - standard 3d graphics options .. note:: There is no way to change the font size or opacity yet. EXAMPLES: We write the word Sage in red at position (1,2,3):: sage: text3d("Sage", (1,2,3... | deftext3d(txt,(x,y,z),**kwds):r"""Display3dtext.INPUT:-``txt``-sometext-``(x,y,z)``-position-``**kwds``-standard3dgraphicsoptions..note::Thereisnowaytochangethefontsizeoropacityyet.EXAMPLES:WewritethewordSageinredatposition(1,2,3)::sage:text3d("Sage",(1,2,3),color=(0.5,0,0))Wedrawamulticolorspiralofnumbers::sage:sum([t... | 472,503 |
def __init__(self, center, size=1, **kwds): """ Create the graphics primitive :class:`Point` in 3D. See the docstring of this class for full documentation. | def __init__(self, center, size=1, **kwds): """ Create the graphics primitive :class:`Point` in 3-D. See the docstring of this class for full documentation. | 472,504 |
def bounding_box(self): """ Returns the lower and upper corners of a 3D bounding box for self. This is used for rendering and self should fit entirely within this box. In this case, we simply return the center of the point. | def bounding_box(self): """ Returns the lower and upper corners of a 3-D bounding box for ``self``. This is used for rendering and ``self`` should fit entirely within this box. In this case, we simply return the center of the point. | 472,505 |
def tachyon_repr(self, render_params): """ Returns representation of the point suitable for plotting using Tachyon ray tracer. | def tachyon_repr(self, render_params): """ Returns representation of the point suitable for plotting using Tachyon ray tracer. | 472,506 |
def __init__(self, points, thickness=5, corner_cutoff=.5, arrow_head=False, **kwds): """ Create the graphics primitive :class:`Line` in 3D. See the docstring of this class for full documentation. | def __init__(self, points, thickness=5, corner_cutoff=.5, arrow_head=False, **kwds): """ Create the graphics primitive :class:`Line` in 3-D. See the docstring of this class for full documentation. | 472,507 |
def bounding_box(self): """ Returns the lower and upper corners of a 3D bounding box for self. This is used for rendering and self should fit entirely within this box. In this case, we return the highest and lowest values of each coordinate among all points. | def bounding_box(self): """ Returns the lower and upper corners of a 3-D bounding box for ``self``. This is used for rendering and ``self`` should fit entirely within this box. In this case, we return the highest and lowest values of each coordinate among all points. | 472,508 |
def tachyon_repr(self, render_params): """ Returns representation of the line suitable for plotting using Tachyon ray tracer. | def tachyon_repr(self, render_params): """ Returns representation of the line suitable for plotting using Tachyon ray tracer. | 472,509 |
def eval(self, command, **kwds): """ Evaluates commands. | def eval(self, command, *args, **kwds): """ Evaluates commands. | 472,510 |
def version(self): """ Returns the version of the Scilab software used. | def version(self): """ Returns the version of the Scilab software used. | 472,511 |
def _add_(self, right): """ Add quotient ring element ``self`` to another quotient ring element, ``right``. If the quotient is `R/I`, the addition is carried out in `R` and then reduced to `R/I`. | def _add_(self, right): """ Add quotient ring element ``self`` to another quotient ring element, ``right``. If the quotient is `R/I`, the addition is carried out in `R` and then reduced to `R/I`. | 472,512 |
def _sub_(self, right): """ Subtract quotient ring element ``right`` from quotient ring element ``self``. If the quotient is `R/I`, the subtraction is carried out in `R` and then reduced to `R/I`. | def _sub_(self, right): """ Subtract quotient ring element ``right`` from quotient ring element ``self``. If the quotient is `R/I`, the subtraction is carried out in `R` and then reduced to `R/I`. | 472,513 |
def _mul_(self, right): """ Multiply quotient ring element ``self`` by another quotient ring element, ``right``. If the quotient is `R/I`, the multiplication is carried out in `R` and then reduced to `R/I`. | def _mul_(self, right): """ Multiply quotient ring element ``self`` by another quotient ring element, ``right``. If the quotient is `R/I`, the multiplication is carried out in `R` and then reduced to `R/I`. | 472,514 |
def __neg__(self): """ EXAMPLES:: | def __neg__(self): """ EXAMPLES:: | 472,515 |
def __invert__(self): """ EXAMPLES:: | def __invert__(self): """ EXAMPLES:: | 472,516 |
def lt(self): """ Return the leading term of this quotient ring element. | def lt(self): """ Return the leading term of this quotient ring element. | 472,517 |
def lm(self): """ Return the leading monomial of this quotient ring element. | def lm(self): """ Return the leading monomial of this quotient ring element. | 472,518 |
def variables(self): """ EXAMPLES:: | def variables(self): """ EXAMPLES:: | 472,519 |
def monomials(self): """ EXAMPLES:: | def monomials(self): """ EXAMPLES:: | 472,520 |
def reduce(self, G): r""" Reduce this quotient ring element by a set of quotient ring elements ``G``. | def reduce(self, G): r""" Reduce this quotient ring element by a set of quotient ring elements ``G``. | 472,521 |
def is_cyclic_ordered(x1,x2,x3): return ( (x1 < x2 and x2 < x3) or (x2 < x3 and x3 < x1) or (x3 < x1 and x1 < x2)) | def is_cyclic_ordered(x1,x2,x3): return ( (x1 < x2 and x2 < x3) or (x2 < x3 and x3 < x1) or (x3 < x1 and x1 < x2)) | 472,522 |
def is_cyclic_ordered(x1,x2,x3): return ( (x1 < x2 and x2 < x3) or (x2 < x3 and x3 < x1) or (x3 < x1 and x1 < x2)) | def is_cyclic_ordered(x1,x2,x3): return ( (x1 < x2 and x2 < x3) or (x2 < x3 and x3 < x1) or (x3 < x1 and x1 < x2)) | 472,523 |
def is_cyclic_ordered(x1,x2,x3): return ( (x1 < x2 and x2 < x3) or (x2 < x3 and x3 < x1) or (x3 < x1 and x1 < x2)) | def is_cyclic_ordered(x1,x2,x3): return ( (x1 < x2 and x2 < x3) or (x2 < x3 and x3 < x1) or (x3 < x1 and x1 < x2)) | 472,524 |
def __init__(self, x, y, r1, r2, angle, s1, s2, options): """ Initializes base class Arc. | def __init__(self, x, y, r1, r2, angle, s1, s2, options): """ Initializes base class Arc. | 472,525 |
def get_minmax_data(self): """ Returns a dictionary with the bounding box data. | def get_minmax_data(self): """ Returns a dictionary with the bounding box data. | 472,526 |
def _allowed_options(self): """ Return the allowed options for the Arc class. | def _allowed_options(self): """ Return the allowed options for the Arc class. | 472,527 |
def _repr_(self): """ String representation of Arc primitive. | def _repr_(self): """ String representation of Arc primitive. | 472,528 |
def plot3d(self): r""" TESTS: | def plot3d(self): r""" TESTS: | 472,529 |
def NumberField(polynomial, name=None, check=True, names=None, cache=True, embedding=None, latex_name=None): r""" Return *the* number field defined by the given irreducible polynomial and with variable with the given name. If check is True (the default), also verify that the defining polynomial is irreducible and over ... | def NumberField(polynomial, name=None, check=True, names=None, cache=True, embedding=None, latex_name=None): r""" Return *the* number field defined by the given irreducible polynomial and with variable with the given name. If check is True (the default), also verify that the defining polynomial is irreducible and over ... | 472,530 |
def NumberField(polynomial, name=None, check=True, names=None, cache=True, embedding=None, latex_name=None): r""" Return *the* number field defined by the given irreducible polynomial and with variable with the given name. If check is True (the default), also verify that the defining polynomial is irreducible and over ... | def NumberField(polynomial, name=None, check=True, names=None, cache=True, embedding=None, latex_name=None): r""" Return *the* number field defined by the given irreducible polynomial and with variable with the given name. If check is True (the default), also verify that the defining polynomial is irreducible and over ... | 472,531 |
def __init__(self, polynomial, name=None, check=True, embedding=None, latex_name=None): """ Create a quadratic number field. | def __init__(self, polynomial, name=None, latex_name=None, check=True, embedding=None): """ Create a quadratic number field. | 472,532 |
... def __reduce__(self): | ... def __reduce__(self): | 472,533 |
def tau_to_bitrade(t1, t2, t3): """ Given permutations t1, t2, t3 that represent a latin bitrade, convert them to an explicit latin bitrade (T1, T2). The result is unique up to isotopism. EXAMPLE:: sage: from sage.combinat.matrices.latin import * sage: T1 = back_circulant(5) sage: x = isotopism( (0,1,2,3,4) ) sage: y... | def tau_to_bitrade(t1, t2, t3): """ Given permutations t1, t2, t3 that represent a latin bitrade, convert them to an explicit latin bitrade (T1, T2). The result is unique up to isotopism. EXAMPLE:: sage: from sage.combinat.matrices.latin import * sage: T1 = back_circulant(5) sage: x = isotopism( (0,1,2,3,4) ) sage: y... | 472,534 |
def is_row_and_col_balanced(T1, T2): """ Partial latin squares T1 and T2 are balanced if the symbols appearing in row r of T1 are the same as the symbols appearing in row r of T2, for each r, and if the same condition holds on columns. EXAMPLES:: sage: from sage.combinat.matrices.latin import * sage: T1 = matrix([[0,... | def is_row_and_col_balanced(T1, T2): """ Partial latin squares T1 and T2 are balanced if the symbols appearing in row r of T1 are the same as the symbols appearing in row r of T2, for each r, and if the same condition holds on columns. EXAMPLES:: sage: from sage.combinat.matrices.latin import * sage: T1 = matrix([[0,... | 472,535 |
def is_row_and_col_balanced(T1, T2): """ Partial latin squares T1 and T2 are balanced if the symbols appearing in row r of T1 are the same as the symbols appearing in row r of T2, for each r, and if the same condition holds on columns. EXAMPLES:: sage: from sage.combinat.matrices.latin import * sage: T1 = matrix([[0,... | def is_row_and_col_balanced(T1, T2): """ Partial latin squares T1 and T2 are balanced if the symbols appearing in row r of T1 are the same as the symbols appearing in row r of T2, for each r, and if the same condition holds on columns. EXAMPLES:: sage: from sage.combinat.matrices.latin import * sage: T1 = matrix([[0,... | 472,536 |
def spherical_plot3d(f, urange, vrange, **kwds): """ Plots a function in spherical coordinates. This function is equivalent to:: sage: r,u,v=var('r,u,v') sage: f=u*v; urange=(u,0,pi); vrange=(v,0,pi) sage: T = (r*cos(u)*sin(v), r*sin(u)*sin(v), r*cos(v), [u,v]) sage: plot3d(f, urange, vrange, transformation=T) or eq... | def spherical_plot3d(f, urange, vrange, **kwds): """ Plots a function in spherical coordinates. This function is equivalent to:: sage: r,u,v=var('r,u,v') sage: f=u*v; urange=(u,0,pi); vrange=(v,0,pi) sage: T = (r*cos(u)*sin(v), r*sin(u)*sin(v), r*cos(v), [u,v]) sage: plot3d(f, urange, vrange, transformation=T) or eq... | 472,537 |
def __call__(cls, *args, **options): """ This method implements ``cls(<some arguments>)``. | def __call__(cls, *args, **options): """ This method implements ``cls(<some arguments>)``. | 472,538 |
... def __classcall__(cls): | ... def __classcall__(cls): | 472,539 |
... def __init__(self): | ... def __init__(self): | 472,540 |
... def __init__(self): | ... def __init__(self): | 472,541 |
... def __init__(self): | ... def __init__(self): | 472,542 |
def RealProjectiveSpace(self, n): r""" A triangulation of `\Bold{R}P^n` for any `n \geq 0`. | def RealProjectiveSpace(self, n): r""" A triangulation of `\Bold{R}P^n` for any `n \geq 0`. | 472,543 |
def RealProjectiveSpace(self, n): r""" A triangulation of `\Bold{R}P^n` for any `n \geq 0`. | def RealProjectiveSpace(self, n): r""" A triangulation of `\Bold{R}P^n` for any `n \geq 0`. | 472,544 |
def RealProjectiveSpace(self, n): r""" A triangulation of `\Bold{R}P^n` for any `n \geq 0`. | def RealProjectiveSpace(self, n): r""" A triangulation of `\Bold{R}P^n` for any `n \geq 0`. | 472,545 |
def RealProjectiveSpace(self, n): r""" A triangulation of `\Bold{R}P^n` for any `n \geq 0`. | def RealProjectiveSpace(self, n): r""" A triangulation of `\Bold{R}P^n` for any `n \geq 0`. | 472,546 |
cdef RealNumber result = domain(fn(*py_args)) | cdef RealNumber result = domain(fn(*py_args)) | 472,547 |
def write_interpreter(self, write): r""" Generate the code for the C interpreter. | def write_interpreter(self, write): r""" Generate the code for the C interpreter. | 472,548 |
def write_interpreter(self, write): r""" Generate the code for the C interpreter. | def write_interpreter(self, write): r""" Generate the code for the C interpreter. | 472,549 |
def write_wrapper(self, write): r""" Generate the code for the Cython wrapper. This function calls its write parameter successively with strings; when these strings are concatenated, the result is the code for the wrapper. | def write_wrapper(self, write): r""" Generate the code for the Cython wrapper. This function calls its write parameter successively with strings; when these strings are concatenated, the result is the code for the wrapper. | 472,550 |
def write_wrapper(self, write): r""" Generate the code for the Cython wrapper. This function calls its write parameter successively with strings; when these strings are concatenated, the result is the code for the wrapper. | def write_wrapper(self, write): r""" Generate the code for the Cython wrapper. This function calls its write parameter successively with strings; when these strings are concatenated, the result is the code for the wrapper. | 472,551 |
def write_pxd(self, write): r""" Generate the pxd file for the Cython wrapper. This function calls its write parameter successively with strings; when these strings are concatenated, the result is the code for the pxd file. | def write_pxd(self, write): r""" Generate the pxd file for the Cython wrapper. This function calls its write parameter successively with strings; when these strings are concatenated, the result is the code for the pxd file. | 472,552 |
def write_pxd(self, write): r""" Generate the pxd file for the Cython wrapper. This function calls its write parameter successively with strings; when these strings are concatenated, the result is the code for the pxd file. | def write_pxd(self, write): r""" Generate the pxd file for the Cython wrapper. This function calls its write parameter successively with strings; when these strings are concatenated, the result is the code for the pxd file. | 472,553 |
def get_interpreter(self): r""" Returns the code for the C interpreter. | def get_interpreter(self): r""" Returns the code for the C interpreter. | 472,554 |
def get_wrapper(self): r""" Returns the code for the Cython wrapper. | def get_wrapper(self): r""" Returns the code for the Cython wrapper. | 472,555 |
def get_pxd(self): r""" Returns the code for the Cython .pxd file. | def get_pxd(self): r""" Returns the code for the Cython .pxd file. | 472,556 |
def get_pxd(self): r""" Returns the code for the Cython .pxd file. | def get_pxd(self): r""" Returns the code for the Cython .pxd file. | 472,557 |
def build_interp(interp_spec, dir): r""" Given an InterpreterSpec, writes the C interpreter and the Cython wrapper (generates a pyx and a pxd file). EXAMPLES: sage: from sage.ext.gen_interpreters import * sage: testdir = tmp_filename() sage: os.mkdir(testdir) sage: rdf_interp = RDFInterpreter() sage: build_interp(rdf_... | def build_interp(interp_spec, dir): r""" Given an InterpreterSpec, writes the C interpreter and the Cython wrapper (generates a pyx and a pxd file). EXAMPLES: sage: from sage.ext.gen_interpreters import * sage: testdir = tmp_filename() sage: os.mkdir(testdir) sage: rdf_interp = RDFInterpreter() sage: build_interp(rdf_... | 472,558 |
def rebuild(dir): r""" Check whether the interpreter and wrapper sources have been written since the last time this module was changed. If not, write them. EXAMPLES: sage: from sage.ext.gen_interpreters import * sage: testdir = tmp_filename() sage: os.mkdir(testdir) sage: rebuild(testdir) Building interpreters for fa... | def rebuild(dir): r""" Check whether the interpreter and wrapper sources have been written since the last time this module was changed. If not, write them. EXAMPLES: sage: from sage.ext.gen_interpreters import * sage: testdir = tmp_filename() sage: os.mkdir(testdir) sage: rebuild(testdir) Building interpreters for fa... | 472,559 |
def __cmp__(self, right): r""" Compare ``self`` and ``right``. | def __cmp__(self, right): r""" Compare ``self`` and ``right``. | 472,560 |
def __init__(self, parent, value, check=True): """ Create element of a finite field. | def __init__(self, parent, value, check=True): """ Create element of a finite field. | 472,561 |
def get_fake_div(self, ex): """ EXAMPLES:: | def get_fake_div(self, ex): """ EXAMPLES:: | 472,562 |
def get_fake_div(self, ex): """ EXAMPLES:: | def get_fake_div(self, ex): """ EXAMPLES:: | 472,563 |
def arithmetic(self, ex, operator): r""" EXAMPLES:: | def arithmetic(self, ex, operator): r""" EXAMPLES:: | 472,564 |
def iter_morphisms(self, arg=None, codomain=None, min_length=1): r""" Iterate over all morphisms with domain ``self`` and the given codmain. | def iter_morphisms(self, arg=None, codomain=None, min_length=1): r""" Iterate over all morphisms with domain ``self`` and the given codmain. | 472,565 |
def iter_morphisms(self, arg=None, codomain=None, min_length=1): r""" Iterate over all morphisms with domain ``self`` and the given codmain. | def iter_morphisms(self, arg=None, codomain=None, min_length=1): r""" Iterate over all morphisms with domain ``self`` and the given codmain. | 472,566 |
def get_colors(self, list): """ Parameters: list: an iterable collection of values which can be cast into colors -- typically an RGB triple, or an RGBA 4-tuple | def get_colors(self, list): """ Parameters: list: an iterable collection of values which can be cast into colors -- typically an RGB triple, or an RGBA 4-tuple | 472,567 |
def eliminate_linear_variables(self, maxlength=3, skip=lambda lm,tail: False): """ Return a new system where "linear variables" are eliminated. | def eliminate_linear_variables(self, maxlength=3, skip=lambda lm,tail: False): """ Return a new system where "linear variables" are eliminated. | 472,568 |
def modular_symbol(self, sign=1, use_eclib = False, normalize = "L_ratio"): r""" Return the modular symbol associated to this elliptic curve, with given sign and base ring. This is the map that sends `r/s` to a fixed multiple of the integral of `2 \pi i f(z) dz` from `\infty` to `r/s`, normalized so that all values of... | def modular_symbol(self, sign=1, use_eclib = False, normalize = "L_ratio"): r""" Return the modular symbol associated to this elliptic curve, with given sign and base ring. This is the map that sends `r/s` to a fixed multiple of the integral of `2 \pi i f(z) dz` from `\infty` to `r/s`, normalized so that all values of... | 472,569 |
def modular_symbol(self, sign=1, use_eclib = False, normalize = "L_ratio"): r""" Return the modular symbol associated to this elliptic curve, with given sign and base ring. This is the map that sends `r/s` to a fixed multiple of the integral of `2 \pi i f(z) dz` from `\infty` to `r/s`, normalized so that all values of... | def modular_symbol(self, sign=1, use_eclib = False, normalize = "L_ratio"): r""" Return the modular symbol associated to this elliptic curve, with given sign and base ring. This is the map that sends `r/s` to a fixed multiple of the integral of `2 \pi i f(z) dz` from `\infty` to `r/s`, normalized so that all values of... | 472,570 |
def regulator_of_points(self, points=[], precision=None): """ Returns the regulator of the given points on this curve. | def regulator_of_points(self, points=[], precision=None): """ Returns the regulator of the given points on this curve. | 472,571 |
def ChainPoset(self, n): """ Returns a chain (a totally ordered poset) containing ``n`` elements. | def ChainPoset(self, n): """ Returns a chain (a totally ordered poset) containing ``n`` elements. | 472,572 |
def AntichainPoset(self, n): """ Returns an antichain (a poset with no comparable elements) containing ``n`` elements. | def AntichainPoset(self, n): """ Returns an antichain (a poset with no comparable elements) containing ``n`` elements. | 472,573 |
def search_doc(string, extra1='', extra2='', extra3='', extra4='', extra5='', **kwds): """ Search Sage HTML documentation for lines containing ``string``. The search is case-sensitive. The file paths in the output are relative to ``$SAGE_ROOT/devel/sage/doc/output``. INPUT: same as for :func:`search_src`. OUTPUT: sa... | def search_doc(string, extra1='', extra2='', extra3='', extra4='', extra5='', **kwds): """ Search Sage HTML documentation for lines containing ``string``. The search is case-sensitive. The file paths in the output are relative to ``$SAGE_ROOT/devel/sage/doc/output``. INPUT: same as for :func:`search_src`. OUTPUT: sa... | 472,574 |
'@square...def g(x)...' | '@square...def g(x)...' | 472,575 |
def __init__(self, base_ring, name="x", sparse=False, element_class=None, implementation=None): """ TESTS: sage: from sage.rings.polynomial.polynomial_ring import PolynomialRing_field as PRing sage: R = PRing(QQ, 'x'); R Univariate Polynomial Ring in x over Rational Field sage: type(R.gen()) <class 'sage.rings.polynomi... | def __init__(self, base_ring, name="x", sparse=False, element_class=None, implementation=None): """ TESTS: sage: from sage.rings.polynomial.polynomial_ring import PolynomialRing_field as PRing sage: R = PRing(QQ, 'x'); R Univariate Polynomial Ring in x over Rational Field sage: type(R.gen()) <class 'sage.rings.polynomi... | 472,576 |
def is_overfull(self): r""" Tests whether the current graph is overfull. | def is_overfull(self): r""" Tests whether the current graph is overfull. | 472,577 |
def is_overfull(self): r""" Tests whether the current graph is overfull. | def is_overfull(self): r""" Tests whether the current graph is overfull. | 472,578 |
def is_overfull(self): r""" Tests whether the current graph is overfull. | def is_overfull(self): r""" Tests whether the current graph is overfull. | 472,579 |
def install_packages(self, package_name): """ Install an R package into Sage's R installation. | def install_packages(self, package_name): """ Install an R package into Sage's R installation. | 472,580 |
def install_packages(self, package_name): """ Install an R package into Sage's R installation. | def install_packages(self, package_name): """ Install an R package into Sage's R installation. | 472,581 |
def random_element(self, prec, bound=None): r""" Return a random power series. | def random_element(self, prec=None, *args, **kwds): r""" Return a random power series. | 472,582 |
def random_element(self, prec, bound=None): r""" Return a random power series. | def random_element(self, prec, bound=None): r""" Return a random power series. | 472,583 |
def random_element(self, prec, bound=None): r""" Return a random power series. | def random_element(self, prec, bound=None): r""" Return a random power series. | 472,584 |
def random_element(self, prec, bound=None): r""" Return a random power series. | def random_element(self, prec, bound=None): r""" Return a random power series. | 472,585 |
def random_element(self, prec, bound=None): r""" Return a random power series. | def random_element(self, prec, bound=None): r""" Return a random power series. | 472,586 |
def rim(self): r""" Returns the rim of ``self`` | def rim(self): r""" Returns the rim of ``self`` | 472,587 |
def rim(self): r""" Returns the rim of ``self`` | def rim(self): r""" Returns the rim of ``self`` | 472,588 |
def outer_rim(self): """ Returns the outer rim of ``self`` | def outer_rim(self): """ Returns the outer rim of ``self`` | 472,589 |
def outer_rim(self): """ Returns the outer rim of ``self`` | def outer_rim(self): """ Returns the outer rim of ``self`` | 472,590 |
def KolakoskiWord(self, alphabet=(1,2)): r""" Returns the Kolakoski word over the given alphabet and starting with the first letter of the alphabet. | def KolakoskiWord(self, alphabet=(1,2)): r""" Returns the Kolakoski word over the given alphabet and starting with the first letter of the alphabet. | 472,591 |
def KolakoskiWord(self, alphabet=(1,2)): r""" Returns the Kolakoski word over the given alphabet and starting with the first letter of the alphabet. | def KolakoskiWord(self, alphabet=(1,2)): r""" Returns the Kolakoski word over the given alphabet and starting with the first letter of the alphabet. | 472,592 |
def pn(self, n): """ Return the number of the `n`-th partial convergent, computed using the recurrence. | def pn(self, n): """ Return the numerator of the `n`-th partial convergent, computed using the recurrence. | 472,593 |
def ContinuedFractionField(): """ Return the (unique) field of all contiued fractions. EXAMPLES:: sage: ContinuedFractionField() Field of all continued fractions """ return CFF | def ContinuedFractionField(): """ Return the (unique) field of all continued fractions. EXAMPLES:: sage: ContinuedFractionField() Field of all continued fractions """ return CFF | 472,594 |
def eval(self, Vobj): r""" Evaluates the left hand side `A\vec{x}+b` on the given vertex/ray/line. | def eval(self, Vobj): r""" Evaluates the left hand side `A\vec{x}+b` on the given vertex/ray/line. | 472,595 |
def is_inequality(self): """ Returns True since this is, by construction, an inequality. | def is_inequality(self): """ Returns True since this is, by construction, an inequality. | 472,596 |
def interior_contains(self, Vobj): """ Tests whether the interior of the halfspace (excluding its boundary) defined by the inequality contains the given vertex/ray/line. | def interior_contains(self, Vobj): If you pass a vector, it is assumed to be the coordinate vector of a point:: sage: P = Polyhedron(vertices=[[1,1],[1,-1],[-1,1],[-1,-1]]) sage: p = vector(ZZ, [1,0] ) sage: [ ieq.interior_contains(p) for ieq in P.inequality_generator() ] [True, True, True, False] """ try: if Vobj.is... | 472,597 |
def is_equation(self): """ Tests if this object is an equation. By construction, it must be. | def is_equation(self): """ Tests if this object is an equation. By construction, it must be. | 472,598 |
def is_vertex(self): """ Tests if this object is a vertex. By construction it always is. | def is_vertex(self): """ Tests if this object is a vertex. By construction it always is. | 472,599 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.