rollup_mass_props_and_unc_fast: Roll up mass properties and uncertainties without input...

rollup_mass_props_and_unc_fastR Documentation

Roll up mass properties and uncertainties without input validation

Description

rollup_mass_props_and_unc_fast() performs the same operation as rollup_mass_props_and_unc() but omits input validation. It is somewhat faster than rollup_mass_props_and_unc() but should be used with caution and only under circumstances in which the caller assumes responsibility for validity of input. Its behavior when passed ill-formed input is unspecified.

Usage

rollup_mass_props_and_unc_fast(tree, df)

Arguments

tree

An 'igraph' tree whose vertices are named as the values of the id column of df and whose directed edges point from child id to parent id.

df

A data frame with (at least) these columns: id, mass, Cx, Cy, Cz, Ixx, Iyy, Izz, Ixy, Ixz, Iyz, POIconv, Ipoint.

Value

The updated data frame

Examples

rollup_mass_props_and_unc_fast(sawe_tree, sawe_table)


massProps documentation built on April 4, 2025, 1:45 a.m.