row
function row(v, i): Float64Array;Defined in: core/vectors.ts:156
Copy of row i. Never hand out a subarray view of the caller’s buffer.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
v | Vectors |
i | number |
Returns
Section titled “Returns”Float64Array
Example
Section titled “Example”import { toVectors, row } from "@saehrimnir/sickle";
const v = toVectors(projection);row(v, 0); // Float64Array [x, y] — a copy, never a view of your buffer