Create a new Dense matrix with greatest elements of two matrices (C[0:nnz] = max(A[0:nnz], B[0:nnz]))
More...
|
void | monolish::vml::max (const matrix::Dense< double > &A, const matrix::Dense< double > &B, matrix::Dense< double > &C) |
| Create a new Dense matrix with greatest elements of two matrices (C[0:nnz] = max(A[0:nnz], B[0:nnz])) More...
|
|
void | monolish::vml::max (const matrix::Dense< float > &A, const matrix::Dense< float > &B, matrix::Dense< float > &C) |
|
void | monolish::vml::max (const tensor::tensor_Dense< double > &A, const tensor::tensor_Dense< double > &B, tensor::tensor_Dense< double > &C) |
| Create a new tensor_Dense tensor with greatest elements of two tensors (C[0:nnz] = max(A[0:nnz], B[0:nnz])) More...
|
|
void | monolish::vml::max (const tensor::tensor_Dense< float > &A, const tensor::tensor_Dense< float > &B, tensor::tensor_Dense< float > &C) |
|
Create a new Dense matrix with greatest elements of two matrices (C[0:nnz] = max(A[0:nnz], B[0:nnz]))
Create a new tensor_Dense tensor with greatest elements of two tensors (C[0:nnz] = max(A[0:nnz], B[0:nnz]))
◆ max() [1/4]
Create a new Dense matrix with greatest elements of two matrices (C[0:nnz] = max(A[0:nnz], B[0:nnz]))
- Parameters
-
A | monolish Dense matrix (size M x N) |
B | monolish Dense matrix (size M x N) |
C | monolish Dense matrix (size M x N) |
- Note
- # of computation: M*N
- Multi-threading: true
- GPU acceleration: true
◆ max() [2/4]
◆ max() [3/4]
Create a new tensor_Dense tensor with greatest elements of two tensors (C[0:nnz] = max(A[0:nnz], B[0:nnz]))
- Parameters
-
A | monolish tensor_Dense tensor |
B | monolish tensor_Dense tensor |
C | monolish tensor_Dense tensor |
- Note
- # of computation: size
- Multi-threading: true
- GPU acceleration: true
◆ max() [4/4]