I am testing UF6 right now, and try to make the first formulas. For this i try to translate the trigonometric functions from here ... to UF.

ht__tp://github.com/mathnet/mathnet-numerics

(UF should have a complete 24 set of all trigonometric functions, for float and complex.)

Now i stack, because i not get it done to return a complex value.

Can somebody tell me how to return a complex from a func in a class?

According to help (1,0) this should return a complex.

Tanks much!

```
class Trig {
public:
func Trig()
endfunc
static complex func Test1 (complex value)
return (1, 0.0) ;ERROR Operator expected
endfunc
static complex func Test2 (complex value)
return complex(1, 0.0) ;ERROR Variable expected
endfunc
static complex func Test3 (complex value)
return (Real(value), 0.0) ;ERROR Operator expected
endfunc
static complex func Test4 (complex value)
return complex(Real(value), 0.0) ;ERROR Variable expected
endfunc
}
```

I am testing UF6 right now, and try to make the first formulas. For this i try to translate the trigonometric functions from here ... to UF.
ht__tp://github.com/mathnet/mathnet-numerics
(UF should have a complete 24 set of all trigonometric functions, for float and complex.)
Now i stack, because i not get it done to return a complex value.
Can somebody tell me how to return a complex from a func in a class?
According to help (1,0) this should return a complex.
Tanks much!
````
class Trig {
public:
func Trig()
endfunc
static complex func Test1 (complex value)
return (1, 0.0) ;ERROR Operator expected
endfunc
static complex func Test2 (complex value)
return complex(1, 0.0) ;ERROR Variable expected
endfunc
static complex func Test3 (complex value)
return (Real(value), 0.0) ;ERROR Operator expected
endfunc
static complex func Test4 (complex value)
return complex(Real(value), 0.0) ;ERROR Variable expected
endfunc
}
````