SecreC 2 language 2.9.0 (2026.10)
Language and standard library reference
Loading...
Searching...
No Matches
matrixMultiplication[[3]]

Function for multiplying two matrices.

Note
D - any protection domain
Supported types - uint8 / uint16 / uint32 / uint / int8 / int16 / int32 / int / float32 / float64
Warning
no. of columns of x must equal no. of rows of y. Also, there should be an equal no. of matrices in both structures
Parameters
x,y- 3-dimensional matrices of supported type and shape
Returns
We multiply across the last two dimensions and return a vector of product matrices
Leakage
None