f3   xtlang


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/examples/contrib/cas.xtm

Implementation

;; watch for CAS calls that take and return vectors
(bind-func f3
  (lambda (x y z)
    (grad (+ (pow x 2)
             (pow y 3)
             (pow z 4))
          (vector x y z))))


Back to Index

Similar Entries

  • f3    scheme
  • num_f32_div    xtlang
  • num_f32_div    xtlang
  • num_f32_minus    xtlang
  • num_f32_minus    xtlang
  • num_f32_mul    xtlang
  • num_f32_mul    xtlang
  • num_f32_plus    xtlang
  • num_f32_plus    xtlang