Laplacian Experiments

From Worden
Jump to: navigation, search

I'm experimenting with Laplacian operations on graphs on these pages, with some R code to see what actually happens when I do these things to some graphs. Some shared R code is at the bottom of this page, and other R code is on the pages that use it.

See also Laplacian Experiments/Eigenvectors for a look at the eigenvectors of the Laplacian, and Laplacian Experiments/Eigenmatrices for a similar look at eigenmatrices of the Laplacianoid.

Misc code

Makefile
include $(MF)/Rstep.mk

experiments.mk
# I have invented some filetypes, starting with .ode-experiment.R,
# for this project.
# Each .ode-experiment.R file is expected to produce a bunch of .png files.
# Once the experiment has run, we combine all those .png files into a 
# single animated .gif image, and that's what we display.
# Note I don't know how to have R write .gif images, and animated bitmaps
# don't have good support yet in .png or .svg or whatever free format so I
# go with .gif for that.
%.ode-experiment.animate.gif : %.ode-experiment.Rout
	convert -adjoin $*.ode-experiment.frame.*.png -delay 20 $@
	$(RM) $*.ode-experiment.frame.*.png

Personal tools
Namespaces

Variants
Actions
Navigation
Projects
Toolbox