TODO : public ASpaceObject.
More...
#include <Tensor.hpp>
TODO : public ASpaceObject.
◆ Tensor() [1/2]
gstlrn::Tensor::Tensor |
( |
size_t |
ndim = 2 | ) |
|
◆ Tensor() [2/2]
gstlrn::Tensor::Tensor |
( |
const Tensor & |
r | ) |
|
◆ ~Tensor()
gstlrn::Tensor::~Tensor |
( |
| ) |
|
|
virtual |
◆ applyDirect()
gstlrn::Tensor::applyDirect |
( |
const 1 & |
vec | ) |
const |
◆ applyDirectInPlace()
void gstlrn::Tensor::applyDirectInPlace |
( |
const 1 & |
vec, |
|
|
1 & |
out |
|
) |
| const |
◆ applyDirectSwapInPlace()
void gstlrn::Tensor::applyDirectSwapInPlace |
( |
const 1 & |
vec, |
|
|
1 & |
out |
|
) |
| const |
◆ applyInverse()
gstlrn::Tensor::applyInverse |
( |
const 1 & |
vec | ) |
const |
◆ applyInverse2InPlace()
void gstlrn::Tensor::applyInverse2InPlace |
( |
const 1 & |
vec, |
|
|
1 & |
out |
|
) |
| const |
◆ applyInverseInPlace() [1/2]
void gstlrn::Tensor::applyInverseInPlace |
( |
const 1 & |
vec, |
|
|
1 & |
out |
|
) |
| const |
◆ applyInverseInPlace() [2/2]
void gstlrn::Tensor::applyInverseInPlace |
( |
constvect |
vec, |
|
|
vect |
out |
|
) |
| const |
◆ getAngle()
double gstlrn::Tensor::getAngle |
( |
Id |
i | ) |
const |
|
inline |
◆ getAngles()
const & gstlrn::Tensor::getAngles |
( |
| ) |
const |
|
inline |
◆ getMatrixDirect()
const MatrixSquare & gstlrn::Tensor::getMatrixDirect |
( |
| ) |
const |
|
inline |
◆ getMatrixInverse()
const MatrixSquare & gstlrn::Tensor::getMatrixInverse |
( |
| ) |
const |
|
inline |
◆ getRadius() [1/2]
const & gstlrn::Tensor::getRadius |
( |
| ) |
const |
|
inline |
◆ getRadius() [2/2]
double gstlrn::Tensor::getRadius |
( |
Id |
i | ) |
const |
|
inline |
◆ getRotation()
const Rotation & gstlrn::Tensor::getRotation |
( |
| ) |
const |
|
inline |
◆ getTensorDirect()
const MatrixSquare & gstlrn::Tensor::getTensorDirect |
( |
| ) |
const |
|
inline |
◆ getTensorDirect2()
◆ getTensorInverse()
const MatrixSquare & gstlrn::Tensor::getTensorInverse |
( |
| ) |
const |
|
inline |
◆ getValue()
double gstlrn::Tensor::getValue |
( |
Id |
idim, |
|
|
Id |
jdim |
|
) |
| const |
|
inline |
◆ hasRotation()
bool gstlrn::Tensor::hasRotation |
( |
| ) |
const |
|
inline |
◆ init()
void gstlrn::Tensor::init |
( |
Id |
ndim | ) |
|
◆ isFlagDefinedByInverse2()
bool gstlrn::Tensor::isFlagDefinedByInverse2 |
( |
| ) |
const |
|
inline |
◆ isIsotropic()
bool gstlrn::Tensor::isIsotropic |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ setRadiusDir()
void gstlrn::Tensor::setRadiusDir |
( |
size_t |
idim, |
|
|
double |
radius |
|
) |
| |
◆ setRadiusIsotropic()
void gstlrn::Tensor::setRadiusIsotropic |
( |
double |
radius | ) |
|
◆ setRadiusVec()
void gstlrn::Tensor::setRadiusVec |
( |
const 1 & |
radius | ) |
|
◆ setRotation()
void gstlrn::Tensor::setRotation |
( |
const Rotation & |
rot | ) |
|
◆ setRotationAngle()
void gstlrn::Tensor::setRotationAngle |
( |
size_t |
idim, |
|
|
double |
angle |
|
) |
| |
◆ setRotationAngles()
void gstlrn::Tensor::setRotationAngles |
( |
const 1 & |
angles | ) |
|
◆ setRotationAnglesAndRadius()
void gstlrn::Tensor::setRotationAnglesAndRadius |
( |
const 1 & |
angles = 1() , |
|
|
const 1 & |
radius = 1() |
|
) |
| |
This functions defines jointly the rotation anisotropy and ranges. It allows initiating the tensor only once (saves time)
- Parameters
-
angles | Vector of rotation angles (optional) |
radius | Vector of ranges (optional) |
◆ setTensorDirect2()
◆ toString()
The documentation for this class was generated from the following files:
- include/Basic/Tensor.hpp
- src/Basic/Tensor.cpp