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

sin to CRS matrix elements (C[0:nnz] = sin(A[0:nnz])) More...

Functions

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

Detailed Description

sin to CRS matrix elements (C[0:nnz] = sin(A[0:nnz]))

Function Documentation

◆ sin() [1/2]

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

sin to CRS matrix elements (C[0:nnz] = sin(A[0:nnz]))

Parameters
Amonolish 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

◆ sin() [2/2]

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