aboutsummaryrefslogtreecommitdiff
path: root/src/utils.sc
AgeCommit message (Collapse)Author
2021-02-10Remove unnecessary solver type variable.Arun Isaac
* src/utils.sc (with-root-fsolver): Rewrite without a temporary solver type variable.
2021-02-10Fix collision between solver type and solver type variable.Arun Isaac
* src/utils.sc (with-root-fsolver): Fix collision between solver type and solver type variable.
2021-02-05Replace underscores in identifiers with hyphens.Arun Isaac
* src/utils.sc (angle-between-vectors, gaussian-cdf, bisection, bisection-rlimit): Replace underscores in identifiers with hyphens.
2021-02-05Migrate C source to SC.Arun Isaac
sph-sc is a scheme-like S-expression syntax for C. It elements much of the pain and repetition involved in writing C syntax. * src/extent-sampling.c, src/gaussian-nd-random.c, src/nd-random.c, src/oracles.c, src/utils.c: Delete files. * src/extent-sampling.sc, src/gaussian-nd-random.sc, src/macros/macros.sc, src/nd-random.sc, src/oracles.sc, src/utils.sc: New files. * CMakeLists.txt: Generate C source files from SC source files.