← All docs

Mathematical operators

Minsky supports many mathematical operators, from the familiar add (+) , subtract (−) , multiply (×) and divide (/) , through trigonometric relations ( ) to operators for tensor mathematics (dot products, inner products, etc.). Many operators can be overloaded: an operator ALs, c A. c Aℎ like + can take many inputs, not just two. Figure 16 illustrates overloading, with multiple inputs can be wired to one object, and multiple outputs as well.

Figure 15: Operator overloading, multiple outputs from output ports, and entity rotation

minsky-quick-intro figureminsky-quick-intro figureminsky-quick-intro figureminsky-quick-intro figure

These are the equations generated by the functions in Figure 16:

minsky-quick-intro figure