Skip to content
callcount

gonum.org/v1/gonum/mat.NewDense

third-party

The 9262nd most-called third-party function by production calls. Called 618 times across 4 modules; 64 of those run outside tests and generated code.

All of gonum.org/v1/gonum/mat → Docs on pkg.go.dev ↗

prod calls
64
non-test, non-generated
all calls
618
total callsites
modules
4
distinct callers
in loop
3%
of prod calls
in tests
90%
554 calls
resolved
100%
to a known target

resolution mix

How each call resolves

How each call was attributed. Only resolved kinds, where the target function is known, count toward the ranking. Interface dispatch and unresolved receivers are reported separately and never guessed. Read the taxonomy →

  • Package function100%A direct call to an exported package function, resolved by type.

where it's called

Callsites in the wild

12 representative callsites of 618, prioritizing in-loop and non-test usage. We link to source, never display it.

NewDense · 12 of 618 callsites
  • sjwhitworth/golearn @v0.0.0-20221228163002-74ae077eafb2

    base/conversion.go:63 ↗

    in loop
  • v1/gonum @v0.17.0

    optimize/convex/lp/simplex.go:377

    in loop
  • v1/plot @v0.17.0

    plotter/heat_test.go:77

    in loop test
  • v1/gonum @v0.17.0

    stat/distmat/permutation_test.go:17

    in loop test
  • v1/plot @v0.17.0

    plotter/contour_test.go:90

    in loop test
  • v1/gonum @v0.17.0

    mat/lu_test.go:18

    in loop test
  • v1/gonum @v0.17.0

    mat/pool_test.go:18

    in loop test
  • v1/gonum @v0.17.0

    mat/shadow_test.go:23

    in loop test
  • v1/gonum @v0.17.0

    mat/lq_test.go:24

    in loop test
  • v1/gonum @v0.17.0

    stat/samplemv/halton_test.go:27

    in loop test
  • v1/gonum @v0.17.0

    mat/qr_test.go:28

    in loop test
  • v1/gonum @v0.17.0

    optimize/listsearch_test.go:32

    in loop test

top callers

The modules that reach for it

The modules that call NewDense most in this snapshot.

  • gonum.org/v1/gonum54087%
  • github.com/sjwhitworth/golearn6611%
  • gonum.org/v1/plot102%
  • github.com/weaviate/weaviate2<1%

siblings

More from gonum.org/v1/gonum/mat

The other most-called functions in this package. See all →