Adds a node to the parent graph that multiplies elementwise the array or scalar associated with the node by an array or scalar of the same scalar type associated with another node. Applies [Graph::multiply] 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(
(&self, b: Node)
| 609 | /// let n3 = n1.multiply(n2).unwrap(); |
| 610 | /// ``` |
| 611 | pub fn multiply(&self, b: Node) -> Result<Node> { |
| 612 | self.get_graph().multiply(self.clone(), b) |
| 613 | } |
| 614 | |
| 615 | /// Adds a node to the parent graph that multiplies elementwise the array or scalar associated with the node by a binary array or scalar associated with another node. |
| 616 | /// |