| mfGeomPlanarShape | R Documentation |
Geometry of the 'classic' shape space identifying planar shapes with a centered and scaled complex vector on the complex sphere / complex projective space.
manifoldboost::mfGeometry -> manifoldboost::mfGeomEuclidean -> manifoldboost::mfGeomUnitSphere -> mfGeomPlanarShape
new()Initialize planar shape geometry for data given in (long) FDboost format.
mfGeomPlanarShape$new(data, formula, weight_fun = NULL, arg_range = NULL)
datadata in the format used in FDboost.
formulaformula describing the internal structure of the data,
intended for the obj.formula of mfboost
(interpreted by mfInterpret_objformula).
weight_funa function computing inner product weights for the geometry
taking two arguments: arg, the argument of the functional data
specified in formula, range the range of arg.
arg_rangethe range supplied to the weight_fun.
structure()convert 2D vectors (given in long format with dimension indicator) to complex
mfGeomPlanarShape$structure(y)
ya numeric vector representing an element of the manifold in an unstructured way. The position of elements and dimensions is obtained from the initialization of the geometry.
unstructure()convert complex back to long format numeric
mfGeomPlanarShape$unstructure(y_)
y_a complex vector on the sphere, orthogonal to the constant.
unstructure_weights()double inner product weights for complex vectors to appear in both dimensions in numeric long format
mfGeomPlanarShape$unstructure_weights(weights_)
weights_numeric vector of inner product weights matching the y_
as a complex vector.
structure_weights()remove double weights to obtain inner product weights for complex vectors
mfGeomPlanarShape$structure_weights(weights)
weightsnumeric vector of inner product weights matching the y
as a numeric vector. weights_ are duplicated for values of both dimensions.
register()center y_ and scale it to unit norm.
mfGeomPlanarShape$register(y_)
y_a complex vector on the sphere, orthogonal to the constant.
register_v()orthogonally project v_ into the tangent space of y0_.
mfGeomPlanarShape$register_v(v_, y0_ = self$pole_)
v_a complex tangent vector.
y0_a complex vector on the sphere, orthogonal to the constant.
log()Apply Log function of the sphere after rotation alignment
mfGeomPlanarShape$log(
y_,
y0_ = self$pole_,
method = c("simple", "alternative")
)y_a complex vector on the sphere, orthogonal to the constant.
y0_a complex vector on the sphere, orthogonal to the constant.
methodalternatives "simple" and "alternative" for the expression used to compute the sphere Log-map. Passed to parent method.
transport()for the parallel transport previous alignment is assumed, such that the transport of the sphere is directly applied.
mfGeomPlanarShape$transport(
v0_,
y0_,
y1_,
method = c("horizontal", "simple", "general")
)v0_a complex tangent vector.
y0_a complex vector on the sphere, orthogonal to the constant.
y1_a complex vector on the sphere, orthogonal to the constant.
methodexpression used for parallel transport: "general" corresponds to the one of
Cornea et al. 2017, "horizontal" to the one of Dryden & Mardia 2012 p. 76,
and "simple" to a simplified version of "general" where v0_
is horizontal to y0_. Passed to parent method.
plot()default plotting function for planar shapes, plotting y_
in front of y0_ (after alignment).
mfGeomPlanarShape$plot( y_ = self$y_, y0_ = self$pole_, ylab = NA, xlab = NA, col = "black", ylim = range(Im(c(y_, y0_))), xlim = range(Re(c(y_, y0_))), pch = 19, asp = 1, yaxt = "n", xaxt = "n", type = "p", y0_par = list(col = "darkgrey", type = type), seg_par = list(col = "grey"), ... )
y_a complex vector on the sphere, orthogonal to the constant.
y0_a complex vector on the sphere, orthogonal to the constant.
ylab, xlab, xlim, ylim, xaxt, yaxt, aspgraphical parameters passed to base::plot
with modified defaults.
col, pch, typegraphical parameters passed to base::plot referring to y_.
y0_pargraphical parameters for y0_.
seg_pargraphical parameters for line segments connecting y_
and y0_.
...other arguments passed to base::plot.
validate()check whether is.complex(y_).
mfGeomPlanarShape$validate(y_)
y_a complex vector on the sphere, orthogonal to the constant.
get_normal()Obtain "design matrix" of tangent space normal vectors in unstructured long format.
mfGeomPlanarShape$get_normal(y0_ = self$pole_, weighted = FALSE)
y0_a complex vector on the sphere, orthogonal to the constant.
weightedlogical, should inner product weights be pre-multiplied to normal vectors?
clone()The objects of this class are cloneable with this method.
mfGeomPlanarShape$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.