Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/josdejong/mathjs
/ mean.test.js
File
mean.test.js
test/unit-tests/function/statistics/mean.test.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
assert from
'assert'
2
import
{ approxEqual } from
'../../../../tools/approx.js'
3
import
math from
'../../../../src/defaultInstance.js'
4
const
BigNumber = math.BigNumber
Callers
nothing calls this directly
Calls
7
approxEqual
Function · 0.90
mean
Function · 0.85
toNumber
Method · 0.80
unit
Method · 0.65
matrix
Method · 0.65
parse
Method · 0.65
toTex
Method · 0.65
Tested by
no test coverage detected