Skip to content
#

number-theory

Here are 516 public repositories matching this topic...

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 Apr 17, 2022
  • PHP

Algo-Tree is a collection of Algorithms and data structures which are fundamentals to efficient code and good software design. Creating and designing excellent algorithms is required for being an exemplary programmer. It contains solutions in various languages such as C++, Python and Java.

  • Updated Apr 13, 2022
  • C++
mratsim
mratsim commented Sep 25, 2019

Seen with @arnetheduck.

for uint128, stint properly generates add + adc (see status-im/nim-stint#10)

But for uint256+, the way carry is done will loop multiple time on the low half
https://github.com/status-im/nim-stint/blob/9993b9dca4a2dbf76bc432252ad4e8db944ae831/stint/private/uint_addsub.nim#L17-L29

Important for WASM codesize optimization.

bug good first issue Performance
ColeMiller1
ColeMiller1 commented Jul 3, 2020

The FUN argument in comboGeneral() and similar RcppAlgos functions could be more useful if the user is allowed to provide the expected value, similar to vapply(). Currently, a list is allocated which can take up a lot of memory.

library(RcppAlgos)

ans = comboGeneral(15L, 3L, FUN = sum)
object.size(ans)
#> 29168 bytes
object.size(unlist(ans, use.names = FALS

Improve this page

Add a description, image, and links to the number-theory 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 number-theory topic, visit your repo's landing page and select "manage topics."

Learn more