#include <multivector.h>
Definition at line 67 of file multivector.h.
Definition at line 70 of file multivector.h.
70 : multivector< ex,2>(0,3,3) {}
| std::Matrix::Matrix |
( |
const Matrix & |
m | ) |
|
|
inline |
| std::Matrix::Matrix |
( |
const char * |
m[3][3] | ) |
|
|
inline |
constructs a symbolic matrix with the symbols names given by the argument
Definition at line 74 of file multivector.h.
74 : multivector< ex,2>(0,3,3){
76 for(
uint j=0;j<3;j++) at(i)[j]=symbol(m[i][j]);
| std::Matrix::Matrix |
( |
const char * |
name, |
|
|
const char ** |
index1, |
|
|
const char ** |
index2 |
|
) |
| |
|
inline |
constructs a symbolic matrix with the symbols names given by the arguments
Definition at line 79 of file multivector.h.
79 : multivector< ex,2>(0,3,3){
81 for(
uint j=0;j<3;j++){
82 string res=string(name)+
"_{"+string(index1[i])+
" "+string(index2[j])+
"}";
84 at(i)[j]=symbol(res.c_str());
| std::Matrix::Matrix |
( |
ex |
m1, |
|
|
ex |
m2, |
|
|
ex |
m3 |
|
) |
| |
|
inline |
constructs a diagonal matrix
Definition at line 88 of file multivector.h.
88 : multivector< ex,2>(0,3,3) {
| std::Matrix::Matrix |
( |
ex |
m1 | ) |
|
|
inline |
constructs a diagonal matrix with all diagonal elements equal
Definition at line 95 of file multivector.h.
95 : multivector< ex,2>(0,3,3){
| std::Matrix::Matrix |
( |
ex |
t12, |
|
|
ex |
t13, |
|
|
ex |
t23, |
|
|
ex |
d13 |
|
) |
| |
|
inline |
constructs a unitary matrix in the standard form
Definition at line 102 of file multivector.h.
102 : multivector< ex,2>(0,3,3) {
104 ex c12=cos(t12), c13=cos(t13), c23=cos(t23);
105 ex s12=sin(t12), s13=sin(t13), s23=sin(t23);
110 {c12*c13,s12*c13,s13*e13t},
111 {-s12*c23-c12*s23*s13*e13,c12*c23-s12*s23*s13*e13,s23*c13},
112 {s12*s23-c12*c23*s13*e13,-c12*s23-s12*c23*s13*e13,c13*c23}
114 for(
uint i=0;i<3; i++) at(i).assign(aux[i],aux[i]+3);
| Matrix std::Matrix::conjugate |
( |
| ) |
const |
|
inline |
| ex std::Matrix::cs |
( |
ex |
t12 | ) |
|
|
inline |
used in the unitary constructor
Definition at line 117 of file multivector.h.
118 return (exp(I*t12)+1/exp(I*t12))/2;
| ex std::Matrix::sn |
( |
ex |
t12 | ) |
|
|
inline |
used in the unitary constructor
Definition at line 121 of file multivector.h.
122 return -I*(exp(I*t12)-1/exp(I*t12))/2;
The documentation for this class was generated from the following file: