TypeTensor - v0.1.0
    Preparing search index...

    Type Alias IsMatMulCompatible<A, B>

    IsMatMulCompatible: HasMatchingInnerDims<A, B>

    Validate that tensor shapes are compatible for matrix multiplication

    Type Parameters

    type CanMultiply = IsMatMulCompatible<[2, 3], [3, 4]> // true
    type CannotMultiply = IsMatMulCompatible<[2, 3], [4, 5]> // false