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

inner product (dot) More...

Functions

double monolish::blas::dot (const vector< double > &x, const vector< double > &y)
 inner product (dot) More...
 
void monolish::blas::dot (const vector< double > &x, const vector< double > &y, double &ans)
 inner product (dot) More...
 
double monolish::blas::dot (const vector< double > &x, const view1D< matrix::Dense< double >, double > &y)
 
void monolish::blas::dot (const vector< double > &x, const view1D< matrix::Dense< double >, double > &y, double &ans)
 
double monolish::blas::dot (const vector< double > &x, const view1D< tensor::tensor_Dense< double >, double > &y)
 
void monolish::blas::dot (const vector< double > &x, const view1D< tensor::tensor_Dense< double >, double > &y, double &ans)
 
double monolish::blas::dot (const vector< double > &x, const view1D< vector< double >, double > &y)
 
void monolish::blas::dot (const vector< double > &x, const view1D< vector< double >, double > &y, double &ans)
 
float monolish::blas::dot (const vector< float > &x, const vector< float > &y)
 
void monolish::blas::dot (const vector< float > &x, const vector< float > &y, float &ans)
 
float monolish::blas::dot (const vector< float > &x, const view1D< matrix::Dense< float >, float > &y)
 
void monolish::blas::dot (const vector< float > &x, const view1D< matrix::Dense< float >, float > &y, float &ans)
 
float monolish::blas::dot (const vector< float > &x, const view1D< tensor::tensor_Dense< float >, float > &y)
 
void monolish::blas::dot (const vector< float > &x, const view1D< tensor::tensor_Dense< float >, float > &y, float &ans)
 
float monolish::blas::dot (const vector< float > &x, const view1D< vector< float >, float > &y)
 
void monolish::blas::dot (const vector< float > &x, const view1D< vector< float >, float > &y, float &ans)
 
double monolish::blas::dot (const view1D< matrix::Dense< double >, double > &x, const vector< double > &y)
 
void monolish::blas::dot (const view1D< matrix::Dense< double >, double > &x, const vector< double > &y, double &ans)
 
double monolish::blas::dot (const view1D< matrix::Dense< double >, double > &x, const view1D< matrix::Dense< double >, double > &y)
 
void monolish::blas::dot (const view1D< matrix::Dense< double >, double > &x, const view1D< matrix::Dense< double >, double > &y, double &ans)
 
double monolish::blas::dot (const view1D< matrix::Dense< double >, double > &x, const view1D< tensor::tensor_Dense< double >, double > &y)
 
void monolish::blas::dot (const view1D< matrix::Dense< double >, double > &x, const view1D< tensor::tensor_Dense< double >, double > &y, double &ans)
 
double monolish::blas::dot (const view1D< matrix::Dense< double >, double > &x, const view1D< vector< double >, double > &y)
 
void monolish::blas::dot (const view1D< matrix::Dense< double >, double > &x, const view1D< vector< double >, double > &y, double &ans)
 
float monolish::blas::dot (const view1D< matrix::Dense< float >, float > &x, const vector< float > &y)
 
void monolish::blas::dot (const view1D< matrix::Dense< float >, float > &x, const vector< float > &y, float &ans)
 
float monolish::blas::dot (const view1D< matrix::Dense< float >, float > &x, const view1D< matrix::Dense< float >, float > &y)
 
void monolish::blas::dot (const view1D< matrix::Dense< float >, float > &x, const view1D< matrix::Dense< float >, float > &y, float &ans)
 
float monolish::blas::dot (const view1D< matrix::Dense< float >, float > &x, const view1D< tensor::tensor_Dense< float >, float > &y)
 
void monolish::blas::dot (const view1D< matrix::Dense< float >, float > &x, const view1D< tensor::tensor_Dense< float >, float > &y, float &ans)
 
float monolish::blas::dot (const view1D< matrix::Dense< float >, float > &x, const view1D< vector< float >, float > &y)
 
void monolish::blas::dot (const view1D< matrix::Dense< float >, float > &x, const view1D< vector< float >, float > &y, float &ans)
 
