Name:

+ addition function

Library names:

sollya_obj_t sollya_lib_add(sollya_obj_t, sollya_obj_t) sollya_obj_t sollya_lib_build_function_add(sollya_obj_t, sollya_obj_t) #define SOLLYA_ADD(x,y) sollya_lib_build_function_add((x), (y))

Usage:

function1 + function2 : (function, function) -> function interval1 + interval2 : (range, range) -> range interval1 + constant : (range, constant) -> range interval1 + constant : (constant, range) -> range

Parameters:

Description:

Example 1:

   > 1 + 2;
   3

Example 2:

   > x + 2;
   2 + x

Example 3:

   > x + x;
   x * 2

Example 4:

   > diff(sin(x) + exp(x));
   cos(x) + exp(x)

Example 5:

   > [1;2] + [3;4];
   [4;6]
   > [1;2] + 17;
   [18;19]
   > 13 + [-4;17];
   [9;30]
See also: -, *, /, ^
Go back to the list of commands