diff --git a/.dom.js.swp b/.dom.js.swp new file mode 100644 index 0000000..a7f2fe5 Binary files /dev/null and b/.dom.js.swp differ diff --git a/README.md b/README.md index dc0af45..5feac14 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,18 @@ In addition we tried to mildly specify preconditions for executions of functions rpc.js: utils.js: +Implementation of miscellaneous utilities commonly used, These functions are reusable and simple: + +jx.utils.vector extracts a vector from an array of objects (or a matrix) +jx.utils.keys extract keys from an associative array +jx.utils.unique returns unique objects in an array, including array of objects (provided an key function) + +jx.utils.patterns: +Implementation of design patterns defined by the GOF http://en.wikipedia.org/wiki/Software_design_pattern + +jx.utils.patterns.visitor The visitor design pattern +jx.utils.patterns.iterator The iterator design pattern +jx.utils.patterns.observer The observer design pattern ext/math.js: diff --git a/ext/ml.js b/ext/ml.js index b297be9..7e96221 100644 --- a/ext/ml.js +++ b/ext/ml.js @@ -11,7 +11,7 @@ * jx.ml.mapreduce Performs a standard/basic mapreduce (single thread for now) * jx.ml.regression Will perform linear & logistic regressions */ -* + if(!jx){ var jx = {} ; }