About 50 results
Open links in new tab
  1. Derivatives in C/C++? - Stack Overflow

    Jan 8, 2009 · To calculate higher order derivatives should be done using truncated taylor series. You could also apply above mentioned class to itself -- the type for the value and derivative values should …

  2. How do I compute derivative using Numpy? - Stack Overflow

    Mar 26, 2012 · How do I calculate the derivative of a function, for example y = x2+1 using numpy? Let's say, I want the value of derivative at x = 5...

  3. calculus - Python partial derivatives easy - Stack Overflow

    I'm interested in computing partial derivatives in Python. I've seen functions which compute derivatives for single variable functions, but not others. It would be great to find something that did...

  4. opengl - How to ensure screen space derivatives are present on …

    Sep 30, 2022 · The problem is not with derivatives — contrary to what you believe, they are well-defined on the edges. Nor is the lack of anisotropic filtering — because it happens at non-oblique angles too.

  5. python - Savitzky-Golay derivatives, computed with SciPy's signal ...

    May 6, 2020 · I'm computing the first and second derivatives of a signal and then plot. I chose the Savitzky-Golay filter as implemented in SciPy (signal module). I'm wondering if the output needs to …

  6. Interpolate eigen splines with derivatives - Stack Overflow

    Apr 2, 2024 · Eigen::MatrixXd derivatives(2, 1); derivatives.setZero(); // Derivatives zero for this example. Since these are parametric splines, you have to provide derivatives for both x and y, for …

  7. Modelica - Derivatives of input variables problem with dymola

    May 27, 2024 · Modelica - Derivatives of input variables problem with dymola Asked 1 year, 7 months ago Modified 1 year, 7 months ago Viewed 181 times

  8. c++ - Partial Derivatives - Stack Overflow

    Sep 6, 2011 · The number of derivatives for each dimension (because it follows a binary pattern) is (2^dim)-1; e.g., 2^3 = 8 - 1 = 7. The derivative that is dyx is the dx value of the adjacent points in the …

  9. spline interpolation and its (exact) derivatives - Stack Overflow

    Jul 9, 2017 · Then the difference between each point and it's +eps pair divided by eps gives the derivative. The problem is that if we work with such small differences the precision of the output …

  10. Efficient Calculation of Derivatives for PINN Solvers in PyTorch

    Apr 11, 2023 · I am currently trying to implement Physics Informed Neural Networks (PINNs). PINNs involve computing derivatives of model outputs with respect to its inputs. These derivatives are then …