double monolish::blas::dot (const view1D< tensor::tensor_Dense< double >, double > &x, const vector< double > &y)
 
void monolish::blas::dot (const view1D< tensor::tensor_Dense< double >, double > &x, const vector< double > &y, double &ans)
 
double monolish::blas::dot (const view1D< tensor::tensor_Dense< double >, double > &x, const view1D< matrix::Dense< double >, double > &y)
 
void monolish::blas::dot (const view1D< tensor::tensor_Dense< double >, double > &x, const view1D< matrix::Dense< double >, double > &y, double &ans)
 
double monolish::blas::dot (const view1D< tensor::tensor_Dense< double >, double > &x, const view1D< tensor::tensor_Dense< double >, double > &y)
 
void monolish::blas::dot (const view1D< tensor::tensor_Dense< double >, double > &x, const view1D< tensor::tensor_Dense< double >, double > &y, double &ans)
 
double monolish::blas::dot (const view1D< tensor::tensor_Dense< double >, double > &x, const view1D< vector< double >, double > &y)
 
void monolish::blas::dot (const view1D< tensor::tensor_Dense< double >, double > &x, const view1D< vector< double >, double > &y, double &ans)
 
float monolish::blas::dot (const view1D< tensor::tensor_Dense< float >, float > &x, const vector< float > &y)
 
void monolish::blas::dot (const view1D< tensor::tensor_Dense< float >, float > &x, const vector< float > &y, float &ans)
 
float monolish::blas::dot (const view1D< tensor::tensor_Dense< float >, float > &x, const view1D< matrix::Dense< float >, float > &y)
 
void monolish::blas::dot (const view1D< tensor::tensor_Dense< float >, float > &x, const view1D< matrix::Dense< float >, float > &y, float &ans)
 
float monolish::blas::dot (const view1D< tensor::tensor_Dense< float >, float > &x, const view1D< tensor::tensor_Dense< float >, float > &y)
 
void monolish::blas::dot (const view1D< tensor::tensor_Dense< float >, float > &x, const view1D< tensor::tensor_Dense< float >, float > &y, float &ans)
 
float monolish::blas::dot (const view1D< tensor::tensor_Dense< float >, float > &x, const view1D< vector< float >, float > &y)
 
void monolish::blas::dot (const view1D< tensor::tensor_Dense< float >, float > &x, const view1D< vector< float >, float > &y, float &ans)
 
double monolish::blas::dot (const view1D< vector< double >, double > &x, const vector< double > &y)
 
void monolish::blas::dot (const view1D< vector< double >, double > &x, const vector< double > &y, double &ans)
 
double monolish::blas::dot (const view1D< vector< double >, double > &x, const view1D< matrix::Dense< double >, double > &y)
 
void monolish::blas::dot (const view1D< vector< double >, double > &x, const view1D< matrix::Dense< double >, double > &y, double &ans)
 
double monolish::blas::dot (const view1D< vector< double >, double > &x, const view1D< tensor::tensor_Dense< double >, double > &y)
 
void monolish::blas::dot (const view1D< vector< double >, double > &x, const view1D< tensor::tensor_Dense< double >, double > &y, double &ans)
 
double monolish::blas::dot (const view1D< vector< double >, double > &x, const view1D< vector< double >, double > &y)
 
void monolish::blas::dot (const view1D< vector< double >, double > &x, const view1D< vector< double >, double > &y, double &ans)
 
float monolish::blas::dot (const view1D< vector< float >, float > &x, const vector< float > &y)
 
void monolish::blas::dot (const view1D< vector< float >, float > &x, const vector< float > &y, float &ans)
 
float monolish::blas::dot (const view1D< vector< float >, float > &x, const view1D< matrix::Dense< float >, float > &y)
 
void monolish::blas::dot (const view1D< vector< float >, float > &x, const view1D< matrix::Dense< float >, float > &y, float &ans)
 
float monolish::blas::dot (const view1D< vector< float >, float > &x, const view1D< tensor::tensor_Dense< float >, float > &y)
 
void monolish::blas::dot (const view1D< vector< float >, float > &x, const view1D< tensor::tensor_Dense< float >, float > &y, float &ans)
 
float monolish::blas::dot (const view1D< vector< float >, float > &x, const view1D< vector< float >, float > &y)
 
void monolish::blas::dot (const view1D< vector< float >, float > &x, const view1D< vector< float >, float > &y, float &ans)
 

Detailed Description

inner product (dot)

Function Documentation

◆ dot() [1/64]

double monolish::blas::dot ( const vector< double > &  x,
const vector< double > &  y 
)

inner product (dot)

Parameters
xmonolish vector (size N)
ymonolish vector (size N)
Returns
The result of the inner product product of x and y
Note
  • # of computation: 2N
  • Multi-threading: true
  • GPU acceleration: true
    • # of data transfer: 0

◆ dot() [2/64]

void monolish::blas::dot ( const vector< double > &  x,
const vector< double > &  y,
double &  ans 
)

inner product (dot)

Parameters
xmonolish vector (size N)
ymonolish vector (size N)
ansThe result of the inner product product of x and y
Note
  • # of computation: 2N
  • Multi-threading: true
  • GPU acceleration: true
    • # of data transfer: 0

◆ dot() [3/64]

double monolish::blas::dot ( const vector< double > &  x,
const view1D< matrix::Dense< double >, double > &  y 
)

◆ dot() [4/64]

void monolish::blas::dot ( const vector< double > &  x,
const view1D< matrix::Dense< double >, double > &  y,
double &  ans 
)

◆ dot() [5/64]

double monolish::blas::dot ( const vector< double > &  x,
const view1D< tensor::tensor_Dense< double >, double > &  y 
)

◆ dot() [6/64]

void monolish::blas::dot ( const vector< double > &  x,
const view1D< tensor::tensor_Dense< double >, double > &  y,
double &  ans 
)

◆ dot() [7/64]

double monolish::blas::dot ( const vector< double > &  x,
const view1D< vector< double >, double > &  y 
)

◆ dot() [8/64]

void monolish::blas::dot ( const vector< double > &  x,
const view1D< vector< double >, double > &  y,
double &  ans 
)

◆ dot() [9/64]

float monolish::blas::dot ( const vector< float > &  x,
const vector< float > &  y 
)

◆ dot() [10/64]

void monolish::blas::dot ( const vector< float > &  x,
const vector< float > &  y,
float &  ans 
)

◆ dot() [11/64]

float monolish::blas::dot ( const vector< float > &  x,
const view1D< matrix::Dense< float >, float > &  y 
)

◆ dot() [12/64]

void monolish::blas::dot ( const vector< float > &  x,
const view1D< matrix::Dense< float >, float > &  y,
float &  ans 
)

◆ dot() [13/64]

float monolish::blas::dot ( const vector< float > &  x,
const view1D< tensor::tensor_Dense< float >, float > &  y 
)

◆ dot() [14/64]

void monolish::blas::dot ( const vector< float > &  x,
const view1D< tensor::tensor_Dense< float >, float > &  y,
float &  ans 
)

◆ dot() [15/64]

float monolish::blas::dot ( const vector< float > &  x,
const view1D< vector< float >, float > &  y 
)

◆ dot() [16/64]

void monolish::blas::dot ( const vector< float > &  x,
const view1D< vector< float >, float > &  y,
float &  ans 
)

◆ dot() [17/64]

double monolish::blas::dot ( const view1D< matrix::Dense< double >, double > &  x,
const vector< double > &  y 
)

◆ dot() [18/64]

void monolish::blas::dot ( const view1D< matrix::Dense< double >, double > &  x,
const vector< double > &  y,
double &  ans 
)

◆ dot() [19/64]

double monolish::blas::dot ( const view1D< matrix::Dense< double >, double > &  x,
const view1D< matrix::Dense< double >, double > &  y 
)

◆ dot() [20/64]

void monolish::blas::dot ( const view1D< matrix::Dense< double >, double > &  x,
const view1D< matrix::Dense< double >, double > &  y,
double &  ans 
)

