Core/Misc: update g3dlite lib (#2904)
* Core/Misc: update g3dlite lib * update Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com>
This commit is contained in:
Vendored
+8
-5
@@ -234,7 +234,7 @@ public:
|
||||
};
|
||||
private:
|
||||
|
||||
typedef ReferenceCountedPointer<Impl> ImplRef;
|
||||
typedef shared_ptr<Impl> ImplRef;
|
||||
|
||||
ImplRef impl;
|
||||
|
||||
@@ -501,10 +501,13 @@ public:
|
||||
}
|
||||
|
||||
/**
|
||||
(A<SUP>T</SUP>A)<SUP>-1</SUP>A<SUP>T</SUP>) computed
|
||||
using SVD.
|
||||
\brief Computes the Moore-Penrose pseudo inverse, equivalent to
|
||||
(A<SUP>T</SUP>A)<SUP>-1</SUP>A<SUP>T</SUP>). The SVD method is used
|
||||
for performance when the matrix has more than four rows or columns
|
||||
|
||||
@param tolerance Use -1 for automatic tolerance.
|
||||
\cite http://en.wikipedia.org/wiki/Moore%E2%80%93Penrose_pseudoinverse
|
||||
|
||||
\param tolerance Use -1 for automatic tolerance.
|
||||
*/
|
||||
Matrix pseudoInverse(float tolerance = -1) const;
|
||||
|
||||
@@ -576,7 +579,7 @@ public:
|
||||
/** Serializes in Matlab source format */
|
||||
void serialize(TextOutput& t) const;
|
||||
|
||||
std::string toString(const std::string& name) const;
|
||||
std::string toString(const std::string& name) const;
|
||||
|
||||
std::string toString() const {
|
||||
static const std::string name = "";
|
||||
|
||||
Reference in New Issue
Block a user