SecreC 2 language 2.9.0 (2026.10)
Language and standard library reference
Loading...
Searching...
No Matches
Functions
crossProduct[[1]]

Functions

template<domain D>
D int8 crossProduct (D int8 x, D int8 y)
 
template<domain D>
D int16 crossProduct (D int16 x, D int16 y)
 
template<domain D>
D int32 crossProduct (D int32 x, D int32 y)
 
template<domain D>
D int crossProduct (D int x, D int y)
 
template<domain D>
D float32 crossProduct (D float32 x, D float32 y)
 
template<domain D>
D float64 crossProduct (D float64 x, D float64 y)
 

Detailed Description

Function for finding the cross product of two vectors.

Note
D - all protection domains
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

Function Documentation

◆ crossProduct() [1/6]

template<domain D>
D float32 crossProduct ( D float32  x,
D float32  y 
)

◆ crossProduct() [2/6]

template<domain D>
D float64 crossProduct ( D float64  x,
D float64  y 
)

◆ crossProduct() [3/6]

template<domain D>
D int crossProduct ( D int  x,
D int  y 
)

◆ crossProduct() [4/6]

template<domain D>
D int16 crossProduct ( D int16  x,
D int16  y 
)

◆ crossProduct() [5/6]

template<domain D>
D int32 crossProduct ( D int32  x,
D int32  y 
)

◆ crossProduct() [6/6]

template<domain D>
D int8 crossProduct ( D int8  x,
D int8  y 
)