Operators now mix storage_order and returns properly sized results
See merge request oss/rotgen!30
This commit is contained in:
parent
b61c91736f
commit
43d09f06fb
18 changed files with 237 additions and 88 deletions
|
|
@ -82,10 +82,10 @@ CLASSNAME CLASSNAME::normalized() const
|
|||
return result;
|
||||
}
|
||||
|
||||
CLASSNAME CLASSNAME::transpose() const
|
||||
TRANSCLASSNAME CLASSNAME::transpose() const
|
||||
{
|
||||
CLASSNAME result(*this);
|
||||
result.storage_->data.transposeInPlace();
|
||||
TRANSCLASSNAME result;
|
||||
result.storage()->data = storage_->data.transpose();
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
@ -96,10 +96,10 @@ CLASSNAME CLASSNAME::conjugate() const
|
|||
return result;
|
||||
}
|
||||
|
||||
CLASSNAME CLASSNAME::adjoint() const
|
||||
TRANSCLASSNAME CLASSNAME::adjoint() const
|
||||
{
|
||||
CLASSNAME result(*this);
|
||||
result.storage_->data.adjointInPlace();
|
||||
TRANSCLASSNAME result;
|
||||
result.storage()->data = storage_->data.adjoint();
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue