#include "variable.h" int main(int argc, char** argv) { Variable v1 = "x1"; // Creates a Variable with name "x1" v1.index(1); // Set its index to 1 v1.slp(Slp(&v1)); // Makes its Slp be a terminal Slp with // itself as its leaf node. v1.value = 11; // Set its value. }
1.0