xo-procedure2 xo-object2: + polymorphic primitive support
This commit is contained in:
parent
f2139feafb
commit
d39e13593c
18 changed files with 129 additions and 42 deletions
|
|
@ -3,13 +3,19 @@
|
|||
#pragma once
|
||||
|
||||
#include "DPrimitive.hpp"
|
||||
#include "DPrimitive_gco_2_gco_gco.hpp"
|
||||
|
||||
namespace xo {
|
||||
namespace scm {
|
||||
#ifdef NOT_YET
|
||||
using Primitive_f64_1_f64 = Primitive<double (*)(double)>;
|
||||
using Primitive_f64_2_f64_f64 = Primitive<double (*)(double, double)>;
|
||||
#endif
|
||||
|
||||
struct Primitives {
|
||||
static DPrimitive_gco_2_gco_gco s_mul_gco_gco_pm;
|
||||
|
||||
#ifdef NOT_YET
|
||||
static Primitive_f64_1_f64 s_neg_f64_pm;
|
||||
|
||||
static Primitive_f64_2_f64_f64 s_add_f64_f64_pm;
|
||||
|
|
@ -22,6 +28,7 @@ namespace xo {
|
|||
static Primitive_f64_1_f64 s_sin_f64_pm;
|
||||
static Primitive_f64_1_f64 s_cos_f64_pm;
|
||||
static Primitive_f64_1_f64 s_tan_f64_pm;
|
||||
#endif
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue