Graphing a D function : possible?

z z at z.com
Thu Jun 2 03:37:13 UTC 2022


Is there a quick way of obtaining the graph of D functions like 
these?
```d
T f(T) if (isScalarType!T){}
```
or
```D
T[2] f(T, T)if (isScalarType!T){}
```
I know that there are graphing calculators already, but these 
don't support low level black magic like int <-> float 
conversions and i'm lost because there is no way to know if the 
code i write is correct without a graph or trial and error, hence 
the question.

Many thanks


More information about the Digitalmars-d-learn mailing list