tanh property Null safety
final
Implementation
static final NormalOperation tanh = NormalOperation.floatOnly(
floatCalc: (Model m) {
m.resultXF = Real.tanh(m.xF);
},
complexCalc: (Model m) {
// Always in radians - see 15C manual p. 131, "For the trigonometric..."
m.resultXC = m.xC.tanh();
},
name: 'TANH');