Skip to content

Instantly share code, notes, and snippets.

Problem:

F(t,y,dy)=dy+y

Scalar equation

  • Noniterative
. /home/pawel/.emacs 9656 Emacs-Lisp ~/.emacs
plotter.sh 366 Shell-script[bas ~/studia/Mathematica/String/test/plotter.sh
company-autoloads.el 6505 Emacs-Lisp ~/.emacs.d/elpa/company-0.4.3/company-autoloads.el
Iteration1.m 5083 Mathematica is n ~/studia/Mathematica/String/test/Iteration1.m
*EPresent* 0 EPresent
% *Completions* 164 Completion List
% *Disabled Command* 845 Help
iresize-autoloads.el 544 Emacs-Lisp ~/.emacs.d/elpa/iresize-0.2/iresize-autoloads.el
%* *Compile-Log* 6002 Compilation
epresent-autoloads.el 599 Emacs-Lisp ~/.emacs.d/elpa/epresent-0.1/epresent-autoloads.el
192.168.1.20:/home/share /media/share nfs rsize=8192,wsize=8192,timeo=14,intr,rw,user
Clear[Grad, Jac, InvJacGrad, ChangeVariable];
Grad[f_, args_] := Module[{IdM},
IdM = IdentityMatrix[Length[args]];
Evaluate[Derivative[Sequence @@ #][f]] @@ args & /@ IdM
]
Jac[yOf_, args_] := Module[{IdM},
IdM = IdentityMatrix[Length[args]];
Transpose[
Outer[Derivative[Sequence @@ #][#2] @@ args &, IdM, yOf, 1]]
]
;;;;;;;;;;;;;;;;
;;; LOADPATH ;;;
;;;;;;;;;;;;;;;;
(add-to-list 'load-path "~/.emacs.d/")
(add-to-list 'load-path "~/.emacs.d/xref")
;; (add-to-list 'exec-path "~/.emacs.d/xref")
;;;;;;;;;;;;;;;;;;
;;; APPEARANCE ;;;
[yapdes]
// input files and directories (processed recursively)
/home/pawel/studia/smp/yapdes
// directory where tag files are stored
-refs /home/pawel/Xrefs/yapdes
// number of tag files
-refnum=10
-I /home/pawel/studia/smp/yapdes/solver
// setting for Emacs compile and run
-set compilefile "cc %s"
# #
# Makefile #
# #
#finds all .c files and replaces the .c with .o
OBJECTS = $(patsubst %.c,%.o,$(wildcard *.c))
#finds all directories in this folder
DIRS = $(patsubst %/,%,$(wildcard */))
# default: $(OBJECTS)
(add-to-list 'load-path "~/.emacs.d/")
(require 'auto-complete-latex)
(setq ac-l-dict-directory "~/.emacs.d/ac-l-dict/")
(add-to-list 'ac-modes 'latex-mode)
(add-hook 'LaTeX-mode-hook 'ac-l-setup)
#!/bin/bash
function print_n {
cat participants.tex\
| tr '\n' ' '\
| sed -e 's|\\Partic{|\n|g' -e 's| *| |g' -e 's|\x27|\\\x27|g' -e 's|} *{|}{|g' \
| awk -F'}{' 'NR > 1 {print $1 ":" $2 ":" $3}'
}
IFS=$'\x0a'
#!/bin/bash
function print_n {
cat participants.tex\
| tr '\n' ' '\
| sed -e 's|\\Partic{|\n|g' -e 's| *| |g' -e 's|\x27|\\\x27|g' -e 's|} *{|}{|g' \
| awk -F'}{' 'NR > 1 {print $1 ":" $2 ":" $3}'
}
IFS=$'\x0a'