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 Dense matrix A. More...

Functions

void monolish::vml::sub (const matrix::Dense< double > &A, const double alpha, matrix::Dense< double > &C)
 element by element subtract scalar alpha and Dense matrix A. More...
 
void monolish::vml::sub (const matrix::Dense< double > &A, const double alpha, view_Dense< matrix::Dense< double >, double > &C)
 
void monolish::vml::sub (const matrix::Dense< double > &A, const double alpha, view_Dense< tensor::tensor_Dense< double >, double > &C)
 
void monolish::vml::sub (const matrix::Dense< double > &A, const double alpha, view_Dense< vector< double >, double > &C)
 
void monolish::vml::sub (const matrix::Dense< float > &A, const float alpha, matrix::Dense< float > &C)
 
void monolish::vml::sub (const matrix::Dense< float > &A, const float alpha, view_Dense< matrix::Dense< float >, float > &C)
 
void monolish::vml::sub (const matrix::Dense< float > &A, const float alpha, view_Dense< tensor::tensor_Dense< float >, float > &C)
 
void monolish::vml::sub (const matrix::Dense< float > &A, const float alpha, view_Dense< vector< float >, float > &C)
 
void monolish::vml::sub (const tensor::tensor_Dense< double > &A, const double alpha, tensor::tensor_Dense< double > &C)
 element by element subtract scalar alpha and tensor_Dense tensor A. More...
 
void monolish::vml::sub (const tensor::tensor_Dense< double > &A, const double alpha, view_tensor_Dense< matrix::Dense< double >, double > &C)
 
void monolish::vml::sub (const tensor::tensor_Dense< double > &A, const double alpha, view_tensor_Dense< tensor::tensor_Dense< double >, double > &C)
 
void monolish::vml::sub (const tensor::tensor_Dense< double > &A, const double alpha, view_tensor_Dense< vector< double >, double > &C)
 
void monolish::vml::sub (const tensor::tensor_Dense< float > &A, const float alpha, tensor::tensor_Dense< float > &C)
 
void monolish::vml::sub (const tensor::tensor_Dense< float > &A, const float alpha, view_tensor_Dense< matrix::Dense< float >, float > &C)
 
void monolish::vml::sub (const tensor::tensor_Dense< float > &A, const float alpha, view_tensor_Dense< tensor::tensor_Dense< float >, float > &C)
 
void monolish::vml::sub (const tensor::tensor_Dense< float > &A, const float alpha, view_tensor_Dense< vector< float >, float > &C)
 
void monolish::vml::sub (const view_Dense< matrix::Dense< double >, double > &A, const double alpha, matrix::Dense< double > &C)
 
void monolish::vml::sub (const view_Dense< matrix::Dense< double >, double > &A, const double alpha, view_Dense< matrix::Dense< double >, double > &C)
 
void monolish::vml::sub (const view_Dense< matrix::Dense< double >, double > &A, const double alpha, view_Dense< tensor::tensor_Dense< double >, double > &C)
 
void monolish::vml::sub (const view_Dense< matrix::Dense< double >, double > &A, const double alpha, view_Dense< vector< double >, double > &C)
 
void monolish::vml::sub (const view_Dense< matrix::Dense< float >, float > &A, const float alpha, matrix::Dense< float > &C)
 
void monolish::vml::sub (const view_Dense< matrix::Dense< float >, float > &A, const float alpha, view_Dense< matrix::Dense< float >, float > &C)
 
void monolish::vml::sub (const view_Dense< matrix::Dense< float >, float > &A, const float alpha, view_Dense< tensor::tensor_Dense< float >, float > &C)
 
void monolish::vml::sub (const view_Dense< matrix::Dense< float >, float > &A, const float alpha, view_Dense< vector< float >, float > &C)
 
void monolish::vml::sub (const view_Dense< tensor::tensor_Dense< double >, double > &A, const double alpha, matrix::Dense< double > &C)
 
void monolish::vml::sub (const view_Dense< tensor::tensor_Dense< double >, double > &A, const double alpha, view_Dense< matrix::Dense< double >, double > &C)
 
void monolish::vml::sub (const view_Dense< tensor::tensor_Dense< double >, double > &A, const double alpha, view_Dense< tensor::tensor_Dense< double >, double > &C)
 
void monolish::vml::sub (const view_Dense< tensor::tensor_Dense< double >, double > &A, const double alpha, view_Dense< vector< double >, double > &C)
 
void monolish::vml::sub (const view_Dense< tensor::tensor_Dense< float >, float > &A, const float alpha, matrix::Dense< float > &C)
 
