README.md in danica-2.6.3 vs README.md in danica-2.6.4
- old
+ new
@@ -263,17 +263,51 @@
returns
```tex
f(t, a, S_0, V_0) = S_0 + V_0 \cdot t + \frac{a \cdot t^{2}}{2}
```
+functions ignore constants variables on the function definition (left side of the equation)
+
+
+```ruby
+class Func < Danica::Function.build(:x, :y, :z) { z*(x ** y) }
+end
+
+f = Func.new(y: 3, z: Danica::PI)
+
+f.to_tex
+```
+
+returns
+```tex
+f(x, 3) = \pi \cdot x^{3}
+```
+
##### to_gnu
```ruby
fx.to_gnu
```
returns
```gnuplot
f(t, a, S0, V0) = S0 + V0 * t + (a * t**(2))/(2)
+```
+
+functions ignore constants AND numeric variables on the function
+definition (left side of the equation)
+
+```ruby
+class Func < Danica::Function.build(:x, :y, :z) { z*(x ** y) }
+end
+
+f = Func.new(y: 3, z: Danica::PI)
+
+f.to_gnu
+```
+
+returns
+```tex
+f(x) = pi * x**(3)
```
##### calculate / to_f
```ruby
fx = Danica::Function::Spatial.new(