IgANet
IGAnets - Isogeometric Analysis Networks
Loading...
Searching...
No Matches
std Namespace Reference

STL namespace. More...

Namespaces

namespace  detail
 

Functions

template<typename T , std::size_t N>
std::ostream & operator<< (std::ostream &os, const std::array< T, N > &obj)
 Prints a std::array of generic objects.
 
template<std::size_t N>
std::ostream & operator<< (std::ostream &os, const std::array< torch::Tensor, N > &obj)
 Print (as string) a TensorArray object.
 
template<typename... Ts>
std::ostream & operator<< (std::ostream &os, const std::tuple< Ts... > &obj)
 Prints a std::tuple of generic objects.
 

Detailed Description

STL namespace.

Function Documentation

◆ operator<<() [1/3]

template<typename T , std::size_t N>
std::ostream & std::operator<< ( std::ostream &  os,
const std::array< T, N > &  obj 
)
inline

Prints a std::array of generic objects.

Template Parameters
TElement type of the array.
NNumber of elements in the array.
Parameters
osOutput stream.
objArray to print.
Returns
os after the array representation has been written.

◆ operator<<() [2/3]

template<std::size_t N>
std::ostream & std::operator<< ( std::ostream &  os,
const std::array< torch::Tensor, N > &  obj 
)
inline

Print (as string) a TensorArray object.

Template Parameters
NTemplate parameter N.
Parameters
osOutput stream.
objObject to process.
Returns
Result of the operation.

◆ operator<<() [3/3]

template<typename... Ts>
std::ostream & std::operator<< ( std::ostream &  os,
const std::tuple< Ts... > &  obj 
)
inline

Prints a std::tuple of generic objects.

Template Parameters
TsTypes stored in the tuple.
Parameters
osOutput stream.
objTuple to print.
Returns
os after the tuple representation has been written.