void monolish::vml::sub (const view_Dense< tensor::tensor_Dense< float >, float > &A, const float alpha, view_Dense< matrix::Dense< float >, float > &C)
 
void monolish::vml::sub (const view_Dense< tensor::tensor_Dense< float >, float > &A, const float alpha, view_Dense< tensor::tensor_Dense< float >, float > &C)
 
void monolish::vml::sub (const view_Dense< tensor::tensor_Dense< float >, float > &A, const float alpha, view_Dense< vector< float >, float > &C)
 
void monolish::vml::sub (const view_Dense< vector< double >, double > &A, const double alpha, matrix::Dense< double > &C)
 
void monolish::vml::sub (const view_Dense< vector< double >, double > &A, const double alpha, view_Dense< matrix::Dense< double >, double > &C)
 
void monolish::vml::sub (const view_Dense< vector< double >, double > &A, const double alpha, view_Dense< tensor::tensor_Dense< double >, double > &C)
 
void monolish::vml::sub (const view_Dense< vector< double >, double > &A, const double alpha, view_Dense< vector< double >, double > &C)
 
void monolish::vml::sub (const view_Dense< vector< float >, float > &A, const float alpha, matrix::Dense< float > &C)
 
void monolish::vml::sub (const view_Dense< vector< float >, float > &A, const float alpha, view_Dense< matrix::Dense< float >, float > &C)
 
void monolish::vml::sub (const view_Dense< vector< float >, float > &A, const float alpha, view_Dense< tensor::tensor_Dense< float >, float > &C)
 
void monolish::vml::sub (const view_Dense< vector< float >, float > &A, const float alpha, view_Dense< vector< float >, float > &C)
 
void monolish::vml::sub (const view_tensor_Dense< matrix::Dense< double >, double > &A, const double alpha, tensor::tensor_Dense< double > &C)
 
void monolish::vml::sub (const view_tensor_Dense< matrix::Dense< double >, double > &A, const double alpha, view_tensor_Dense< matrix::Dense< double >, double > &C)
 
void monolish::vml::sub (const view_tensor_Dense< matrix::Dense< double >, double > &A, const double alpha, view_tensor_Dense< tensor::tensor_Dense< double >, double > &C)
 
void monolish::vml::sub (const view_tensor_Dense< matrix::Dense< double >, double > &A, const double alpha, view_tensor_Dense< vector< double >, double > &C)
 
void monolish::vml::sub (const view_tensor_Dense< matrix::Dense< float >, float > &A, const float alpha, tensor::tensor_Dense< float > &C)
 
void monolish::vml::sub (const view_tensor_Dense< matrix::Dense< float >, float > &A, const float alpha, view_tensor_Dense< matrix::Dense< float >, float > &C)
 
void monolish::vml::sub (const view_tensor_Dense< matrix::Dense< float >, float > &A, const float alpha, view_tensor_Dense< tensor::tensor_Dense< float >, float > &C)
 
void monolish::vml::sub (const view_tensor_Dense< matrix::Dense< float >, float > &A, const float alpha, view_tensor_Dense< vector< float >, float > &C)
 
void monolish::vml::sub (const view_tensor_Dense< tensor::tensor_Dense< double >, double > &A, const double alpha, tensor::tensor_Dense< double > &C)
 
void monolish::vml::sub (const view_tensor_Dense< tensor::tensor_Dense< double >, double > &A, const double alpha, view_tensor_Dense< matrix::Dense< double >, double > &C)
 
void monolish::vml::sub (const view_tensor_Dense< tensor::tensor_Dense< double >, double > &A, const double alpha, view_tensor_Dense< tensor::tensor_Dense< double >, double > &C)
 
void monolish::vml::sub (const view_tensor_Dense< tensor::tensor_Dense< double >, double > &A, const double alpha, view_tensor_Dense< vector< double >, double > &C)
 
void monolish::vml::sub (const view_tensor_Dense< tensor::tensor_Dense< float >, float > &A, const float alpha, tensor::tensor_Dense< float > &C)
 
void monolish::vml::sub (const view_tensor_Dense< tensor::tensor_Dense< float >, float > &A, const float alpha, view_tensor_Dense< matrix::Dense< float >, float > &C)
 
void monolish::vml::sub (const view_tensor_Dense< tensor::tensor_Dense< float >, float > &A, const float alpha, view_tensor_Dense< tensor::tensor_Dense< float >, float > &C)
 
void monolish::vml::sub (const view_tensor_Dense< tensor::tensor_Dense< float >, float > &A, const float alpha, view_tensor_Dense< vector< float >, float > &C)
 
