parent
e7cf89a903
commit
3e2e6f253c
14 changed files with 169 additions and 65 deletions
|
|
@ -75,12 +75,18 @@ TYPE const& CLASSNAME::operator()(std::size_t index) const { return storage_->da
|
|||
const TYPE* CLASSNAME::data() const { return storage_->data.data(); }
|
||||
TYPE* CLASSNAME::data() { return storage_->data.data(); }
|
||||
|
||||
CLASSNAME CLASSNAME::normalized() const
|
||||
{
|
||||
CLASSNAME result(*this);
|
||||
result.storage_->data.normalize();
|
||||
return result;
|
||||
}
|
||||
|
||||
CLASSNAME CLASSNAME::transpose() const
|
||||
{
|
||||
CLASSNAME result(*this);
|
||||
result.storage_->data.transposeInPlace();
|
||||
return result;
|
||||
|
||||
}
|
||||
|
||||
CLASSNAME CLASSNAME::conjugate() const
|
||||
|
|
@ -97,6 +103,11 @@ CLASSNAME CLASSNAME::adjoint() const
|
|||
return result;
|
||||
}
|
||||
|
||||
void CLASSNAME::normalize()
|
||||
{
|
||||
storage_->data.normalize();
|
||||
}
|
||||
|
||||
void CLASSNAME::transposeInPlace()
|
||||
{
|
||||
storage_->data.transposeInPlace();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue