Ship Num/Formula runtime, bilingual math libs, SVG plots with axes/grid, and view UX for collapsible folders plus centered plots. Co-authored-by: Cursor <cursoragent@cursor.com>
28 lines
302 B
Markdown
28 lines
302 B
Markdown
---
|
|
title: math formula pipeline
|
|
> lib/math.mq.md
|
|
---
|
|
|
|
# main
|
|
|
|
`f` =
|
|
$$
|
|
x^2 - 2
|
|
$$
|
|
|
|
*`ty` = > type `f` *
|
|
|
|
> print text=`ty`
|
|
|
|
*`df` = > diff formula=`f` var=x *
|
|
|
|
> print text=`df`
|
|
|
|
*`roots` = > solve formula=`f` var=x *
|
|
|
|
> print text=`roots`
|
|
|
|
*`y` = > eval formula=`f` var=x value=3 *
|
|
|
|
> print text=`y`
|