Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Build

import { Build } from "https://git.sr.ht/~ruivieira/deno-experiments/blob/master/mentat/linalg/core.ts";

Build a "matrix" where each element is a function applied to element index

function Build(
f: Function,
rows: number,
cols: number,
);
§
Build(f: Function, rows: number, cols: number)
[src]

§Parameters

§
f: Function
[src]

takes ([i, [j]]) as arguments

§
rows: number
[src]

number of rows

§
cols: number
[src]

number of cols