diff --git a/Cargo.lock b/Cargo.lock index 5f64122..0e6ffba 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -179,7 +179,7 @@ dependencies = [ [[package]] name = "kalk" -version = "2.2.0" +version = "3.0.0" dependencies = [ "lazy_static", "regex", @@ -191,7 +191,7 @@ dependencies = [ [[package]] name = "kalker" -version = "1.1.0" +version = "2.0.0" dependencies = [ "ansi_term", "atty", diff --git a/README.md b/README.md index ae06772..6d68ca2 100644 --- a/README.md +++ b/README.md @@ -11,9 +11,12 @@ Kalker (or "kalk") is a calculator program/website that supports user-defined va # Features * Operators: `+`, `-`, `*`, `/`, `!` -* Groups: `()`, `⌈ceil⌉`, `⌊floor⌋`, `[iverson]` -* [Pre-defined functions and constants](https://github.com/PaddiM8/kalker/blob/master/kalk/src/prelude/mod.rs) +* Groups: `()`, `[]`, `⌈ceil⌉`, `⌊floor⌋` +* [Vectors](https://kalker.xyz/#vectors): (x, y, z, ...) +* [Matrices](https://kalker.xyz/#matrices): [x, y, z; a, b, c; ...] +* [Pre-defined functions and constants](https://kalker.xyz/#functions) * User-defined functions and variables. `f(x, y) = xy`, `x = 5` +* Root finding using Newton's method (eg. x^2 = 64). Note: estimation and limited to one root * Derivative of functions (derivatives of noisy functions or of higher order can be a bit inaccurate). `f'(2)`, `sin'(-pi)` * Integration. `∫(0, pi, sin(x) dx)` or `∫(0, π, sin(x) dx)`, maybe sometimes be slightly off * Understands fairly ambiguous syntax. Eg. `2sin50 + 2xy` @@ -71,7 +74,7 @@ There are currently three different libraries related to kalker. # Syntax -A more complete reference can be found on [the website](https://kalker.xyz) +A more complete reference can be found on [the website](https://kalker.xyz). ## Functions diff --git a/cli/Cargo.toml b/cli/Cargo.toml index c3822c7..16fca60 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -9,11 +9,11 @@ license = "MIT" name = "kalker" readme = "../README.md" repository = "https://github.com/PaddiM8/kalker" -version = "1.1.0" +version = "2.0.0" [dependencies] ansi_term = "0.12.1" -kalk = { path = "../kalk", version = "^2.2.0" } +kalk = { path = "../kalk", version = "^3.0.0" } lazy_static = "1.4.0" regex = "1" rustyline = "7.1.0" diff --git a/kalk/Cargo.toml b/kalk/Cargo.toml index 66ed698..11ca899 100644 --- a/kalk/Cargo.toml +++ b/kalk/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kalk" -version = "2.2.0" +version = "3.0.0" authors = ["PaddiM8"] edition = "2018" readme = "README.md" diff --git a/mobile/package.json b/mobile/package.json index edca7d9..7a928dd 100644 --- a/mobile/package.json +++ b/mobile/package.json @@ -1,6 +1,6 @@ { "name": "kalk_mobile", - "version": "1.1.0", + "version": "2.0.0", "description": "kalk mobile", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", @@ -16,7 +16,7 @@ "@capacitor/android": "^2.4.5", "@capacitor/cli": "^2.4.5", "@capacitor/core": "^2.4.5", - "@paddim8/kalk-component": "^1.4.0" + "@paddim8/kalk-component": "^2.0.0" }, "devDependencies": { "@capacitor-community/electron": "^1.3.2", @@ -25,4 +25,4 @@ "gulp-dart-sass": "^1.0.2", "sass": "^1.32.0" } -} +} \ No newline at end of file diff --git a/web/package.json b/web/package.json index 1fad995..10cb0ea 100644 --- a/web/package.json +++ b/web/package.json @@ -1,6 +1,6 @@ { "name": "@paddim8/kalk-component", - "version": "1.4.1", + "version": "2.0.0", "description": "A Svelte component for kalk, a calculator that supports user-defined functions and variables.", "svelte": "src/main.ts", "main": "public/build/bundle.js", @@ -55,7 +55,7 @@ "webpack-dev-server": "^3.11.0" }, "dependencies": { - "@paddim8/kalk": "^2.2.0", + "@paddim8/kalk": "^3.0.0", "shadow-selection-polyfill": "^1.1.0" }, "browserslist": [