- 1 Personal Data
- 2 Sketchpad
- 3 TODO list
- 3.1 Add remove option to autoload
- 3.2 make output format a valid input format
- 3.3 extend sub2ind and ind2sub
- 3.4 updating pkg.m
- 3.5 Octave - Forge
test syntax highlight
|Code: Loading the file as polygon compatible with geometry package|
function y = deserializeInt (data) y = bitpack ( cell2mat( arrayfun( @(x)bitget(x,1:8), data, "UniformOutput", false ) )', "uint16"); y = double (y); endfunction
- know the function -->
- Know what to do but not the function name -->
- Can't remember the fullname of a function (or have a guess) --> partial_name_of_function then press <TAB-key> twice
- Did it once but can't remeber --> <Ctrl>+<R> to search the history.
- Write description of packages Geometry package,Mechanics package,Robotics package.
- Start the API for RSB.
Add remove option to autoload
make output format a valid input format
An output format that prints valid input commands, so one can copy and re-execute the code. From IRC
(04:57:05 PM) jwe: It might not be too hard to implement what you want. There is a flag in the pr-output functions for pr_as_read_format and many (but probably not all) of the types that are printed there do something with that. And it is not hooked in to the format function, so you can't enable it.
(04:57:31 PM) jwe: pr-output.cc and pr_as_read_syntax
extend sub2ind and ind2sub
We are extending sub2ind and ind2sub to work with triangular matrices. Currently private functions of mechanics. A string argument triggers the behavior. The string argument can be "triu" or "tril". After this str argument we accept an extra scalar value indicating that the triangular matrix is off diagonal (as in tril and triu). So, the first modification to the C++ code will be
- Check if any of the argument is a str.
- Check what kind of triangular matrix (up or low).
- If the argument after the str argument is a scalar, it indicates off diagonal triangular matrix (we do not have algo for that yet, though).
Commands used with pkg
pkg install image-*
pkg load image
pkg unload image
pkg uninstall image
pkg install -forge image
pkg install -verbose -forge -nodeps signal
pkg install struct-old.tar.gz
pkg update struct
pkg load all
pkg unload all
installed_packages = pkg ("list")
[user_packages, system_packages] = pkg ("list")
oct_forge_pkgs = pkg ("list", "-forge")
pkg describe image
pkg describe -verbose image
pkg describe -verbose all
desc = pkg ("describe", "signal", "image")
[desc, flag] = pkg ("describe", "signal", "image")
pkg prefix /tmp
pfx = pkg ("prefix")
pkg prefix /tmp /tmp
pfx = pkg ("prefix")
pkg build -verbose /tmp image-*
pkg rebuild signal
pkg local_db /tmp/.octave_packages.db
pkg global_db /tmp/.octave_packages.db
pkg whereis rgbplot
pkg whereis -forge rgbplot
pkg install -url "http://users.elis.ugent.be/~jcarbaja/DRD/DRD_files/" drd-1.1.0.tar.gz
Octave - Forge
- quaternion mpower.m
Non-negative matrix factorization
- Add nmf_bpas and nmf-pg to linear-algebra ✔
- Get nmf_toolbox from DTU under free license. ✔
- Add it to linear-algebra and create nnmf.m compatible with MATLAB calling all the methods.
Ask Stewart Heitmann to release under GPLv3.
- Ask Andrea d'Avella to release under GPLv3 or equivalent. Waiting for answer. KaKiLa 03:54, 9 March 2012 (PST)
- Muscle models
- Hill model.
- Voight model.
- SLIP model, multiple generalized variables.
- Tendulum, tendon driven pendulum.
- Port Robotics Toolbox. Started: Google group. Peter released an old version for Octave under GPLv3.
- Complete quaternion_oo wrapper.
- Ask Emanuel Todorov to release under GPLv3 or equivalent.
- MPK apparently is non-Free. Discussing.
Merging Phillip's work:
- Consider multiple makefiles. Look how it was done in instrument-control
- DMOC code generation.
- Improve verlet integrator. A odepkg compatible version?
- Start port of TISEAN.
- Function call structure of C programs (tar.gz file)
- foo.rout.list are the routines found in sources_c/routines/ called by program foo.
- foo.prog.list are the programs found in sources_c/ called by program foo.
- foo.svg is the call tree of foo. Other programs are circled in red. Routines are squared. Functions without frame are functions within the file or system functions.
- prog.list and rout.list list all programs and routines.
- Asked for a GPLv3 version of GPML. They answer but license is FreeBSD. A new version is comming out in June 2012, so I will wait to start the port.
Porting the package. May be good to port SC as well