escript  Revision_Unversioneddirectory
Namespaces | Macros | Functions
DataMaths.cpp File Reference
#include "esysUtils/first.h"
#include "DataTypes.h"
#include "DataMaths.h"
#include <sstream>

Namespaces

 escript
 
 escript::DataMaths
 Contains maths operations performed on data vectors.
 

Macros

#define ESNEEDPYTHON
 

Functions

void escript::DataMaths::matMult (const DataTypes::ValueType &left, const DataTypes::ShapeType &leftShape, DataTypes::ValueType::size_type leftOffset, const DataTypes::ValueType &right, const DataTypes::ShapeType &rightShape, DataTypes::ValueType::size_type rightOffset, DataTypes::ValueType &result, const DataTypes::ShapeType &resultShape)
 Perform a matrix multiply of the given views. More...
 
DataTypes::ShapeType escript::DataMaths::determineResultShape (const DataTypes::ShapeType &left, const DataTypes::ShapeType &right)
 Determine the shape of the result array for a matrix multiplication of the given views. More...
 
void escript::DataMaths::matrixInverseError (int err)
 throws an appropriate exception based on failure of matrix_inverse. More...
 
int escript::DataMaths::matrix_inverse (const DataTypes::ValueType &in, const DataTypes::ShapeType &inShape, DataTypes::ValueType::size_type inOffset, DataTypes::ValueType &out, const DataTypes::ShapeType &outShape, DataTypes::ValueType::size_type outOffset, int count, LapackInverseHelper &helper)
 computes the inverses of square (up to 3x3) matricies More...
 

Macro Definition Documentation

#define ESNEEDPYTHON