class_docstr: A Dyadic object.
  
  See:
  https://en.wikipedia.org/wiki/Dyadic_tensor
  Kane, T., Levinson, D. Dynamics Theory and Applications. 1985 McGraw-Hill
  
  A more powerful way to represent a rigid body's inertia. While it is more
  complex, by choosing Dyadic components to be in body fixed basis vectors,
  the resulting matrix is equivalent to the inertia tensor.
class_docstr_tok: ["A","Dyadic","object",".","See",":","https",":","\/\/en.wikipedia.org\/wiki\/Dyadic_tensor","Kane",",","T.",",","Levinson",",","D.","Dynamics","Theory","and","Applications",".","1985","McGraw-Hill","A","more","powerful","way","to","represent","a","rigid","body","'s","inertia",".","While","it","is","more","complex",",","by","choosing","Dyadic","components","to","be","in","body","fixed","basis","vectors",",","the","resulting","matrix","is","equivalent","to","the","inertia","tensor","."]
docstr: Apply a function to each component of a Dyadic.
docstr_tok: ["Apply","a","function","to","each","component","of","a","Dyadic","."]
code: def applyfunc(self, f):
      """Apply a function to each component of a Dyadic."""
      if not callable(f):
          raise TypeError("`f` must be callable.")
  
      out = Dyadic(0)
      for a, b, c in self.args:
          out += f(a) * (b | c)
      return out
  
imports: from sympy import sympify, Add, ImmutableMatrix
  from sympy.core.evalf import EvalfMixin
  from sympy.printing.defaults import Printable
  from mpmath.libmp.libmpf import prec_to_dps
label_desc: Use image node_id 24 for calling the Dyadic obj's underlying member method code with example usage: obj.applyfunc(f) and returns: out