ca.nengo.math
Interface FunctionBasis

All Superinterfaces:
java.lang.Cloneable, Function, java.io.Serializable
All Known Implementing Classes:
FunctionBasisImpl

public interface FunctionBasis
extends Function

A list of orthogonal functions.

Function bases are useful in function representation, because they make function representation equivalent to vector representation (see Eliasmith & Anderson, 2003). Essentially, functions in an orthogonal basis correspond to dimensions in a vector. Cosine tuning curves in a vector space are equivalent to inner-product tuning curves in the corresponding function space.

Examples of orthogonal sets of functions include Fourier and wavelet bases.

Author:
Bryan Tripp

Method Summary
 int getBasisDimension()
           
 Function getFunction(int basisIndex)
           
 void setCoefficients(float[] coefficients)
           
 
Methods inherited from interface ca.nengo.math.Function
clone, getDimension, map, multiMap
 

Method Detail

getBasisDimension

int getBasisDimension()
Returns:
Dimensionality of basis

getFunction

Function getFunction(int basisIndex)
Parameters:
basisIndex - Dimension index
Returns:
Basis function corresponding to given dimension

setCoefficients

void setCoefficients(float[] coefficients)
Parameters:
coefficients - Coefficient for summing basis functions