tsgammon-core
Version:
A Backgammon library for Typescript, formerly developed as a part of tsgammon-ui
15 lines • 395 B
TypeScript
/**
*
* 行列計算の簡易な実装
*
* @module
*/
export declare type Matrix2d = {
arr: number[][];
rowsN(): number;
colsN(): number;
};
export declare function matrix2d(value: number[][]): Matrix2d;
export declare function product(m1: Matrix2d, m2: Matrix2d): Matrix2d;
export declare function add(m1: Matrix2d, m2: Matrix2d): Matrix2d;
//# sourceMappingURL=Matrix.d.ts.map