Adds a node to the parent graph that adds elementwise the array or scalar associated with the node to an array or scalar of the same scalar type associated with another node. Applies [Graph::add] to the parent graph, `this` node and the `b` node. # Example ``` # use ciphercore_base::graphs::create_context; # use ciphercore_base::data_types::{BIT, scalar_type}; let c = create_context().unwrap();
(&self, b: Node)
| 569 | /// let n3 = n1.add(n2).unwrap(); |
| 570 | /// ``` |
| 571 | pub fn add(&self, b: Node) -> Result<Node> { |
| 572 | self.get_graph().add(self.clone(), b) |
| 573 | } |
| 574 | |
| 575 | /// Adds a node to the parent graph that subtracts elementwise the array or scalar of the same scalar type associated with another node from an array or scalar associated with the node. |
| 576 | /// |