Delete last row
import { mDelLastRow } from 'mz-math';
const res = mDelLastRow(
[
[3, 5],
[-7, 2],
]
);
/*
[
[3, 5],
]
*/
Delete first row
import { mDelFirstRow } from 'mz-math';
const res = mDelFirstRow(
[
[3, 5],
[-7, 2],
]
);
/*
[
[-7, 2],
]
*/
Delete last column
import { mDelLastColumn } from 'mz-math';
const res = mDelLastColumn(
[
[3, 5],
[-7, 2],
]
);
/*
[
[3],
[-7],
]
*/
Delete first column
import { mDelFirstColumn } from 'mz-math';
const res = mDelFirstColumn(
[
[3, 5],
[-7, 2],
]
);
/*
[
[5],
[2],
]
*/