vbmm2
From VoxBoWiki
vbmm2 carries out various matrix operations at the command line, on VoxBo matrix files only. It also allows you to do most of these operations in parts. It's mostly for internal use in VoxBo GLM job sequences. Here's the help text:
VoxBo vbmm2 (v1.8.5pre8/May 6 2010)
| vbmm does various bits of matrix arithmetic with MAT1 files.
| below, in and out refer to the input and output matrices. c1 and c2
| refer to the start and end columns to be produced (for parallelization).
| usage:
vbmm -xyt <in1> <in2> <out> <c1> <c2 > do part of XYt
vbmm -xy <in1> <in2> <out> <c1> <c2> do part of XY
vbmm -imxy <in1> <in2> <out> I-XY in core
vbmm -f3 <v> <kg> <out> V*KG*invert(KTtKG)
vbmm -xyz <in1> <in2> <in3> <out> XYZ in core
vbmm -assemblecols <out> assemble out from available parts
vbmm -add <in1> <in2> <out> add two matrices
vbmm -subtract <in1> <in2> <out> subtract in2 from in1
vbmm -invert <in> <out> invert in
vbmm -pinv <in> <out> pseudo-inverse, in core
vbmm -pca <in> <out> calculte pca
vbmm -ident <name> <size> create an identity matrix
vbmm -zeros <name> <cols> [rows] create a zero matrix
vbmm -random <name> <cols> [rows] create a matrix of random numbers
vbmm -print <name> display a matrix
vbmm -printsub <name> <r1> <r2> <c1> <c2> display part of a matrix
vbmm -compare <mat1> <mat2> compare two matrices
