Deep Operators

Prev Next

Introduction

Deep Operators are very unique features specifically designed for B4P. Deep operators are unary and binary operators followed by accent circumflex ^ symbols which indicate that the operator shall be applied on the elements inside parameter sets. This concept allows vector and matrix calculations without programming loops.

Applying deep operator in simple parameter sets (vectors) requiers adding one ^-symbol after the operator. For further nesting, e.g. matrices (e.g. { {1,2,3},{4,5,6} }), 2 or more consecutive ^-symbols are needed to specify the right depth. Not using these symboles result in applying the operators on the parameter set directly, e.g. '+' for catenating two parameter sets together.

Following deep operators are described next:

See also

deep