make_generic2to1_gate: Create a 2-inputs and 1-output generic logic gate.

make_generic2to1_gateR Documentation

Create a 2-inputs and 1-output generic logic gate.

Description

Create a 2-inputs and 1-output generic logic gate.

Usage

make_generic2to1_gate(name, typename, input1value, input2value)

Arguments

name

The logic gate name

typename

The type name of logic gate (AND, OR, XOR, ...)

input1value

The initial value of input1.

input2value

The initial value of input2.

Value

A generic logic gate with its name, species, CRN reactions, ki and ci constants.


renanmarks/dnarlogic documentation built on Sept. 25, 2022, 10:48 p.m.