The Wayback Machine - https://web.archive.org/web/20201208162106/https://github.com/topics/math
Skip to content
#

math

Here are 4,013 public repositories matching this topic...

zachjweiner
zachjweiner commented Dec 6, 2020

The following behavior was introduced in 1.7.

simplify in some circumstances transforms sign(x) into a Piecewise involving x / Abs(x); somehow this transformed expression can lead to incorrect solutions from solve and solveset.

Consider, e.g., f(x) = x * sign(x), which has a zero at x == 0. After simplifying, even though the Piecewise function explicitly states the case `f

Powerful modern math library for PHP: Features descriptive statistics and regressions; Continuous and discrete probability distributions; Linear algebra with matrices and vectors, Numerical analysis; special mathematical functions; Algebra

  • Updated Dec 8, 2020
  • PHP
markor
stephentyrone
stephentyrone commented Nov 2, 2020

IEEE 754 recommends (but does not require) a compound function, which is in the process of being standardized for C and C++; we should expose it in swift-numerics. The simplest, most literal translation of the operation into Swift would be:

extension RealFunctions {
  /// (1+x)ⁿ
  /// 
  /// Returns NaN if x < -1.
  static func compound(_ x: Self, _ n: Int) -> Self {
    // not

Improve this page

Add a description, image, and links to the math topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the math topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.