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

power to Dense matrix elements by scalar value (C[0:N] = pow(A[0:N], alpha)) More...

Functions

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

Detailed Description

power to Dense matrix elements by scalar value (C[0:N] = pow(A[0:N], alpha))

Function Documentation

◆ pow() [1/2]

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

power to Dense matrix elements by scalar value (C[0:N] = pow(A[0:N], alpha))

Parameters
Amonolish Dense Matrix (size M x N)
alphascalar value
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 float  alpha,
matrix::Dense< float > &  C 
)