PageRenderTime 5ms CodeModel.GetById 1ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/trunk/Examples/test-suite/octave/template_typedef_cplx4_runme.m

#
Objective C | 33 lines | 23 code | 10 blank | 0 comment | 0 complexity | 216b47ea08cbad9827bc9109a2225876 MD5 | raw file
 1template_typedef_cplx4
 2
 3#
 4# this is OK
 5#
 6
 7
 8s = Sin();
 9s.get_base_value();
10s.get_value();
11s.get_arith_value();
12my_func_r(s);
13make_Multiplies_double_double_double_double(s,s);
14
15z = CSin();
16z.get_base_value();
17z.get_value();
18z.get_arith_value();
19my_func_c(z);
20make_Multiplies_complex_complex_complex_complex(z,z);
21
22#
23# Here we fail
24#
25d = make_Identity_double();
26my_func_r(d);
27
28c = make_Identity_complex();
29my_func_c(c);
30  
31
32
33