RightMultiplicationNode
class samplomatic.samplex.nodes.RightMultiplicationNode(operand: GroupRegister, register_name: str)
Bases: MultiplicationNode
Perform right multiplication of a fixed register against a given register.
Parameters
- operand – The fixed group elements by which to multiply.
- register_name – The name of the register to multiply with.
Raises
SamplexConstructionError – If operand has more than one sample.
Methods Summary
Column 1 | Column 2 |
|---|---|
evaluate(registers, *_) | Evaluate this node. |
Methods Documentation
evaluate
evaluate(registers: dict[str, VirtualRegister], *_)
Evaluate this node.
Parameters
- registers – At least those registers needed by this node to read from or write to.
- parameter_values – Parameter values to use during evaluation.
Raises
SamplexRuntimeError – If the number of parameter values received does not equal the number required by this node.
Was this page helpful?
Report a bug, typo, or request content on GitHub.