File: norm.sb

package info (click to toggle)
python-pyglm 2.8.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,008 kB
  • sloc: cpp: 53,029; python: 3,683; makefile: 7
file content (49 lines) | stat: -rw-r--r-- 2,428 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
\c\This file was generated using a tool\c\
\h1\norm methods\h1\
The following methods are all part of the \b\norm methods\b\.
Various ways to compute vector norms.
\h2\Table of contents\h2\
\ul\
\-\\url #distance2-function\\b\distance2\b\ function\url\
\-\\url #l1norm-function\\b\l1Norm\b\ function\url\
\-\\url #l2norm-function\\b\l2Norm\b\ function\url\
\-\\url #lmaxnorm-function\\b\lMaxNorm\b\ function\url\
\-\\url #length2-function\\b\length2\b\ function\url\
\-\\url #lxnorm-function\\b\lxNorm\b\ function\url\
\ul\
\h3\distance2() function\h3\
\raw\#### <code>glm.<code>**distance2**(**p0**: *vecN*, **p1**: *vecN*) -\\> *float*</code></code>\raw\
\raw\&emsp;&emsp;\raw\Returns the squared distance between \code\p0\code\ and \code\p1\code\, i.e., \code\length2(p0 - p1)\code\.

\h3\l1Norm() function\h3\
\raw\#### <code>glm.<code>**l1Norm**(**v**: *vec3*) -\\> *float*</code></code>\raw\
\raw\&emsp;&emsp;\raw\Returns the L1 norm of \code\v\code\.

\raw\#### <code>glm.<code>**l1Norm**(**x**: *vec3*, **y**: *vec3*) -\\> *float*</code></code>\raw\
\raw\&emsp;&emsp;\raw\Returns the L1 norm between \code\x\code\ and \code\y\code\.

\h3\l2Norm() function\h3\
\raw\#### <code>glm.<code>**l2Norm**(**v**: *vec3*) -\\> *float*</code></code>\raw\
\raw\&emsp;&emsp;\raw\Returns the L2 norm of \code\v\code\.

\raw\#### <code>glm.<code>**l2Norm**(**x**: *vec3*, **y**: *vec3*) -\\> *float*</code></code>\raw\
\raw\&emsp;&emsp;\raw\Returns the L2 norm between \code\x\code\ and \code\y\code\.

\h3\lMaxNorm() function\h3\
\raw\#### <code>glm.<code>**lMaxNorm**(**v**: *vec3*) -\\> *float*</code></code>\raw\
\raw\&emsp;&emsp;\raw\Returns the LMax norm of \code\v\code\.

\raw\#### <code>glm.<code>**lMaxNorm**(**x**: *vec3*, **y**: *vec3*) -\\> *float*</code></code>\raw\
\raw\&emsp;&emsp;\raw\Returns the LMax norm between \code\x\code\ and \code\y\code\.

\h3\length2() function\h3\
\raw\#### <code>glm.<code>**length2**(**v**: *vecN*) -\\> *float*</code></code>\raw\
\raw\&emsp;&emsp;\raw\Returns the squared length of \code\x\code\.

\h3\lxNorm() function\h3\
\raw\#### <code>glm.<code>**lxNorm**(**v**: *vec3*, **Depth**: *int*) -\\> *float*</code></code>\raw\
\raw\&emsp;&emsp;\raw\Returns the L norm of \code\v\code\.

\raw\#### <code>glm.<code>**lxNorm**(**x**: *vec3*, **y**: *vec3*, **Depth**: *int*) -\\> *float*</code></code>\raw\
\raw\&emsp;&emsp;\raw\Returns the L norm between \code\x\code\ and \code\y\code\.