monolish
0.17.1
MONOlithic LInear equation Solvers for Highly-parallel architecture
|
Compare data. More...
Functions | |
template<typename T , typename U > | |
bool | monolish::util::is_same_device_mem_stat (const T &arg1, const U &arg2) |
compare same device memory status More... | |
template<typename T , typename U , typename... types> | |
bool | monolish::util::is_same_device_mem_stat (const T &arg1, const U &arg2, const types &...args) |
compare same device memory status More... | |
template<typename T > | |
bool | monolish::util::is_same_size (const matrix::COO< T > &A, const matrix::COO< T > &B) |
compare row and col size More... | |
template<typename T > | |
bool | monolish::util::is_same_size (const matrix::CRS< T > &A, const matrix::CRS< T > &B) |
compare row and col size More... | |
template<typename T > | |
bool | monolish::util::is_same_size (const matrix::Dense< T > &A, const matrix::Dense< T > &B) |
compare row and col size More... | |
template<typename T > | |
bool | monolish::util::is_same_size (const matrix::LinearOperator< T > &A, const matrix::LinearOperator< T > &B) |
compare row and col size More... | |
template<typename T , typename U , typename... types> | |
bool | monolish::util::is_same_size (const T &arg1, const U &arg2, const types &...args) |
compare matrix size More... | |
template<typename T , typename U > | |
bool | monolish::util::is_same_size (const T &x, const U &y) |
compare size of vector or 1Dview (same as is_same_structure()) More... | |
template<typename T > | |
bool | monolish::util::is_same_size (const tensor::tensor_COO< T > &A, const tensor::tensor_COO< T > &B) |
compare shape More... | |
template<typename T > | |
bool | monolish::util::is_same_size (const tensor::tensor_Dense< T > &A, const tensor::tensor_Dense< T > &B) |
compare shape More... | |
template<typename T > | |
bool | monolish::util::is_same_structure (const matrix::COO< T > &A, const matrix::COO< T > &B) |
compare structure using col_index and row_index, M, and N More... | |
template<typename T > | |
bool | monolish::util::is_same_structure (const matrix::CRS< T > &A, const matrix::CRS< T > &B) |
compare structure using structure_hash, M, and N More... | |
template<typename T > | |
bool | monolish::util::is_same_structure (const matrix::Dense< T > &A, const matrix::Dense< T > &B) |
compare structure using M and N (same as is_same_size()) More... | |
template<typename T > | |
bool | monolish::util::is_same_structure (const matrix::LinearOperator< T > &A, const matrix::LinearOperator< T > &B) |
compare structure using M and N (same as is_same_size()) More... | |
template<typename T , typename... types> | |
bool | monolish::util::is_same_structure (const T &A, const T &B, const types &...args) |
compare matrix structure More... | |
template<typename T , typename U > | |
bool | monolish::util::is_same_structure (const T A, const U B) |
compare matrix structure More... | |
template<typename T > | |
bool | monolish::util::is_same_structure (const tensor::tensor_COO< T > &A, const tensor::tensor_COO< T > &B) |
compare structure using col_index and row_index, M, and N More... | |
template<typename T > | |
bool | monolish::util::is_same_structure (const tensor::tensor_Dense< T > &A, const tensor::tensor_Dense< T > &B) |
compare structure using M and N (same as is_same_size()) More... | |
template<typename T > | |
bool | monolish::util::is_same_structure (const vector< T > &x, const vector< T > &y) |
compare structure of vector (same as is_same_size()) More... | |
Compare data.
bool monolish::util::is_same_device_mem_stat | ( | const T & | arg1, |
const U & | arg2 | ||
) |
compare same device memory status
Definition at line 647 of file monolish_common.hpp.
bool monolish::util::is_same_device_mem_stat | ( | const T & | arg1, |
const U & | arg2, | ||
const types &... | args | ||
) |
compare same device memory status
Definition at line 660 of file monolish_common.hpp.
bool monolish::util::is_same_size | ( | const matrix::COO< T > & | A, |
const matrix::COO< T > & | B | ||
) |
compare row and col size
A | COO matrix |
B | COO matrix |
bool monolish::util::is_same_size | ( | const matrix::CRS< T > & | A, |
const matrix::CRS< T > & | B | ||
) |
compare row and col size
A | COO matrix |
B | COO matrix |
bool monolish::util::is_same_size | ( | const matrix::Dense< T > & | A, |
const matrix::Dense< T > & | B | ||
) |
compare row and col size
A | Dense matrix |
B | Dense matrix |
bool monolish::util::is_same_size | ( | const matrix::LinearOperator< T > & | A, |
const matrix::LinearOperator< T > & | B | ||
) |
compare row and col size
A | LinearOperator matrix |
B | LinearOperator matrix |
bool monolish::util::is_same_size | ( | const T & | arg1, |
const U & | arg2, | ||
const types &... | args | ||
) |
compare matrix size
Definition at line 633 of file monolish_common.hpp.
bool monolish::util::is_same_size | ( | const T & | x, |
const U & | y | ||
) |
compare size of vector or 1Dview (same as is_same_structure())
x | monolish vector |
y | monolish vector |
Definition at line 534 of file monolish_common.hpp.
bool monolish::util::is_same_size | ( | const tensor::tensor_COO< T > & | A, |
const tensor::tensor_COO< T > & | B | ||
) |
compare shape
A | COO tensor |
B | COO tensor |
bool monolish::util::is_same_size | ( | const tensor::tensor_Dense< T > & | A, |
const tensor::tensor_Dense< T > & | B | ||
) |
compare shape
A | Dense tensor |
B | Dense tensor |
bool monolish::util::is_same_structure | ( | const matrix::COO< T > & | A, |
const matrix::COO< T > & | B | ||
) |
compare structure using col_index and row_index, M, and N
A | COO matrix |
B | COO matrix |
bool monolish::util::is_same_structure | ( | const matrix::CRS< T > & | A, |
const matrix::CRS< T > & | B | ||
) |
compare structure using structure_hash, M, and N
A | CRS matrix |
B | CRS matrix |
bool monolish::util::is_same_structure | ( | const matrix::Dense< T > & | A, |
const matrix::Dense< T > & | B | ||
) |
compare structure using M and N (same as is_same_size())
A | Dense matrix |
B | Dense matrix |
bool monolish::util::is_same_structure | ( | const matrix::LinearOperator< T > & | A, |
const matrix::LinearOperator< T > & | B | ||
) |
compare structure using M and N (same as is_same_size())
A | LinearOperator matrix |
B | LinearOperator matrix |
bool monolish::util::is_same_structure | ( | const T & | A, |
const T & | B, | ||
const types &... | args | ||
) |
compare matrix structure
Definition at line 517 of file monolish_common.hpp.
bool monolish::util::is_same_structure | ( | const T | A, |
const U | B | ||
) |
compare matrix structure
Definition at line 402 of file monolish_common.hpp.
bool monolish::util::is_same_structure | ( | const tensor::tensor_COO< T > & | A, |
const tensor::tensor_COO< T > & | B | ||
) |
compare structure using col_index and row_index, M, and N
A | COO matrix |
B | COO matrix |
bool monolish::util::is_same_structure | ( | const tensor::tensor_Dense< T > & | A, |
const tensor::tensor_Dense< T > & | B | ||
) |
compare structure using M and N (same as is_same_size())
A | Dense matrix |
B | Dense matrix |
bool monolish::util::is_same_structure | ( | const vector< T > & | x, |
const vector< T > & | y | ||
) |
compare structure of vector (same as is_same_size())
x | monolish vector |
y | monolish vector |
Definition at line 418 of file monolish_common.hpp.