FflasFfpack
Public Types | Static Public Member Functions
ScalFunctions< Element > Struct Template Reference
+ Inheritance diagram for ScalFunctions< Element >:

Public Types

using vectElt = vector< Element >
 

Static Public Member Functions

static void genInputs (vector< vectElt > &inputs)
 
static void genInputsWithZero (vector< vectElt > &inputs)
 
static Element zero ()
 
static Element vand (Element x1, Element x2)
 
static Element vor (Element x1, Element x2)
 
static Element vxor (Element x1, Element x2)
 
static Element vandnot (Element x1, Element x2)
 
static Element add (Element x1, Element x2)
 
static Element addin (Element &x1, Element x2)
 
static Element sub (Element x1, Element x2)
 
static Element subin (Element &x1, Element x2)
 
static Element mul (Element x1, Element x2)
 
static Element mulin (Element &x1, Element x2)
 
static Element div (Element x1, Element x2)
 
static Element fmadd (Element x1, Element x2, Element x3)
 
static Element fmaddin (Element &x1, Element x2, Element x3)
 
static Element fmsub (Element x1, Element x2, Element x3)
 
static Element fmsubin (Element &x1, Element x2, Element x3)
 
static Element fnmadd (Element x1, Element x2, Element x3)
 
static Element fnmaddin (Element &x1, Element x2, Element x3)
 
static Element lesser (Element x1, Element x2)
 
static Element lesser_eq (Element x1, Element x2)
 
static Element greater (Element x1, Element x2)
 
static Element greater_eq (Element x1, Element x2)
 
static Element eq (Element x1, Element x2)
 
static vectElt unpacklo (vectElt a, vectElt b)
 
static vectElt unpackhi (vectElt a, vectElt b)
 
static void unpacklohi (vectElt &lo, vectElt &hi, vectElt a, vectElt b)
 
static vectElt pack_even (vectElt a, vectElt b)
 
static vectElt pack_odd (vectElt a, vectElt b)
 
static void pack (vectElt &even, vectElt &odd, vectElt a, vectElt b)
 
template<uint16_t s>
static vectElt blend (vectElt a, vectElt b)
 

Member Typedef Documentation

◆ vectElt

using vectElt = vector<Element>

Member Function Documentation

◆ genInputs()

static void genInputs ( vector< vectElt > &  inputs)
inlinestatic

◆ genInputsWithZero()

static void genInputsWithZero ( vector< vectElt > &  inputs)
inlinestatic

◆ zero()

static Element zero ( )
inlinestatic

◆ vand()

static Element vand ( Element  x1,
Element  x2 
)
inlinestatic

◆ vor()

static Element vor ( Element  x1,
Element  x2 
)
inlinestatic

◆ vxor()

static Element vxor ( Element  x1,
Element  x2 
)
inlinestatic

◆ vandnot()

static Element vandnot ( Element  x1,
Element  x2 
)
inlinestatic

◆ add()

static Element add ( Element  x1,
Element  x2 
)
inlinestatic

◆ addin()

static Element addin ( Element &  x1,
Element  x2 
)
inlinestatic

◆ sub()

static Element sub ( Element  x1,
Element  x2 
)
inlinestatic

◆ subin()

static Element subin ( Element &  x1,
Element  x2 
)
inlinestatic

◆ mul()

static Element mul ( Element  x1,
Element  x2 
)
inlinestatic

◆ mulin()

static Element mulin ( Element &  x1,
Element  x2 
)
inlinestatic

◆ div()

static Element div ( Element  x1,
Element  x2 
)
inlinestatic

◆ fmadd()

static Element fmadd ( Element  x1,
Element  x2,
Element  x3 
)
inlinestatic

◆ fmaddin()

static Element fmaddin ( Element &  x1,
Element  x2,
Element  x3 
)
inlinestatic

◆ fmsub()

static Element fmsub ( Element  x1,
Element  x2,
Element  x3 
)
inlinestatic

◆ fmsubin()

static Element fmsubin ( Element &  x1,
Element  x2,
Element  x3 
)
inlinestatic

◆ fnmadd()

static Element fnmadd ( Element  x1,
Element  x2,
Element  x3 
)
inlinestatic

◆ fnmaddin()

static Element fnmaddin ( Element &  x1,
Element  x2,
Element  x3 
)
inlinestatic

◆ lesser()

static Element lesser ( Element  x1,
Element  x2 
)
inlinestatic

◆ lesser_eq()

static Element lesser_eq ( Element  x1,
Element  x2 
)
inlinestatic

◆ greater()

static Element greater ( Element  x1,
Element  x2 
)
inlinestatic

◆ greater_eq()

static Element greater_eq ( Element  x1,
Element  x2 
)
inlinestatic

◆ eq()

static Element eq ( Element  x1,
Element  x2 
)
inlinestatic

◆ unpacklo()

static vectElt unpacklo ( vectElt  a,
vectElt  b 
)
inlinestatic

◆ unpackhi()

static vectElt unpackhi ( vectElt  a,
vectElt  b 
)
inlinestatic

◆ unpacklohi()

static void unpacklohi ( vectElt lo,
vectElt hi,
vectElt  a,
vectElt  b 
)
inlinestatic

◆ pack_even()

static vectElt pack_even ( vectElt  a,
vectElt  b 
)
inlinestatic

◆ pack_odd()

static vectElt pack_odd ( vectElt  a,
vectElt  b 
)
inlinestatic

◆ pack()

static void pack ( vectElt even,
vectElt odd,
vectElt  a,
vectElt  b 
)
inlinestatic

◆ blend()

static vectElt blend ( vectElt  a,
vectElt  b 
)
inlinestatic

The documentation for this struct was generated from the following file: