Drake
 All Classes Files Functions Variables
Difference Class Reference

DrakeFunction representing the first difference between a series of points: More...

Inheritance diagram for Difference:
Collaboration diagram for Difference:

Public Member Functions

function Difference (m, n)
 obj = Difference(frame,n) returns a function representing the differences between consectutive elements of a set of n points in R^m More...
 

Detailed Description

DrakeFunction representing the first difference between a series of points:

\[ f(x) = \begin{bmatrix} x_2 - x_1 \\ x_3 - x_2 \\ \vdots \\ x_n - x_{n-1} \end{bmatrix} \]

Constructor & Destructor Documentation

function Difference ( ,
 
)

obj = Difference(frame,n) returns a function representing the differences between consectutive elements of a set of n points in R^m

obj = Difference(frame) is the same, but with n = 2

Parameters
m– length of each element
n– Number of elements. Optional
Default: = 2
Return values
obj

The documentation for this class was generated from the following file: