The SUMO toolbox  2018a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
evaluateOnGrid.m File Reference


function evaluateOnGrid (var points, var coeff, var degrees, var baseFunctions)
 Slow but neat implementation of the grid evaluation. More...

Detailed Description

SUMO Lab Team
Copyright 2006-2018

This file is part of the Surrogate Modeling Toolbox ("SUMO Toolbox") and you can redistribute it and/or modify it under the terms of the GNU Affero General Public License version 3 as published by the Free Software Foundation. With the additional provision that a commercial license must be purchased if the SUMO Toolbox is used, modified, or extended in a commercial setting. For details see the included LICENSE.txt file. When referring to the SUMO Toolbox please make reference to the corresponding publication:

Contact : - Signature values = evaluateOnGrid( points, coeff, degrees, baseFunctions )

Function Documentation

function evaluateOnGrid ( var  points,
var  coeff,
var  degrees,
var  baseFunctions 

Slow but neat implementation of the grid evaluation.

It involves isolating the singleton dimensions (i.e. columns where degrees only contains zeros) and doing matrix permutations and reshapes for the other dimensions in order to arrive at the solution. Pretty straightforward after some reflection...