|
template<domain D :shared3p > |
D int8 | crossProduct (D int8[[1]] x, D int8[[1]] y) |
|
template<domain D :shared3p > |
D int16 | crossProduct (D int16[[1]] x, D int16[[1]] y) |
|
template<domain D :shared3p > |
D int32 | crossProduct (D int32[[1]] x, D int32[[1]] y) |
|
template<domain D :shared3p > |
D int | crossProduct (D int[[1]] x, D int[[1]] y) |
|
template<domain D :shared3p > |
D float32 | crossProduct (D float32[[1]] x, D float32[[1]] y) |
|
template<domain D :shared3p > |
D float64 | crossProduct (D float64[[1]] x, D float64[[1]] 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]
D float32 crossProduct |
( |
D float32[[1]] |
x, |
|
|
D float32[[1]] |
y |
|
) |
| |
◆ crossProduct() [2/6]
D float64 crossProduct |
( |
D float64[[1]] |
x, |
|
|
D float64[[1]] |
y |
|
) |
| |
◆ crossProduct() [3/6]
D int16 crossProduct |
( |
D int16[[1]] |
x, |
|
|
D int16[[1]] |
y |
|
) |
| |
◆ crossProduct() [4/6]
D int32 crossProduct |
( |
D int32[[1]] |
x, |
|
|
D int32[[1]] |
y |
|
) |
| |
◆ crossProduct() [5/6]
D int8 crossProduct |
( |
D int8[[1]] |
x, |
|
|
D int8[[1]] |
y |
|
) |
| |
◆ crossProduct() [6/6]
D int crossProduct |
( |
D int[[1]] |
x, |
|
|
D int[[1]] |
y |
|
) |
| |