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

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

Functions

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

Detailed Description

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

Function Documentation

◆ pow() [1/2]

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

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

Parameters
Amonolish CRS Matrix (size M x N)
Bmonolish CRS Matrix (size M x N)
Cmonolish CRS Matrix (size M x N)
Note
  • # of computation: nnz
  • Multi-threading: true
  • GPU acceleration: true
Warning
A, B, and C must be same non-zero structure

◆ pow() [2/2]

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