Skip to content

kirin.dialects.vmath.stmts.cos

← Module overview

classcossource

kirin.dialects.vmath.stmts.cos

Bases: ir.Statement

cos statement, wrapping the math.cos function

class cos

Attributes

NameTypeDefaultDescription
name—'cos'
traits—frozenset({ir.Pure(), lowering.FromPythonCall()})
xir.SSAValueinfo.argument(ilist.IListType[types.Float, ListLen])
resultir.ResultValueinfo.result(ilist.IListType[types.Float, ListLen])