UNPKG

@duetds/date-picker

Version:

Duet Date Picker is an open source version of Duet Design System’s accessible date picker.

18 lines (17 loc) 663 B
import { Matrix } from '../types'; /** * Crops the matrix and returns a window at position `[x,y]` of size `[xlen, ylen]` from the input * matrix * * @method sub * @param {Matrix} A - The input matrix * @param {Number} x - The starting x offset * @param {Number} height - The vertical size of the window * @param {Number} y - The starting y offset * @param {Number} width - The horizontal size of the window * @returns {Matrix} B - The generated subwindow from matrix `c` * @public * @memberOf matlab * @since 0.0.2 */ export declare function sub({ data: ref, width: refWidth }: Matrix, x: number, height: number, y: number, width: number): Matrix;