|
template<domain D> |
D int8 | crossProduct (D int8[[2]] x, D int8[[2]] y) |
|
template<domain D> |
D int16 | crossProduct (D int16[[2]] x, D int16[[2]] y) |
|
template<domain D> |
D int32 | crossProduct (D int32[[2]] x, D int32[[2]] y) |
|
template<domain D> |
D int | crossProduct (D int[[2]] x, D int[[2]] y) |
|
template<domain D> |
D float32 | crossProduct (D float32[[2]] x, D float32[[2]] y) |
|
template<domain D> |
D float64 | crossProduct (D float64[[2]] x, D float64[[2]] y) |
|
Function for finding the cross product of two matrices.
- Note
- D - all protection domains
-
Supported types - int8 / int16 / int32 / int / float32 / float64
- Parameters
-
x,y | - matrices of supported type |
- Returns
- returns a matrix with the cross product of each row of the two input matrices
- Leakage
- None
◆ crossProduct() [1/6]
D float32 crossProduct |
( |
D float32[[2]] |
x, |
|
|
D float32[[2]] |
y |
|
) |
| |
◆ crossProduct() [2/6]
D float64 crossProduct |
( |
D float64[[2]] |
x, |
|
|
D float64[[2]] |
y |
|
) |
| |
◆ crossProduct() [3/6]
D int16 crossProduct |
( |
D int16[[2]] |
x, |
|
|
D int16[[2]] |
y |
|
) |
| |
◆ crossProduct() [4/6]
D int32 crossProduct |
( |
D int32[[2]] |
x, |
|
|
D int32[[2]] |
y |
|
) |
| |
◆ crossProduct() [5/6]
D int8 crossProduct |
( |
D int8[[2]] |
x, |
|
|
D int8[[2]] |
y |
|
) |
| |
◆ crossProduct() [6/6]
D int crossProduct |
( |
D int[[2]] |
x, |
|
|
D int[[2]] |
y |
|
) |
| |