monolish  0.17.1
MONOlithic LInear equation Solvers for Highly-parallel architecture
Functions
monolish::vml::min

Create a new Dense matrix with smallest elements of two matrices (C[0:nnz] = min(A[0:nnz], B[0:nnz])) More...

Functions

void monolish::vml::min (const matrix::Dense< double > &A, const matrix::Dense< double > &B, matrix::Dense< double > &C)
 Create a new Dense matrix with smallest elements of two matrices (C[0:nnz] = min(A[0:nnz], B[0:nnz])) More...
 
void monolish::vml::min (const matrix::Dense< float > &A, const matrix::Dense< float > &B, matrix::Dense< float > &C)
 
void monolish::vml::min (const tensor::tensor_Dense< double > &A, const tensor::tensor_Dense< double > &B, tensor::tensor_Dense< double > &C)
 Create a new tensor_Dense tensor with smallest elements of two tensors (C[0:nnz] = min(A[0:nnz], B[0:nnz])) More...
 
void monolish::vml::min (const tensor::tensor_Dense< float > &A, const tensor::tensor_Dense< float > &B, tensor::tensor_Dense< float > &C)
 

Detailed Description

Create a new Dense matrix with smallest elements of two matrices (C[0:nnz] = min(A[0:nnz], B[0:nnz]))

Create a new tensor_Dense tensor with smallest elements of two tensors (C[0:nnz] = min(A[0:nnz], B[0:nnz]))

Function Documentation

◆ min() [1/4]

void monolish::vml::min ( const matrix::Dense< double > &  A,
const matrix::Dense< double > &  B,
matrix::Dense< double > &  C 
)

Create a new Dense matrix with smallest elements of two matrices (C[0:nnz] = min(A[0:nnz], B[0:nnz]))

Parameters
Amonolish Dense matrix (size M x N)
Bmonolish Dense matrix (size M x N)
Cmonolish Dense matrix (size M x N)
Note
  • # of computation: M*N
  • Multi-threading: true
  • GPU acceleration: true
    • # of data transfer: 0

◆ min() [2/4]

void monolish::vml::min ( const matrix::Dense< float > &  A,
const matrix::Dense< float > &  B,
matrix::Dense< float > &  C 
)

◆ min() [3/4]

void monolish::vml::min ( const tensor::tensor_Dense< double > &  A,
const tensor::tensor_Dense< double > &  B,
tensor::tensor_Dense< double > &  C 
)

Create a new tensor_Dense tensor with smallest elements of two tensors (C[0:nnz] = min(A[0:nnz], B[0:nnz]))

Parameters
Amonolish tensor_Dense tensor
Bmonolish tensor_Dense tensor
Cmonolish tensor_Dense tensor
Note
  • # of computation: size
  • Multi-threading: true
  • GPU acceleration: true
    • # of data transfer: 0

◆ min() [4/4]

void monolish::vml::min ( const tensor::tensor_Dense< float > &  A,
const tensor::tensor_Dense< float > &  B,
tensor::tensor_Dense< float > &  C 
)