Revision: 2754
Author:
anna.ata...@gmail.com
Date: Sun Feb 23 23:12:29 2014 UTC
Log: issue 133
Enhancement: committing some changes
http://code.google.com/p/ellipsoids/source/detail?r=2754
Added:
/branches/issue_133_aatanesyan/doc/chap_ellTube.rst
/branches/issue_133_aatanesyan/products/+gras/+ellapx/+smartdb/+test/+examples/example_cut1.m
/branches/issue_133_aatanesyan/products/+gras/+ellapx/+smartdb/+test/+examples/example_cut2.m
/branches/issue_133_aatanesyan/products/+gras/+ellapx/+smartdb/+test/+examples/example_fromEllArray1.m
/branches/issue_133_aatanesyan/products/+gras/+ellapx/+smartdb/+test/+examples/example_fromEllArray2.m
/branches/issue_133_aatanesyan/products/+gras/+ellapx/+smartdb/+test/+examples/example_fromQArrays1.m
/branches/issue_133_aatanesyan/products/+gras/+ellapx/+smartdb/+test/+examples/example_fromQArrays2.m
Deleted:
/branches/issue_133_aatanesyan/products/+gras/+ellapx/+smartdb/+test/+examples/example_fromEllArray.m
/branches/issue_133_aatanesyan/products/+gras/+ellapx/+smartdb/+test/+examples/example_fromQArrays.m
/branches/issue_133_aatanesyan/products/+gras/+ellapx/+smartdb/+test/+examples/fMakeEllArrayElem.m
Modified:
/branches/issue_133_aatanesyan/doc/main_manual.rst
/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/EllTubeProj.m
/branches/issue_133_aatanesyan/products/+gras/+ellapx/+smartdb/+rels/EllTubeProjBasic.m
/branches/issue_133_aatanesyan/products/+gras/+ellapx/+smartdb/+rels/EllTubeTouchCurveBasic.m
/branches/issue_133_aatanesyan/products/+gras/+ellapx/+smartdb/+rels/EllTubeTouchCurveProjBasic.m
/branches/issue_133_aatanesyan/products/+gras/+ellapx/+smartdb/+rels/EllUnionTube.m
/branches/issue_133_aatanesyan/products/+gras/+ellapx/+smartdb/+rels/EllUnionTubeBasic.m
/branches/issue_133_aatanesyan/products/+gras/+ellapx/+smartdb/+rels/EllUnionTubeStaticProj.m
/branches/issue_133_aatanesyan/products/+gras/+ellapx/+smartdb/+rels/TypifiedByFieldCodeRel.m
/branches/issue_133_aatanesyan/products/+gras/+ellapx/+smartdb/+test/+examples/example_project.m
=======================================
--- /dev/null
+++ /branches/issue_133_aatanesyan/doc/chap_ellTube.rst Sun Feb 23 23:12:29
2014 UTC
@@ -0,0 +1,1 @@
+
=======================================
--- /dev/null
+++
/branches/issue_133_aatanesyan/products/+gras/+ellapx/+smartdb/+test/+examples/example_cut1.m
Sun Feb 23 23:12:29 2014 UTC
@@ -0,0 +1,24 @@
+% An example of usage of CUT function from EllTubeBasic class. In
+% this example an ellipsoid tube object is created, using TimeVec time
+% vector. Then it is cut using cutTimeVec time vector.
+nPoints=10;
+absTol=0.01;
+relTol=0.01;
+approxSchemaDescr='Internal';
+approxSchemaName='Internal';
+nDims=3;
+nTubes=1;
+lsGoodDirVec=[1;0;1];
+aMat=zeros(nDims,nPoints);
+timeVec=(1/nPoints):(1/nPoints):1
+sTime=timeVec(randi(nPoints,1));
+approxType=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, absTol, relTol);
+cutTimeVec = [timeVec(2) timeVec(7)];
+cutVecEllTube = fromMatEllTube.cut(cutTimeVec);
=======================================
--- /dev/null
+++
/branches/issue_133_aatanesyan/products/+gras/+ellapx/+smartdb/+test/+examples/example_cut2.m
Sun Feb 23 23:12:29 2014 UTC
@@ -0,0 +1,25 @@
+% An example of usage of CUT function from EllTubeBasic class. In
+% this example an ellipsoid tube object is created, using TimeVec time
+% vector. Then it is cut using cutTimePoint point
+% of time.
+nPoints=10;
+absTol=0.01;
+relTol=0.01;
+approxSchemaDescr='Internal';
+approxSchemaName='Internal';
+nDims=3;
+nTubes=1;
+lsGoodDirVec=[1;0;1];
+aMat=zeros(nDims,nPoints);
+timeVec=(1/nPoints):(1/nPoints):1
+sTime=timeVec(randi(nPoints,1));
+approxType=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, absTol, relTol);
+cutTimePoint = timeVec(randi(nPoints,1));
+cutPointEllTube = fromMatEllTube.cut(cutTimePoint);
=======================================
--- /dev/null
+++
/branches/issue_133_aatanesyan/products/+gras/+ellapx/+smartdb/+test/+examples/example_fromEllArray1.m
Sun Feb 23 23:12:29 2014 UTC
@@ -0,0 +1,23 @@
+% An example of creating nTubes ellipsoid tube objects using fromEllArray
+% function.
+nPoints=10;
+absTol=0.01;
+relTol=0.01;
+approxSchemaDescr='Internal';
+approxSchemaName='Internal';
+nDims=3;
+nTubes=5;
+lsGoodDirVec=[1;0;1];
+timeVec=(1/nPoints):(1/nPoints):1;
+sTime=timeVec(randi(nPoints,1));
+approxType=gras.ellapx.enums.EApproxType.Internal;
+ellArray(nPoints) = ellipsoid();
+aMat=zeros(nDims,nPoints);
+qArrayList=repmat({repmat(diag([1 2 3]),[1,1,nPoints])},1,nTubes);
+for iElem = 1:nPoints
+ ellArray(iElem) = ellipsoid(aMat(:,iElem), qArrayList{1}(:,:,iElem));
+end;
+ellArray
+fromEllArrayEllTube = gras.ellapx.smartdb.rels.EllTube.fromEllArray(...
+ ellArray,timeVec, ltGoodDirArray, sTime, approxType,...
+ approxSchemaName,approxSchemaDescr, absTol, relTol)
=======================================
--- /dev/null
+++
/branches/issue_133_aatanesyan/products/+gras/+ellapx/+smartdb/+test/+examples/example_fromEllArray2.m
Sun Feb 23 23:12:29 2014 UTC
@@ -0,0 +1,25 @@
+% An example of creating nTubes ellipsoid tube objects using fromEllArray
+% function.
+nPoints=10;
+absTol=0.01;
+relTol=0.01;
+approxSchemaDescr=['Internal', 'External', 'Internal']';
+approxSchemaName=['Internal', 'External', 'Internal']';
+nDims=3;
+nTubes=3;
+lsGoodDirVec=[1;0;1];
+timeVec=(1/nPoints):(1/nPoints):1;
+sTime=timeVec(randi(nPoints,1));
+approxType=[gras.ellapx.enums.EApproxType.Internal,...
+ gras.ellapx.enums.EApproxType.External,...
+ gras.ellapx.enums.EApproxType.Internal]';
+ellArray(nPoints) = ellipsoid();
+aMat=zeros(nDims,nPoints);
+qArrayList=repmat({repmat(diag([1 2 3]),[1,1,nPoints])},1,1);
+for iElem = 1:nPoints
+ ellArray(iElem) = ellipsoid(aMat(:,iElem), qArrayList{1}(:,:,iElem));
+end;
+ellnArray = repmat(ellArray,nTubes,1)'
+fromEllArrayEllTube = gras.ellapx.smartdb.rels.EllTube.fromEllArray(...
+ ellnArray,timeVec, ltGoodDirArray, sTime, approxType,...
+ approxSchemaName,approxSchemaDescr, absTol, relTol);
=======================================
--- /dev/null
+++
/branches/issue_133_aatanesyan/products/+gras/+ellapx/+smartdb/+test/+examples/example_fromQArrays1.m
Sun Feb 23 23:12:29 2014 UTC
@@ -0,0 +1,21 @@
+% An example of creating nTubes ellipsoid tube objects using fromQArrays
+% function.
+nPoints=10;
+absTol=0.01;
+relTol=0.01;
+approxSchemaDescr='Internal';
+approxSchemaName='Internal';
+nDims=3;
+nTubes=3;
+lsGoodDirVec=[1;0;1];
+aMat=zeros(nDims,nPoints);
+timeVec=(1/nPoints):(1/nPoints):1;
+sTime=timeVec(randi(nPoints,1));
+approxType=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, absTol, relTol)
=======================================
--- /dev/null
+++
/branches/issue_133_aatanesyan/products/+gras/+ellapx/+smartdb/+test/+examples/example_fromQArrays2.m
Sun Feb 23 23:12:29 2014 UTC
@@ -0,0 +1,23 @@
+% An example of creating nTubes ellipsoid tube objects using fromQArrays
+% function.
+nPoints=10;
+absTol=0.01;
+relTol=0.01;
+approxSchemaDescr=['Internal'; 'External'; 'External'];
+approxSchemaName=['Internal'; 'External'; 'External'];
+nDims=3;
+nTubes=3;
+lsGoodDirVec=[1;0;1];
+timeVec=(1/nPoints):(1/nPoints):1;
+sTime=timeVec(randi(nPoints,1));
+aMat=zeros(nDims,nPoints);
+approxType=[gras.ellapx.enums.EApproxType.Internal,...
+ gras.ellapx.enums.EApproxType.Internal,...
+ gras.ellapx.enums.EApproxType.Internal]';
+qArrayList=repmat({repmat(diag([0.1 0.2 0.1]),[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, absTol, relTol)
=======================================
---
/branches/issue_133_aatanesyan/products/+gras/+ellapx/+smartdb/+test/+examples/example_fromEllArray.m
Mon Nov 11 04:51:12 2013 UTC
+++ /dev/null
@@ -1,18 +0,0 @@
-% An example of creating nTubes ellipsoid tube objects using fromEllArray
-% function.
-nPoints=5;
-calcPrecision=0.001;
-approxSchemaDescr=char.empty(1,0);
-approxSchemaName=char.empty(1,0);
-nDims=3;
-nTubes=1;
-lsGoodDirVec=[1;0;1];
-timeVec=1:nPoints;
-sTime=nPoints;
-approxType=gras.ellapx.enums.EApproxType.Internal;
-ellArray(nPoints) = ellipsoid();
-arrayfun(@(iElem)gras.ellapx.smartdb.test.examples.fMakeEllArrayElem(iElem),...
- 1:nPoints);
-fromEllArrayEllTube = gras.ellapx.smartdb.rels.EllTube.fromEllArray(...
- ellArray,timeVec, ltGoodDirArray, sTime, approxType,...
- approxSchemaName,approxSchemaDescr, calcPrecision);
=======================================
---
/branches/issue_133_aatanesyan/products/+gras/+ellapx/+smartdb/+test/+examples/example_fromQArrays.m
Thu Feb 6 18:41:34 2014 UTC
+++ /dev/null
@@ -1,25 +0,0 @@
-% An example of creating nTubes ellipsoid tube objects using fromQArrays
-% function.
-nPoints=5;
-calcPrecision=0.001;
-approxSchemaDescr=char.empty(1,0);
-% approxSchemaDescr={'.','..','...'}'
-% approxSchemaName=char.empty(1,0);
-approxSchemaName={'.','..','...'}'
-nDims=3;
-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,...
- 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)
=======================================
---
/branches/issue_133_aatanesyan/products/+gras/+ellapx/+smartdb/+test/+examples/fMakeEllArrayElem.m
Mon Nov 11 04:51:12 2013 UTC
+++ /dev/null
@@ -1,8 +0,0 @@
-function fMakeEllArrayElem(iElem)
- nPoints=5;
- nTubes=1;
- nDims=3;
- aMat=zeros(nDims,nPoints);
- qArrayList=repmat({repmat(diag([1 2 3]),[1,1,nPoints])},1,nTubes);
- ellArray(iElem) = ellipsoid(aMat(:,iElem), qArrayList{1}(:,:,iElem));
-end
=======================================
--- /branches/issue_133_aatanesyan/doc/main_manual.rst Tue Dec 10 16:34:21
2013 UTC
+++ /branches/issue_133_aatanesyan/doc/main_manual.rst Sun Feb 23 23:12:29
2014 UTC
@@ -15,6 +15,7 @@
chap_install
chap_implement
chap_examples
+ chap_ellTube
chap_summary
chap_acknowledge
chap_functions
=======================================
---
/branches/issue_133_aatanesyan/products/+gras/+ellapx/+smartdb/+rels/EllTube.m
Thu Feb 6 19:24:41 2014 UTC
+++
/branches/issue_133_aatanesyan/products/+gras/+ellapx/+smartdb/+rels/EllTube.m
Sun Feb 23 23:12:29 2014 UTC
@@ -31,8 +31,8 @@
% approxType: gras.ellapx.enums.EApproxType[1,1] - type of
approximation
% (External, Internal, NotDefined)
% timeVec: double[1, nTimePoints] - time vector
- % absTol:double[1, 1] - absolute tolerance
- % relTol:double[1, 1] - relative tolerance
+ % absTolerance: double[1, 1] - absolute tolerance
+ % relTolerance: double[1, 1] - relative tolerance
% 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
@@ -52,7 +52,7 @@
% 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
+ % isLtTouchVec: 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
%
=======================================
---
/branches/issue_133_aatanesyan/products/+gras/+ellapx/+smartdb/+rels/EllTubeBasic.m
Thu Feb 6 19:00:52 2014 UTC
+++
/branches/issue_133_aatanesyan/products/+gras/+ellapx/+smartdb/+rels/EllTubeBasic.m
Sun Feb 23 23:12:29 2014 UTC
@@ -49,7 +49,7 @@
% 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
+ % isLtTouchVec: 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
%
=======================================
---
/branches/issue_133_aatanesyan/products/+gras/+ellapx/+smartdb/+rels/EllTubeProj.m
Thu Feb 6 19:00:52 2014 UTC
+++
/branches/issue_133_aatanesyan/products/+gras/+ellapx/+smartdb/+rels/EllTubeProj.m
Sun Feb 23 23:12:29 2014 UTC
@@ -1,43 +1,75 @@
classdef EllTubeProj<gras.ellapx.smartdb.rels.ATypifiedAdjustedRel&...
gras.ellapx.smartdb.rels.EllTubeProjBasic
- % EllTubeProj - class which keeps ellipsoidal tube's projection
- %
+ % A class which adds more methods and functionality to
EllTubeProjBasic class,
+ % allowing more profound work with the projections of 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
- % relTol:double[1, 1] - Relative tolerance
- % absTol:double[1, 1] - Absolute tolerance
- % 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
- % projSTimeMat: cell[1, 1] - Projection matrix at time s
- % projType:gras.ellapx.enums.EProjType - Projection type
- % ltGoodDirNormOrigVec:cell[1, 1] - Norm of the original (not
- % projected) good direction curve
- % lsGoodDirNormOrig:double[1, 1] - Norm of the original (not
- % projected)good direction at time s
- % lsGoodDirOrigVec:cell[1, 1] - Original (not projected) good
- % direction at time s
+ % QArray: cell[1,1] of double[nDims,nDims,nTimePoints] -
+ % an array of the projections of nTimePoints ellipsoid matrices
of
+ % double[nDims,nDims] type. Each element from
+ % double[nDims,nDims,nTimePoints] array specifies the projection
of 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 the
projections 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 the projections 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 on which the
touching
+ % curves are projected
+ % 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
+ % absTolerance: double[1, 1] - absolute tolerance
+ % relTolerance: double[1, 1] - relative tolerance
+ % indSTime: double[1, 1] - index of sTime point within timeVec
+ % ltGoodDirMat: cell[1, nTimePoints] of double[nDims, 1] - matrix of
the projections of good direction
+ % vectors on the specified space at any point of time from
timeVec
+ % lsGoodDirVec: cell[1, 1] of double[nDims, 1] - the projection of
good direction
+ % vector on the specified space at sTime point of time
+ % ltGoodDirNormVec: cell[1, 1] of double[1, nTimePoints] - norm of
the projections of good direction
+ % vectors on the specified space at any point of time from
timeVec
+ % lsGoodDirNorm: double[1, 1] - norm of the projection of good
direction
+ % vector on the specified space at sTime point of time
+ % xTouchCurveMat: cell[1, nTimePoints] of double[nDims, 1] - the
projection of touch
+ % point curve on the specified space for good direction matrix
+ % xTouchOpCurveMat: cell[1, nTimePoints] of double[nDims, 1] - the
projection of touch
+ % point curve oposite to the xTouchCurveMat touch point curve
+ % xsTouchVec: cell[1, 1] of double[nDims, 1] - the projection of
touch point at sTime
+ % point of time
+ % xsTouchOpVec: cell[1, 1] of double[nDims, 1] - the projection of 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
+ % projSMat: cell[1, 1] of double[nDims, nDims] - projection matrix
at sTime point of time
+ % projArray: cell[nTimePoints, 1] of double[nDims, nDims] - an array
of projection matrices
+ % at any point of time from timVec
+ % projType: gras.ellapx.enums.EProjType[1, 1] - type of projection
(Static, DynamicAlongGoodCurve)
+ % ltGoodDirNormOrigVec: cell[1, 1] of double[1, nTimePoints] - norm
of the original good direction
+ % vectors at any point of time from timeVec
+ % lsGoodDirNormOrig: double[1, 1] - norm of the original good
direction vector at
+ % sTime point of time
+ % ltGoodDirOrigMat: cell[1, nTimePoints] of double[nDims, 1] -
matrix of the original good direction
+ % vectors at any point of time from timeVec
+ % lsGoodDirOrigVec: cell[1, 1] of double[nDims, 1] - the original
good direction vector at sTime
+ % point of time
+ % ltGoodDirNormOrigProjVec: cell[1, 1] of double[1, nTimePoints] -
norm of the projection of the original good direction
+ % curve
+ % ltGoodDirOrigProjMat: cell[1, 1] of double[nDims, nTimePoints] -
the projectition of the original good direction curve
%
- % TODO: correct description of the fields in
- % gras.ellapx.smartdb.rels.EllTubeProj
methods(Access=protected)
function changeDataPostHook(self)
self.checkDataConsistency();
=======================================
---
/branches/issue_133_aatanesyan/products/+gras/+ellapx/+smartdb/+rels/EllTubeProjBasic.m
Thu Feb 6 19:00:52 2014 UTC
+++
/branches/issue_133_aatanesyan/products/+gras/+ellapx/+smartdb/+rels/EllTubeProjBasic.m
Sun Feb 23 23:12:29 2014 UTC
@@ -1,5 +1,75 @@
classdef EllTubeProjBasic<gras.ellapx.smartdb.rels.EllTubeBasic&...
gras.ellapx.smartdb.rels.EllTubeTouchCurveProjBasic
+ % Basic abstract class in the Ellipsoidal Toolbox for keeping and
working
+ % with the projections of ellipsoid tube objects.
+ %
+ % Fields:
+ % QArray: cell[1,1] of double[nDims,nDims,nTimePoints] -
+ % an array of the projections of nTimePoints ellipsoid matrices
of
+ % double[nDims,nDims] type. Each element from
+ % double[nDims,nDims,nTimePoints] array specifies the projection
of 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 the
projections 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 the projections 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 on which the
touching
+ % curves are projected
+ % 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
+ % absTolerance: double[1, 1] - absolute tolerance
+ % relTolerance: double[1, 1] - relative tolerance
+ % indSTime: double[1, 1] - index of sTime point within timeVec
+ % ltGoodDirMat: cell[1, nTimePoints] of double[nDims, 1] - matrix of
the projections of good direction
+ % vectors on the specified space at any point of time from
timeVec
+ % lsGoodDirVec: cell[1, 1] of double[nDims, 1] - the projection of
good direction
+ % vector on the specified space at sTime point of time
+ % ltGoodDirNormVec: cell[1, 1] of double[1, nTimePoints] - norm of
the projections of good direction
+ % vectors on the specified space at any point of time from
timeVec
+ % lsGoodDirNorm: double[1, 1] - norm of the projection of good
direction
+ % vector on the specified space at sTime point of time
+ % xTouchCurveMat: cell[1, nTimePoints] of double[nDims, 1] - the
projection of touch
+ % point curve on the specified space for good direction matrix
+ % xTouchOpCurveMat: cell[1, nTimePoints] of double[nDims, 1] - the
projection of touch
+ % point curve oposite to the xTouchCurveMat touch point curve
+ % xsTouchVec: cell[1, 1] of double[nDims, 1] - the projection of
touch point at sTime
+ % point of time
+ % xsTouchOpVec: cell[1, 1] of double[nDims, 1] - the projection of 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
+ % projSMat: cell[1, 1] of double[nDims, nDims] - projection matrix
at sTime point of time
+ % projArray: cell[nTimePoints, 1] of double[nDims, nDims] - an array
of projection matrices
+ % at any point of time from timVec
+ % projType: gras.ellapx.enums.EProjType[1, 1] - type of projection
(Static, DynamicAlongGoodCurve)
+ % ltGoodDirNormOrigVec: cell[1, 1] of double[1, nTimePoints] - norm
of the original good direction
+ % vectors at any point of time from timeVec
+ % lsGoodDirNormOrig: double[1, 1] - norm of the original good
direction vector at
+ % sTime point of time
+ % ltGoodDirOrigMat: cell[1, nTimePoints] of double[nDims, 1] -
matrix of the original good direction
+ % vectors at any point of time from timeVec
+ % lsGoodDirOrigVec: cell[1, 1] of double[nDims, 1] - the original
good direction vector at sTime
+ % point of time
+ % ltGoodDirNormOrigProjVec: cell[1, 1] of double[1, nTimePoints] -
norm of the projection of the original good direction
+ % curve
+ % ltGoodDirOrigProjMat: cell[1, 1] of double[nDims, nTimePoints] -
the projectition of the original good direction curve
+ %
properties (Constant,Hidden, GetAccess=protected)
N_SPOINTS=90;
REACH_TUBE_PREFIX='Reach';
=======================================
---
/branches/issue_133_aatanesyan/products/+gras/+ellapx/+smartdb/+rels/EllTubeTouchCurveBasic.m
Thu Feb 6 19:00:52 2014 UTC
+++
/branches/issue_133_aatanesyan/products/+gras/+ellapx/+smartdb/+rels/EllTubeTouchCurveBasic.m
Sun Feb 23 23:12:29 2014 UTC
@@ -15,7 +15,8 @@
% 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
+ % absTolerance: double[1, 1] - absolute tolerance
+ % relTolerance: double[1, 1] - relative tolerance
% 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
@@ -35,7 +36,7 @@
% 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
+ % isLtTouchVec: 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
%
=======================================
---
/branches/issue_133_aatanesyan/products/+gras/+ellapx/+smartdb/+rels/EllTubeTouchCurveProjBasic.m
Mon Sep 9 09:26:33 2013 UTC
+++
/branches/issue_133_aatanesyan/products/+gras/+ellapx/+smartdb/+rels/EllTubeTouchCurveProjBasic.m
Sun Feb 23 23:12:29 2014 UTC
@@ -1,4 +1,60 @@
classdef
EllTubeTouchCurveProjBasic<gras.ellapx.smartdb.rels.EllTubeTouchCurveBasic
+ % Basic abstract class in the Ellipsoidal Toolbox for keeping and
working
+ % with the projections on specified space of touch point curves of
internal or external
+ % ellipsoid approximation for an ellipsoid tube.
+ %
+ % Fields:
+ % dim: double[1, 1] - the dimension of the space on which the
touching
+ % curves are projected
+ % 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
+ % absTolerance: double[1, 1] - absolute tolerance
+ % relTolerance: double[1, 1] - relative tolerance
+ % indSTime: double[1, 1] - index of sTime point within timeVec
+ % ltGoodDirMat: cell[1, nTimePoints] of double[nDims, 1] - matrix of
the projections of good direction
+ % vectors on the specified space at any point of time from
timeVec
+ % lsGoodDirVec: cell[1, 1] of double[nDims, 1] - the projection of
good direction
+ % vector on the specified space at sTime point of time
+ % ltGoodDirNormVec: cell[1, 1] of double[1, nTimePoints] - norm of
the projections of good direction
+ % vectors on the specified space at any point of time from
timeVec
+ % lsGoodDirNorm: double[1, 1] - norm of the projection of good
direction
+ % vector on the specified space at sTime point of time
+ % xTouchCurveMat: cell[1, nTimePoints] of double[nDims, 1] - the
projection of touch
+ % point curve on the specified space for good direction matrix
+ % xTouchOpCurveMat: cell[1, nTimePoints] of double[nDims, 1] - the
projection of touch
+ % point curve oposite to the xTouchCurveMat touch point curve
+ % xsTouchVec: cell[1, 1] of double[nDims, 1] - the projection of
touch point at sTime
+ % point of time
+ % xsTouchOpVec: cell[1, 1] of double[nDims, 1] - the projection of 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
+ % projSMat: cell[1, 1] of double[nDims, nDims] - projection matrix
at sTime point of time
+ % projArray: cell[nTimePoints, 1] of double[nDims, nDims] - an array
of projection matrices
+ % at any point of time from timVec
+ % projType: gras.ellapx.enums.EProjType[1, 1] - type of projection
(Static, DynamicAlongGoodCurve)
+ % ltGoodDirNormOrigVec: cell[1, 1] of double[1, nTimePoints] - norm
of the original good direction
+ % vectors at any point of time from timeVec
+ % lsGoodDirNormOrig: double[1, 1] - norm of the original good
direction vector at
+ % sTime point of time
+ % ltGoodDirOrigMat: cell[1, nTimePoints] of double[nDims, 1] -
matrix of the original good direction
+ % vectors at any point of time from timeVec
+ % lsGoodDirOrigVec: cell[1, 1] of double[nDims, 1] - the original
good direction vector at sTime
+ % point of time
+ % ltGoodDirNormOrigProjVec: cell[1, 1] of double[1, nTimePoints] -
norm of the projection of the original good direction
+ % curve
+ % ltGoodDirOrigProjMat: cell[1, 1] of double[nDims, nTimePoints] -
the projectition of the original good direction curve
+ %
properties (Constant,Hidden)
FCODE_PROJ_S_MAT
FCODE_PROJ_ARRAY
=======================================
---
/branches/issue_133_aatanesyan/products/+gras/+ellapx/+smartdb/+rels/EllUnionTube.m
Thu Feb 6 19:00:52 2014 UTC
+++
/branches/issue_133_aatanesyan/products/+gras/+ellapx/+smartdb/+rels/EllUnionTube.m
Sun Feb 23 23:12:29 2014 UTC
@@ -2,51 +2,71 @@
gras.ellapx.smartdb.rels.EllTubeBasic&...
gras.ellapx.smartdb.rels.EllUnionTubeBasic&...
gras.ellapx.smartdb.rels.AEllTubeProjectable
- % EllUionTube - class which keeps ellipsoidal tubes by the instant of
- % time
+ % A class which adds more methods and functionality to
EllUnionTubeBasic class,
+ % allowing more profound work with the unions of 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
- % absTol:double[1, 1] - Absolute tolerance
- % relTol:double[1, 1] - Relative tolerance
- % 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
- % ellUnionTimeDirection:gras.ellapx.enums.EEllUnionTimeDirection -
- % Direction in time along which union is performed
- % isLsTouch:logical[1, 1] - Indicates whether a touch takes place
- % along LS
- % isLsTouchOp:logical[1, 1] - Indicates whether a touch takes place
- % along LS opposite
- % isLtTouchVec:cell[1, nElem] - Indicates whether a touch takes place
- % along LT
- % isLtTouchOpVec:cell[1, nElem] - Indicates whether a touch takes
- % place along LT opposite
- % timeTouchEndVec:cell[1, nElem] - Touch point curve for good
- % direction
- % timeTouchOpEndVec:cell[1, nElem] - Touch point curve for good
- % direction
+ % 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
+ % isLtTouchVec: 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
+ % ellUnionTimeDirection: gras.ellapx.enums.EEllUnionTimeDirection[1,
1] -
+ % direction in time along which union is performed
+ % timeTouchEndVec: cell [1, 1] of double[1, nTimePoints] - points of
+ % time when touch is occured in good direction
+ % timeTouchOpEndVec: cell [1, 1] of double[1, nTimePoints] - points
of
+ % time when touch is occured in direction opposite to good
direction
+ % isLsTouchOp: logical[1, 1] - a logical variable which indicates
whether a touch takes place
+ % along the direction opposite to the good direction at sTime
point of time
+ % isLtTouchOpVec: cell [1, 1] of logical[nTimePoints, 1] - a logical
variable which indicates whether a touch takes place
+ % along the direction opposite to the good direction at any point
+ % of time from timeVec
%
- % TODO: correct description of the fields in
- % gras.ellapx.smartdb.rels.EllUnionTube
methods
function fieldsList = getNoCatOrCutFieldsList(self)
% GETNOCATORCUTFIELDLIST - returns a list of fields of
=======================================
---
/branches/issue_133_aatanesyan/products/+gras/+ellapx/+smartdb/+rels/EllUnionTubeBasic.m
Mon Nov 4 04:06:23 2013 UTC
+++
/branches/issue_133_aatanesyan/products/+gras/+ellapx/+smartdb/+rels/EllUnionTubeBasic.m
Sun Feb 23 23:12:29 2014 UTC
@@ -1,6 +1,20 @@
classdef EllUnionTubeBasic<handle
- %TestRelation Summary of this class goes here
- % Detailed explanation goes here
+ % Basic abstract class in the Ellipsoidal Toolbox for keeping and
working
+ % with the unions of ellipsoid tube objects.
+ %
+ % Fields:
+ % ellUnionTimeDirection: gras.ellapx.enums.EEllUnionTimeDirection[1,
1] -
+ % direction in time along which union is performed
+ % timeTouchEndVec: cell [1, 1] of double[1, nTimePoints] - points of
+ % time when touch is occured in good direction
+ % timeTouchOpEndVec: cell [1, 1] of double[1, nTimePoints] - points
of
+ % time when touch is occured in direction opposite to good
direction
+ % isLsTouchOp: logical[1, 1] - a logical variable which indicates
whether a touch takes place
+ % along the direction opposite to the good direction at sTime
point of time
+ % isLtTouchOpVec: cell [1, 1] of logical[nTimePoints, 1] - a logical
variable which indicates whether a touch takes place
+ % along the direction opposite to the good direction at any point
+ % of time from timeVec
+ %
properties (Constant,Hidden)
FCODE_ELL_UNION_TIME_DIRECTION
%
=======================================
---
/branches/issue_133_aatanesyan/products/+gras/+ellapx/+smartdb/+rels/EllUnionTubeStaticProj.m
Thu Feb 6 19:00:52 2014 UTC
+++
/branches/issue_133_aatanesyan/products/+gras/+ellapx/+smartdb/+rels/EllUnionTubeStaticProj.m
Sun Feb 23 23:12:29 2014 UTC
@@ -1,59 +1,87 @@
classdef
EllUnionTubeStaticProj<gras.ellapx.smartdb.rels.ATypifiedAdjustedRel&...
gras.ellapx.smartdb.rels.EllTubeProjBasic&...
gras.ellapx.smartdb.rels.EllUnionTubeBasic
- % EllUnionTubeStaticProj - class which keeps projection on static plane
- % union of ellipsoid tubes
+ % A class which allows to work with static projections of unions of
+ % 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
- % relTol:double[1, 1] - Relative tolerance
- % absTol:double[1, 1] - Absolute tolerance
- % 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
- % projSTimeMat: cell[1, 1] - Projection matrix at time s
- % projType:gras.ellapx.enums.EProjType - Projection type
- % ltGoodDirNormOrigVec:cell[1, 1] - Norm of the original (not
- % projected) good direction curve
- % lsGoodDirNormOrig:double[1, 1] - Norm of the original (not
- % projected)good direction at time s
- % lsGoodDirOrigVec:cell[1, 1] - Original (not projected) good
- % direction at time s
- % ellUnionTimeDirection:gras.ellapx.enums.EEllUnionTimeDirection -
- % Direction in time along which union is performed
- % isLsTouch:logical[1, 1] - Indicates whether a touch takes place
- % along LS
- % isLsTouchOp:logical[1, 1] - Indicates whether a touch takes place
- % along LS opposite
- % isLtTouchVec:cell[1, nElem] - Indicates whether a touch takes place
- % along LT
- % isLtTouchOpVec:cell[1, nElem] - Indicates whether a touch takes
- % place along LT opposite
- % timeTouchEndVec:cell[1, nElem] - Touch point curve for good
- % direction
- % timeTouchOpEndVec:cell[1, nElem] - Touch point curve for good
- % direction
+ % QArray: cell[1,1] of double[nDims,nDims,nTimePoints] -
+ % an array of the projections of nTimePoints ellipsoid matrices
of
+ % double[nDims,nDims] type. Each element from
+ % double[nDims,nDims,nTimePoints] array specifies the projection
of 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 the
projections 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 the projections 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 on which the
touching
+ % curves are projected
+ % 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
+ % absTolerance: double[1, 1] - absolute tolerance
+ % relTolerance: double[1, 1] - relative tolerance
+ % indSTime: double[1, 1] - index of sTime point within timeVec
+ % ltGoodDirMat: cell[1, nTimePoints] of double[nDims, 1] - matrix of
the projections of good direction
+ % vectors on the specified space at any point of time from
timeVec
+ % lsGoodDirVec: cell[1, 1] of double[nDims, 1] - the projection of
good direction
+ % vector on the specified space at sTime point of time
+ % ltGoodDirNormVec: cell[1, 1] of double[1, nTimePoints] - norm of
the projections of good direction
+ % vectors on the specified space at any point of time from
timeVec
+ % lsGoodDirNorm: double[1, 1] - norm of the projection of good
direction
+ % vector on the specified space at sTime point of time
+ % xTouchCurveMat: cell[1, nTimePoints] of double[nDims, 1] - the
projection of touch
+ % point curve on the specified space for good direction matrix
+ % xTouchOpCurveMat: cell[1, nTimePoints] of double[nDims, 1] - the
projection of touch
+ % point curve oposite to the xTouchCurveMat touch point curve
+ % xsTouchVec: cell[1, 1] of double[nDims, 1] - the projection of
touch point at sTime
+ % point of time
+ % xsTouchOpVec: cell[1, 1] of double[nDims, 1] - the projection of 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
+ % projSMat: cell[1, 1] of double[nDims, nDims] - projection matrix
at sTime point of time
+ % projArray: cell[nTimePoints, 1] of double[nDims, nDims] - an array
of projection matrices
+ % at any point of time from timVec
+ % projType: gras.ellapx.enums.EProjType[1, 1] - type of projection
(Static, DynamicAlongGoodCurve)
+ % ltGoodDirNormOrigVec: cell[1, 1] of double[1, nTimePoints] - norm
of the original good direction
+ % vectors at any point of time from timeVec
+ % lsGoodDirNormOrig: double[1, 1] - norm of the original good
direction vector at
+ % sTime point of time
+ % ltGoodDirOrigMat: cell[1, nTimePoints] of double[nDims, 1] -
matrix of the original good direction
+ % vectors at any point of time from timeVec
+ % lsGoodDirOrigVec: cell[1, 1] of double[nDims, 1] - the original
good direction vector at sTime
+ % point of time
+ % ltGoodDirNormOrigProjVec: cell[1, 1] of double[1, nTimePoints] -
norm of the projection of the original good direction
+ % curve
+ % ltGoodDirOrigProjMat: cell[1, 1] of double[nDims, nTimePoints] -
the projectition of the original good direction curve
+ % ellUnionTimeDirection: gras.ellapx.enums.EEllUnionTimeDirection[1,
1] -
+ % direction in time along which union is performed
+ % timeTouchEndVec: cell [1, 1] of double[1, nTimePoints] - points of
+ % time when touch is occured in good direction
+ % timeTouchOpEndVec: cell [1, 1] of double[1, nTimePoints] - points
of
+ % time when touch is occured in direction opposite to good
direction
+ % isLsTouchOp: logical[1, 1] - a logical variable which indicates
whether a touch takes place
+ % along the direction opposite to the good direction at sTime
point of time
+ % isLtTouchOpVec: cell [1, 1] of logical[nTimePoints, 1] - a logical
variable which indicates whether a touch takes place
+ % along the direction opposite to the good direction at any point
+ % of time from timeVec
%
- % TODO: correct description of the fields in
- % gras.ellapx.smartdb.rels.EllUnionTubeStaticProj
methods
function fieldsList = getNoCatOrCutFieldsList(self)
% GETNOCATORCUTFIELDLIST - returns a list of fields of
=======================================
---
/branches/issue_133_aatanesyan/products/+gras/+ellapx/+smartdb/+rels/TypifiedByFieldCodeRel.m
Sun Aug 18 16:52:47 2013 UTC
+++
/branches/issue_133_aatanesyan/products/+gras/+ellapx/+smartdb/+rels/TypifiedByFieldCodeRel.m
Sun Feb 23 23:12:29 2014 UTC
@@ -1,6 +1,4 @@
classdef TypifiedByFieldCodeRel<smartdb.relations.ATypifiedByFieldCodeRel
- %TestRelation Summary of this class goes here
- % Detailed explanation goes here
methods
function self=TypifiedByFieldCodeRel(varargin)
self=se...@smartdb.relations.ATypifiedByFieldCodeRel(varargin{:});
=======================================
---
/branches/issue_133_aatanesyan/products/+gras/+ellapx/+smartdb/+test/+examples/example_project.m
Mon Nov 11 04:51:12 2013 UTC
+++
/branches/issue_133_aatanesyan/products/+gras/+ellapx/+smartdb/+test/+examples/example_project.m
Sun Feb 23 23:12:29 2014 UTC
@@ -1,7 +1,8 @@
% An example of calculating ellipsoid tube object projection using project
% function.
nPoints=5;
-calcPrecision=0.001;
+absTol=0.01;
+relTol=0.01;
approxSchemaDescr=char.empty(1,0);
approxSchemaName=char.empty(1,0);
nDims=3;
@@ -17,10 +18,11 @@
fromMatEllTube=gras.ellapx.smartdb.rels.EllTube.fromQArrays(...
qArrayList, aMat, timeVec,...
ltGoodDirArray, sTime, approxType, approxSchemaName,...
- approxSchemaDescr, calcPrecision);
+ approxSchemaDescr, absTol, relTol)
projType = gras.ellapx.enums.EProjType.Static;
projMat = [1 0; 0 1; 0 0]';
+p = @gras.ellapx.smartdb.test.examples.fGetProjMat
[ellTubeProjRel,indProj2OrigVec] = fromMatEllTube.project(projType,...
- {projMat},@gras.ellapx.smartdb.test.examples.fGetProjMat);
-plObj=smartdb.disp.RelationDataPlotter();
-ellTubeProjRel.plot(plObj);
+ {projMat},p)
+plObj=smartdb.disp.RelationDataPlotter()
+ellTubeProjRel.plot(plObj)