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

Constant

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

Creates a "matrix" filled with constant

function Constant(
constant: number,
rows: number,
cols: number,
): Matrix;
§
Constant(constant: number, rows: number, cols: number): Matrix
[src]

§Parameters

§
constant: number
[src]
§
rows: number
[src]

number of rows

§
cols: number
[src]

number of columns

§Return Type