monolish  0.17.3-dev.16
MONOlithic LInear equation Solvers for Highly-parallel architecture
Functions
monolish::vml::sub

element by element subtract scalar alpha and LinearOperator matrix A. More...

Functions

void monolish::vml::sub (const matrix::LinearOperator< double > &A, const double &alpha, matrix::LinearOperator< double > &C)
 element by element subtract scalar alpha and LinearOperator matrix A. More...
 
void monolish::vml::sub (const matrix::LinearOperator< float > &A, const float &alpha, matrix::LinearOperator< float > &C)
 

Detailed Description

element by element subtract scalar alpha and LinearOperator matrix A.

Function Documentation

◆ sub() [1/2]

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

element by element subtract scalar alpha and LinearOperator matrix A.

Parameters
Amonolish LinearOperator Matrix (size M x N)
alphascalar value
Cmonolish LinearOperator Matrix (size M x N)
Note
  • # of computation: 2 functions
  • Multi-threading: false
  • GPU acceleration: false

◆ sub() [2/2]

void monolish::vml::sub ( const matrix::LinearOperator< float > &  A,
const float &  alpha,
matrix::LinearOperator< float > &  C 
)