rust-ndarray/ndarray · Architecture
A static read of how rust-ndarray/ndarray is wired together — module coupling, layering, and circular dependencies — derived from its import graph.
C
Architecture grade
score 67/100
6
Import cycles
lower is better
163
Modules parsed
166 edges
92%
Layeredness
clean-layer ratio
Most-depended-on modules
These are the highest-fan-in files — change them and the blast radius is largest. Read them first.
- src/dimension/mod.rs16 importers · radius 23
- src/error.rs9 importers · radius 25
- src/extension/nonnull.rs5 importers · radius 7
- src/itertools.rs5 importers · radius 27
- src/iterators/mod.rs4 importers · radius 5
- src/indexes.rs4 importers · radius 8
- src/shape_builder.rs4 importers · radius 23
- src/slice.rs4 importers · radius 23
Modules (12)
Source directories grouped from the import graph. Each links to a per-module page with its files and how it couples to the rest.
- src47 files · 90 in-degree · in cycle
- src/dimension14 files · 29 in-degree · in cycle
- src/iterators7 files · 10 in-degree · in cycle
- src/parallel6 files · 8 in-degree · in cycle
- src/impl_views5 files · 5 in-degree
- src/zip3 files · 5 in-degree · in cycle
- src/doc/ndarray_for_numpy_users4 files · 4 in-degree
- src/numeric3 files · 3 in-degree
- src/linalg2 files · 2 in-degree
- src/doc2 files · 2 in-degree
- src/layout2 files · 2 in-degree
- crates/ndarray-gen/src2 files · 1 in-degree
Circular dependencies (6)
- src/dimension/mod.rs to src/shape_builder.rs to src/dimension/mod.rs
- src/dimension/mod.rs to src/slice.rs to src/dimension/mod.rs
- src/dimension/mod.rs to src/dimension/sequence.rs to src/dimension/mod.rs
- src/indexes.rs to src/zip/mod.rs to src/indexes.rs
- src/iterators/mod.rs to src/iterators/into_iter.rs to src/impl_owned_array.rs to src/iterators/mod.rs
- src/parallel/mod.rs to src/parallel/impl_par_methods.rs to src/parallel/mod.rs
Ask AI about rust-ndarray/ndarray
Grounded in the actual source code. Pick a starter question or write your own.
What does this repo do, in one paragraph?How would I get started using it?What are the main alternatives?Show me the entry point.
Or write your own questionInformational only. RepoPilot summarises public signals at the time of analysis; they can be incomplete or stale. Not professional, security, or legal advice.