3D vectors for astrodynamics and rendering
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix merlint lint warnings: missing docs, doc style, test inclusion

Resolve E400 (missing documentation), E410 (bad doc style), E615
(missing test suite), and E616 (use failf) across the monorepo.
Also fix test_timing to reference Requests.Timing instead of
non-existent Http.Timing.

+11
+11
lib/vec3.mli
··· 13 13 (** The zero vector. *) 14 14 15 15 val add : t -> t -> t 16 + (** [add a b] is the component-wise sum of [a] and [b]. *) 17 + 16 18 val sub : t -> t -> t 19 + (** [sub a b] is the component-wise difference [a - b]. *) 20 + 17 21 val scale : float -> t -> t 22 + (** [scale s v] multiplies each component of [v] by the scalar [s]. *) 23 + 18 24 val dot : t -> t -> float 25 + (** [dot a b] is the scalar (inner) product of [a] and [b]. *) 26 + 19 27 val cross : t -> t -> t 28 + (** [cross a b] is the cross product [a × b]. *) 29 + 20 30 val length : t -> float 31 + (** [length v] is the Euclidean norm of [v]. *) 21 32 22 33 val normalize : t -> t 23 34 (** [normalize v] is the unit vector in the direction of [v]. Returns [zero] if