equidimensional#

static vectorious.equidimensional(x, y)#

Note

Deprecated.

Asserts if x and y have the same shape

Arguments:
Throws:

Error – shapes x and y do not match

Examples:

import { equidimensional } from 'vectorious/core/equidimensional';

equidimensional([1, 2, 3], [1, 2]); // Error: shapes 3 and 2 do not match