Skip to content
callcount

gonum.org/v1/gonum/mat.NewVecDense

third-party

The 8975th most-called third-party function by production calls. Called 209 times across 2 modules; 66 of those run outside tests and generated code.

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

prod calls
66
non-test, non-generated
all calls
209
total callsites
modules
2
distinct callers
in loop
3%
of prod calls
in tests
68%
143 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 209, prioritizing in-loop and non-test usage. We link to source, never display it.

NewVecDense · 12 of 209 callsites
  • v1/gonum @v0.17.0

    optimize/convex/lp/simplex.go:244

    in loop
  • v1/gonum @v0.17.0

    optimize/convex/lp/simplex.go:291

    in loop
  • v1/gonum @v0.17.0

    stat/distmat/unit_vector_test.go:18

    in loop test
  • v1/gonum @v0.17.0

    stat/distmat/unit_vector_test.go:31

    in loop test
  • v1/gonum @v0.17.0

    stat/distmat/unit_vector_test.go:32

    in loop test
  • v1/gonum @v0.17.0

    mat/vector_test.go:46

    in loop test
  • v1/gonum @v0.17.0

    mat/lu_test.go:63

    in loop test
  • v1/gonum @v0.17.0

    mat/lu_test.go:64

    in loop test
  • v1/gonum @v0.17.0

    spatial/r3/mat_test.go:129

    in loop test
  • v1/gonum @v0.17.0

    mat/lq_test.go:142

    in loop test
  • v1/gonum @v0.17.0

    mat/lu_test.go:143

    in loop test
  • v1/gonum @v0.17.0

    mat/lu_test.go:161

    in loop test

top callers

The modules that reach for it

The modules that call NewVecDense most in this snapshot.

  • gonum.org/v1/gonum208100%
  • github.com/sjwhitworth/golearn1<1%

siblings

More from gonum.org/v1/gonum/mat

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