I’m trying to do a multiplication of arrays where matrix A is a sparse array 3x3 and matrix x is a sparse array 3x1 using spgemm (A, x) and I get the error:

AFL% spgemm (A, x);

UserException in file: src / linear_algebra / spgemm / LogicalSpgemm.cpp function: inferSchema line: 132

Error id: scidb :: SCIDB_SE_INFER_SCHEMA :: SCIDB_LE_OP_MULTIPLY_ERROR5

Error description: Error during schema inferring. Matrix dimensions must match.

As in the previous question about “matrix subtraction” where I was explained how to do such an operation if the dimensions of the matrix are different maybe it is necessary to realign or remodel them, how is the solution to such a problem?

Because I could not solve it.