Jamoma API  0.6.0.a19
TTMatrixObject.cpp
Go to the documentation of this file.
1 /** @file
2  *
3  * @ingroup foundationLibrary
4  *
5  * @brief #TTMatrixObject is a #TTObject specialized for processing matrices
6  *
7  * @details
8  *
9  * @author Timothy Place
10  *
11  * @copyright Copyright © 2014 by Timothy Place @n
12  * This code is licensed under the terms of the "New BSD License" @n
13  * http://creativecommons.org/licenses/BSD/
14  */
15 
16 #include "TTMatrixObject.h"
17 #include "TTMatrix.h"
18 #include "TTDataObjectBase.h"
19 
20 
21 TTErr TTMatrixObject::calculate(TTMatrix x, TTMatrix y)
22 {
23  return instance()->calculate(x.instance(), y.instance());
24 }
25 
TTDataObjectBase * instance() const
Get a pointer to the wrapped TTMatrixBase instance.
TTDataObjectBase is the base class for all data generating and processing objects.
TTMatrixBase * instance() const
Get a pointer to the wrapped TTMatrixBase instance.
Definition: TTMatrix.h:37
TTMatrixObject is a TTObject specialized for processing matrices
Wrap TTMatrixBase instances.
Definition: TTMatrix.h:27
TTMatrix wraps a TTMatrixBase for use.
TTErr
Jamoma Error Codes Enumeration of error codes that might be returned by any of the TTBlue functions a...
Definition: TTBase.h:342
TTErr calculate(const TTMatrixArray *inputs, TTMatrixArray *outputs)