PIP
0.4.0_beta2
Platform-Independent Primitives
|
Many mathematical functions and classes. More...
Classes | |
struct | TransferFunction |
Differential evaluations. More... | |
Macros | |
#define | PIMV_FOR(v, s) for (uint v = s; v < Size; ++v) |
Vector templated. More... | |
#define | PIMM_FOR(c, r) for (uint c = 0; c < Cols; ++c) { for (uint r = 0; r < Rows; ++r) { |
Matrix templated. More... | |
#define | PIMV_FOR(v, s) for (uint v = s; v < size_; ++v) |
Vector templated. More... | |
#define | PIMM_FOR(c, r) for (uint c = 0; c < cols_; ++c) { for (uint r = 0; r < rows_; ++r) { |
Matrix templated. More... | |
Functions | |
template<uint CR, uint Rows0, uint Cols1, typename Type > | |
PIMathMatrixT< Cols1, Rows0, Type > | operator* (const PIMathMatrixT< CR, Rows0, Type > &fm, const PIMathMatrixT< Cols1, CR, Type > &sm) |
Multiply matrices {CR x Rows0} on {Cols1 x CR}, result is {Cols1 x Rows0}. | |
template<uint Cols, uint Rows, typename Type > | |
PIMathVectorT< Rows, Type > | operator* (const PIMathMatrixT< Cols, Rows, Type > &fm, const PIMathVectorT< Cols, Type > &sv) |
Multiply matrix {Cols x Rows} on vector {Cols}, result is vector {Rows}. | |
template<typename Type > | |
PIMathMatrix< Type > | operator* (const PIMathMatrix< Type > &fm, const PIMathMatrix< Type > &sm) |
Multiply matrices {CR x Rows0} on {Cols1 x CR}, result is {Cols1 x Rows0}. | |
template<typename Type > | |
PIMathVector< Type > | operator* (const PIMathMatrix< Type > &fm, const PIMathVector< Type > &sv) |
Multiply matrix {Cols x Rows} on vector {Cols}, result is vector {Rows}. | |
Many mathematical functions and classes.
#define PIMV_FOR | ( | v, | |
s | |||
) | for (uint v = s; v < Size; ++v) |
Vector templated.
Vector.
#define PIMM_FOR | ( | c, | |
r | |||
) | for (uint c = 0; c < Cols; ++c) { for (uint r = 0; r < Rows; ++r) { |
Matrix templated.
Matrix.
#define PIMV_FOR | ( | v, | |
s | |||
) | for (uint v = s; v < size_; ++v) |
Vector templated.
Vector.
#define PIMM_FOR | ( | c, | |
r | |||
) | for (uint c = 0; c < cols_; ++c) { for (uint r = 0; r < rows_; ++r) { |
Matrix templated.
Matrix.