Epok Engine

PSYQO SDK

psyqo::SoftMath::multiplyMatrix33

Function · 4 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

Multiply two 3x3 matrices.

Belongs to
psyqo::SoftMath
Header
soft-math.hh
Overloads
4

Declaration 1 of 4

Declaration
Matrix33 multiplyMatrix33(const Matrix33 &m1, const Matrix33 &m2)

Multiply two 3x3 matrices.

ParameterTypeMeaning
m1const Matrix33 &The first matrix.
m2const Matrix33 &The second matrix.

Returns: Matrix33 — Matrix33 The result of the multiplication.

Example sketch

C++ example
#include "psyqo/soft-math.hh"

// Assume these named values have been initialized with valid data:
// const Matrix33 & m1
// const Matrix33 & m2

auto result = psyqo::SoftMath::multiplyMatrix33(m1, m2);

Trade-offs and warnings

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

Declared in https://github.com/epokengine/nugget/blob/4a01183295182b8e7702c908e1efaaa8f4538ffd/psyqo/soft-math.hh:87

Declaration 2 of 4

static
Declaration
static inline Matrix33 multiplyMatrix33(const Matrix33 *m1, const Matrix33 *m2)

Performs `multiply matrix33` as part of the soft math module.

ParameterTypeMeaning
m1const Matrix33 *Not documented; consult the linked header.
m2const Matrix33 *Not documented; consult the linked header.

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

Example sketch

C++ example
#include "psyqo/soft-math.hh"

// Assume these named values have been initialized with valid data:
// const Matrix33 * m1
// const Matrix33 * m2

auto result = psyqo::SoftMath::multiplyMatrix33(m1, m2);

Trade-offs and warnings

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

Declared in https://github.com/epokengine/nugget/blob/4a01183295182b8e7702c908e1efaaa8f4538ffd/psyqo/soft-math.hh:88

Declaration 3 of 4

static
Declaration
static inline void multiplyMatrix33(const Matrix33 *m1, const Matrix33 *m2, Matrix33 *out)

Performs `multiply matrix33` as part of the soft math module.

ParameterTypeMeaning
m1const Matrix33 *Not documented; consult the linked header.
m2const Matrix33 *Not documented; consult the linked header.
outMatrix33 *Not documented; consult the linked header.

Returns: Nothing (void).

Example sketch

C++ example
#include "psyqo/soft-math.hh"

// Assume these named values have been initialized with valid data:
// const Matrix33 * m1
// const Matrix33 * m2
// Matrix33 * out

psyqo::SoftMath::multiplyMatrix33(m1, m2, out);

Trade-offs and warnings

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

Declared in https://github.com/epokengine/nugget/blob/4a01183295182b8e7702c908e1efaaa8f4538ffd/psyqo/soft-math.hh:74

Declaration 4 of 4

Declaration
void multiplyMatrix33(const Matrix33 &m1, const Matrix33 &m2, Matrix33 *out)

Multiply two 3x3 matrices.

ParameterTypeMeaning
m1const Matrix33 &The first matrix.
m2const Matrix33 &The second matrix.
outMatrix33 *The matrix to store the result in. May be the same as m1 or m2.

Returns: Nothing (void).

Example sketch

C++ example
#include "psyqo/soft-math.hh"

// Assume these named values have been initialized with valid data:
// const Matrix33 & m1
// const Matrix33 & m2
// Matrix33 * out

psyqo::SoftMath::multiplyMatrix33(m1, m2, out);

Trade-offs and warnings

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

Declared in https://github.com/epokengine/nugget/blob/4a01183295182b8e7702c908e1efaaa8f4538ffd/psyqo/soft-math.hh:73

Related members