summaryrefslogtreecommitdiff
path: root/CSMath/src/bisection/DualExpr.java
diff options
context:
space:
mode:
authorbculkin2442 <bjculkin@mix.wvu.edu>2018-10-14 10:42:09 -0400
committerbculkin2442 <bjculkin@mix.wvu.edu>2018-10-14 10:42:09 -0400
commitf778a81e81506a4db455a6f506571c6bba935bf2 (patch)
treed994a4abaaabe70c22a1511f74ecefb175b29092 /CSMath/src/bisection/DualExpr.java
parent48f781fb6e61539ba9d17efcfd9f9e38245cf6c0 (diff)
parent1dc626413033812bc1065d1a419d41b17abe1822 (diff)
Merge branch 'master' of https://github.com/bculkin2442/csmath.git
Conflicts: CSMath/src/bisection/DualExpr.java
Diffstat (limited to 'CSMath/src/bisection/DualExpr.java')
-rw-r--r--CSMath/src/bisection/DualExpr.java19
1 files changed, 9 insertions, 10 deletions
diff --git a/CSMath/src/bisection/DualExpr.java b/CSMath/src/bisection/DualExpr.java
index 22cc368..0c76840 100644
--- a/CSMath/src/bisection/DualExpr.java
+++ b/CSMath/src/bisection/DualExpr.java
@@ -84,7 +84,7 @@ public class DualExpr {
* Create a new constant dual number.
*
* @param num
- * The value of the dual number.
+ * The value of the dual number.
*/
public DualExpr(Dual num) {
this.type = ExprType.CONSTANT;
@@ -96,9 +96,9 @@ public class DualExpr {
* Create a new unary dual number.
*
* @param type
- * The type of operation to perform.
+ * The type of operation to perform.
* @param val
- * The parameter to the value.
+ * The parameter to the value.
*/
public DualExpr(DualExpr.ExprType type, DualExpr val) {
this.type = type;
@@ -108,13 +108,12 @@ public class DualExpr {
/**
* Create a new math expression.
- *
- * @param type
- * The math operation to perform
+ *
+ * The type of operation to perform.
* @param left
- * The left operand
+ * The left operand
* @param right
- * The right operand.
+ * The right operand
*/
public DualExpr(DualExpr.ExprType type, DualExpr left, DualExpr right) {
this.type = type;
@@ -127,9 +126,9 @@ public class DualExpr {
* Create a new power expression.
*
* @param left
- * The expression to raise.
+ * The expression to raise.
* @param power
- * The power to raise it by.
+ * The power to raise it by.
*/
public DualExpr(DualExpr left, int power) {
this.type = ExprType.POWER;