File pmns-matrix.hpp๏ƒ

namespace nuTens

Functions

constexpr std::complex< float > imagUnit (0.0, 1.0)
class PMNSmatrix : public nuTens::BaseMixingMatrix
#include <pmns-matrix.hpp>

PMNS matrix in the standard parameterisation Convenient way to construct the matrix.

Unnamed Group

inline const Tensor &getTheta12Tensor()

Setters.

inline const Tensor &getTheta13Tensor()
inline const Tensor &getTheta23Tensor()
inline const Tensor &getDeltaCPTensor()

Public Functions

inline PMNSmatrix(dtypes::deviceType device = dtypes::kCPU)
inline PMNSmatrix &setTheta12(float theta12)
inline PMNSmatrix &setTheta13(float theta13)
inline PMNSmatrix &setTheta23(float theta23)
inline PMNSmatrix &setDeltaCP(float deltaCP)

Protected Functions

inline virtual Tensor _build() override๏ƒ

Should construct and return the mixing matrix.

Private Functions

inline void buildMat1()๏ƒ
inline void buildMat2()๏ƒ
inline void buildMat3()๏ƒ

Private Members

std::shared_ptr<Tensor> _theta12๏ƒ
std::shared_ptr<Tensor> _theta13๏ƒ
std::shared_ptr<Tensor> _theta23๏ƒ
Tensor _deltaCP = Tensor::zeros({1}, dtypes::kComplexFloat, _device, true)๏ƒ
Tensor _mat1๏ƒ
Tensor _mat2๏ƒ
Tensor _mat3๏ƒ