Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
455e8462
Commit
455e8462
authored
Apr 02, 2013
by
Stefan Philips
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[REMOVE] Deprecated typedefs WVector_2, WVectorComplex_2, WMatrix_2 and WMatrixComplex_2
parent
6cede2d9
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
0 additions
and
72 deletions
+0
-72
src/core/common/math/WValue.h
src/core/common/math/WValue.h
+0
-14
src/core/common/math/linearAlgebra/WLinearAlgebra.h
src/core/common/math/linearAlgebra/WLinearAlgebra.h
+0
-17
src/core/common/math/linearAlgebra/WMatrixEigen.h
src/core/common/math/linearAlgebra/WMatrixEigen.h
+0
-18
src/core/dataHandler/WValueSet.h
src/core/dataHandler/WValueSet.h
+0
-9
src/core/dataHandler/WValueSetBase.h
src/core/dataHandler/WValueSetBase.h
+0
-6
src/core/dataHandler/test/WValueSetBase_test.h
src/core/dataHandler/test/WValueSetBase_test.h
+0
-8
No files found.
src/core/common/math/WValue.h
View file @
455e8462
...
...
@@ -370,20 +370,6 @@ public:
m_components
.
resize
(
size
);
}
/**
* Returns this WValue as WVector_2.
* \return The WValue as WVector_2.
*/
WVector_2
toWVector
()
{
WVector_2
result
(
m_components
.
size
()
);
for
(
size_t
i
=
0
;
i
<
m_components
.
size
();
++
i
)
{
result
(
i
)
=
static_cast
<
double
>
(
m_components
[
i
]
);
}
return
result
;
}
protected:
private:
/**
...
...
src/core/common/math/linearAlgebra/WLinearAlgebra.h
View file @
455e8462
...
...
@@ -31,21 +31,4 @@
#include "WVectorFixed.h"
#include "WPosition.h"
/**
* The new dynamic vector type. It is a heap-allocated double vector with dynamic size.
*
* \see http://eigen.tuxfamily.org/dox/classEigen_1_1Matrix.html
* \see http://eigen.tuxfamily.org/dox/classEigen_1_1MatrixBase.html
*/
typedef
Eigen
::
Matrix
<
double
,
Eigen
::
Dynamic
,
1
>
WVector_2
;
/**
* A complex double vector of dynamic size. Heap-allocated.
*
* \see http://eigen.tuxfamily.org/dox/classEigen_1_1Matrix.html
* \see http://eigen.tuxfamily.org/dox/classEigen_1_1MatrixBase.html
*/
typedef
Eigen
::
VectorXcd
WVectorComplex_2
;
#endif // WLINEARALGEBRA_H
src/core/common/math/linearAlgebra/WMatrixEigen.h
View file @
455e8462
...
...
@@ -30,23 +30,5 @@
#include <Eigen/Core>
#include <Eigen/LU>
/**
* A double matrix of dynamic size. Heap-allocated.
* If you want to access coefficients using the operator( size_t, size_t ), the first parameter is still the row index, starting with 0.
*
* \see http://eigen.tuxfamily.org/dox/classEigen_1_1Matrix.html
* \see http://eigen.tuxfamily.org/dox/classEigen_1_1MatrixBase.html
*/
typedef
Eigen
::
MatrixXd
WMatrix_2
;
/**
* A complex double matrix of dynamic size. Heap-allocated.
* If you want to access coefficients using the operator( size_t, size_t ), the first parameter is still the row index, starting with 0.
*
* \see http://eigen.tuxfamily.org/dox/classEigen_1_1Matrix.html
* \see http://eigen.tuxfamily.org/dox/classEigen_1_1MatrixBase.html
*/
typedef
Eigen
::
MatrixXcd
WMatrixComplex_2
;
#endif // WMATRIXEIGEN_H
src/core/dataHandler/WValueSet.h
View file @
455e8462
...
...
@@ -213,15 +213,6 @@ public:
return
WValue
<
double
>
(
getWValue
(
i
)
);
}
/**
* \param i id of the WVector to retrieve
* \return The i-th WValue (stored in this value set) as WVector. There are size() such scalars.
*/
virtual
WVector_2
getWVector
(
size_t
i
)
const
{
return
(
WValue
<
double
>
(
getWValue
(
i
)
)
).
toWVector
();
}
/**
* Get the i'th vector
*
...
...
src/core/dataHandler/WValueSetBase.h
View file @
455e8462
...
...
@@ -105,12 +105,6 @@ public:
*/
virtual
WValue
<
double
>
getWValueDouble
(
size_t
i
)
const
=
0
;
/**
* \param i id of the WVector to retrieve
* \return The i-th WValue (stored in this value set) as WVector. There are size() such scalars.
*/
virtual
WVector_2
getWVector
(
size_t
i
)
const
=
0
;
/**
* \return Dimension of the values in this ValueSet
*/
...
...
src/core/dataHandler/test/WValueSetBase_test.h
View file @
455e8462
...
...
@@ -100,14 +100,6 @@ public:
return
WValue
<
double
>
(
size
()
);
}
/**
* \return The i-th WValue (stored in this value set) as WVector_2. There are size() such scalars.
*/
virtual
WVector_2
getWVector
(
size_t
/*i*/
)
const
{
return
WVector_2
(
size
()
);
}
/**
* This method returns the smallest value in the valueset. It does not handle vectors, matrices and so on well. It simply returns the
* smallest value in the data array. This is especially useful for texture scaling or other statistic tools (histograms).
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment