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

scal: x = alpha * x More...

Functions

void monolish::blas::scal (const double alpha, vector< double > &x)
 scal: x = alpha * x More...
 
void monolish::blas::scal (const double alpha, view1D< matrix::Dense< double >, double > &x)
 
void monolish::blas::scal (const double alpha, view1D< tensor::tensor_Dense< double >, double > &x)
 
void monolish::blas::scal (const double alpha, view1D< vector< double >, double > &x)
 
void monolish::blas::scal (const float alpha, vector< float > &x)
 
void monolish::blas::scal (const float alpha, view1D< matrix::Dense< float >, float > &x)
 
void monolish::blas::scal (const float alpha, view1D< tensor::tensor_Dense< float >, float > &x)
 
void monolish::blas::scal (const float alpha, view1D< vector< float >, float > &x)
 

Detailed Description

scal: x = alpha * x

Function Documentation

◆ scal() [1/8]

void monolish::blas::scal ( const double  alpha,
vector< double > &  x 
)

scal: x = alpha * x

Parameters
alphascalar value
xmonolish vector (size N)
Note
  • # of computation: N
  • Multi-threading: true
  • GPU acceleration: true
    • # of data transfer: 0

◆ scal() [2/8]

void monolish::blas::scal ( const double  alpha,
view1D< matrix::Dense< double >, double > &  x 
)

◆ scal() [3/8]

void monolish::blas::scal ( const double  alpha,
view1D< tensor::tensor_Dense< double >, double > &  x 
)

◆ scal() [4/8]

void monolish::blas::scal ( const double  alpha,
view1D< vector< double >, double > &  x 
)

◆ scal() [5/8]

void monolish::blas::scal ( const float  alpha,
vector< float > &  x 
)

◆ scal() [6/8]

void monolish::blas::scal ( const float  alpha,
view1D< matrix::Dense< float >, float > &  x 
)

◆ scal() [7/8]

void monolish::blas::scal ( const float  alpha,
view1D< tensor::tensor_Dense< float >, float > &  x 
)

◆ scal() [8/8]

void monolish::blas::scal ( const float  alpha,
view1D< vector< float >, float > &  x 
)