/** * A dense N-dimensional vector backed by a Float64Array. * * CPU-side math in Holotope uses Float64 as the source of truth; conversion * to Float32 happens only at the rendering boundary (see the projection * module and renderer adapters). * * Mutating methods operate in place and return `this`, mirroring three.js * ergonomics. Use `clone()` when a copy is needed. */ export declare class VecN { readonly data: Float64Array; constructor(dim: number); constructor(values: ArrayLike); get dim(): number; static zero(dim: number): VecN; /** The i-th standard basis vector of R^dim. */ static basis(dim: number, i: number): VecN; clone(): VecN; copy(v: VecN): this; add(v: VecN): this; sub(v: VecN): this; multiplyScalar(s: number): this; dot(v: VecN): number; lengthSq(): number; length(): number; distanceTo(v: VecN): number; normalize(): this; equalsApprox(v: VecN, epsilon?: number): boolean; toArray(): number[]; } export declare function assertSameDim(a: number, b: number): void; //# sourceMappingURL=vecn.d.ts.map