SG++-Doxygen-Documentation
Loading...
Searching...
No Matches
toolsExtended.py File Reference

Namespaces

namespace  python
 
namespace  python.toolsExtended
 

Functions

 python.toolsExtended.buildAlphaVector (filename)
 Wrapper for buildCoefficientVectorFromFile.
 
 python.toolsExtended.buildCoefficientVectorFromFile (filename)
 Builds the data vector that hold the coefficients fo either the ansatzfuctions or the node base re.sub(regex, replacement, subject)
 
 python.toolsExtended.buildNodevalueVector (filename)
 Wrapper for buildCoefficientVectorFromFile.
 
 python.toolsExtended.buildTrainingVector (data)
 Builds the training data vector.
 
 python.toolsExtended.compareBBTMatrices (m1, m2)
 Compares, if two BBT matrices are "almost" equal.
 
 python.toolsExtended.compareBTMatrices (m1, m2)
 Compares, if two BT matrices are "almost" equal.
 
 python.toolsExtended.compareResultFiles (file1, file2)
 Compares two files and calculates the maximum difference between the values.
 
 python.toolsExtended.doDehierarchisation (alpha, grid)
 hierarchisation of the node base values on a grid
 
 python.toolsExtended.doHierarchisation (node_values, grid)
 hierarchisation of the node base values on a grid
 
 python.toolsExtended.evalFunction (function, points)
 evalutes a given function
 
 python.toolsExtended.generateBBTMatrix (factory, training, verbose=False)
 Generates the BBT DM Matrix for a given grid using numpy.
 
 python.toolsExtended.generateBBTMatrixPython (factory, training, verbose=False)
 Generates the BBT DM Matrix for a given grid only using python arrays.
 
 python.toolsExtended.generateBTMatrix (factory, training, verbose=False)
 Generates the BT DM Matrix for a given grid using numpy.
 
 python.toolsExtended.generateBTMatrixPython (factory, training, verbose=False)
 Generates the BT DM Matrix for a given grid only using python arrays.
 
 python.toolsExtended.generateCMatrix (factory, verbose=False)
 Generates the Laplace Matrix for a given grid using numpy.
 
 python.toolsExtended.openFile (filename)
 Opens a file and returns the stored data.
 
 python.toolsExtended.printNDFunction (filename, filenameValue, grid, alpha, resolution)
 This allows to evaluate a multidimensional function.
 
 python.toolsExtended.printPoint (p, grid, alpha, fout, foutvalue)
 Here a evaluate point on a Sparse Grid is written to a file.
 
 python.toolsExtended.printRefNDFunction (filename, filenameValue, function, resolution, dim)
 This allows to evaluate a multidimensional function.
 
 python.toolsExtended.printRefPoint (points, dim, function, fout, foutvalue)
 Writes reference points to a given file.
 
 python.toolsExtended.readDataVector (filename)
 Reads a DataVector.
 
 python.toolsExtended.readReferenceMatrix (storage, filename)
 Reads a Reference matrix and returns it.
 
 python.toolsExtended.recGenPrintRefVector (dim_rem, dim, points, function, resolution, fout, foutvalue)
 Recursive generation of the function's coordinate string.
 
 python.toolsExtended.recGenPrintVector (dim_rem, p, grid, alpha, resolution, fout, foutvalue)
 Evaluates a mutlidimensional function on a Sparse Grid.
 
 python.toolsExtended.testHierarchisationResults (node1, node2)
 tests the correctness of the hierarchisation and dehierachisation
 
 python.toolsExtended.writeMatrixToFile (filename, matrix, n, m)
 Writes matrix stored in numpy format into a file.