#include <gpu_operations.h>
|
| static Matrix< T > | Multiply (const Matrix< T > &a, const T &scalar) |
| |
| static Matrix< T > | Multiply (const Matrix< T > &a, const Matrix< T > &b) |
| |
| static Matrix< T > | Add (const Matrix< T > &a, const T &scalar) |
| |
| static Matrix< T > | Add (const Matrix< T > &a, const Matrix< T > &b) |
| |
| static Matrix< T > | Subtract (const Matrix< T > &a, const T &scalar) |
| |
| static Matrix< T > | Subtract (const Matrix< T > &a, const Matrix< T > &b) |
| |
| static Matrix< T > | Inverse (const Matrix< T > &a) |
| |
| static Vector< T > | Norm (const Matrix< T > a, const int &p=2, const int &axis=0) |
| |
| static T | Determinant (const Matrix< T > &a) |
| |
| static int | Rank (const Matrix< T > &a) |
| |
| static T | FrobeniusNorm (const Matrix< T > &a) |
| |
| static T | Trace (const Matrix< T > &a) |
| |
| static T | DotProduct (const Vector< T > &a, const Vector< T > &b) |
| |
| static Matrix< T > | OuterProduct (const Vector< T > &a, const Vector< T > &b) |
| |
This function calculates the sum of the input Matrix and scalar
- Parameters
-
| a | Input Matrix |
| scalar | Input scalar of type T |
- Returns
- This function returns a Matrix of type T
This function calculates the sum of the input Matricies
- Parameters
-
| a | Input Matrix 1 |
| b | Input Matrix 2 |
- Returns
- This function returns a Matrix of type T
Return the inversion of a matrix Computation all done in GPU
- Parameters
-
- Returns
- Inversed matrix
Return the rank of a matrix Computation all done in GPU
- Parameters
-
- Returns
- Rank of the input matrix
Return the trace of a matrix Computation all done in GPU
- Parameters
-
- Returns
- Trace of the input matrix
The documentation for this class was generated from the following file: