Skip to content

About

Julia math built-ins which return NaN and accumulator functions which ignore NaN

Topics

Resources

Code of conduct

Security policy

Stars

58 stars

Watchers

15 watching

Forks

Latest commit

 

History

135 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NaNMath

CI codecov deps

Implementations of basic math functions which return NaN instead of throwing a DomainError.

Example:

import NaNMath
NaNMath.log(-100) # NaN
NaNMath.pow(-1.5,2.3) # NaN

In addition this package provides functions that aggregate arrays and ignore elements that are NaN. The following functions are implemented:

sum
maximum
minimum
extrema
mean
median
var
std
min
max

Example:

using NaNMath
NaNMath.sum([1., 2., NaN]) # result: 3.0

About

Julia math built-ins which return NaN and accumulator functions which ignore NaN

Topics

Resources

Code of conduct

Security policy

Stars

58 stars

Watchers

15 watching

Forks

Releases

Used by

Contributors

Languages