BlackCat_Tensors
A GPU-supported autograd and linear algebra library, designed for neural network construction
Public Member Functions | Static Public Attributes | List of all members
bc::traits::Integer< X > Struct Template Reference

#include <constexpr_int.h>

Inheritance diagram for bc::traits::Integer< X >:
Inheritance graph
[legend]

Public Member Functions

template<int Y>
auto operator+ (const Integer< Y > &other) const
 
template<int Y>
auto operator- (const Integer< Y > &other) const
 
template<int Y>
auto operator/ (const Integer< Y > &other) const
 
template<int Y>
auto operator* (const Integer< Y > &other) const
 

Static Public Attributes

static constexpr int value = X
 

Member Function Documentation

◆ operator*()

template<int X>
template<int Y>
auto bc::traits::Integer< X >::operator* ( const Integer< Y > &  other) const
inline

◆ operator+()

template<int X>
template<int Y>
auto bc::traits::Integer< X >::operator+ ( const Integer< Y > &  other) const
inline

◆ operator-()

template<int X>
template<int Y>
auto bc::traits::Integer< X >::operator- ( const Integer< Y > &  other) const
inline

◆ operator/()

template<int X>
template<int Y>
auto bc::traits::Integer< X >::operator/ ( const Integer< Y > &  other) const
inline

Member Data Documentation

◆ value

template<int X>
constexpr int bc::traits::Integer< X >::value = X
static

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