powered by
This function is used to invert an affine matrix. It is a wrapper around solve, which additionally sets appropriate attributes.
solve
invertAffine(affine)
The inverted affine matrix.
An existing 4x4 affine matrix.
Jon Clayden <code@clayden.org>
affine <- readAffine(system.file("extdata","affine.txt",package="RNiftyReg")) print(affine) print(invertAffine(affine))
Run the code above in your browser using DataLab