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

tan to Dense matrix elements (C[0:nnz] = tan(A[0:nnz])) More...

Functions

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

Detailed Description

tan to Dense matrix elements (C[0:nnz] = tan(A[0:nnz]))

tan to tensor_Dense tensor elements (C[0:nnz] = tan(A[0:nnz]))

Function Documentation

◆ tan() [1/4]

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

tan to Dense matrix elements (C[0:nnz] = tan(A[0:nnz]))

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

◆ tan() [2/4]

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

◆ tan() [3/4]

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

tan to tensor_Dense tensor elements (C[0:nnz] = tan(A[0:nnz]))

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

◆ tan() [4/4]

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