Epok Engine

EPOK RUNTIME

epok::bp::mul

Function · 3 overloads

Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.

Function

Performs `mul` as part of compiled Blueprint execution and object interaction.

Belongs to
epok::bp
Header
blueprint_runtime.hpp
Overloads
3

Declaration 1 of 3

Declaration
inline Fixed mul(Fixed a, Fixed b)

Performs `mul` as part of compiled Blueprint execution and object interaction.

ParameterTypeMeaning
aFixedNot documented; consult the linked header.
bFixedNot documented; consult the linked header.

Returns: Fixed. Consult the linked header for its meaning.

Example sketch

C++ example
#include "blueprint_runtime.hpp"

// Assume these named values have been initialized with valid data:
// Fixed a
// Fixed b

auto result = epok::bp::mul(a, b);

Trade-offs and warnings

Consult the linked header for this operation’s ownership, lifetime and failure behavior.

Declared in runtime/blueprint_runtime.hpp:34

Declaration 2 of 3

template
Declaration
template<size_t Size> inline Vector<Size> mul(const Vector<Size>& a, Fixed b)

Performs `mul` as part of compiled Blueprint execution and object interaction.

ParameterTypeMeaning
aconst Vector<Size> &Not documented; consult the linked header.
bFixedNot documented; consult the linked header.

Returns: Vector<Size>. Consult the linked header for its meaning.

Example sketch

C++ example
#include "blueprint_runtime.hpp"

// Replace these template arguments with types or values accepted by the declaration:
// Size

// Assume these named values have been initialized with valid data:
// const Vector<Size> & a
// Fixed b

epok::bp& object = /* obtain a valid instance */;

auto result = object.mul<Size>(a, b);

Trade-offs and warnings

Consult the linked header for this operation’s ownership, lifetime and failure behavior.

Declared in runtime/blueprint_runtime.hpp:63

Declaration 3 of 3

template
Declaration
template<size_t Size> inline Vector<Size> mul(const Vector<Size>& a, const Vector<Size>& b)

Performs `mul` as part of compiled Blueprint execution and object interaction.

ParameterTypeMeaning
aconst Vector<Size> &Not documented; consult the linked header.
bconst Vector<Size> &Not documented; consult the linked header.

Returns: Vector<Size>. Consult the linked header for its meaning.

Example sketch

C++ example
#include "blueprint_runtime.hpp"

// Replace these template arguments with types or values accepted by the declaration:
// Size

// Assume these named values have been initialized with valid data:
// const Vector<Size> & a
// const Vector<Size> & b

epok::bp& object = /* obtain a valid instance */;

auto result = object.mul<Size>(a, b);

Trade-offs and warnings

Consult the linked header for this operation’s ownership, lifetime and failure behavior.

Declared in runtime/blueprint_runtime.hpp:57

Related members