Functions: Difference between revisions

Content deleted Content added
m listed terms, still need to describe them
m added summary/hint given in Seamly dialog.
Line 18:
Most of these functions are found in the table, however there are several which depend on your ability to construct an IF function in Seamly. As such, I will discuss the IF statement, (which is not in the list,) first, & then proceed in alphabetical order as the functions appear in the list. It may be better to list them by branch of mathematics, but for now the list, & thus the alphabet, has priority.
 
==== IF function ====
 
* '''if a<b then c else d''' looks like '''( a<b ? c : d)''' in Seamly2D formulas.
* '''if e<f then f else g''' looks like '''(e<f ? f : g)'''
* When d is another test, then it looks like: '''( a<b ? c : (e<f ? f : g) )'''<ref>[https://forum.seamly.net/t/math-functions-nested-if-statement/2053/5?u=pneumarian https://forum.seamly.net/t/math-functions-nested-if-statement/2053/5]</ref><br />
 
<br />
 
==== abs - absolute value ====
Line 49 ⟶ 47:
==== asin - arcus sine function working with radians ====
 
==== asinD - arcus sine function working with degrees ====
 
==== asinh - hyperbolic arcus sine function ====
 
==== atan - arcus tangens function working with radians ====
 
==== atanD - arcus tangens function working with degrees ====
 
==== atanh - hyperbolic arcur tangens function ====
 
==== avg - (average,) mean value of all arguments ====
 
==== cos - cosine function working with radians ====
 
==== cosD - cosine function working with degrees ====
 
==== cosh - hyperbolic cosine ====
 
==== degTorad - converts degrees to radian ====
 
==== exp - e raised to the power of x ====
 
==== fmod - Returns the floating-point remainder of numer/denom (rounded towards zero) ====
==== fmod ====
 
==== ln - logarithm to base e (2.71828…) ====
 
==== log - logarithm to the base 10 ====
 
==== log10 - logarithm to the base 10 ====
 
==== log2 - logarithm to the base 2 ====
 
==== [[max]] - max of all arguments ====
 
==== [[min]] - min of all arguments ====
 
==== radTodeg - converts radian to degrees ====
 
==== rint - round to nearest integer ====
 
==== sign - sign function -1 if x<0; 1 if x>0 ====
 
==== sin - sine function working with radians ====
 
==== sinD - sine function working with degrees ====
 
==== sinh - hyperbolic sine function ====
 
==== sqrt - square root of a value ====
 
==== sum - sum of all arguments ====
 
==== tan - tangens function working with radians ====
 
==== tanD - tangens function working with degrees ====
 
==== tanh - hyperbolic tangens function ====
 
== Bibliography ==