Revision: 2748
Author:
anna.ata...@gmail.com
Date: Thu Feb 6 18:41:34 2014 UTC
Log: issue 133
Enhancement: commit for merge
http://code.google.com/p/ellipsoids/source/detail?r=2748
Modified:
/branches/issue_133_aatanesyan/products/+gras/+ellapx/+smartdb/+rels/EllTube.m
/branches/issue_133_aatanesyan/products/+gras/+ellapx/+smartdb/+rels/EllTubeBasic.m
/branches/issue_133_aatanesyan/products/+gras/+ellapx/+smartdb/+rels/EllTubeTouchCurveBasic.m
/branches/issue_133_aatanesyan/products/+gras/+ellapx/+smartdb/+test/+examples/example_fromQArrays.m
=======================================
---
/branches/issue_133_aatanesyan/products/+gras/+ellapx/+smartdb/+rels/EllTube.m
Tue Dec 10 16:24:10 2013 UTC
+++
/branches/issue_133_aatanesyan/products/+gras/+ellapx/+smartdb/+rels/EllTube.m
Thu Feb 6 18:41:34 2014 UTC
@@ -1,34 +1,60 @@
classdef EllTube<gras.ellapx.smartdb.rels.ATypifiedAdjustedRel&...
gras.ellapx.smartdb.rels.EllTubeBasic&...
gras.ellapx.smartdb.rels.AEllTubeProjectable
- % EllTube - class which keeps ellipsoidal tubes
+ % A class which adds more methods and functionality to EllTubeBasic
class,
+ % allowing more profound work with ellipsoid tube objects.
%
% Fields:
- % QArray:cell[1, nElem] - Array of ellipsoid matrices
- % aMat:cell[1, nElem] - Array of ellipsoid centers
- % scaleFactor:double[1, 1] - Tube scale factor
- % MArray:cell[1, nElem] - Array of regularization ellipsoid matrices
- % dim :double[1, 1] - Dimensionality
- % sTime:double[1, 1] - Time s
- % approxSchemaName:cell[1,] - Name
- % approxSchemaDescr:cell[1,] - Description
- % approxType:gras.ellapx.enums.EApproxType - Type of approximation
- % (external, internal, not defined)
- % timeVec:cell[1, m] - Time vector
- % calcPrecision:double[1, 1] - Calculation precision
- % indSTime:double[1, 1] - index of sTime within timeVec
- % ltGoodDirMat:cell[1, nElem] - Good direction curve
- % lsGoodDirVec:cell[1, nElem] - Good direction at time s
- % ltGoodDirNormVec:cell[1, nElem] - Norm of good direction curve
- % lsGoodDirNorm:double[1, 1] - Norm of good direction at time s
- % xTouchCurveMat:cell[1, nElem] - Touch point curve for good
- % direction
- % xTouchOpCurveMat:cell[1, nElem] - Touch point curve for direction
- % opposite to good direction
- % xsTouchVec:cell[1, nElem] - Touch point at time s
- % xsTouchOpVec :cell[1, nElem] - Touch point at time s
+ % QArray: cell[1,1] of double[nDims,nDims,nTimePoints] -
+ % an array of nTimePoints ellipsoid matrices of
+ % double[nDims,nDims] type. Each element from
+ % double[nDims,nDims,nTimePoints] array specifies
double[nDims,nDims]
+ % ellipsoid matrix at nTimePoint point of time. Here nTimePoints
+ % is number of elements in timeVec.
+ % aMat: cell[1,nTimePoints] of double[nDims,1] - array of nTimePoints
+ % ellipsoid centers. Each center is specified for nTimePoint
+ % point of time
+ % scaleFactor: double[1, 1] - scale for the created ellipsoid tube
+ % MArray: cell[1,1] of double[nDims,nDims,nTimePoints] -
+ % an array of nTimePoints regularization matrices
+ % of double[nDims,nDims] type. Each element from
+ % double[nDims,nDims,nTimePoints] array specifies
double[nDim,nDim]
+ % regularization matrix at nTimePoint point of time
+ % dim: double[1, 1] - the dimension of the space in which the
touching
+ % curves are defined
+ % sTime: double[1, 1] - specific point of time which is best suited
to
+ % describe good direction
+ % approxSchemaName: cell[1, 1] of char[1,] - name of the
+ % approximation schema
+ % approxSchemaDescr: cell[1, 1] of char[1,] - description of the
+ % approximation schema
+ % approxType: gras.ellapx.enums.EApproxType[1,1] - type of
approximation
+ % (External, Internal, NotDefined)
+ % timeVec: double[1, nTimePoints] - time vector
+ % calcPrecision: double[1, 1] - calculation precision
+ % indSTime: double[1, 1] - index of sTime point within timeVec
+ % ltGoodDirMat: cell[1, nTimePoints] of double[nDims, 1] - matrix of
good direction
+ % vectors at any point of time from timeVec
+ % lsGoodDirVec: cell[1, 1] of double[nDims, 1] - good direction
vector at sTime
+ % point of time
+ % ltGoodDirNormVec: cell[1, 1] of double[1, nTimePoints] - norm of
good direction
+ % vector at any point of time from timeVec
+ % lsGoodDirNorm: double[1, 1] - norm of good direction vector at
+ % sTime point of time
+ % xTouchCurveMat: cell[1, nTimePoints] of double[nDims, 1] - touch
+ % point curve for good direction matrix
+ % xTouchOpCurveMat: cell[1, nTimePoints] of double[nDims, 1] - touch
+ % point curve oposite to the xTouchCurveMat touch point curve
+ % xsTouchVec: cell[1, 1] of double[nDims, 1] - touch point at sTime
+ % point of time
+ % xsTouchOpVec: cell[1, 1] of double[nDims, 1] - a point opposite to
+ % the xsTouchVec touch point
+ % isLsTouch: logical[1, 1] - a logical variable which indicates
whether a touch takes place
+ % along good direction at sTime point of time
+ % isLsTouchVec: cell[1, 1] of logical[nTimePoints, 1] - a logical
+ % vector which indicates whether a touch takes place along good
+ % direction at any point of time from timeVec
%
- % TODO: correct description of the fields in
gras.ellapx.smartdb.rels.EllTube
methods(Access=protected)
function changeDataPostHook(self)
self.checkDataConsistency();
@@ -248,7 +274,7 @@
% double[nDims,nDims,nTimePoints] array specifies
double[nDims,nDims]
% ellipsoid matrix at nTimePoint point of time. Here
nTimePoints
% is number of elements in timeVec.
- % aMat: double[nTimePoints,nDims] - array of nTimePoints
+ % aMat: double[nDims, nTimePoints] - array of nTimePoints
% ellipsoid centers. Each center is specified for
nTimePoint
% point of time.
% timeVec: cell[1,1] of double[1,nTimePoints] - time
vector
@@ -257,12 +283,21 @@
% at any point of time from timeVec
% sTime: double[1,1] - specific point of time from
timeVec which is
% best suited to describe good direction
- % approxType: gras.ellapx.enums.EApproxType[1,1] - type
of
- % approximation (External, Internal, NotDefined)
- % approxSchemaName: char[1,] - name of the approximation
- % schema
- % approxSchemaDescr: char[1,] - description of the
- % approximation schema
+ % approxType: gras.ellapx.enums.EApproxType[1,1] /
gras.ellapx.enums.EApproxType[1,nEllTubes] - type of
+ % approximation (External, Internal, NotDefined). It
is possible either to specify one type of
+ % approximation for all of nEllTubes ellipsoid
tubes, or specify the type of
+ % approximation for each of the nEllTubes ellipsoid
tubes
+ % separately.
+ % approxSchemaName: char[1,] / cell[1,nEllTubes] of
char[1,] - name of the approximation
+ % schema. It is possible either to specify one name
of the approximation
+ % schema for all of nEllTubes ellipsoid tubes, or
specify the name of the approximation
+ % schema for each of the nEllTubes ellipsoid tubes
+ % separately.
+ % approxSchemaDescr: char[1,] / cell[1,nEllTubes] of
char[1,] - description of the
+ % approximation schema. It is possible either to
specify one description of the
+ % approximation schema for all of nEllTubes
ellipsoid tubes, or specify the description of the
+ % approximation schema for each of the nEllTubes
ellipsoid tubes
+ % separately.
% calcPrecision: double[1, 1] - calculation precision
%
% Output:
@@ -294,7 +329,7 @@
% double[nDims,nDims,nTimePoints] array specifies
double[nDims,nDims]
% ellipsoid matrix at nTimePoint point of time. Here
nTimePoints
% is number of elements in timeVec.
- % aMat: cell[1,nTimePoints] of double[nDims,1] - array
of nTimePoints
+ % aMat: double[nDims, nTimePoints] - array of nTimePoints
% ellipsoid centers. Each center is specified for
nTimePoint
% point of time.
% MArrayList: cell[nEllTubes,1] of
double[nDims,nDims,nTimePoints] -
@@ -308,12 +343,21 @@
% at any point of time from timeVec
% sTime: double[1,1] - specific point of time from
timeVec which is
% best suited to describe good direction
- % approxType: gras.ellapx.enums.EApproxType[1,1] - type
of
- % approximation (External, Internal, NotDefined)
- % approxSchemaName: char[1,] - name of the approximation
- % schema
- % approxSchemaDescr: char[1,] - description of the
- % approximation schema
+ % approxType: gras.ellapx.enums.EApproxType[1,1] /
gras.ellapx.enums.EApproxType[1,nEllTubes] - type of
+ % approximation (External, Internal, NotDefined). It
is possible either to specify one type of
+ % approximation for all of nEllTubes ellipsoid
tubes, or specify the type of
+ % approximation for each of the nEllTubes ellipsoid
tubes
+ % separately.
+ % approxSchemaName: char[1,] / cell[1,nEllTubes] of
char[1,] - name of the approximation
+ % schema. It is possible either to specify one name
of the approximation
+ % schema for all of nEllTubes ellipsoid tubes, or
specify the name of the approximation
+ % schema for each of the nEllTubes ellipsoid tubes
+ % separately.
+ % approxSchemaDescr: char[1,] / cell[1,nEllTubes] of
char[1,] - description of the
+ % approximation schema. It is possible either to
specify one description of the
+ % approximation schema for all of nEllTubes
ellipsoid tubes, or specify the description of the
+ % approximation schema for each of the nEllTubes
ellipsoid tubes
+ % separately.
% calcPrecision: double[1, 1] - calculation precision
%
% Output:
@@ -344,7 +388,7 @@
% double[nDims,nDims,nTimePoints] array specifies
double[nDims,nDims]
% ellipsoid matrix at nTimePoint point of time. Here
nTimePoints
% is number of elements in timeVec.
- % aMat: cell[1,nTimePoints] of double[nDims,1] - array
of nTimePoints
+ % aMat: double[nDims, nTimePoints] - array of nTimePoints
% ellipsoid centers. Each center is specified for
nTimePoint
% point of time.
% MArrayList: cell[nEllTubes,1] of
double[nDims,nDims,nTimePoints] -
@@ -358,12 +402,21 @@
% at any point of time from timeVec
% sTime: double[1,1] - specific point of time from
timeVec which is
% best suited to describe good direction
- % approxType: gras.ellapx.enums.EApproxType[1,1] - type
of
- % approximation (External, Internal, NotDefined)
- % approxSchemaName: char[1,] - name of the approximation
- % schema
- % approxSchemaDescr: char[1,] - description of the
- % approximation schema
+ % approxType: gras.ellapx.enums.EApproxType[1,1] /
gras.ellapx.enums.EApproxType[1,nEllTubes] - type of
+ % approximation (External, Internal, NotDefined). It
is possible either to specify one type of
+ % approximation for all of nEllTubes ellipsoid
tubes, or specify the type of
+ % approximation for each of the nEllTubes ellipsoid
tubes
+ % separately.
+ % approxSchemaName: char[1,] / cell[1,nEllTubes] of
char[1,] - name of the approximation
+ % schema. It is possible either to specify one name
of the approximation
+ % schema for all of nEllTubes ellipsoid tubes, or
specify the name of the approximation
+ % schema for each of the nEllTubes ellipsoid tubes
+ % separately.
+ % approxSchemaDescr: char[1,] / cell[1,nEllTubes] of
char[1,] - description of the
+ % approximation schema. It is possible either to
specify one description of the
+ % approximation schema for all of nEllTubes
ellipsoid tubes, or specify the description of the
+ % approximation schema for each of the nEllTubes
ellipsoid tubes
+ % separately.
% calcPrecision: double[1, 1] - calculation precision
% scaleFactor: double[1, nEllTubes] - a vector of scale
% factors specified for every created ellipsoid tube.
@@ -399,12 +452,21 @@
% at any point of time from timeVec
% sTime: double[1,1] - specific point of time from
timeVec which is
% best suited to describe good direction
- % approxType: gras.ellapx.enums.EApproxType[1,1] - type
of
- % approximation (External, Internal, NotDefined)
- % approxSchemaName: char[1,] - name of the approximation
- % schema
- % approxSchemaDescr: char[1,] - description of the
- % approximation schema
+ % approxType: gras.ellapx.enums.EApproxType[1,1] /
gras.ellapx.enums.EApproxType[1,nEllTubes] - type of
+ % approximation (External, Internal, NotDefined). It
is possible either to specify one type of
+ % approximation for all of nEllTubes ellipsoid
tubes, or specify the type of
+ % approximation for each of the nEllTubes ellipsoid
tubes
+ % separately.
+ % approxSchemaName: char[1,] / cell[1,nEllTubes] of
char[1,] - name of the approximation
+ % schema. It is possible either to specify one name
of the approximation
+ % schema for all of nEllTubes ellipsoid tubes, or
specify the name of the approximation
+ % schema for each of the nEllTubes ellipsoid tubes
+ % separately.
+ % approxSchemaDescr: char[1,] / cell[1,nEllTubes] of
char[1,] - description of the
+ % approximation schema. It is possible either to
specify one description of the
+ % approximation schema for all of nEllTubes
ellipsoid tubes, or specify the description of the
+ % approximation schema for each of the nEllTubes
ellipsoid tubes
+ % separately.
% calcPrecision: double[1, 1] - calculation precision
%
% Output:
@@ -445,12 +507,21 @@
% at any point of time from timeVec
% sTime: double[1,1] - specific point of time from
timeVec which is
% best suited to describe good direction
- % approxType: gras.ellapx.enums.EApproxType[1,1] - type
of
- % approximation (External, Internal, NotDefined)
- % approxSchemaName: char[1,] - name of the approximation
- % schema
- % approxSchemaDescr: char[1,] - description of the
- % approximation schema
+ % approxType: gras.ellapx.enums.EApproxType[1,1] /
gras.ellapx.enums.EApproxType[1,nEllTubes] - type of
+ % approximation (External, Internal, NotDefined). It
is possible either to specify one type of
+ % approximation for all of nEllTubes ellipsoid
tubes, or specify the type of
+ % approximation for each of the nEllTubes ellipsoid
tubes
+ % separately.
+ % approxSchemaName: char[1,] / cell[1,nEllTubes] of
char[1,] - name of the approximation
+ % schema. It is possible either to specify one name
of the approximation
+ % schema for all of nEllTubes ellipsoid tubes, or
specify the name of the approximation
+ % schema for each of the nEllTubes ellipsoid tubes
+ % separately.
+ % approxSchemaDescr: char[1,] / cell[1,nEllTubes] of
char[1,] - description of the
+ % approximation schema. It is possible either to
specify one description of the
+ % approximation schema for all of nEllTubes
ellipsoid tubes, or specify the description of the
+ % approximation schema for each of the nEllTubes
ellipsoid tubes
+ % separately.
% calcPrecision: double[1, 1] - calculation precision
%
% Output:
@@ -624,9 +695,9 @@
% Input:
% regular:
% self.
- % fCalcFactor: cell_fun{1, 1] - function which
calculates scaleFactor for
+ % fCalcFactor: function_handle[1, 1] - function which
calculates scaleFactor for
% fields in fieldNameList
- % fieldNameList: char[1, ]/cell[1,] of char[1, ] - a
list of fields
+ % fieldNameList: char[1, ]/cell[1,nFields] of char[1, ]
- a list of field or nFields fields
% for which scale factor will be calculated
%
% Output:
=======================================
---
/branches/issue_133_aatanesyan/products/+gras/+ellapx/+smartdb/+rels/EllTubeBasic.m
Tue Dec 10 16:24:10 2013 UTC
+++
/branches/issue_133_aatanesyan/products/+gras/+ellapx/+smartdb/+rels/EllTubeBasic.m
Thu Feb 6 18:41:34 2014 UTC
@@ -1,6 +1,58 @@
classdef EllTubeBasic<gras.ellapx.smartdb.rels.EllTubeTouchCurveBasic
- %TestRelation Summary of this class goes here
- % Detailed explanation goes here
+ % Basic abstract class in the Ellipsoidal Toolbox for keeping and
working
+ % with ellipsoid tube objects.
+ %
+ % Fields:
+ % QArray: cell[1,1] of double[nDims,nDims,nTimePoints] -
+ % an array of nTimePoints ellipsoid matrices of
+ % double[nDims,nDims] type. Each element from
+ % double[nDims,nDims,nTimePoints] array specifies
double[nDims,nDims]
+ % ellipsoid matrix at nTimePoint point of time. Here nTimePoints
+ % is number of elements in timeVec.
+ % aMat: cell[1,nTimePoints] of double[nDims,1] - array of nTimePoints
+ % ellipsoid centers. Each center is specified for nTimePoint
+ % point of time
+ % scaleFactor: double[1, 1] - scale for the created ellipsoid tube
+ % MArray: cell[1,1] of double[nDims,nDims,nTimePoints] -
+ % an array of nTimePoints regularization matrices
+ % of double[nDims,nDims] type. Each element from
+ % double[nDims,nDims,nTimePoints] array specifies
double[nDim,nDim]
+ % regularization matrix at nTimePoint point of time
+ % dim: double[1, 1] - the dimension of the space in which the
touching
+ % curves are defined
+ % sTime: double[1, 1] - specific point of time which is best suited
to
+ % describe good direction
+ % approxSchemaName: cell[1, 1] of char[1,] - name of the
+ % approximation schema
+ % approxSchemaDescr: cell[1, 1] of char[1,] - description of the
+ % approximation schema
+ % approxType: gras.ellapx.enums.EApproxType[1,1] - type of
approximation
+ % (External, Internal, NotDefined)
+ % timeVec: double[1, nTimePoints] - time vector
+ % calcPrecision: double[1, 1] - calculation precision
+ % indSTime: double[1, 1] - index of sTime point within timeVec
+ % ltGoodDirMat: cell[1, nTimePoints] of double[nDims, 1] - matrix of
good direction
+ % vectors at any point of time from timeVec
+ % lsGoodDirVec: cell[1, 1] of double[nDims, 1] - good direction
vector at sTime
+ % point of time
+ % ltGoodDirNormVec: cell[1, 1] of double[1, nTimePoints] - norm of
good direction
+ % vector at any point of time from timeVec
+ % lsGoodDirNorm: double[1, 1] - norm of good direction vector at
+ % sTime point of time
+ % xTouchCurveMat: cell[1, nTimePoints] of double[nDims, 1] - touch
+ % point curve for good direction matrix
+ % xTouchOpCurveMat: cell[1, nTimePoints] of double[nDims, 1] - touch
+ % point curve oposite to the xTouchCurveMat touch point curve
+ % xsTouchVec: cell[1, 1] of double[nDims, 1] - touch point at sTime
+ % point of time
+ % xsTouchOpVec: cell[1, 1] of double[nDims, 1] - a point opposite to
+ % the xsTouchVec touch point
+ % isLsTouch: logical[1, 1] - a logical variable which indicates
whether a touch takes place
+ % along good direction at sTime point of time
+ % isLsTouchVec: cell[1, 1] of logical[nTimePoints, 1] - a logical
+ % vector which indicates whether a touch takes place along good
+ % direction at any point of time from timeVec
+ %
properties (Constant,Hidden)
FCODE_Q_ARRAY
FCODE_A_MAT
@@ -9,7 +61,7 @@
end
methods
function fieldsList = getNoCatOrCutFieldsList(~)
- % GETNOCATORCUTFIELDLIST - returns a list of fields of
+ % GETNOCATORCUTFIELDSLIST - returns a list of fields of
% EllTubeBasic object, which are not to be
% concatenated or cut.
%
@@ -858,7 +910,7 @@
% Faculty of Computational
% Mathematics and Computer Science,
% System Analysis Department 2013 $
- import gras.interp.MatrixInterpolantFactory;
+ %
import gras.ellapx.smartdb.rels.EllTube;
import modgen.common.throwerror;
%
@@ -897,8 +949,8 @@
%
% Output:
% thinnedEllTubeRel:
gras.ellapx.smartdb.rels.EllTubeBasic[1, 1] -
- % new ellipsoid tube object containing only ellipsoids
with
- % indices specified in indVec
+ % new ellipsoid tube object containing only ellipsoids
from
+ % self EllTube object with indices specified in indVec
%
%
import gras.ellapx.smartdb.F;
=======================================
---
/branches/issue_133_aatanesyan/products/+gras/+ellapx/+smartdb/+rels/EllTubeTouchCurveBasic.m
Tue Dec 10 16:24:10 2013 UTC
+++
/branches/issue_133_aatanesyan/products/+gras/+ellapx/+smartdb/+rels/EllTubeTouchCurveBasic.m
Thu Feb 6 18:41:34 2014 UTC
@@ -1,39 +1,43 @@
classdef EllTubeTouchCurveBasic<handle
- %
- % One of the basic abstract classes in the Ellipsoidal Toolbox. It
- % allows us to keep touch point curves of internal and external
- % ellipsoid approximations for nEllTubes ellipsoid tubes.
+ % Basic abstract class in the Ellipsoidal Toolbox for keeping and
working
+ % with touch point curves of internal or external
+ % ellipsoid approximation for an ellipsoid tube.
%
% Fields:
% dim: double[1, 1] - the dimension of the space in which the
touching
- % curve is defined
+ % curves are defined
% sTime: double[1, 1] - specific point of time which is best suited
to
% describe good direction
- % approxSchemaName: cell[nEllTubes, 1] of char[1,] - name of the
approximation schema
- % approxSchemaDescr: cell[nEllTubes, 1] of char[1,] - description of
the approximation
- % schema
+ % approxSchemaName: cell[1, 1] of char[1,] - name of the
+ % approximation schema
+ % approxSchemaDescr: cell[1, 1] of char[1,] - description of the
+ % approximation schema
% approxType: gras.ellapx.enums.EApproxType[1,1] - type of
approximation
% (External, Internal, NotDefined)
- % timeVec: cell[nEllTubes, 1] of double[1, nTimePoints] - time vector
+ % timeVec: double[1, nTimePoints] - time vector
% calcPrecision: double[1, 1] - calculation precision
% indSTime: double[1, 1] - index of sTime point within timeVec
- % %ltGoodDirArray: cell[nEllTubes,1] of double[nDim, nTimePoints] -
- % % cell of nEllTubes arrays of nTimePoints good
direction vectors
- % % at any point of time from timeVec
- % ltGoodDirMat: cell->double[dim, nElem] - matrix of good direction
+ % ltGoodDirMat: cell[1, nTimePoints] of double[nDims, 1] - matrix of
good direction
% vectors at any point of time from timeVec
- % lsGoodDirVec: cell->double[dim, 1] - good direction vector at sTime
- % ltGoodDirNormVec: cell->double[1, nElem] - norm of good direction
+ % lsGoodDirVec: cell[1, 1] of double[nDims, 1] - good direction
vector at sTime
+ % point of time
+ % ltGoodDirNormVec: cell[1, 1] of double[1, nTimePoints] - norm of
good direction
% vector at any point of time from timeVec
- % lsGoodDirNorm: double[1, 1] - norm of good direction vector at
sTime
- % xTouchCurveMat: cell->double[dim, nElem] - matrix of touch point
- % curves for each initial direction specified by the user
- % xTouchOpCurveMat: cell->double[1, nElem] - matrix of touch point
- % curves for each direction opposite to the initial direction
- % specified by the user
- % xsTouchVec: cell->double[dim, 1] - touch point curve vector at
sTime
- % xsTouchOpVec: cell->double[dim, 1] - vector opposite to the touch
- % point curve vector at sTime
+ % lsGoodDirNorm: double[1, 1] - norm of good direction vector at
+ % sTime point of time
+ % xTouchCurveMat: cell[1, nTimePoints] of double[nDims, 1] - touch
+ % point curve for good direction matrix
+ % xTouchOpCurveMat: cell[1, nTimePoints] of double[nDims, 1] - touch
+ % point curve oposite to the xTouchCurveMat touch point curve
+ % xsTouchVec: cell[1, 1] of double[nDims, 1] - touch point at sTime
+ % point of time
+ % xsTouchOpVec: cell[1, 1] of double[nDims, 1] - a point opposite to
+ % the xsTouchVec touch point
+ % isLsTouch: logical[1, 1] - a logical variable which indicates
whether a touch takes place
+ % along good direction at sTime point of time
+ % isLsTouchVec: cell[1, 1] of logical[nTimePoints, 1] - a logical
+ % vector which indicates whether a touch takes place along good
+ % direction at any point of time from timeVec
%
properties (Constant,Hidden)
FCODE_DIM
=======================================
---
/branches/issue_133_aatanesyan/products/+gras/+ellapx/+smartdb/+test/+examples/example_fromQArrays.m
Mon Nov 11 04:51:12 2013 UTC
+++
/branches/issue_133_aatanesyan/products/+gras/+ellapx/+smartdb/+test/+examples/example_fromQArrays.m
Thu Feb 6 18:41:34 2014 UTC
@@ -3,18 +3,23 @@
nPoints=5;
calcPrecision=0.001;
approxSchemaDescr=char.empty(1,0);
-approxSchemaName=char.empty(1,0);
+% approxSchemaDescr={'.','..','...'}'
+% approxSchemaName=char.empty(1,0);
+approxSchemaName={'.','..','...'}'
nDims=3;
-nTubes=1;
+nTubes=3;
lsGoodDirVec=[1;0;1];
aMat=zeros(nDims,nPoints);
timeVec=1:nPoints;
sTime=nPoints;
-approxType=gras.ellapx.enums.EApproxType.Internal;
+% approxType=gras.ellapx.enums.EApproxType.Internal;
+approxType=[gras.ellapx.enums.EApproxType.Internal,...
+ gras.ellapx.enums.EApproxType.Internal,...
+ gras.ellapx.enums.EApproxType.Internal]'
qArrayList=repmat({repmat(diag([1 2 3]),[1,1,nPoints])},...
1,nTubes);
ltGoodDirArray=repmat(lsGoodDirVec,[1,nTubes,nPoints]);
fromMatEllTube=gras.ellapx.smartdb.rels.EllTube.fromQArrays(...
qArrayList, aMat, timeVec,...
ltGoodDirArray, sTime, approxType, approxSchemaName,...
- approxSchemaDescr, calcPrecision);
+ approxSchemaDescr, calcPrecision)