void monolish::vml::sub (const view_tensor_Dense< vector< double >, double > &A, const double alpha, tensor::tensor_Dense< double > &C)
 
void monolish::vml::sub (const view_tensor_Dense< vector< double >, double > &A, const double alpha, view_tensor_Dense< matrix::Dense< double >, double > &C)
 
void monolish::vml::sub (const view_tensor_Dense< vector< double >, double > &A, const double alpha, view_tensor_Dense< tensor::tensor_Dense< double >, double > &C)
 
void monolish::vml::sub (const view_tensor_Dense< vector< double >, double > &A, const double alpha, view_tensor_Dense< vector< double >, double > &C)
 
void monolish::vml::sub (const view_tensor_Dense< vector< float >, float > &A, const float alpha, tensor::tensor_Dense< float > &C)
 
void monolish::vml::sub (const view_tensor_Dense< vector< float >, float > &A, const float alpha, view_tensor_Dense< matrix::Dense< float >, float > &C)
 
void monolish::vml::sub (const view_tensor_Dense< vector< float >, float > &A, const float alpha, view_tensor_Dense< tensor::tensor_Dense< float >, float > &C)
 
void monolish::vml::sub (const view_tensor_Dense< vector< float >, float > &A, const float alpha, view_tensor_Dense< vector< float >, float > &C)
 

Detailed Description

element by element subtract scalar alpha and Dense matrix A.

element by element subtract scalar alpha and tensor_Dense tensor A.

Function Documentation

◆ sub() [1/64]

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

element by element subtract scalar alpha and Dense matrix A.

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
    • # of data transfer: 0

◆ sub() [2/64]

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

◆ sub() [3/64]

void monolish::vml::sub ( const matrix::Dense< double > &  A,
const double  alpha,
view_Dense< tensor::tensor_Dense< double >, double > &  C 
)

◆ sub() [4/64]

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

◆ sub() [5/64]

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

◆ sub() [6/64]

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

◆ sub() [7/64]

void monolish::vml::sub ( const matrix::Dense< float > &  A,
const float  alpha,
view_Dense< tensor::tensor_Dense< float >, float > &  C 
)

◆ sub() [8/64]

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

◆ sub() [9/64]

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

element by element subtract scalar alpha and tensor_Dense tensor A.

Parameters
Amonolish tensor_Dense tensor
alphascalar value
Cmonolish tensor_Dense tensor
Note
  • # of computation: size
  • Multi-threading: true
  • GPU acceleration: true
    • # of data transfer: 0

◆ sub() [10/64]

void monolish::vml::sub ( const tensor::tensor_Dense< double > &  A,
const double  alpha,
view_tensor_Dense< matrix::Dense< double >, double > &  C 
)

◆ sub() [11/64]

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

◆ sub() [12/64]

void monolish::vml::sub ( const tensor::tensor_Dense< double > &  A,
const double  alpha,
view_tensor_Dense< vector< double >, double > &  C 
)

◆ sub() [13/64]

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

◆ sub() [14/64]

void monolish::vml::sub ( const tensor::tensor_Dense< float > &  A,
const float  alpha,
view_tensor_Dense< matrix::Dense< float >, float > &  C 
)

◆ sub() [15/64]

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

◆ sub() [16/64]

void monolish::vml::sub ( const tensor::tensor_Dense< float > &  A,
const float  alpha,
view_tensor_Dense< vector< float >, float > &  C 
)

◆ sub() [17/64]

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

◆ sub() [18/64]

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

◆ sub() [19/64]

void monolish::vml::sub ( const view_Dense< matrix::Dense< double >, double > &  A,
const double  alpha,
view_Dense< tensor::tensor_Dense< double >, double > &  C 
)

◆ sub() [20/64]

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

◆ sub() [21/64]

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

◆ sub() [22/64]

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

◆ sub() [23/64]

void monolish::vml::sub ( const view_Dense< matrix::Dense< float >, float > &  A,
const float  alpha,
view_Dense< tensor::tensor_Dense< float >, float > &  C 
)

◆ sub() [24/64]

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

◆ sub() [25/64]

void monolish::vml::sub ( const view_Dense< tensor::tensor_Dense< double >, double > &  A,
const double  alpha,
matrix::Dense< double > &  C 
)

◆ sub() [26/64]

void monolish::vml::sub ( const view_Dense< tensor::tensor_Dense< double >, double > &  A,
const double  alpha,
view_Dense< matrix::Dense< double >, double > &  C 
)

◆ sub() [27/64]

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

