Vectors
Defined in: core/vectors.ts:12
The single input representation used everywhere in the library.
Row-major, flat, Float64. This is deliberately the same memory layout DruidJS
uses for Matrix.values, so a druid Matrix adapts with zero copying and
without importing druid at all (structural typing only — druid stays an
optional peer dependency).
Properties
Section titled “Properties”| Property | Modifier | Type | Defined in |
|---|---|---|---|
d | readonly | number | core/vectors.ts:15 |
data | readonly | Float64Array | core/vectors.ts:13 |
n | readonly | number | core/vectors.ts:14 |