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

Functions

template<domain D :shared2p , type T>
D T product (D T x)
 
template<domain D :shared2p >
D uint8 product (D uint8 x)
 
template<domain D :shared2p >
D uint16 product (D uint16 x)
 
template<domain D :shared2p >
D uint32 product (D uint32 x)
 
template<domain D :shared2p >
D uint product (D uint x)
 
template<domain D :shared2p >
D int8 product (D int8 x)
 
template<domain D :shared2p >
D int16 product (D int16 x)
 
template<domain D :shared2p >
D int32 product (D int32 x)
 
template<domain D :shared2p >
D int product (D int x)
 

Detailed Description

Function for finding the product of the input vector.

Note
D - shared2p protection domain
Supported types - uint8 / uint16 / uint32 / uint / int8 / int16 / int32 / int
Parameters
x- input of supported type
Returns
The product of the input vector

Function Documentation

◆ product() [1/9]

template<domain D :shared2p >
D int product ( D int  x)

◆ product() [2/9]

template<domain D :shared2p >
D int16 product ( D int16  x)

◆ product() [3/9]

template<domain D :shared2p >
D int32 product ( D int32  x)

◆ product() [4/9]

template<domain D :shared2p >
D int8 product ( D int8  x)

◆ product() [5/9]

template<domain D :shared2p , type T>
D T product ( D T  x)

◆ product() [6/9]

template<domain D :shared2p >
D uint product ( D uint  x)

◆ product() [7/9]

template<domain D :shared2p >
D uint16 product ( D uint16  x)

◆ product() [8/9]

template<domain D :shared2p >
D uint32 product ( D uint32  x)

◆ product() [9/9]

template<domain D :shared2p >
D uint8 product ( D uint8  x)