Loading...
Searching...
No Matches
Collaboration diagram for Manipulation:
template<class T >
void bitpit::linearalgebra::transpose (std::vector< std::vector< T > > &, std::vector< std::vector< T > > &)
 
template<class T , size_t m, size_t n>
void bitpit::linearalgebra::transpose (std::array< std::array< T, n >, m > &, std::array< std::array< T, m >, n > &)
 
template<class T >
std::vector< std::vector< T > > bitpit::linearalgebra::transpose (const std::vector< std::vector< T > > &)
 
template<class T , size_t m, size_t n>
std::array< std::array< T, m >, n > bitpit::linearalgebra::transpose (const std::array< std::array< T, n >, m > &)
 
template<class T >
void bitpit::linearalgebra::triL (std::vector< std::vector< T > > &, std::vector< std::vector< T > > &)
 
template<class T , size_t m, size_t n>
void bitpit::linearalgebra::triL (std::array< std::array< T, n >, m > &, std::array< std::array< T, n >, m > &)
 
template<class T >
void bitpit::linearalgebra::triU (std::vector< std::vector< T > > &, std::vector< std::vector< T > > &)
 
template<class T , size_t m, size_t n>
void bitpit::linearalgebra::triU (std::array< std::array< T, n >, m > &, std::array< std::array< T, n >, m > &)
 

Detailed Description

Function Documentation

◆ transpose() [1/4]

template<class T , size_t m, size_t n>
std::array< std::array< T, m >, n > bitpit::linearalgebra::transpose ( const std::array< std::array< T, n >, m > & A)

Given an input matrix, compute its transpose. Overloading of transpose() function for container array.

Parameters
[in]Ainput matrix
Returns
B transpose of A

Definition at line 177 of file manipulation.tpp.

◆ transpose() [2/4]

template<class T >
std::vector< std::vector< T > > bitpit::linearalgebra::transpose ( const std::vector< std::vector< T > > & A)

Given an input matrix, compute its transpose. Overloading of transpose() function.

Parameters
[in]Ainput matrix
Returns
B transpose of A

Definition at line 133 of file manipulation.tpp.

◆ transpose() [3/4]

template<class T , size_t m, size_t n>
void bitpit::linearalgebra::transpose ( std::array< std::array< T, n >, m > & A,
std::array< std::array< T, m >, n > & B )

Given an input matrix, compute its transpose. Overloading of transpose() function for container array.

Parameters
[in]Ainput matrix
[in,out]Btranspose of A

Definition at line 92 of file manipulation.tpp.

◆ transpose() [4/4]

template<class T >
void bitpit::linearalgebra::transpose ( std::vector< std::vector< T > > & A,
std::vector< std::vector< T > > & B )

Given an input matrix, compute its transpose.

Parameters
[in]Ainput matrix
[in,out]Btranspose of A

Definition at line 41 of file manipulation.tpp.

◆ triL() [1/2]

template<class T , size_t m, size_t n>
void bitpit::linearalgebra::triL ( std::array< std::array< T, n >, m > & A,
std::array< std::array< T, n >, m > & L )

Extract the lower triangular part of a matrix. Overloading of triL() function for container array.

Parameters
[in]Ainput matrix
[in,out]Llower triangular part of A

Definition at line 261 of file manipulation.tpp.

◆ triL() [2/2]

template<class T >
void bitpit::linearalgebra::triL ( std::vector< std::vector< T > > & A,
std::vector< std::vector< T > > & L )

Extract the lower triangular part of a matrix.

Parameters
[in]Ainput matrix
[in,out]Llower triangular part of A

Definition at line 213 of file manipulation.tpp.

◆ triU() [1/2]

template<class T , size_t m, size_t n>
void bitpit::linearalgebra::triU ( std::array< std::array< T, n >, m > & A,
std::array< std::array< T, n >, m > & U )

Extract the upper triangular part of a matrix. Overloading of triU() function for container array.

Parameters
[in]Ainput matrix
[in,out]Uupper triangular part of A

Definition at line 352 of file manipulation.tpp.

◆ triU() [2/2]

template<class T >
void bitpit::linearalgebra::triU ( std::vector< std::vector< T > > & A,
std::vector< std::vector< T > > & U )

Extract the upper triangular part of a matrix.

Parameters
[in]Ainput matrix
[in,out]Uupper triangular part of A

Definition at line 305 of file manipulation.tpp.

--- layout: doxygen_footer ---