From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- docs/doxygen/nel/a02760.html | 232 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 232 insertions(+) create mode 100644 docs/doxygen/nel/a02760.html (limited to 'docs/doxygen/nel/a02760.html') diff --git a/docs/doxygen/nel/a02760.html b/docs/doxygen/nel/a02760.html new file mode 100644 index 00000000..a5495603 --- /dev/null +++ b/docs/doxygen/nel/a02760.html @@ -0,0 +1,232 @@ + + +NeL: NL3D::CLinearEquation struct Reference + + + +
+

NL3D::CLinearEquation Struct Reference

#include <mrm_internal.h> +

+ + + + + + + + + + + + + + +

Public Member Functions

void add (CLinearEquation &eq, float factor)
void clear ()
void init (uint32 ii)
void mul (float factor)

Data Fields

std::vector< ElementElts
+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
void NL3D::CLinearEquation::add CLinearEquation eq,
float  factor
[inline]
+
+ + + + + +
+   + + +

+ +

+Definition at line 60 of file mrm_internal.h. +

+References Elts, NL3D::CLinearEquation::Element::factor, NL3D::CLinearEquation::Element::index, and uint32. +

+

00061         {
+00062                 Element tmp(0, 0.0f);
+00063 
+00064                 for (uint32 i = 0; i < eq.Elts.size(); ++i)
+00065                 {
+00066                         tmp.index = eq.Elts[i].index;
+00067                         tmp.factor = factor * eq.Elts[i].factor;
+00068                         Elts.push_back (tmp);
+00069                 }
+00070         }
+
+

+ + + + +
+ + + + + + + + + +
void NL3D::CLinearEquation::clear  )  [inline]
+
+ + + + + +
+   + + +

+ +

+Definition at line 79 of file mrm_internal.h. +

+References NLMISC::contReset(), and Elts. +

+Referenced by init(). +

+

00080         {
+00081                 NLMISC::contReset (Elts);
+00082         }
+
+

+ + + + +
+ + + + + + + + + + +
void NL3D::CLinearEquation::init uint32  ii  )  [inline]
+
+ + + + + +
+   + + +

+ +

+Definition at line 53 of file mrm_internal.h. +

+References clear(), Elts, and uint32. +

+

00054         {
+00055                 clear();
+00056                 Elts.push_back (Element(ii, 1.0f));
+00057         }
+
+

+ + + + +
+ + + + + + + + + + +
void NL3D::CLinearEquation::mul float  factor  )  [inline]
+
+ + + + + +
+   + + +

+ +

+Definition at line 73 of file mrm_internal.h. +

+References Elts, and uint32. +

+

00074         {
+00075                 for (uint32 i = 0; i < Elts.size(); ++i)
+00076                         Elts[i].factor *= factor;
+00077         }
+
+


Field Documentation

+

+ + + + +
+ + +
std::vector<Element> NL3D::CLinearEquation::Elts +
+
+ + + + + +
+   + + +

+ +

+Definition at line 51 of file mrm_internal.h. +

+Referenced by add(), clear(), init(), and mul().

+


The documentation for this struct was generated from the following file: +
Generated on Tue Mar 16 06:49:37 2004 for NeL by + +doxygen +1.3.6
+ + -- cgit v1.2.1