README.md in qlang-0.0.141 vs README.md in qlang-0.0.1414

- old
+ new

@@ -1,43 +1,54 @@ # Qlang +[![Gem Version](https://badge.fury.io/rb/qlang.svg)](http://badge.fury.io/rb/qlang) [![Build Status](https://travis-ci.org/gogotanaka/Q.svg?branch=master)](https://travis-ci.org/gogotanaka/Q) [![Coverage Status](https://coveralls.io/repos/gogotanaka/Q/badge.png?branch=master)](https://coveralls.io/r/gogotanaka/Q?branch=master) [![Code Climate](https://codeclimate.com/github/gogotanaka/Q/badges/gpa.svg)](https://codeclimate.com/github/gogotanaka/Q) [![Dependency Status](https://gemnasium.com/gogotanaka/Q.svg)](https://gemnasium.com/gogotanaka/Q) + Enjoy MATH with Keyboard. +### Differentiate ``` -# Differentiate +d/dx(cos(x)) +=> ( - sin( x ) ) -Q:-> d/dx(cos(x)) -( - sin( x ) ) +d/dx(log(x)) +=> ( 1 / x ) -Q:-> d/dx(log(x)) -( 1 / x ) +d/dy(y ** 2) +=> ( 2 * y ) +``` -Q:-> d/dy(y ** 2) -( 2 * y ) +### Integrate -# Integrate +``` +S(log(x)dx)[0..1] +=> - oo -Q:-> S(log(x)dx)[0..1] -( - sin( x ) ) +S(sin(x)dx)[0..pi] +=> 2.0 -Q:-> d/dx(log(x)) -( 1 / x ) +S(cos(x)dx)[0..pi] +=> 0.0 +``` -Q:-> d/dy(y ** 2) -( 2 * y ) ### Matrix -Q:->(1 2 3; 4 5 6) + +``` (1 2 3; 4 5 6) +=> (1 2 3; 4 5 6) -Q:-> (1 2 3; 4 5 6) + (1 2 3; 4 5 6) -(2 4 6; 8 10 12) +(1 2 3; 4 5 6) + (1 2 3; 4 5 6) +=> (2 4 6; 8 10 12) -Q:-> (1 2 3; 4 5 6) * (1 2 3) -(14 32) +(1 2 3; 4 5 6) * (1 2 3) +=> (14 32) +``` +### Function +``` +f(x, y) = x + y ``` ## How to use