PLaSK library

Loading...
Searching...
No Matches
Classes | Namespaces | Functions
tensor2.hpp File Reference

This file contains implementation of tensor in 2D space. More...

`#include <boost/concept_check.hpp>`
`#include <iostream>`
`#include "../math.hpp"`
`#include "2d.hpp"`
Include dependency graph for tensor2.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Classes
struct | plask::Tensor2< T >
| Diagonal tensor with all lateral components equal. More...
struct | plask::NaNImpl< Tensor2< T > >
| Specialization of NaNImpl which add support for 2D tensors. More...
struct | plask::ZeroImpl< Tensor2< T > >
| Specialization of ZeroImpl which add support for 2D vectors. More...

## Namespaces
namespace | plask
| Patterson quadrature for complex function along specified line.
namespace | std
| STL namespace.

## Functions
template<typename T , typename OtherT >
auto | plask::operator* (const OtherT scale, const Tensor2< T > &tensor) -> decltype(tensor *scale)
| Calculate this tensor multiplied by scalar `scale`.
template<typename T >
Tensor2< T > | plask::conj (const Tensor2< T > &v)
| Calculate tensor conjugate.
template<typename T >
bool | plask::is_zero (const Tensor2< T > &v)
| Check if the tensor is almost zero.
template<typename T >
plask::Tensor2< T > | std::sqrt (plask::Tensor2< T > tens)
template<typename T , typename OtherT >
plask::Tensor2< T > | std::pow (plask::Tensor2< T > tens, OtherT a)
template<typename T >
bool | std::isnan (plask::Tensor2< T > tens)

## Detailed Description

This file contains implementation of tensor in 2D space.

Definition in file tensor2.hpp.