◆ sub() [28/64]

void monolish::vml::sub ( const view_Dense< tensor::tensor_Dense< double >, double > &  A,
const double  alpha,
view_Dense< vector< double >, double > &  C 
)

◆ sub() [29/64]

void monolish::vml::sub ( const view_Dense< tensor::tensor_Dense< float >, float > &  A,
const float  alpha,
matrix::Dense< float > &  C 
)

◆ sub() [30/64]

void monolish::vml::sub ( const view_Dense< tensor::tensor_Dense< float >, float > &  A,
const float  alpha,
view_Dense< matrix::Dense< float >, float > &  C 
)

◆ sub() [31/64]

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

◆ sub() [32/64]

void monolish::vml::sub ( const view_Dense< tensor::tensor_Dense< float >, float > &  A,
const float  alpha,
view_Dense< vector< float >, float > &  C 
)

◆ sub() [33/64]

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

◆ sub() [34/64]

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

◆ sub() [35/64]

void monolish::vml::sub ( const view_Dense< vector< double >, double > &  A,
const double  alpha,
view_Dense< tensor::tensor_Dense< double >, double > &  C 
)

◆ sub() [36/64]

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

◆ sub() [37/64]

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

◆ sub() [38/64]

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

◆ sub() [39/64]

void monolish::vml::sub ( const view_Dense< vector< float >, float > &  A,
const float  alpha,
view_Dense< tensor::tensor_Dense< float >, float > &  C 
)

◆ sub() [40/64]

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

◆ sub() [41/64]

void monolish::vml::sub ( const view_tensor_Dense< matrix::Dense< double >, double > &  A,
const double  alpha,
tensor::tensor_Dense< double > &  C 
)

◆ sub() [42/64]

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

◆ sub() [43/64]

void monolish::vml::sub ( const view_tensor_Dense< matrix::Dense< double >, double > &  A,
const double  alpha,
view_tensor_Dense< tensor::tensor_Dense< double >, double > &  C 
)

◆ sub() [44/64]

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

◆ sub() [45/64]

void monolish::vml::sub ( const view_tensor_Dense< matrix::Dense< float >, float > &  A,
const float  alpha,
tensor::tensor_Dense< float > &  C 
)

◆ sub() [46/64]

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

◆ sub() [47/64]

void monolish::vml::sub ( const view_tensor_Dense< matrix::Dense< float >, float > &  A,
const float  alpha,
view_tensor_Dense< tensor::tensor_Dense< float >, float > &  C 
)

◆ sub() [48/64]

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

◆ sub() [49/64]

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

◆ sub() [50/64]

void monolish::vml::sub ( const view_tensor_Dense< tensor::tensor_Dense< double >, double > &  A,
const double  alpha,
view_tensor_Dense< matrix::Dense< double >, double > &  C 
)

◆ sub() [51/64]

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

◆ sub() [52/64]

void monolish::vml::sub ( const view_tensor_Dense< tensor::tensor_Dense< double >, double > &  A,
const double  alpha,
view_tensor_Dense< vector< double >, double > &  C 
)

◆ sub() [53/64]

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

◆ sub() [54/64]

void monolish::vml::sub ( const view_tensor_Dense< tensor::tensor_Dense< float >, float > &  A,
const float  alpha,
view_tensor_Dense< matrix::Dense< float >, float > &  C 
)

◆ sub() [55/64]

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

◆ sub() [56/64]

void monolish::vml::sub ( const view_tensor_Dense< tensor::tensor_Dense< float >, float > &  A,
const float  alpha,
view_tensor_Dense< vector< float >, float > &  C 
)

◆ sub() [57/64]

void monolish::vml::sub ( const view_tensor_Dense< vector< double >, double > &  A,
const double  alpha,
tensor::tensor_Dense< double > &  C 
)

◆ sub() [58/64]

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

◆ sub() [59/64]

void monolish::vml::sub ( const view_tensor_Dense< vector< double >, double > &  A,
const double  alpha,
view_tensor_Dense< tensor::tensor_Dense< double >, double > &  C 
)

◆ sub() [60/64]

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

◆ sub() [61/64]

void monolish::vml::sub ( const view_tensor_Dense< vector< float >, float > &  A,
const float  alpha,
tensor::tensor_Dense< float > &  C 
)

◆ sub() [62/64]

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

◆ sub() [63/64]

void monolish::vml::sub ( const view_tensor_Dense< vector< float >, float > &  A,
const float  alpha,
view_tensor_Dense< tensor::tensor_Dense< float >, float > &  C 
)

◆ sub() [64/64]

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