Skip to content

Latest commit

 

History

History

rust

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Graphest Graphing Engine


The graph of sin(x ± sin y) (sin x ± y) = cos(sin((sin x ± cos y) (sin y ± cos x))) over [4, 6.5] × [2, 4.5].

graph

graph is the default binary of this crate.

cargo r --release -- "y = sin(x)"

By default:

  • The plot will be saved to the file graph.png in the current directory.
  • The following colors are used:
    • Black The pixel contains a solution; a solution is a point that satisfies the relation.
    • Blue The pixel may or may not contain a solution.
    • White The pixel does not contain a solution

Run cargo r --release -- -h to show usage.

Conditional Features

  • arb (enabled by default) - Use Arb, in addition to MPFR, as the underlying implementation of interval functions to speed up evaluation and enable additional functions. With this feature enabled, the unit tests of FLINT and Arb are run during building the crate, which can take quote a long time (~45 minutes). So you might want to skip them by commenting out the statements that contains .arg("check") in build.rs.

Documentation

To build the documentation and open it in the browser, run:

RUSTDOCFLAGS="-Arustdoc::private_intra_doc_links" cargo doc --open --document-private-items