remora::identity_matrix< T > Class Template Reference

An identity matrix with values of type T. More...

#include <shark/LinAlg/BLAS/matrix_expression.hpp>

+ Inheritance diagram for remora::identity_matrix< T >:

Public Member Functions

 identity_matrix ()
 
 identity_matrix (std::size_t size)
 

Detailed Description

template<class T>
class remora::identity_matrix< T >

An identity matrix with values of type T.

Elements or cordinates \((i,i)\) are equal to 1 (one) and all others to 0 (zero).

Definition at line 497 of file matrix_expression.hpp.

Constructor & Destructor Documentation

◆ identity_matrix() [1/2]

template<class T>
remora::identity_matrix< T >::identity_matrix ( )
inline

Definition at line 500 of file matrix_expression.hpp.

◆ identity_matrix() [2/2]

template<class T>
remora::identity_matrix< T >::identity_matrix ( std::size_t  size)
inline

Definition at line 501 of file matrix_expression.hpp.


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