diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..a9afb20 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,18 @@ +# Change Log + +## [1.1] - 2018-04-04 +## Added +- [README.md] lines 37-38: `### Simplified implementation in JavaScript` + `- [linesvar_toJavaScript.tcl](https://gist.github.com/YujiSODE/b4bdf10ab7f6700a55baf7acfb351977) (Yuji SODE, 2018): the MIT License` +- [README.md] lines 35-36: `### Simplified implementation in Tcl` + `- [linesvar_toTcl.tcl](https://gist.github.com/YujiSODE/a65ccf09027f53eeac0ab5e6455a0e25) (Yuji SODE, 2018): the MIT License` +- [README.md] line 34: `## 4. Simplified implementation of `linesVar()` function` +- [README.md] lines 28-32: `## 3. Functions defined by output tcl script file` + `- `lines(x)`: function that returns estimated sample distribution` + `- `linesPDF(x)`: function that returns a value of probability density function estimated from the sample distribution` + `- `linesVar()`: function that returns a random variable following PDF` + ` - `$x`: a numerical value` + +## Changed +- [regLines.tcl] line 44: `#+++ functions defined by output tcl script file +++` +- [README.md] line 28: `## 5. Library list` diff --git a/README.md b/README.md index 442180b..59c3f39 100644 --- a/README.md +++ b/README.md @@ -25,5 +25,17 @@ Two expressions are available for linear regressions. It requires Tcl/Tk 8.6+. - `regLines.tcl` -## 3. Library list +## 3. Functions defined by output tcl script file +- `lines(x)`: function that returns estimated sample distribution +- `linesPDF(x)`: function that returns a value of probability density function estimated from the sample distribution +- `linesVar()`: function that returns a random variable following PDF + - `$x`: a numerical value + +## 4. Simplified implementation of `linesVar()` function +### Simplified implementation in Tcl +- [linesvar_toTcl.tcl](https://gist.github.com/YujiSODE/a65ccf09027f53eeac0ab5e6455a0e25) (Yuji SODE, 2018): the MIT License +### Simplified implementation in JavaScript +- [linesvar_toJavaScript.tcl](https://gist.github.com/YujiSODE/b4bdf10ab7f6700a55baf7acfb351977) (Yuji SODE, 2018): the MIT License + +## 5. Library list - lSum/lSum.tcl (Yuji SODE, 2018): https://gist.github.com/YujiSODE/1f9a4e2729212691972b196a76ba9bd0 diff --git a/regLines.tcl b/regLines.tcl index b5ee5a6..60acd54 100644 --- a/regLines.tcl +++ b/regLines.tcl @@ -41,7 +41,7 @@ # - $X: a numerical list for x-axis # - $Y: a numerical list for y-axis #-------------------------------------------------------------------- -#+++ function defined by output tcl script file +++ +#+++ functions defined by output tcl script file +++ # - lines(x): function that returns estimated sample distribution # - linesPDF(x): function that returns a value of probability density function estimated from the sample distribution # - linesVar(): function that returns a random variable following PDF