Element Wise Configuration

These are only to be used before >> when creating element wise vertices through infix operators (e.g. +, * etc.).

Imported to namespace by

using NaiveNASlib.Advanced
NaiveNASlib.VertexConfType
VertexConf
VertexConf(; traitdecoration = identity, outwrap = identity)

Config struct to be used with element wise op syntax (+, -, *, /).

traitdecoration allows for decorating the vertex trait with stuff like logging, validation etc. outwrap is a function which returns a function which will be applied to the computed output. For example, the following outwrap scales output by a factor of 2: outwrap = f -> (x...) -> 2f((x...)

source