Skip to content
callcount

gonum.org/v1/gonum/mat.NewVecDense

third-party

The 8982nd most-called third-party function by production calls. Called 210 times across 3 modules; 67 of those run outside tests and generated code.

No change in production calls since 2026-W37.

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

prod calls
67
non-test, non-generated
all calls
210
total callsites
modules
3
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.
  • Package function (by syntax)<1%A package function in a module outside the crawl, keyed by import path.

where it's called

Callsites in the wild

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

NewVecDense · 12 of 210 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/gonum20899%
  • github.com/infiniflow/ragflow1<1%
  • github.com/sjwhitworth/golearn1<1%

siblings

More from gonum.org/v1/gonum/mat

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