Create a new CRS matrix with smallest elements of CRS matrix or scalar (C[0:nnz] = min(A[0:nnz], alpha))
More...
|
| void | monolish::vml::min (const matrix::CRS< double > &A, const double alpha, matrix::CRS< double > &C) |
| | Create a new CRS matrix with smallest elements of CRS matrix or scalar (C[0:nnz] = min(A[0:nnz], alpha)) More...
|
| |
| void | monolish::vml::min (const matrix::CRS< float > &A, const float alpha, matrix::CRS< float > &C) |
| |
| void | monolish::vml::min (const tensor::tensor_CRS< double > &A, const double alpha, tensor::tensor_CRS< double > &C) |
| | Create a new tensor_CRS matrix with smallest elements of tensor_CRS matrix or scalar (C[0:nnz] = min(A[0:nnz], alpha)) More...
|
| |
| void | monolish::vml::min (const tensor::tensor_CRS< float > &A, const float alpha, tensor::tensor_CRS< float > &C) |
| |
Create a new CRS matrix with smallest elements of CRS matrix or scalar (C[0:nnz] = min(A[0:nnz], alpha))
Create a new tensor_CRS matrix with smallest elements of tensor_CRS matrix or scalar (C[0:nnz] = min(A[0:nnz], alpha))
◆ min() [1/4]
Create a new CRS matrix with smallest elements of CRS matrix or scalar (C[0:nnz] = min(A[0:nnz], alpha))
- Parameters
-
| A | monolish CRS matrix (size M x N) |
| alpha | scalar value |
| C | monolish CRS matrix (size M x N) |
- Note
- # of computation: nnz
- Multi-threading: true
- GPU acceleration: true
- Warning
- A and C must be same non-zero structure
◆ min() [2/4]
◆ min() [3/4]
Create a new tensor_CRS matrix with smallest elements of tensor_CRS matrix or scalar (C[0:nnz] = min(A[0:nnz], alpha))
- Parameters
-
| A | monolish tensor_CRS matrix (size M x N) |
| alpha | scalar value |
| C | monolish tensor_CRS matrix (size M x N) |
- Note
- # of computation: nnz
- Multi-threading: true
- GPU acceleration: true
- Warning
- A and C must be same non-zero structure
◆ min() [4/4]