Browse Source

Wrote about getting the power

Samuel W. Flint 7 years ago
parent
commit
17b10a1a39
1 changed files with 5 additions and 2 deletions
  1. 5 2
      larcs.org

+ 5 - 2
larcs.org

@@ -724,7 +724,7 @@ This assembles the classification library, which in the ~#:larcs.classify~ packa
   <<et-possible-classifications>>
 #+END_SRC
 
-* WORKING Polynomial Related Functions [3/10]
+* WORKING Polynomial Related Functions [4/10]
 :PROPERTIES:
 :CREATED:  <2016-05-01 Sun 12:29>
 :ID:       984d0f52-4c52-4bfa-a150-f3289d25bdf1
@@ -825,12 +825,15 @@ The ability to retrieve tha variable in a polynomial term is important.  This is
       (first (collect-variables term))))
 #+END_SRC
 
-** TODO Get Power
+** DONE Get Power
+CLOSED: [2017-01-19 Thu 20:59]
 :PROPERTIES:
 :CREATED:  <2016-05-31 Tue 19:08>
 :ID:       7d5a10da-bb30-496f-b285-470057a46db0
 :END:
 
+When dealing with polynomial terms, it is frequently useful to be able to retrieve the power of the term.  This is done differently for a few different types of terms: in the case of numerics and variables, it's a constant, 0 and 1 respectively; in the case of powers, it's the third element of the list, and in the case of multiplicatives, it's the power of the third term (which will be either a variable or a power).
+
 #+Caption: Get Power
 #+Name: poly-get-power
 #+BEGIN_SRC lisp