basix_doc 0.1
mul_add_op Struct Reference

#include <operators.hpp>

List of all members.

Public Types

Static Public Member Functions


Detailed Description

Definition at line 590 of file operators.hpp.


Member Typedef Documentation

typedef mul_add_op acc_op

Definition at line 594 of file operators.hpp.

typedef no_op clr_op

Definition at line 593 of file operators.hpp.

typedef add_op nomul_op

Definition at line 591 of file operators.hpp.

typedef mul_op rhs_op

Definition at line 592 of file operators.hpp.


Member Function Documentation

static generic name ( ) [inline, static]

Definition at line 595 of file operators.hpp.

References mmx::GEN_MUL_ADD.

{ return GEN_MUL_ADD; }
static C neutral ( ) [inline, static]

Definition at line 597 of file operators.hpp.

{ return 0; }
static C op ( const C x,
const C y,
const C z 
) [inline, static]

Definition at line 601 of file operators.hpp.

{ return x + y * z; }
static void set_neutral ( R &  r) [inline, static]

Definition at line 599 of file operators.hpp.

References mmx::set_zero().

{ set_zero (r); }
static void set_op ( R &  x,
const C1 &  y,
const C2 z 
) [inline, static]

Definition at line 603 of file operators.hpp.

References mmx::mul_add().

{ mul_add (x, y, z); }

The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines