Age | Commit message (Collapse) | Author |
|
* src/utils.sc (with-root-fsolver): Rewrite without a temporary solver
type variable.
|
|
* src/utils.sc (with-root-fsolver): Fix collision between solver type
and solver type variable.
|
|
* guix.scm: New file.
|
|
* src/nd-random.sc (planar-angle->solid-angle,
solid-angle->planar-angle): Declare these to be a part of the public
interface of the module.
|
|
The pre-inst-env script is required to find freshly built libraries
and scheme files before installation.
* pre-inst-env.in: New file.
* CMakeLists.txt: Configure pre-inst-env.in with correct paths.
|
|
* scm/extent-sampling/load-libs.scm.in, scm/extent-sampling/wrap.scm:
New files.
* CMakeLists.txt: Check for guile. Build and install scheme wrapper.
(change_extension): New function.
|
|
* CMakeLists.txt: Install headers and shared library.
|
|
This is so as to not make indent a build dependency.
* CMakeLists.txt: Indent generated C sources only when the indent
program is found. Don't fail when indent is not found.
|
|
* src/macros/macros.sc (with-alloc): Use let* instead of declare and
set.
|
|
* src/utils.sc (angle-between-vectors, gaussian-cdf, bisection,
bisection-rlimit): Replace underscores in identifiers with hyphens.
|
|
Not all SC files need depend on src/macros/macros.sc, but we make this
simplifying assumption so as to not have to scan the source files at
build time.
* CMakeLists.txt: Make every SC file depend on src/macros/macros.sc.
|
|
* .gitignore: New file.
|
|
* CMakeLists.txt: Use semantic versioning. Introduce patch version
number.
|
|
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.
|
|
* src/oracles.c (infinity_norm): Declare as static.
|
|
* include/utils.h (gprate, gpterm): Delete function prototype
declarations.
* src/utils.c (gprate, gpterm): Delete functions.
|
|
* include/oracles.c (symmetric_spiral_extent_oracle,
right_triangle_extent_oracle, right_triangle_true_volume,
sphere_extent_oracle, sphere_maximum_extent, plane_extent_oracle):
Delete function prototype declarations.
* src/oracles.c (symmetric_spiral_extent_oracle,
right_triangle_extent_oracle, right_triangle_true_volume,
sphere_extent_oracle, sphere_maximum_extent, plane_extent_oracle):
Delete functions.
|
|
* extent-sampling.h, gaussian-nd-random.h, nd-random.h, oracles.h,
utils.h: Move into include directory.
* extent-sampling.c, gaussian-nd-random.c, nd-random.c, oracles.c,
utils.c: Move into src directory.
* CMakeLists.txt: Set include as include directory. Look for source
files inside src directory.
|
|
* Makefile: Delete file.
* CMakeLists.txt: New file.
|
|
* gaussian-nd-random.c, gaussian-nd-random.h: New files.
|
|
|