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