summaryrefslogtreecommitdiff
path: root/src/value.h
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2012-03-31 21:22:07 (GMT)
committerMarius Kintel <marius@kintel.net>2012-03-31 21:22:07 (GMT)
commita13b9009c68e18fb796fa2660a9372d330f04797 (patch)
tree1fe1e975afe915552033d57e6b2c685edae47d91 /src/value.h
parent327310f190bbd81c7b71b568d5bf72bb900cc9db (diff)
Implemented vector and matrix multiplication
Diffstat (limited to 'src/value.h')
-rw-r--r--src/value.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/value.h b/src/value.h
index 8534e62..24fbf49 100644
--- a/src/value.h
+++ b/src/value.h
@@ -113,6 +113,10 @@ public:
typedef boost::variant< boost::blank, bool, double, std::string, VectorType, RangeType > Variant;
private:
+ static Value multvecnum(const Value &vecval, const Value &numval);
+ static Value multmatvec(const Value &matrixval, const Value &vectorval);
+ static Value multvecmat(const Value &vectorval, const Value &matrixval);
+
Variant value;
};
contact: Jan Huwald // Impressum