PPL Logo

libs/ck-libs/ifem/ilsi_vec.h File Reference

Go to the source code of this file.

Data Structures

class  allocVector
 Tiny, silly utility class for dynamically allocating vectors. More...

Typedefs

typedef double real

Functions

void copy (int n, real *c, const real *a)
 c=a
void sub (int n, real *c, const real *a, const real *b)
 c=a-b
void fma (int n, real *c, const real *a, double k, const real *b)
 c=a+k*b (floating-point multiply-add)
real dot (int n, const real *a, const real *b)
 Take the dot product of these two vectors:.


Typedef Documentation

typedef double real

Definition at line 10 of file ilsi_vec.h.


Function Documentation

void copy ( int  n,
real c,
const real a 
) [inline]

c=a

Definition at line 14 of file ilsi_vec.h.

void sub ( int  n,
real c,
const real a,
const real b 
) [inline]

c=a-b

Definition at line 18 of file ilsi_vec.h.

Referenced by cgSolver::cgSolver().

Here is the caller graph for this function:

void fma ( int  n,
real c,
const real a,
double  k,
const real b 
) [inline]

c=a+k*b (floating-point multiply-add)

Definition at line 22 of file ilsi_vec.h.

Referenced by cgSolver::iterate().

Here is the caller graph for this function:

real dot ( int  n,
const real a,
const real b 
) [inline]

Take the dot product of these two vectors:.

Definition at line 29 of file ilsi_vec.h.

Referenced by vector2d::cosAng(), PUPbytes(), tetVolume(), and cg3d::tetVolume().

Here is the caller graph for this function:


Generated on Mon Sep 21 08:07:30 2020 for Charm++ by  doxygen 1.5.5