◆ dot() [21/64]

double monolish::blas::dot ( const view1D< matrix::Dense< double >, double > &  x,
const view1D< tensor::tensor_Dense< double >, double > &  y 
)

◆ dot() [22/64]

void monolish::blas::dot ( const view1D< matrix::Dense< double >, double > &  x,
const view1D< tensor::tensor_Dense< double >, double > &  y,
double &  ans 
)

◆ dot() [23/64]

double monolish::blas::dot ( const view1D< matrix::Dense< double >, double > &  x,
const view1D< vector< double >, double > &  y 
)

◆ dot() [24/64]

void monolish::blas::dot ( const view1D< matrix::Dense< double >, double > &  x,
const view1D< vector< double >, double > &  y,
double &  ans 
)

◆ dot() [25/64]

float monolish::blas::dot ( const view1D< matrix::Dense< float >, float > &  x,
const vector< float > &  y 
)

◆ dot() [26/64]

void monolish::blas::dot ( const view1D< matrix::Dense< float >, float > &  x,
const vector< float > &  y,
float &  ans 
)

◆ dot() [27/64]

float monolish::blas::dot ( const view1D< matrix::Dense< float >, float > &  x,
const view1D< matrix::Dense< float >, float > &  y 
)

◆ dot() [28/64]

void monolish::blas::dot ( const view1D< matrix::Dense< float >, float > &  x,
const view1D< matrix::Dense< float >, float > &  y,
float &  ans 
)

◆ dot() [29/64]

float monolish::blas::dot ( const view1D< matrix::Dense< float >, float > &  x,
const view1D< tensor::tensor_Dense< float >, float > &  y 
)

◆ dot() [30/64]

void monolish::blas::dot ( const view1D< matrix::Dense< float >, float > &  x,
const view1D< tensor::tensor_Dense< float >, float > &  y,
float &  ans 
)

◆ dot() [31/64]

float monolish::blas::dot ( const view1D< matrix::Dense< float >, float > &  x,
const view1D< vector< float >, float > &  y 
)

◆ dot() [32/64]

void monolish::blas::dot ( const view1D< matrix::Dense< float >, float > &  x,
const view1D< vector< float >, float > &  y,
float &  ans 
)

◆ dot() [33/64]

double monolish::blas::dot ( const view1D< tensor::tensor_Dense< double >, double > &  x,
const vector< double > &  y 
)

◆ dot() [34/64]

void monolish::blas::dot ( const view1D< tensor::tensor_Dense< double >, double > &  x,
const vector< double > &  y,
double &  ans 
)

◆ dot() [35/64]

double monolish::blas::dot ( const view1D< tensor::tensor_Dense< double >, double > &  x,
const view1D< matrix::Dense< double >, double > &  y 
)

◆ dot() [36/64]

void monolish::blas::dot ( const view1D< tensor::tensor_Dense< double >, double > &  x,
const view1D< matrix::Dense< double >, double > &  y,
double &  ans 
)

◆ dot() [37/64]

double monolish::blas::dot ( const view1D< tensor::tensor_Dense< double >, double > &  x,
const view1D< tensor::tensor_Dense< double >, double > &  y 
)

◆ dot() [38/64]

void monolish::blas::dot ( const view1D< tensor::tensor_Dense< double >, double > &  x,
const view1D< tensor::tensor_Dense< double >, double > &  y,
double &  ans 
)

◆ dot() [39/64]

double monolish::blas::dot ( const view1D< tensor::tensor_Dense< double >, double > &  x,
const view1D< vector< double >, double > &  y 
)

◆ dot() [40/64]

void monolish::blas::dot ( const view1D< tensor::tensor_Dense< double >, double > &  x,
const view1D< vector< double >, double > &  y,
double &  ans 
)

◆ dot() [41/64]

float monolish::blas::dot ( const view1D< tensor::tensor_Dense< float >, float > &  x,
const vector< float > &  y 
)

◆ dot() [42/64]

