소스 검색

Added a simple trigonometric classification

Samuel W. Flint 10 년 전
부모
커밋
47a6388e75
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      manipulation.org

+ 4 - 0
manipulation.org

@@ -406,6 +406,10 @@ This is used to classify "powers", that is to say, equations of the form $x^n$,
 #+Caption: Classify Trigonometrics
 #+Name: classify-trigonometrics
 #+BEGIN_SRC lisp
+  (define-classification trigonometric
+    (when (classified-as-p expression 'non-atomic)
+      (member (first expression) '(sin cos tan csc sec cot))))
+
   (define-classification sin
     (when (classified-as-p expression 'non-atomic)
       (eq 'sin (first expression))))