ScalarToVectorOp#
- class ScalarToVectorOp(expression)#
Bases: CallExpression
Provides the vector from a flow and a size.
The format is
<flow> ^ <size>
.See the scalar_to_vector_op example.
- Parameters:
- expression
Call expression to wrap.
Notes
The design differs slightly from the meta-model. Because the input must be a group of flows, the
ScalarToVectorOp
class does not inherit from theFlowOp
class. It exposes directly the list of input flows instead of having a flow that is aListExpression
class.
Overview#
Import detail#
from ansys.scade.apitools.expr.access import ScalarToVectorOp
Property detail#
- property flows: list[Expression]#
Input flows.
- property size: Expression#
Size of the vector.