void monolish::blas::dot ( const view1D< tensor::tensor_Dense< float >, float > &  x,
const vector< float > &  y,
float &  ans 
)

◆ dot() [43/64]

float monolish::blas::dot ( const view1D< tensor::tensor_Dense< float >, float > &  x,
const view1D< matrix::Dense< float >, float > &  y 
)

◆ dot() [44/64]

void monolish::blas::dot ( const view1D< tensor::tensor_Dense< float >, float > &  x,
const view1D< matrix::Dense< float >, float > &  y,
float &  ans 
)

◆ dot() [45/64]

float monolish::blas::dot ( const view1D< tensor::tensor_Dense< float >, float > &  x,
const view1D< tensor::tensor_Dense< float >, float > &  y 
)

◆ dot() [46/64]

void monolish::blas::dot ( const view1D< tensor::tensor_Dense< float >, float > &  x,
const view1D< tensor::tensor_Dense< float >, float > &  y,
float &  ans 
)

◆ dot() [47/64]

float monolish::blas::dot ( const view1D< tensor::tensor_Dense< float >, float > &  x,
const view1D< vector< float >, float > &  y 
)

◆ dot() [48/64]

void monolish::blas::dot ( const view1D< tensor::tensor_Dense< float >, float > &  x,
const view1D< vector< float >, float > &  y,
float &  ans 
)

◆ dot() [49/64]

double monolish::blas::dot ( const view1D< vector< double >, double > &  x,
const vector< double > &  y 
)

◆ dot() [50/64]

void monolish::blas::dot ( const view1D< vector< double >, double > &  x,
const vector< double > &  y,
double &  ans 
)

◆ dot() [51/64]

double monolish::blas::dot ( const view1D< vector< double >, double > &  x,
const view1D< matrix::Dense< double >, double > &  y 
)

◆ dot() [52/64]

void monolish::blas::dot ( const view1D< vector< double >, double > &  x,
const view1D< matrix::Dense< double >, double > &  y,
double &  ans 
)

◆ dot() [53/64]

double monolish::blas::dot ( const view1D< vector< double >, double > &  x,
const view1D< tensor::tensor_Dense< double >, double > &  y 
)

◆ dot() [54/64]

void monolish::blas::dot ( const view1D< vector< double >, double > &  x,
const view1D< tensor::tensor_Dense< double >, double > &  y,
double &  ans 
)

◆ dot() [55/64]

double monolish::blas::dot ( const view1D< vector< double >, double > &  x,
const view1D< vector< double >, double > &  y 
)

◆ dot() [56/64]

void monolish::blas::dot ( const view1D< vector< double >, double > &  x,
const view1D< vector< double >, double > &  y,
double &  ans 
)

◆ dot() [57/64]

float monolish::blas::dot ( const view1D< vector< float >, float > &  x,
const vector< float > &  y 
)

◆ dot() [58/64]

void monolish::blas::dot ( const view1D< vector< float >, float > &  x,
const vector< float > &  y,
float &  ans 
)

◆ dot() [59/64]

float monolish::blas::dot ( const view1D< vector< float >, float > &  x,
const view1D< matrix::Dense< float >, float > &  y 
)

◆ dot() [60/64]

void monolish::blas::dot ( const view1D< vector< float >, float > &  x,
const view1D< matrix::Dense< float >, float > &  y,
float &  ans 
)

◆ dot() [61/64]

float monolish::blas::dot ( const view1D< vector< float >, float > &  x,
const view1D< tensor::tensor_Dense< float >, float > &  y 
)

◆ dot() [62/64]

void monolish::blas::dot ( const view1D< vector< float >, float > &  x,
const view1D< tensor::tensor_Dense< float >, float > &  y,
float &  ans 
)

◆ dot() [63/64]

float monolish::blas::dot ( const view1D< vector< float >, float > &  x,
const view1D< vector< float >, float > &  y 
)

◆ dot() [64/64]

void monolish::blas::dot ( const view1D< vector< float >, float > &  x,
const view1D< vector< float >, float > &  y,
float &  ans 
)