Epok Engine

PSYQO SDK

psyqo::GTE::Kernels::mvmva

Function template · 1 overload

Function template

Multiply vector by matrix and add vector

Belongs to
psyqo::GTE::Kernels
Header
gte-kernels.hh
Overloads
1

Declaration

template
Declaration
template <MX mx, MV v, TV cv = TV::Zero, SF sf = Shifted, LM lm = Unlimited> void mvmva()

Multiply vector by matrix and add vector

This overload takes no parameters.

Returns: Nothing (void).

Example

C++ example
#include "psyqo/gte-kernels.hh"

// Replace these template arguments with types or values accepted by the declaration:
// mx, v, cv, sf, lm

psyqo::GTE::Kernels& object = /* obtain a valid instance */;

object.mvmva<mx, v, cv, sf, lm>();

Why use it

Template dispatch is resolved at compile time and normally adds no runtime indirection.

Trade-offs and warnings

Every instantiated type must satisfy the header's compile-time requirements; extra instantiations can increase code size.

Declared in https://github.com/pcsx-redux/nugget/blob/6186b131aacc5853a9161fb076ed34ffe504552d/psyqo/gte-kernels.hh:325

Related members