1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
//! Sqrt operation. use crate::{builder, node_to_inner, nodes::Node}; /// Sqrt node. pub struct Sqrt { inner: Node, } impl Sqrt { /// Creates new Sqrt operation. pub fn new<T: Into<String>>(input: T) -> Self { Sqrt { inner: builder::Node::new("Sqrt").input(input).build(), } } } node_to_inner!(Sqrt);