Learn R Programming

gellipsoid (version 0.7.3)

gmult: Linear Transformation of a Generalized Ellipsoid

Description

Linear transformation of a generalized ellipsoid, including projections to subspaces.

Usage

gmult(A, G, epsfac = 2)

Value

gell object

Arguments

A

A matrix describing a linear transformation, conforming to the U component of G for matrix multiplication.

G

A gell object

epsfac

Factor of .Machine$double.eps used to distinguish zero vs. positive singular values

Author

Georges Monette

Details

The matrix A can be non-singular, for a standard linear transformation, or singular, for a projection to a subspace.

See Also

gell, dual, signature

Examples

Run this code

(zplane <- gell(span = diag(3)[,1:2]))  # a plane

dual(zplane)  # orthogonal line
(zplane2 <- gmult( cbind( c(1,1,1), c(1,-1,0), c(1,0,-1)), zplane))

# correctly wipes out one dimension
(zplane3 <- gmult( cbind( c(1,0,0), c(1,0,0), c(0,0,1)), zplane)) 


Run the code above in your browser using DataLab