KerMor  0.9
Model order reduction for nonlinear dynamical systems and nonlinear approximation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
LinearSplitOfOne Class Reference

LinearSplitOfOne: Computes a sequence of hat functions at equidistant nodes from [0,len] to enable an efficient, easy way of division of unity. More...

Detailed Description

LinearSplitOfOne: Computes a sequence of hat functions at equidistant nodes from [0,len] to enable an efficient, easy way of division of unity.

Author
Daniel Wirtz
Date
2014-04-11
New in 0.7:
(Daniel Wirtz, 2014-04-11) Added this class.

This class is part of the framework

KerMor - Model Order Reduction using Kernels

Definition at line 17 of file LinearSplitOfOne.m.

Public Member Functions

 LinearSplitOfOne (char varname,integer splits,double len)
 Creates a new instance. More...
 
function str = getFunStr (idx)
 Returns the idx-th function string. More...
 
function cell funs = getAllFunctions ()
 Returns all functions in a cell array. More...
 
function handlegetAllFunctionsParsed ()
 Returns a function handle for a vector function, where each component idx evaluates the (idx-1)-th function of getFunStr(idx) More...
 

Static Public Member Functions

static function res = test_LinearSplitOfOne ()
 

Public Attributes

char VarName = "x"
 The variable name in the function strings. More...
 
integer Splits = 1
 The number of splits to do. Results in +1 functions, indexed starting at 0. More...
 
double IntervalLength = 1
 The length of the interval over which to split unity. More...
 
- Public Attributes inherited from handle
 addlistener
 Creates a listener for the specified event and assigns a callback function to execute when the event occurs. More...
 
 notify
 Broadcast a notice that a specific event is occurring on a specified handle object or array of handle objects. More...
 
 delete
 Handle object destructor method that is called when the object's lifecycle ends. More...
 
 disp
 Handle object disp method which is called by the display method. See the MATLAB disp function. More...
 
 display
 Handle object display method called when MATLAB software interprets an expression returning a handle object that is not terminated by a semicolon. See the MATLAB display function. More...
 
 findobj
 Finds objects matching the specified conditions from the input array of handle objects. More...
 
 findprop
 Returns a meta.property objects associated with the specified property name. More...
 
 fields
 Returns a cell array of string containing the names of public properties. More...
 
 fieldnames
 Returns a cell array of string containing the names of public properties. See the MATLAB fieldnames function. More...
 
 isvalid
 Returns a logical array in which elements are true if the corresponding elements in the input array are valid handles. This method is Sealed so you cannot override it in a handle subclass. More...
 
 eq
 Relational functions example. See details for more information. More...
 
 transpose
 Transposes the elements of the handle object array. More...
 
 permute
 Rearranges the dimensions of the handle object array. See the MATLAB permute function. More...
 
 reshape
 hanges the dimensions of the handle object array to the specified dimensions. See the MATLAB reshape function. More...
 
 sort
 ort the handle objects in any array in ascending or descending order. More...
 

Constructor & Destructor Documentation

LinearSplitOfOne.LinearSplitOfOne ( char  varname,
integer  splits,
double  len 
)

Creates a new instance.

Parameters
varnameThe variable name Default: x
splitsThe number of splits to perform Default: 1
lenSplitting interval length Default: 1

Definition at line 73 of file LinearSplitOfOne.m.

References IntervalLength, Splits, and VarName.

Referenced by test_LinearSplitOfOne().

Here is the caller graph for this function:

Member Function Documentation

function cell funs = LinearSplitOfOne.getAllFunctions ( )

Returns all functions in a cell array.

Return values
funsThe function strings in a cell array

Definition at line 125 of file LinearSplitOfOne.m.

References getFunStr(), and Splits.

Referenced by getAllFunctionsParsed().

Here is the call graph for this function:

Here is the caller graph for this function:

function handle = LinearSplitOfOne.getAllFunctionsParsed ( )

Returns a function handle for a vector function, where each component idx evaluates the (idx-1)-th function of getFunStr(idx)

Definition at line 139 of file LinearSplitOfOne.m.

References getAllFunctions(), Splits, and VarName.

Here is the call graph for this function:

function str = LinearSplitOfOne.getFunStr (   idx)

Returns the idx-th function string.

Pass idx=0 for the function falling from 1 to 0 for arguments starting at 0.

Definition at line 94 of file LinearSplitOfOne.m.

References IntervalLength, Splits, and VarName.

Referenced by getAllFunctions().

Here is the caller graph for this function:

static function res = LinearSplitOfOne.test_LinearSplitOfOne ( )
static

Definition at line 172 of file LinearSplitOfOne.m.

References k, l, and LinearSplitOfOne().

Here is the call graph for this function:

Member Data Documentation

LinearSplitOfOne.IntervalLength = 1

The length of the interval over which to split unity.

Default: 1

Definition at line 60 of file LinearSplitOfOne.m.

Referenced by getFunStr(), and LinearSplitOfOne().

LinearSplitOfOne.Splits = 1

The number of splits to do. Results in +1 functions, indexed starting at 0.

Default: 1

Note
This property has custom functionality when its value is changed.

Definition at line 49 of file LinearSplitOfOne.m.

Referenced by getAllFunctions(), getAllFunctionsParsed(), getFunStr(), and LinearSplitOfOne().

LinearSplitOfOne.VarName = "x"

The variable name in the function strings.

Default: x

Definition at line 39 of file LinearSplitOfOne.m.

Referenced by getAllFunctionsParsed(), getFunStr(), and LinearSplitOfOne().


The documentation for this class was generated from the following file: