eval_math_fun.m File Reference

Evaluate symbolic function eval_math_fun(fun,x1,...,xn) evaluates the symbolic function 'fun' at the given arguments x1, ..., xn. More...

Functions

function ret = eval_math_fun (char fun,cell args,cell opts,varargin varargin)
 Evaluate symbolic function eval_math_fun(fun,x1,...,xn) evaluates the symbolic function 'fun' at the given arguments x1, ..., xn. More...
 

Detailed Description

Evaluate symbolic function eval_math_fun(fun,x1,...,xn) evaluates the symbolic function 'fun' at the given arguments x1, ..., xn.

Function Documentation

◆ eval_math_fun()

function ret = eval_math_fun ( char  fun,
cell  args,
cell  opts,
varargin  varargin 
)

Evaluate symbolic function eval_math_fun(fun,x1,...,xn) evaluates the symbolic function 'fun' at the given arguments x1, ..., xn.

Author
ayonga
Date
2017-03-23
Example

eval_math_fun(RandomReal,{10})

ans =

4.0980963150223175

Parameters
funthe name of the Mathematica function
argsthe input argument of the Mathematica function
optsthe option argument of the Mathematica function
vararginthe option argument of the SymExpression object

References cell2tensor(), and struct2assoc().

Referenced by RobotLinks.configureDynamics(), RobotLinks.getBodyJacobian(), and RobotLinks.getComPosition().