This commit is contained in:
jungin.rhee
2023-08-22 05:16:34 +00:00
parent d40d4eb562
commit afe2c7b2d2
27 changed files with 312 additions and 192 deletions

View File

@@ -79,8 +79,8 @@ pub trait Differentiable: Clone {
fn diff(&self) -> Self;
}
/// HINT: Consult <https://en.wikipedia.org/wiki/Differentiation_rules#Constant_term_rule>
impl Differentiable for Rational {
/// HINT: Consult <https://en.wikipedia.org/wiki/Differentiation_rules#Constant_term_rule>
fn diff(&self) -> Self {
todo!()
}
@@ -122,7 +122,7 @@ impl Differentiable for SingletonPolynomial {
}
}
/// Expoential function.
/// Expoential function.(`e^x`)
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub struct Exp;