File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -288,7 +288,7 @@ def __init__(
288288 x = tuple (jnp .asarray ((x_ - a ) / (b - a )) for x_ in x )
289289
290290 def f (c : Array ) -> Array :
291- """
291+ r """
292292 The N-variate Bernstein polynomial on a regular grid
293293 of points.
294294
@@ -323,7 +323,7 @@ def __init__(
323323 a : np .ndarray | Any = 0.0 ,
324324 b : np .ndarray | Any = 1.0 ,
325325 ):
326- """
326+ r """
327327 Creates a new instance of this class.
328328
329329 :param c: The prior coefficients :math:`c \in \mathbb{R}^{k + 1}`.
@@ -335,10 +335,10 @@ def __init__(
335335 b = jnp .asarray (b ) if isinstance (b , np .ndarray ) else jnp .full (N , b )
336336
337337 def f (c : Array , x : Array ) -> Array :
338- """
338+ r """
339339 Evaluates an N-variate Bernstein polynomial on a single point.
340340
341- :param c: The coefficients :math:`b \in \mathbb{R}^{k + 1}`.
341+ :param c: The coefficients :math:`c \in \mathbb{R}^{k + 1}`.
342342 :param x: The point :math:`x \in \mathbb{R}^{N}`.
343343 """
344344 return b_poly_point (c , (x - a ) / (b - a ))
You can’t perform that action at this time.
0 commit comments