monolish  0.16.2
MONOlithic LInear equation Solvers for Highly-parallel architecture
Functions
monolish::vml::pow

power to Dense matrix elements (C[0:N] = pow(A[0:N], B[0:N])) More...

Functions

void monolish::vml::pow (const matrix::Dense< double > &A, const matrix::Dense< double > &B, matrix::Dense< double > &C)
 power to Dense matrix elements (C[0:N] = pow(A[0:N], B[0:N])) More...
 
void monolish::vml::pow (const matrix::Dense< float > &A, const matrix::Dense< float > &B, matrix::Dense< float > &C)
 

Detailed Description

power to Dense matrix elements (C[0:N] = pow(A[0:N], B[0:N]))

Function Documentation

◆ pow() [1/2]

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

power to Dense matrix elements (C[0:N] = pow(A[0:N], B[0:N]))

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

◆ pow() [2/2]

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