Fork me on GitHub
 All Classes Files Functions Variables Groups Pages
Functions
elementwise.h File Reference

Elementwise operations on matrices. More...

Go to the source code of this file.

Functions

template<typename MatrixType1 , typename MatrixType2 , typename MatrixType3 , typename BinaryFunction >
void cusp::elementwise (const MatrixType1 &A, const MatrixType2 &B, MatrixType3 &C, BinaryFunction op)
 Perform transform operation on two matrices. More...
 
template<typename MatrixType1 , typename MatrixType2 , typename MatrixType3 >
void cusp::add (const MatrixType1 &A, const MatrixType2 &B, MatrixType3 &C)
 Compute the sum of two matrices. More...
 
template<typename MatrixType1 , typename MatrixType2 , typename MatrixType3 >
void cusp::subtract (const MatrixType1 &A, const MatrixType2 &B, MatrixType3 &C)
 Compute the difference of two matrices. More...
 

Detailed Description

Elementwise operations on matrices.

Definition in file elementwise.h.