pango 3.1.1-x86-mingw32 → 3.1.2-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +27 -5
- data/ext/pango/depend +2 -2
- data/ext/pango/extconf.rb +32 -28
- data/ext/pango/pango.def +0 -16
- data/ext/pango/rb-pango-attr-list.c +64 -0
- data/ext/pango/rb-pango-attribute.c +147 -0
- data/ext/pango/rb-pango-context.c +79 -0
- data/ext/pango/{rbpangoconversions.h → rb-pango-conversions.h} +4 -6
- data/ext/pango/rb-pango-private.h +27 -0
- data/ext/pango/rb-pango.c +32 -0
- data/ext/pango/rb-pango.h +29 -0
- data/extconf.rb +25 -9
- data/lib/2.2/pango.so +0 -0
- data/lib/2.3/pango.so +0 -0
- data/lib/2.4/pango.so +0 -0
- data/lib/pango.rb +24 -68
- data/lib/pango/cairo-loader.rb +63 -0
- data/lib/pango/color.rb +31 -0
- data/lib/pango/deprecated.rb +37 -0
- data/lib/pango/font-description.rb +29 -0
- data/lib/pango/language.rb +29 -0
- data/lib/pango/layout.rb +41 -0
- data/lib/pango/loader.rb +87 -0
- data/lib/pango/markup.rb +31 -0
- data/lib/pango/matrix.rb +64 -0
- data/lib/pango/rectangle.rb +28 -0
- data/lib/pango/version.rb +30 -0
- data/test/pango-test-utils.rb +7 -7
- data/test/run-test.rb +34 -8
- data/test/test-attr-list.rb +28 -0
- data/test/test-color.rb +1 -3
- data/test/test-context.rb +4 -4
- data/test/test-enum.rb +37 -0
- data/test/test-font-description.rb +31 -0
- data/test/test-language.rb +2 -1
- data/test/test-layout.rb +12 -0
- data/test/test-markup.rb +30 -0
- data/test/test-matrix.rb +131 -5
- data/test/test-rectangle.rb +16 -3
- data/vendor/local/bin/derb.exe +0 -0
- data/vendor/local/bin/genbrk.exe +0 -0
- data/vendor/local/bin/genccode.exe +0 -0
- data/vendor/local/bin/gencfu.exe +0 -0
- data/vendor/local/bin/gencmn.exe +0 -0
- data/vendor/local/bin/gencnval.exe +0 -0
- data/vendor/local/bin/gendict.exe +0 -0
- data/vendor/local/bin/gennorm2.exe +0 -0
- data/vendor/local/bin/genrb.exe +0 -0
- data/vendor/local/bin/gensprep.exe +0 -0
- data/vendor/local/bin/hb-ot-shape-closure.exe +0 -0
- data/vendor/local/bin/hb-shape.exe +0 -0
- data/vendor/local/bin/hb-view.exe +0 -0
- data/vendor/local/bin/icuinfo.exe +0 -0
- data/vendor/local/bin/icupkg.exe +0 -0
- data/vendor/local/bin/libgraphene-1.0-0.dll +0 -0
- data/vendor/local/bin/libharfbuzz-0.dll +0 -0
- data/vendor/local/bin/libpango-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangocairo-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangoft2-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangowin32-1.0-0.dll +0 -0
- data/vendor/local/bin/makeconv.exe +0 -0
- data/vendor/local/bin/pango-view.exe +0 -0
- data/vendor/local/bin/pkgdata.exe +0 -0
- data/vendor/local/bin/uconv.exe +0 -0
- data/vendor/local/include/graphene-1.0/graphene-box.h +148 -0
- data/vendor/local/include/graphene-1.0/graphene-euler.h +140 -0
- data/vendor/local/include/graphene-1.0/graphene-frustum.h +93 -0
- data/vendor/local/include/graphene-1.0/graphene-gobject.h +119 -0
- data/vendor/local/include/graphene-1.0/graphene-macros.h +105 -0
- data/vendor/local/include/graphene-1.0/graphene-matrix.h +288 -0
- data/vendor/local/include/graphene-1.0/graphene-plane.h +99 -0
- data/vendor/local/include/graphene-1.0/graphene-point.h +120 -0
- data/vendor/local/include/graphene-1.0/graphene-point3d.h +140 -0
- data/vendor/local/include/graphene-1.0/graphene-quad.h +80 -0
- data/vendor/local/include/graphene-1.0/graphene-quaternion.h +136 -0
- data/vendor/local/include/graphene-1.0/graphene-ray.h +98 -0
- data/vendor/local/include/graphene-1.0/graphene-rect.h +180 -0
- data/vendor/local/include/graphene-1.0/graphene-simd4f.h +1870 -0
- data/vendor/local/include/graphene-1.0/graphene-simd4x4f.h +1045 -0
- data/vendor/local/include/graphene-1.0/graphene-size.h +105 -0
- data/vendor/local/include/graphene-1.0/graphene-sphere.h +97 -0
- data/vendor/local/include/graphene-1.0/graphene-triangle.h +105 -0
- data/vendor/local/include/graphene-1.0/graphene-types.h +88 -0
- data/vendor/local/include/graphene-1.0/graphene-vec2.h +130 -0
- data/vendor/local/include/graphene-1.0/graphene-vec3.h +155 -0
- data/vendor/local/include/graphene-1.0/graphene-vec4.h +156 -0
- data/vendor/local/include/graphene-1.0/graphene-version-macros.h +185 -0
- data/vendor/local/include/graphene-1.0/graphene-version.h +70 -0
- data/vendor/local/include/graphene-1.0/graphene.h +61 -0
- data/vendor/local/include/harfbuzz/hb-common.h +36 -0
- data/vendor/local/include/harfbuzz/hb-font.h +18 -1
- data/vendor/local/include/harfbuzz/hb-ot-var.h +105 -0
- data/vendor/local/include/harfbuzz/hb-ot.h +1 -0
- data/vendor/local/include/harfbuzz/hb-shape.h +0 -16
- data/vendor/local/include/harfbuzz/hb-version.h +2 -2
- data/vendor/local/include/pango-1.0/pango/pango-engine.h +6 -6
- data/vendor/local/include/pango-1.0/pango/pango-features.h +2 -2
- data/vendor/local/include/pango-1.0/pango/pango-layout.h +1 -1
- data/vendor/local/lib/girepository-1.0/Graphene-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/Pango-1.0.typelib +0 -0
- data/vendor/local/lib/graphene-1.0/include/graphene-config.h +89 -0
- data/vendor/local/lib/icudt.dll +0 -0
- data/vendor/local/lib/icudt58.dll +0 -0
- data/vendor/local/lib/icuin.dll +0 -0
- data/vendor/local/lib/icuin58.dll +0 -0
- data/vendor/local/lib/icuio.dll +0 -0
- data/vendor/local/lib/icuio58.dll +0 -0
- data/vendor/local/lib/icutest.dll +0 -0
- data/vendor/local/lib/icutest58.dll +0 -0
- data/vendor/local/lib/icutu.dll +0 -0
- data/vendor/local/lib/icutu58.dll +0 -0
- data/vendor/local/lib/icuuc.dll +0 -0
- data/vendor/local/lib/icuuc58.dll +0 -0
- data/vendor/local/lib/libgraphene-1.0.dll.a +0 -0
- data/vendor/local/lib/libgraphene-1.0.la +41 -0
- data/vendor/local/lib/libharfbuzz-icu.a +0 -0
- data/vendor/local/lib/libharfbuzz-icu.la +1 -1
- data/vendor/local/lib/libharfbuzz.dll.a +0 -0
- data/vendor/local/lib/libharfbuzz.la +1 -1
- data/vendor/local/lib/libicudt.dll.a +0 -0
- data/vendor/local/lib/libicudt58.dll +0 -0
- data/vendor/local/lib/libicuin.dll.a +0 -0
- data/vendor/local/lib/libicuio.dll.a +0 -0
- data/vendor/local/lib/libicutest.dll.a +0 -0
- data/vendor/local/lib/libicutu.dll.a +0 -0
- data/vendor/local/lib/libicuuc.dll.a +0 -0
- data/vendor/local/lib/libpango-1.0.dll.a +0 -0
- data/vendor/local/lib/libpango-1.0.la +1 -1
- data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangocairo-1.0.la +1 -1
- data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangoft2-1.0.la +1 -1
- data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangowin32-1.0.la +1 -1
- data/vendor/local/lib/pkgconfig/graphene-1.0.pc +15 -0
- data/vendor/local/lib/pkgconfig/graphene-gobject-1.0.pc +15 -0
- data/vendor/local/lib/pkgconfig/harfbuzz-icu.pc +1 -1
- data/vendor/local/lib/pkgconfig/harfbuzz.pc +1 -1
- data/vendor/local/lib/pkgconfig/pango.pc +1 -1
- data/vendor/local/lib/pkgconfig/pangocairo.pc +1 -1
- data/vendor/local/lib/pkgconfig/pangoft2.pc +1 -1
- data/vendor/local/lib/pkgconfig/pangowin32.pc +1 -1
- data/vendor/local/share/gir-1.0/Graphene-1.0.gir +8180 -0
- data/vendor/local/share/gir-1.0/Pango-1.0.gir +12 -16
- data/vendor/local/share/gtk-doc/html/graphene/annotation-glossary.html +57 -0
- data/vendor/local/share/gtk-doc/html/graphene/api-index.html +1985 -0
- data/vendor/local/share/gtk-doc/html/graphene/ch01.html +97 -0
- data/vendor/local/share/gtk-doc/html/graphene/deprecated-api-index.html +34 -0
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Box.html +1252 -0
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Euler.html +886 -0
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Frustum.html +527 -0
- data/vendor/local/share/gtk-doc/html/graphene/graphene-GObject-integration.html +147 -0
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Matrix.html +2959 -0
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Plane.html +641 -0
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Point.html +689 -0
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Point3D.html +916 -0
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Quad.html +418 -0
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Quaternion.html +1056 -0
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Ray.html +596 -0
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Rectangle.html +1483 -0
- data/vendor/local/share/gtk-doc/html/graphene/graphene-SIMD-matrix.html +1475 -0
- data/vendor/local/share/gtk-doc/html/graphene/graphene-SIMD-vector.html +3046 -0
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Size.html +489 -0
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Sphere.html +641 -0
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Triangle.html +705 -0
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Vectors.html +3715 -0
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Versioning-information.html +104 -0
- data/vendor/local/share/gtk-doc/html/graphene/graphene.devhelp2 +534 -0
- data/vendor/local/share/gtk-doc/html/graphene/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/graphene/index.html +107 -0
- data/vendor/local/share/gtk-doc/html/graphene/ix03.html +1313 -0
- data/vendor/local/share/gtk-doc/html/graphene/ix04.html +582 -0
- data/vendor/local/share/gtk-doc/html/graphene/ix05.html +151 -0
- data/vendor/local/share/gtk-doc/html/graphene/ix06.html +34 -0
- data/vendor/local/share/gtk-doc/html/graphene/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/graphene/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/{pango/api-index-1-40.html → graphene/object-tree.html} +14 -11
- data/vendor/local/share/gtk-doc/html/graphene/rectangle-intersection.png +0 -0
- data/vendor/local/share/gtk-doc/html/graphene/rectangle-union.png +0 -0
- data/vendor/local/share/gtk-doc/html/graphene/rectangle.png +0 -0
- data/vendor/local/share/gtk-doc/html/graphene/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/graphene/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/graphene/style.css +479 -0
- data/vendor/local/share/gtk-doc/html/graphene/triangle-barycentric.png +0 -0
- data/vendor/local/share/gtk-doc/html/graphene/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/graphene/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-1-2-3.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/{api-index-1-4-0.html → api-index-1-3-3.html} +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-full.html +104 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/deprecated-api-index.html +9 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-Shaping.html +1 -1
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-font.html +156 -40
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-gobject.html +73 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-graphite2.html +1 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-layout.html +49 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-math.html +174 -177
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-shape-plan.html +40 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-version.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz.devhelp2 +28 -10
- data/vendor/local/share/gtk-doc/html/harfbuzz/index.html +1 -1
- data/vendor/local/share/gtk-doc/html/harfbuzz/pt02.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineLang.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineShape.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/PangoFcDecoder.html +1 -1
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFont.html +1 -1
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFontMap.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/PangoMarkupFormat.html +1 -1
- data/vendor/local/share/gtk-doc/html/pango/PangoRenderer.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/annotation-glossary.html +1 -1
- data/vendor/local/share/gtk-doc/html/pango/api-index-full.html +1 -1
- data/vendor/local/share/gtk-doc/html/pango/index.html +2 -23
- data/vendor/local/share/gtk-doc/html/pango/lowlevel.html +1 -1
- data/vendor/local/share/gtk-doc/html/pango/pango-Bidirectional-Text.html +1 -1
- data/vendor/local/share/gtk-doc/html/pango/pango-Cairo-Rendering.html +69 -69
- data/vendor/local/share/gtk-doc/html/pango/pango-CoreText-Fonts.html +1 -1
- data/vendor/local/share/gtk-doc/html/pango/pango-Coverage-Maps.html +1 -1
- data/vendor/local/share/gtk-doc/html/pango/pango-Engines.html +5 -1
- data/vendor/local/share/gtk-doc/html/pango/pango-Fonts.html +5 -4
- data/vendor/local/share/gtk-doc/html/pango/pango-FreeType-Fonts-and-Rendering.html +8 -4
- data/vendor/local/share/gtk-doc/html/pango/pango-Glyph-Storage.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/pango-Layout-Objects.html +4 -4
- data/vendor/local/share/gtk-doc/html/pango/pango-Miscellaneous-Utilities.html +1 -1
- data/vendor/local/share/gtk-doc/html/pango/pango-Modules.html +3 -1
- data/vendor/local/share/gtk-doc/html/pango/pango-OpenType-Font-Handling.html +1 -1
- data/vendor/local/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/pango-Tab-Stops.html +1 -1
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Attributes.html +1 -1
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Processing.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/pango-Vertical-Text.html +1 -1
- data/vendor/local/share/gtk-doc/html/pango/pango-Win32-Fonts-and-Rendering.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/pango-Xft-Fonts-and-Rendering.html +1 -1
- data/vendor/local/share/gtk-doc/html/pango/pango-hierarchy.html +1 -1
- data/vendor/local/share/gtk-doc/html/pango/pango.html +1 -1
- data/vendor/local/share/gtk-doc/html/pango/rendering.html +1 -1
- data/vendor/local/share/man/man1/pango-view.1 +2 -2
- metadata +119 -78
- data/README +0 -32
- data/ext/pango/rbpango.c +0 -356
- data/ext/pango/rbpango.h +0 -95
- data/ext/pango/rbpangoanalysis.c +0 -218
- data/ext/pango/rbpangoattribute.c +0 -506
- data/ext/pango/rbpangoattriterator.c +0 -141
- data/ext/pango/rbpangoattrlist.c +0 -101
- data/ext/pango/rbpangocairo.c +0 -122
- data/ext/pango/rbpangocairocontext.c +0 -131
- data/ext/pango/rbpangocolor.c +0 -120
- data/ext/pango/rbpangocontext.c +0 -344
- data/ext/pango/rbpangocoverage.c +0 -106
- data/ext/pango/rbpangoengine.c +0 -73
- data/ext/pango/rbpangofont.c +0 -110
- data/ext/pango/rbpangofontdescription.c +0 -282
- data/ext/pango/rbpangofontface.c +0 -73
- data/ext/pango/rbpangofontfamily.c +0 -79
- data/ext/pango/rbpangofontmap.c +0 -102
- data/ext/pango/rbpangofontmetrics.c +0 -85
- data/ext/pango/rbpangofontset.c +0 -69
- data/ext/pango/rbpangofontsetsimple.c +0 -60
- data/ext/pango/rbpangoglyphinfo.c +0 -123
- data/ext/pango/rbpangoglyphitem.c +0 -125
- data/ext/pango/rbpangoglyphstring.c +0 -151
- data/ext/pango/rbpangogravity.c +0 -54
- data/ext/pango/rbpangoitem.c +0 -95
- data/ext/pango/rbpangolanguage.c +0 -94
- data/ext/pango/rbpangolayout.c +0 -583
- data/ext/pango/rbpangolayoutiter.c +0 -189
- data/ext/pango/rbpangolayoutline.c +0 -243
- data/ext/pango/rbpangologattr.c +0 -109
- data/ext/pango/rbpangomatrix.c +0 -143
- data/ext/pango/rbpangoprivate.h +0 -49
- data/ext/pango/rbpangorectangle.c +0 -170
- data/ext/pango/rbpangorenderer.c +0 -193
- data/ext/pango/rbpangoscript.c +0 -84
- data/ext/pango/rbpangoscriptiter.c +0 -92
- data/ext/pango/rbpangotabarray.c +0 -128
- data/sample/attribute.rb +0 -82
- data/sample/break.rb +0 -28
- data/sample/gdk_layout.rb +0 -27
- data/sample/glyphstring.rb +0 -61
- data/sample/item.rb +0 -37
- data/sample/label.rb +0 -23
- data/sample/layout.rb +0 -102
- data/sample/pango_cairo.rb +0 -66
- data/sample/parse.rb +0 -33
- data/sample/sample.txt +0 -10
- data/sample/script.rb +0 -23
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-10.html +0 -134
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-12.html +0 -48
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-14.html +0 -63
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-16.html +0 -227
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-18.html +0 -151
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-2.html +0 -121
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-20.html +0 -86
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-22.html +0 -123
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-24.html +0 -96
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-26.html +0 -45
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-30.html +0 -38
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-31-0.html +0 -38
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-32-4.html +0 -52
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-32.html +0 -41
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-34.html +0 -38
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-38.html +0 -79
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-4.html +0 -200
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-6.html +0 -164
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-8.html +0 -170
- data/vendor/local/share/gtk-doc/html/pango/api-index-deprecated.html +0 -441
@@ -0,0 +1,3046 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
+
<title>SIMD vector: Graphene Reference Manual</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
7
|
+
<link rel="home" href="index.html" title="Graphene Reference Manual">
|
8
|
+
<link rel="up" href="ch01.html" title="Graphene">
|
9
|
+
<link rel="prev" href="graphene-Frustum.html" title="Frustum">
|
10
|
+
<link rel="next" href="graphene-SIMD-matrix.html" title="SIMD matrix">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.25 (XML mode)">
|
12
|
+
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
+
</head>
|
14
|
+
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
16
|
+
<td width="100%" align="left" class="shortcuts">
|
17
|
+
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
18
|
+
<a href="#graphene-SIMD-vector.description" class="shortcut">Description</a></span>
|
19
|
+
</td>
|
20
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
21
|
+
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
22
|
+
<td><a accesskey="p" href="graphene-Frustum.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
23
|
+
<td><a accesskey="n" href="graphene-SIMD-matrix.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
24
|
+
</tr></table>
|
25
|
+
<div class="refentry">
|
26
|
+
<a name="graphene-SIMD-vector"></a><div class="titlepage"></div>
|
27
|
+
<div class="refnamediv"><table width="100%"><tr>
|
28
|
+
<td valign="top">
|
29
|
+
<h2><span class="refentrytitle"><a name="graphene-SIMD-vector.top_of_page"></a>SIMD vector</span></h2>
|
30
|
+
<p>SIMD vector — Low level floating point 4-sized vector</p>
|
31
|
+
</td>
|
32
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
33
|
+
</tr></table></div>
|
34
|
+
<div class="refsect1">
|
35
|
+
<a name="graphene-SIMD-vector.functions"></a><h2>Functions</h2>
|
36
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
37
|
+
<colgroup>
|
38
|
+
<col width="150px" class="functions_return">
|
39
|
+
<col class="functions_name">
|
40
|
+
</colgroup>
|
41
|
+
<tbody>
|
42
|
+
<tr>
|
43
|
+
<td class="function_type">
|
44
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
45
|
+
</td>
|
46
|
+
<td class="function_name">
|
47
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-init" title="graphene_simd4f_init ()">graphene_simd4f_init</a> <span class="c_punctuation">()</span>
|
48
|
+
</td>
|
49
|
+
</tr>
|
50
|
+
<tr>
|
51
|
+
<td class="function_type">
|
52
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
53
|
+
</td>
|
54
|
+
<td class="function_name">
|
55
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-init-zero" title="graphene_simd4f_init_zero ()">graphene_simd4f_init_zero</a> <span class="c_punctuation">()</span>
|
56
|
+
</td>
|
57
|
+
</tr>
|
58
|
+
<tr>
|
59
|
+
<td class="function_type">
|
60
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
61
|
+
</td>
|
62
|
+
<td class="function_name">
|
63
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-init-4f" title="graphene_simd4f_init_4f ()">graphene_simd4f_init_4f</a> <span class="c_punctuation">()</span>
|
64
|
+
</td>
|
65
|
+
</tr>
|
66
|
+
<tr>
|
67
|
+
<td class="function_type">
|
68
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
69
|
+
</td>
|
70
|
+
<td class="function_name">
|
71
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-init-3f" title="graphene_simd4f_init_3f ()">graphene_simd4f_init_3f</a> <span class="c_punctuation">()</span>
|
72
|
+
</td>
|
73
|
+
</tr>
|
74
|
+
<tr>
|
75
|
+
<td class="function_type">
|
76
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
77
|
+
</td>
|
78
|
+
<td class="function_name">
|
79
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-init-2f" title="graphene_simd4f_init_2f ()">graphene_simd4f_init_2f</a> <span class="c_punctuation">()</span>
|
80
|
+
</td>
|
81
|
+
</tr>
|
82
|
+
<tr>
|
83
|
+
<td class="function_type">
|
84
|
+
<span class="returnvalue">void</span>
|
85
|
+
</td>
|
86
|
+
<td class="function_name">
|
87
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-dup-4f" title="graphene_simd4f_dup_4f ()">graphene_simd4f_dup_4f</a> <span class="c_punctuation">()</span>
|
88
|
+
</td>
|
89
|
+
</tr>
|
90
|
+
<tr>
|
91
|
+
<td class="function_type">
|
92
|
+
<span class="returnvalue">void</span>
|
93
|
+
</td>
|
94
|
+
<td class="function_name">
|
95
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-dup-3f" title="graphene_simd4f_dup_3f ()">graphene_simd4f_dup_3f</a> <span class="c_punctuation">()</span>
|
96
|
+
</td>
|
97
|
+
</tr>
|
98
|
+
<tr>
|
99
|
+
<td class="function_type">
|
100
|
+
<span class="returnvalue">void</span>
|
101
|
+
</td>
|
102
|
+
<td class="function_name">
|
103
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-dup-2f" title="graphene_simd4f_dup_2f ()">graphene_simd4f_dup_2f</a> <span class="c_punctuation">()</span>
|
104
|
+
</td>
|
105
|
+
</tr>
|
106
|
+
<tr>
|
107
|
+
<td class="function_type">
|
108
|
+
<span class="returnvalue">float</span>
|
109
|
+
</td>
|
110
|
+
<td class="function_name">
|
111
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-get" title="graphene_simd4f_get ()">graphene_simd4f_get</a> <span class="c_punctuation">()</span>
|
112
|
+
</td>
|
113
|
+
</tr>
|
114
|
+
<tr>
|
115
|
+
<td class="function_type">
|
116
|
+
<span class="returnvalue">float</span>
|
117
|
+
</td>
|
118
|
+
<td class="function_name">
|
119
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-get-x" title="graphene_simd4f_get_x ()">graphene_simd4f_get_x</a> <span class="c_punctuation">()</span>
|
120
|
+
</td>
|
121
|
+
</tr>
|
122
|
+
<tr>
|
123
|
+
<td class="function_type">
|
124
|
+
<span class="returnvalue">float</span>
|
125
|
+
</td>
|
126
|
+
<td class="function_name">
|
127
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-get-y" title="graphene_simd4f_get_y ()">graphene_simd4f_get_y</a> <span class="c_punctuation">()</span>
|
128
|
+
</td>
|
129
|
+
</tr>
|
130
|
+
<tr>
|
131
|
+
<td class="function_type">
|
132
|
+
<span class="returnvalue">float</span>
|
133
|
+
</td>
|
134
|
+
<td class="function_name">
|
135
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-get-z" title="graphene_simd4f_get_z ()">graphene_simd4f_get_z</a> <span class="c_punctuation">()</span>
|
136
|
+
</td>
|
137
|
+
</tr>
|
138
|
+
<tr>
|
139
|
+
<td class="function_type">
|
140
|
+
<span class="returnvalue">float</span>
|
141
|
+
</td>
|
142
|
+
<td class="function_name">
|
143
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-get-w" title="graphene_simd4f_get_w ()">graphene_simd4f_get_w</a> <span class="c_punctuation">()</span>
|
144
|
+
</td>
|
145
|
+
</tr>
|
146
|
+
<tr>
|
147
|
+
<td class="function_type">
|
148
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
149
|
+
</td>
|
150
|
+
<td class="function_name">
|
151
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-splat" title="graphene_simd4f_splat ()">graphene_simd4f_splat</a> <span class="c_punctuation">()</span>
|
152
|
+
</td>
|
153
|
+
</tr>
|
154
|
+
<tr>
|
155
|
+
<td class="function_type">
|
156
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
157
|
+
</td>
|
158
|
+
<td class="function_name">
|
159
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-splat-x" title="graphene_simd4f_splat_x ()">graphene_simd4f_splat_x</a> <span class="c_punctuation">()</span>
|
160
|
+
</td>
|
161
|
+
</tr>
|
162
|
+
<tr>
|
163
|
+
<td class="function_type">
|
164
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
165
|
+
</td>
|
166
|
+
<td class="function_name">
|
167
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-splat-y" title="graphene_simd4f_splat_y ()">graphene_simd4f_splat_y</a> <span class="c_punctuation">()</span>
|
168
|
+
</td>
|
169
|
+
</tr>
|
170
|
+
<tr>
|
171
|
+
<td class="function_type">
|
172
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
173
|
+
</td>
|
174
|
+
<td class="function_name">
|
175
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-splat-z" title="graphene_simd4f_splat_z ()">graphene_simd4f_splat_z</a> <span class="c_punctuation">()</span>
|
176
|
+
</td>
|
177
|
+
</tr>
|
178
|
+
<tr>
|
179
|
+
<td class="function_type">
|
180
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
181
|
+
</td>
|
182
|
+
<td class="function_name">
|
183
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-splat-w" title="graphene_simd4f_splat_w ()">graphene_simd4f_splat_w</a> <span class="c_punctuation">()</span>
|
184
|
+
</td>
|
185
|
+
</tr>
|
186
|
+
<tr>
|
187
|
+
<td class="function_type">
|
188
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
189
|
+
</td>
|
190
|
+
<td class="function_name">
|
191
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-add" title="graphene_simd4f_add ()">graphene_simd4f_add</a> <span class="c_punctuation">()</span>
|
192
|
+
</td>
|
193
|
+
</tr>
|
194
|
+
<tr>
|
195
|
+
<td class="function_type">
|
196
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
197
|
+
</td>
|
198
|
+
<td class="function_name">
|
199
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-sub" title="graphene_simd4f_sub ()">graphene_simd4f_sub</a> <span class="c_punctuation">()</span>
|
200
|
+
</td>
|
201
|
+
</tr>
|
202
|
+
<tr>
|
203
|
+
<td class="function_type">
|
204
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
205
|
+
</td>
|
206
|
+
<td class="function_name">
|
207
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-mul" title="graphene_simd4f_mul ()">graphene_simd4f_mul</a> <span class="c_punctuation">()</span>
|
208
|
+
</td>
|
209
|
+
</tr>
|
210
|
+
<tr>
|
211
|
+
<td class="function_type">
|
212
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
213
|
+
</td>
|
214
|
+
<td class="function_name">
|
215
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-div" title="graphene_simd4f_div ()">graphene_simd4f_div</a> <span class="c_punctuation">()</span>
|
216
|
+
</td>
|
217
|
+
</tr>
|
218
|
+
<tr>
|
219
|
+
<td class="function_type">
|
220
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
221
|
+
</td>
|
222
|
+
<td class="function_name">
|
223
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-sqrt" title="graphene_simd4f_sqrt ()">graphene_simd4f_sqrt</a> <span class="c_punctuation">()</span>
|
224
|
+
</td>
|
225
|
+
</tr>
|
226
|
+
<tr>
|
227
|
+
<td class="function_type">
|
228
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
229
|
+
</td>
|
230
|
+
<td class="function_name">
|
231
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-reciprocal" title="graphene_simd4f_reciprocal ()">graphene_simd4f_reciprocal</a> <span class="c_punctuation">()</span>
|
232
|
+
</td>
|
233
|
+
</tr>
|
234
|
+
<tr>
|
235
|
+
<td class="function_type">
|
236
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
237
|
+
</td>
|
238
|
+
<td class="function_name">
|
239
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-rsqrt" title="graphene_simd4f_rsqrt ()">graphene_simd4f_rsqrt</a> <span class="c_punctuation">()</span>
|
240
|
+
</td>
|
241
|
+
</tr>
|
242
|
+
<tr>
|
243
|
+
<td class="function_type">
|
244
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
245
|
+
</td>
|
246
|
+
<td class="function_name">
|
247
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-cross3" title="graphene_simd4f_cross3 ()">graphene_simd4f_cross3</a> <span class="c_punctuation">()</span>
|
248
|
+
</td>
|
249
|
+
</tr>
|
250
|
+
<tr>
|
251
|
+
<td class="function_type">
|
252
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
253
|
+
</td>
|
254
|
+
<td class="function_name">
|
255
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-min" title="graphene_simd4f_min ()">graphene_simd4f_min</a> <span class="c_punctuation">()</span>
|
256
|
+
</td>
|
257
|
+
</tr>
|
258
|
+
<tr>
|
259
|
+
<td class="function_type">
|
260
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
261
|
+
</td>
|
262
|
+
<td class="function_name">
|
263
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-max" title="graphene_simd4f_max ()">graphene_simd4f_max</a> <span class="c_punctuation">()</span>
|
264
|
+
</td>
|
265
|
+
</tr>
|
266
|
+
<tr>
|
267
|
+
<td class="function_type">
|
268
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
269
|
+
</td>
|
270
|
+
<td class="function_name">
|
271
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-min-val" title="graphene_simd4f_min_val ()">graphene_simd4f_min_val</a> <span class="c_punctuation">()</span>
|
272
|
+
</td>
|
273
|
+
</tr>
|
274
|
+
<tr>
|
275
|
+
<td class="function_type">
|
276
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
277
|
+
</td>
|
278
|
+
<td class="function_name">
|
279
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-max-val" title="graphene_simd4f_max_val ()">graphene_simd4f_max_val</a> <span class="c_punctuation">()</span>
|
280
|
+
</td>
|
281
|
+
</tr>
|
282
|
+
<tr>
|
283
|
+
<td class="function_type">
|
284
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
285
|
+
</td>
|
286
|
+
<td class="function_name">
|
287
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-clamp" title="graphene_simd4f_clamp ()">graphene_simd4f_clamp</a> <span class="c_punctuation">()</span>
|
288
|
+
</td>
|
289
|
+
</tr>
|
290
|
+
<tr>
|
291
|
+
<td class="function_type">
|
292
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
293
|
+
</td>
|
294
|
+
<td class="function_name">
|
295
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-clamp-scalar" title="graphene_simd4f_clamp_scalar ()">graphene_simd4f_clamp_scalar</a> <span class="c_punctuation">()</span>
|
296
|
+
</td>
|
297
|
+
</tr>
|
298
|
+
<tr>
|
299
|
+
<td class="function_type">
|
300
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
301
|
+
</td>
|
302
|
+
<td class="function_name">
|
303
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-shuffle-wxyz" title="graphene_simd4f_shuffle_wxyz ()">graphene_simd4f_shuffle_wxyz</a> <span class="c_punctuation">()</span>
|
304
|
+
</td>
|
305
|
+
</tr>
|
306
|
+
<tr>
|
307
|
+
<td class="function_type">
|
308
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
309
|
+
</td>
|
310
|
+
<td class="function_name">
|
311
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-shuffle-zwxy" title="graphene_simd4f_shuffle_zwxy ()">graphene_simd4f_shuffle_zwxy</a> <span class="c_punctuation">()</span>
|
312
|
+
</td>
|
313
|
+
</tr>
|
314
|
+
<tr>
|
315
|
+
<td class="function_type">
|
316
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
317
|
+
</td>
|
318
|
+
<td class="function_name">
|
319
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-shuffle-yzwx" title="graphene_simd4f_shuffle_yzwx ()">graphene_simd4f_shuffle_yzwx</a> <span class="c_punctuation">()</span>
|
320
|
+
</td>
|
321
|
+
</tr>
|
322
|
+
<tr>
|
323
|
+
<td class="function_type">
|
324
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
325
|
+
</td>
|
326
|
+
<td class="function_name">
|
327
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-zero-w" title="graphene_simd4f_zero_w ()">graphene_simd4f_zero_w</a> <span class="c_punctuation">()</span>
|
328
|
+
</td>
|
329
|
+
</tr>
|
330
|
+
<tr>
|
331
|
+
<td class="function_type">
|
332
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
333
|
+
</td>
|
334
|
+
<td class="function_name">
|
335
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-zero-zw" title="graphene_simd4f_zero_zw ()">graphene_simd4f_zero_zw</a> <span class="c_punctuation">()</span>
|
336
|
+
</td>
|
337
|
+
</tr>
|
338
|
+
<tr>
|
339
|
+
<td class="function_type">
|
340
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
341
|
+
</td>
|
342
|
+
<td class="function_name">
|
343
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-merge-w" title="graphene_simd4f_merge_w ()">graphene_simd4f_merge_w</a> <span class="c_punctuation">()</span>
|
344
|
+
</td>
|
345
|
+
</tr>
|
346
|
+
<tr>
|
347
|
+
<td class="function_type">
|
348
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
349
|
+
</td>
|
350
|
+
<td class="function_name">
|
351
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-merge-high" title="graphene_simd4f_merge_high ()">graphene_simd4f_merge_high</a> <span class="c_punctuation">()</span>
|
352
|
+
</td>
|
353
|
+
</tr>
|
354
|
+
<tr>
|
355
|
+
<td class="function_type">
|
356
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
357
|
+
</td>
|
358
|
+
<td class="function_name">
|
359
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-merge-low" title="graphene_simd4f_merge_low ()">graphene_simd4f_merge_low</a> <span class="c_punctuation">()</span>
|
360
|
+
</td>
|
361
|
+
</tr>
|
362
|
+
<tr>
|
363
|
+
<td class="function_type">
|
364
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
365
|
+
</td>
|
366
|
+
<td class="function_name">
|
367
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-flip-sign-0101" title="graphene_simd4f_flip_sign_0101 ()">graphene_simd4f_flip_sign_0101</a> <span class="c_punctuation">()</span>
|
368
|
+
</td>
|
369
|
+
</tr>
|
370
|
+
<tr>
|
371
|
+
<td class="function_type">
|
372
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
373
|
+
</td>
|
374
|
+
<td class="function_name">
|
375
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-flip-sign-1010" title="graphene_simd4f_flip_sign_1010 ()">graphene_simd4f_flip_sign_1010</a> <span class="c_punctuation">()</span>
|
376
|
+
</td>
|
377
|
+
</tr>
|
378
|
+
<tr>
|
379
|
+
<td class="function_type">
|
380
|
+
<span class="returnvalue">bool</span>
|
381
|
+
</td>
|
382
|
+
<td class="function_name">
|
383
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-cmp-eq" title="graphene_simd4f_cmp_eq ()">graphene_simd4f_cmp_eq</a> <span class="c_punctuation">()</span>
|
384
|
+
</td>
|
385
|
+
</tr>
|
386
|
+
<tr>
|
387
|
+
<td class="function_type">
|
388
|
+
<span class="returnvalue">bool</span>
|
389
|
+
</td>
|
390
|
+
<td class="function_name">
|
391
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-cmp-neq" title="graphene_simd4f_cmp_neq ()">graphene_simd4f_cmp_neq</a> <span class="c_punctuation">()</span>
|
392
|
+
</td>
|
393
|
+
</tr>
|
394
|
+
<tr>
|
395
|
+
<td class="function_type">
|
396
|
+
<span class="returnvalue">bool</span>
|
397
|
+
</td>
|
398
|
+
<td class="function_name">
|
399
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-cmp-lt" title="graphene_simd4f_cmp_lt ()">graphene_simd4f_cmp_lt</a> <span class="c_punctuation">()</span>
|
400
|
+
</td>
|
401
|
+
</tr>
|
402
|
+
<tr>
|
403
|
+
<td class="function_type">
|
404
|
+
<span class="returnvalue">bool</span>
|
405
|
+
</td>
|
406
|
+
<td class="function_name">
|
407
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-cmp-le" title="graphene_simd4f_cmp_le ()">graphene_simd4f_cmp_le</a> <span class="c_punctuation">()</span>
|
408
|
+
</td>
|
409
|
+
</tr>
|
410
|
+
<tr>
|
411
|
+
<td class="function_type">
|
412
|
+
<span class="returnvalue">bool</span>
|
413
|
+
</td>
|
414
|
+
<td class="function_name">
|
415
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-cmp-ge" title="graphene_simd4f_cmp_ge ()">graphene_simd4f_cmp_ge</a> <span class="c_punctuation">()</span>
|
416
|
+
</td>
|
417
|
+
</tr>
|
418
|
+
<tr>
|
419
|
+
<td class="function_type">
|
420
|
+
<span class="returnvalue">bool</span>
|
421
|
+
</td>
|
422
|
+
<td class="function_name">
|
423
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-cmp-gt" title="graphene_simd4f_cmp_gt ()">graphene_simd4f_cmp_gt</a> <span class="c_punctuation">()</span>
|
424
|
+
</td>
|
425
|
+
</tr>
|
426
|
+
<tr>
|
427
|
+
<td class="function_type">
|
428
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
429
|
+
</td>
|
430
|
+
<td class="function_name">
|
431
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-neg" title="graphene_simd4f_neg ()">graphene_simd4f_neg</a> <span class="c_punctuation">()</span>
|
432
|
+
</td>
|
433
|
+
</tr>
|
434
|
+
<tr>
|
435
|
+
<td class="function_type">
|
436
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
437
|
+
</td>
|
438
|
+
<td class="function_name">
|
439
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-madd" title="graphene_simd4f_madd ()">graphene_simd4f_madd</a> <span class="c_punctuation">()</span>
|
440
|
+
</td>
|
441
|
+
</tr>
|
442
|
+
<tr>
|
443
|
+
<td class="function_type">
|
444
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
445
|
+
</td>
|
446
|
+
<td class="function_name">
|
447
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-sum" title="graphene_simd4f_sum ()">graphene_simd4f_sum</a> <span class="c_punctuation">()</span>
|
448
|
+
</td>
|
449
|
+
</tr>
|
450
|
+
<tr>
|
451
|
+
<td class="function_type">
|
452
|
+
<span class="returnvalue">float</span>
|
453
|
+
</td>
|
454
|
+
<td class="function_name">
|
455
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-sum-scalar" title="graphene_simd4f_sum_scalar ()">graphene_simd4f_sum_scalar</a> <span class="c_punctuation">()</span>
|
456
|
+
</td>
|
457
|
+
</tr>
|
458
|
+
<tr>
|
459
|
+
<td class="function_type">
|
460
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
461
|
+
</td>
|
462
|
+
<td class="function_name">
|
463
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-dot4" title="graphene_simd4f_dot4 ()">graphene_simd4f_dot4</a> <span class="c_punctuation">()</span>
|
464
|
+
</td>
|
465
|
+
</tr>
|
466
|
+
<tr>
|
467
|
+
<td class="function_type">
|
468
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
469
|
+
</td>
|
470
|
+
<td class="function_name">
|
471
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-dot3" title="graphene_simd4f_dot3 ()">graphene_simd4f_dot3</a> <span class="c_punctuation">()</span>
|
472
|
+
</td>
|
473
|
+
</tr>
|
474
|
+
<tr>
|
475
|
+
<td class="function_type">
|
476
|
+
<span class="returnvalue">float</span>
|
477
|
+
</td>
|
478
|
+
<td class="function_name">
|
479
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-dot3-scalar" title="graphene_simd4f_dot3_scalar ()">graphene_simd4f_dot3_scalar</a> <span class="c_punctuation">()</span>
|
480
|
+
</td>
|
481
|
+
</tr>
|
482
|
+
<tr>
|
483
|
+
<td class="function_type">
|
484
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
485
|
+
</td>
|
486
|
+
<td class="function_name">
|
487
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-dot2" title="graphene_simd4f_dot2 ()">graphene_simd4f_dot2</a> <span class="c_punctuation">()</span>
|
488
|
+
</td>
|
489
|
+
</tr>
|
490
|
+
<tr>
|
491
|
+
<td class="function_type">
|
492
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
493
|
+
</td>
|
494
|
+
<td class="function_name">
|
495
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-length4" title="graphene_simd4f_length4 ()">graphene_simd4f_length4</a> <span class="c_punctuation">()</span>
|
496
|
+
</td>
|
497
|
+
</tr>
|
498
|
+
<tr>
|
499
|
+
<td class="function_type">
|
500
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
501
|
+
</td>
|
502
|
+
<td class="function_name">
|
503
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-length3" title="graphene_simd4f_length3 ()">graphene_simd4f_length3</a> <span class="c_punctuation">()</span>
|
504
|
+
</td>
|
505
|
+
</tr>
|
506
|
+
<tr>
|
507
|
+
<td class="function_type">
|
508
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
509
|
+
</td>
|
510
|
+
<td class="function_name">
|
511
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-length2" title="graphene_simd4f_length2 ()">graphene_simd4f_length2</a> <span class="c_punctuation">()</span>
|
512
|
+
</td>
|
513
|
+
</tr>
|
514
|
+
<tr>
|
515
|
+
<td class="function_type">
|
516
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
517
|
+
</td>
|
518
|
+
<td class="function_name">
|
519
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-normalize4" title="graphene_simd4f_normalize4 ()">graphene_simd4f_normalize4</a> <span class="c_punctuation">()</span>
|
520
|
+
</td>
|
521
|
+
</tr>
|
522
|
+
<tr>
|
523
|
+
<td class="function_type">
|
524
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
525
|
+
</td>
|
526
|
+
<td class="function_name">
|
527
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-normalize3" title="graphene_simd4f_normalize3 ()">graphene_simd4f_normalize3</a> <span class="c_punctuation">()</span>
|
528
|
+
</td>
|
529
|
+
</tr>
|
530
|
+
<tr>
|
531
|
+
<td class="function_type">
|
532
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
533
|
+
</td>
|
534
|
+
<td class="function_name">
|
535
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-normalize2" title="graphene_simd4f_normalize2 ()">graphene_simd4f_normalize2</a> <span class="c_punctuation">()</span>
|
536
|
+
</td>
|
537
|
+
</tr>
|
538
|
+
<tr>
|
539
|
+
<td class="function_type">
|
540
|
+
<span class="returnvalue">bool</span>
|
541
|
+
</td>
|
542
|
+
<td class="function_name">
|
543
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-is-zero4" title="graphene_simd4f_is_zero4 ()">graphene_simd4f_is_zero4</a> <span class="c_punctuation">()</span>
|
544
|
+
</td>
|
545
|
+
</tr>
|
546
|
+
<tr>
|
547
|
+
<td class="function_type">
|
548
|
+
<span class="returnvalue">bool</span>
|
549
|
+
</td>
|
550
|
+
<td class="function_name">
|
551
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-is-zero3" title="graphene_simd4f_is_zero3 ()">graphene_simd4f_is_zero3</a> <span class="c_punctuation">()</span>
|
552
|
+
</td>
|
553
|
+
</tr>
|
554
|
+
<tr>
|
555
|
+
<td class="function_type">
|
556
|
+
<span class="returnvalue">bool</span>
|
557
|
+
</td>
|
558
|
+
<td class="function_name">
|
559
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-is-zero2" title="graphene_simd4f_is_zero2 ()">graphene_simd4f_is_zero2</a> <span class="c_punctuation">()</span>
|
560
|
+
</td>
|
561
|
+
</tr>
|
562
|
+
<tr>
|
563
|
+
<td class="function_type">
|
564
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
565
|
+
</td>
|
566
|
+
<td class="function_name">
|
567
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-interpolate" title="graphene_simd4f_interpolate ()">graphene_simd4f_interpolate</a> <span class="c_punctuation">()</span>
|
568
|
+
</td>
|
569
|
+
</tr>
|
570
|
+
</tbody>
|
571
|
+
</table></div>
|
572
|
+
</div>
|
573
|
+
<div class="refsect1">
|
574
|
+
<a name="graphene-SIMD-vector.other"></a><h2>Types and Values</h2>
|
575
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
576
|
+
<colgroup>
|
577
|
+
<col width="150px" class="name">
|
578
|
+
<col class="description">
|
579
|
+
</colgroup>
|
580
|
+
<tbody><tr>
|
581
|
+
<td class="datatype_keyword"> </td>
|
582
|
+
<td class="function_name"><a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t">graphene_simd4f_t</a></td>
|
583
|
+
</tr></tbody>
|
584
|
+
</table></div>
|
585
|
+
</div>
|
586
|
+
<div class="refsect1">
|
587
|
+
<a name="graphene-SIMD-vector.includes"></a><h2>Includes</h2>
|
588
|
+
<pre class="synopsis">#include <graphene.h>
|
589
|
+
</pre>
|
590
|
+
</div>
|
591
|
+
<div class="refsect1">
|
592
|
+
<a name="graphene-SIMD-vector.description"></a><h2>Description</h2>
|
593
|
+
<p>The <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> type wraps a platform specific implementation of
|
594
|
+
a vector of four floating point values.</p>
|
595
|
+
<p>Graphene can be compiled to use different implementations of the SIMD
|
596
|
+
types, and will generally prefer the faster hardware-backed implementation
|
597
|
+
if one is available.</p>
|
598
|
+
<p>The <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> should be treated as an opaque, integral type;
|
599
|
+
you cannot access its components directly, and you can only operate on
|
600
|
+
all components at the same time.</p>
|
601
|
+
</div>
|
602
|
+
<div class="refsect1">
|
603
|
+
<a name="graphene-SIMD-vector.functions_details"></a><h2>Functions</h2>
|
604
|
+
<div class="refsect2">
|
605
|
+
<a name="graphene-simd4f-init"></a><h3>graphene_simd4f_init ()</h3>
|
606
|
+
<pre class="programlisting"><a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
607
|
+
graphene_simd4f_init (<em class="parameter"><code><span class="type">float</span> x</code></em>,
|
608
|
+
<em class="parameter"><code><span class="type">float</span> y</code></em>,
|
609
|
+
<em class="parameter"><code><span class="type">float</span> z</code></em>,
|
610
|
+
<em class="parameter"><code><span class="type">float</span> w</code></em>);</pre>
|
611
|
+
<p>Initializes a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> with the given values.</p>
|
612
|
+
<div class="refsect3">
|
613
|
+
<a name="graphene-simd4f-init.parameters"></a><h4>Parameters</h4>
|
614
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
615
|
+
<colgroup>
|
616
|
+
<col width="150px" class="parameters_name">
|
617
|
+
<col class="parameters_description">
|
618
|
+
<col width="200px" class="parameters_annotations">
|
619
|
+
</colgroup>
|
620
|
+
<tbody>
|
621
|
+
<tr>
|
622
|
+
<td class="parameter_name"><p>x</p></td>
|
623
|
+
<td class="parameter_description"><p>the first component of the vector</p></td>
|
624
|
+
<td class="parameter_annotations"> </td>
|
625
|
+
</tr>
|
626
|
+
<tr>
|
627
|
+
<td class="parameter_name"><p>y</p></td>
|
628
|
+
<td class="parameter_description"><p>the second component of the vector</p></td>
|
629
|
+
<td class="parameter_annotations"> </td>
|
630
|
+
</tr>
|
631
|
+
<tr>
|
632
|
+
<td class="parameter_name"><p>z</p></td>
|
633
|
+
<td class="parameter_description"><p>the third component of the vector</p></td>
|
634
|
+
<td class="parameter_annotations"> </td>
|
635
|
+
</tr>
|
636
|
+
<tr>
|
637
|
+
<td class="parameter_name"><p>w</p></td>
|
638
|
+
<td class="parameter_description"><p>the fourth component of the vector</p></td>
|
639
|
+
<td class="parameter_annotations"> </td>
|
640
|
+
</tr>
|
641
|
+
</tbody>
|
642
|
+
</table></div>
|
643
|
+
</div>
|
644
|
+
<div class="refsect3">
|
645
|
+
<a name="graphene-simd4f-init.returns"></a><h4>Returns</h4>
|
646
|
+
<p> the initialized <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p>
|
647
|
+
</div>
|
648
|
+
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
649
|
+
</div>
|
650
|
+
<hr>
|
651
|
+
<div class="refsect2">
|
652
|
+
<a name="graphene-simd4f-init-zero"></a><h3>graphene_simd4f_init_zero ()</h3>
|
653
|
+
<pre class="programlisting"><a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
654
|
+
graphene_simd4f_init_zero (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
655
|
+
<p>Initializes a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> with 0 in all components.</p>
|
656
|
+
<div class="refsect3">
|
657
|
+
<a name="graphene-simd4f-init-zero.returns"></a><h4>Returns</h4>
|
658
|
+
<p> the initialized <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p>
|
659
|
+
</div>
|
660
|
+
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
661
|
+
</div>
|
662
|
+
<hr>
|
663
|
+
<div class="refsect2">
|
664
|
+
<a name="graphene-simd4f-init-4f"></a><h3>graphene_simd4f_init_4f ()</h3>
|
665
|
+
<pre class="programlisting"><a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
666
|
+
graphene_simd4f_init_4f (<em class="parameter"><code>const <span class="type">float</span> *v</code></em>);</pre>
|
667
|
+
<p>Initializes a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> using an array of 4 floating
|
668
|
+
point values.</p>
|
669
|
+
<div class="refsect3">
|
670
|
+
<a name="graphene-simd4f-init-4f.parameters"></a><h4>Parameters</h4>
|
671
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
672
|
+
<colgroup>
|
673
|
+
<col width="150px" class="parameters_name">
|
674
|
+
<col class="parameters_description">
|
675
|
+
<col width="200px" class="parameters_annotations">
|
676
|
+
</colgroup>
|
677
|
+
<tbody><tr>
|
678
|
+
<td class="parameter_name"><p>v</p></td>
|
679
|
+
<td class="parameter_description"><p> an array of at least 4 floating
|
680
|
+
point values. </p></td>
|
681
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> fixed-size=4]</span></td>
|
682
|
+
</tr></tbody>
|
683
|
+
</table></div>
|
684
|
+
</div>
|
685
|
+
<div class="refsect3">
|
686
|
+
<a name="graphene-simd4f-init-4f.returns"></a><h4>Returns</h4>
|
687
|
+
<p> the initialized <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p>
|
688
|
+
</div>
|
689
|
+
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
690
|
+
</div>
|
691
|
+
<hr>
|
692
|
+
<div class="refsect2">
|
693
|
+
<a name="graphene-simd4f-init-3f"></a><h3>graphene_simd4f_init_3f ()</h3>
|
694
|
+
<pre class="programlisting"><a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
695
|
+
graphene_simd4f_init_3f (<em class="parameter"><code>const <span class="type">float</span> *v</code></em>);</pre>
|
696
|
+
<p>Initializes a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> using an array of 3 floating
|
697
|
+
point values.</p>
|
698
|
+
<div class="refsect3">
|
699
|
+
<a name="graphene-simd4f-init-3f.parameters"></a><h4>Parameters</h4>
|
700
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
701
|
+
<colgroup>
|
702
|
+
<col width="150px" class="parameters_name">
|
703
|
+
<col class="parameters_description">
|
704
|
+
<col width="200px" class="parameters_annotations">
|
705
|
+
</colgroup>
|
706
|
+
<tbody><tr>
|
707
|
+
<td class="parameter_name"><p>v</p></td>
|
708
|
+
<td class="parameter_description"><p> an array of at least 3 floating
|
709
|
+
point values. </p></td>
|
710
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> fixed-size=3]</span></td>
|
711
|
+
</tr></tbody>
|
712
|
+
</table></div>
|
713
|
+
</div>
|
714
|
+
<div class="refsect3">
|
715
|
+
<a name="graphene-simd4f-init-3f.returns"></a><h4>Returns</h4>
|
716
|
+
<p> the initialized <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p>
|
717
|
+
</div>
|
718
|
+
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
719
|
+
</div>
|
720
|
+
<hr>
|
721
|
+
<div class="refsect2">
|
722
|
+
<a name="graphene-simd4f-init-2f"></a><h3>graphene_simd4f_init_2f ()</h3>
|
723
|
+
<pre class="programlisting"><a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
724
|
+
graphene_simd4f_init_2f (<em class="parameter"><code>const <span class="type">float</span> *v</code></em>);</pre>
|
725
|
+
<p>Initializes a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> using an array of 2 floating
|
726
|
+
point values.</p>
|
727
|
+
<div class="refsect3">
|
728
|
+
<a name="graphene-simd4f-init-2f.parameters"></a><h4>Parameters</h4>
|
729
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
730
|
+
<colgroup>
|
731
|
+
<col width="150px" class="parameters_name">
|
732
|
+
<col class="parameters_description">
|
733
|
+
<col width="200px" class="parameters_annotations">
|
734
|
+
</colgroup>
|
735
|
+
<tbody><tr>
|
736
|
+
<td class="parameter_name"><p>v</p></td>
|
737
|
+
<td class="parameter_description"><p> an array of at least 2 floating
|
738
|
+
point values. </p></td>
|
739
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> fixed-size=2]</span></td>
|
740
|
+
</tr></tbody>
|
741
|
+
</table></div>
|
742
|
+
</div>
|
743
|
+
<div class="refsect3">
|
744
|
+
<a name="graphene-simd4f-init-2f.returns"></a><h4>Returns</h4>
|
745
|
+
<p> the initialized <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p>
|
746
|
+
</div>
|
747
|
+
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
748
|
+
</div>
|
749
|
+
<hr>
|
750
|
+
<div class="refsect2">
|
751
|
+
<a name="graphene-simd4f-dup-4f"></a><h3>graphene_simd4f_dup_4f ()</h3>
|
752
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
753
|
+
graphene_simd4f_dup_4f (<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> s</code></em>,
|
754
|
+
<em class="parameter"><code><span class="type">float</span> *v</code></em>);</pre>
|
755
|
+
<p>Copies the contents of a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> into an
|
756
|
+
array of floating points.</p>
|
757
|
+
<div class="refsect3">
|
758
|
+
<a name="graphene-simd4f-dup-4f.parameters"></a><h4>Parameters</h4>
|
759
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
760
|
+
<colgroup>
|
761
|
+
<col width="150px" class="parameters_name">
|
762
|
+
<col class="parameters_description">
|
763
|
+
<col width="200px" class="parameters_annotations">
|
764
|
+
</colgroup>
|
765
|
+
<tbody>
|
766
|
+
<tr>
|
767
|
+
<td class="parameter_name"><p>s</p></td>
|
768
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
769
|
+
<td class="parameter_annotations"> </td>
|
770
|
+
</tr>
|
771
|
+
<tr>
|
772
|
+
<td class="parameter_name"><p>v</p></td>
|
773
|
+
<td class="parameter_description"><p> return location for an
|
774
|
+
array of at least 4 floating point values. </p></td>
|
775
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> fixed-size=4]</span></td>
|
776
|
+
</tr>
|
777
|
+
</tbody>
|
778
|
+
</table></div>
|
779
|
+
</div>
|
780
|
+
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
781
|
+
</div>
|
782
|
+
<hr>
|
783
|
+
<div class="refsect2">
|
784
|
+
<a name="graphene-simd4f-dup-3f"></a><h3>graphene_simd4f_dup_3f ()</h3>
|
785
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
786
|
+
graphene_simd4f_dup_3f (<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> s</code></em>,
|
787
|
+
<em class="parameter"><code><span class="type">float</span> *v</code></em>);</pre>
|
788
|
+
<p>Copies the contents of a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> into an
|
789
|
+
array of floating points.</p>
|
790
|
+
<div class="refsect3">
|
791
|
+
<a name="graphene-simd4f-dup-3f.parameters"></a><h4>Parameters</h4>
|
792
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
793
|
+
<colgroup>
|
794
|
+
<col width="150px" class="parameters_name">
|
795
|
+
<col class="parameters_description">
|
796
|
+
<col width="200px" class="parameters_annotations">
|
797
|
+
</colgroup>
|
798
|
+
<tbody>
|
799
|
+
<tr>
|
800
|
+
<td class="parameter_name"><p>s</p></td>
|
801
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
802
|
+
<td class="parameter_annotations"> </td>
|
803
|
+
</tr>
|
804
|
+
<tr>
|
805
|
+
<td class="parameter_name"><p>v</p></td>
|
806
|
+
<td class="parameter_description"><p> return location for an
|
807
|
+
array of at least 3 floating point values. </p></td>
|
808
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> fixed-size=3]</span></td>
|
809
|
+
</tr>
|
810
|
+
</tbody>
|
811
|
+
</table></div>
|
812
|
+
</div>
|
813
|
+
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
814
|
+
</div>
|
815
|
+
<hr>
|
816
|
+
<div class="refsect2">
|
817
|
+
<a name="graphene-simd4f-dup-2f"></a><h3>graphene_simd4f_dup_2f ()</h3>
|
818
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
819
|
+
graphene_simd4f_dup_2f (<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> s</code></em>,
|
820
|
+
<em class="parameter"><code><span class="type">float</span> *v</code></em>);</pre>
|
821
|
+
<p>Copies the contents of a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> into an
|
822
|
+
array of floating points.</p>
|
823
|
+
<div class="refsect3">
|
824
|
+
<a name="graphene-simd4f-dup-2f.parameters"></a><h4>Parameters</h4>
|
825
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
826
|
+
<colgroup>
|
827
|
+
<col width="150px" class="parameters_name">
|
828
|
+
<col class="parameters_description">
|
829
|
+
<col width="200px" class="parameters_annotations">
|
830
|
+
</colgroup>
|
831
|
+
<tbody>
|
832
|
+
<tr>
|
833
|
+
<td class="parameter_name"><p>s</p></td>
|
834
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
835
|
+
<td class="parameter_annotations"> </td>
|
836
|
+
</tr>
|
837
|
+
<tr>
|
838
|
+
<td class="parameter_name"><p>v</p></td>
|
839
|
+
<td class="parameter_description"><p> return location for an
|
840
|
+
array of at least 2 floating point values. </p></td>
|
841
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> fixed-size=2]</span></td>
|
842
|
+
</tr>
|
843
|
+
</tbody>
|
844
|
+
</table></div>
|
845
|
+
</div>
|
846
|
+
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
847
|
+
</div>
|
848
|
+
<hr>
|
849
|
+
<div class="refsect2">
|
850
|
+
<a name="graphene-simd4f-get"></a><h3>graphene_simd4f_get ()</h3>
|
851
|
+
<pre class="programlisting"><span class="returnvalue">float</span>
|
852
|
+
graphene_simd4f_get (<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> s</code></em>,
|
853
|
+
<em class="parameter"><code>unsigned <span class="type">int</span> i</code></em>);</pre>
|
854
|
+
<p>Retrieves the given component of a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a>.</p>
|
855
|
+
<div class="refsect3">
|
856
|
+
<a name="graphene-simd4f-get.parameters"></a><h4>Parameters</h4>
|
857
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
858
|
+
<colgroup>
|
859
|
+
<col width="150px" class="parameters_name">
|
860
|
+
<col class="parameters_description">
|
861
|
+
<col width="200px" class="parameters_annotations">
|
862
|
+
</colgroup>
|
863
|
+
<tbody>
|
864
|
+
<tr>
|
865
|
+
<td class="parameter_name"><p>s</p></td>
|
866
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
867
|
+
<td class="parameter_annotations"> </td>
|
868
|
+
</tr>
|
869
|
+
<tr>
|
870
|
+
<td class="parameter_name"><p>i</p></td>
|
871
|
+
<td class="parameter_description"><p>the index of the component to retrieve</p></td>
|
872
|
+
<td class="parameter_annotations"> </td>
|
873
|
+
</tr>
|
874
|
+
</tbody>
|
875
|
+
</table></div>
|
876
|
+
</div>
|
877
|
+
<p class="since">Since: <a class="link" href="ix04.html#api-index-1.2">1.2</a></p>
|
878
|
+
</div>
|
879
|
+
<hr>
|
880
|
+
<div class="refsect2">
|
881
|
+
<a name="graphene-simd4f-get-x"></a><h3>graphene_simd4f_get_x ()</h3>
|
882
|
+
<pre class="programlisting"><span class="returnvalue">float</span>
|
883
|
+
graphene_simd4f_get_x (<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> s</code></em>);</pre>
|
884
|
+
<p>Retrieves the first component of <em class="parameter"><code>s</code></em>
|
885
|
+
.</p>
|
886
|
+
<div class="refsect3">
|
887
|
+
<a name="graphene-simd4f-get-x.parameters"></a><h4>Parameters</h4>
|
888
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
889
|
+
<colgroup>
|
890
|
+
<col width="150px" class="parameters_name">
|
891
|
+
<col class="parameters_description">
|
892
|
+
<col width="200px" class="parameters_annotations">
|
893
|
+
</colgroup>
|
894
|
+
<tbody><tr>
|
895
|
+
<td class="parameter_name"><p>s</p></td>
|
896
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
897
|
+
<td class="parameter_annotations"> </td>
|
898
|
+
</tr></tbody>
|
899
|
+
</table></div>
|
900
|
+
</div>
|
901
|
+
<div class="refsect3">
|
902
|
+
<a name="graphene-simd4f-get-x.returns"></a><h4>Returns</h4>
|
903
|
+
<p> the first component of a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p>
|
904
|
+
</div>
|
905
|
+
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
906
|
+
</div>
|
907
|
+
<hr>
|
908
|
+
<div class="refsect2">
|
909
|
+
<a name="graphene-simd4f-get-y"></a><h3>graphene_simd4f_get_y ()</h3>
|
910
|
+
<pre class="programlisting"><span class="returnvalue">float</span>
|
911
|
+
graphene_simd4f_get_y (<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> s</code></em>);</pre>
|
912
|
+
<p>Retrieves the second component of <em class="parameter"><code>s</code></em>
|
913
|
+
.</p>
|
914
|
+
<div class="refsect3">
|
915
|
+
<a name="graphene-simd4f-get-y.parameters"></a><h4>Parameters</h4>
|
916
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
917
|
+
<colgroup>
|
918
|
+
<col width="150px" class="parameters_name">
|
919
|
+
<col class="parameters_description">
|
920
|
+
<col width="200px" class="parameters_annotations">
|
921
|
+
</colgroup>
|
922
|
+
<tbody><tr>
|
923
|
+
<td class="parameter_name"><p>s</p></td>
|
924
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
925
|
+
<td class="parameter_annotations"> </td>
|
926
|
+
</tr></tbody>
|
927
|
+
</table></div>
|
928
|
+
</div>
|
929
|
+
<div class="refsect3">
|
930
|
+
<a name="graphene-simd4f-get-y.returns"></a><h4>Returns</h4>
|
931
|
+
<p> the second component of a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p>
|
932
|
+
</div>
|
933
|
+
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
934
|
+
</div>
|
935
|
+
<hr>
|
936
|
+
<div class="refsect2">
|
937
|
+
<a name="graphene-simd4f-get-z"></a><h3>graphene_simd4f_get_z ()</h3>
|
938
|
+
<pre class="programlisting"><span class="returnvalue">float</span>
|
939
|
+
graphene_simd4f_get_z (<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> s</code></em>);</pre>
|
940
|
+
<p>Retrieves the third component of <em class="parameter"><code>s</code></em>
|
941
|
+
.</p>
|
942
|
+
<div class="refsect3">
|
943
|
+
<a name="graphene-simd4f-get-z.parameters"></a><h4>Parameters</h4>
|
944
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
945
|
+
<colgroup>
|
946
|
+
<col width="150px" class="parameters_name">
|
947
|
+
<col class="parameters_description">
|
948
|
+
<col width="200px" class="parameters_annotations">
|
949
|
+
</colgroup>
|
950
|
+
<tbody><tr>
|
951
|
+
<td class="parameter_name"><p>s</p></td>
|
952
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
953
|
+
<td class="parameter_annotations"> </td>
|
954
|
+
</tr></tbody>
|
955
|
+
</table></div>
|
956
|
+
</div>
|
957
|
+
<div class="refsect3">
|
958
|
+
<a name="graphene-simd4f-get-z.returns"></a><h4>Returns</h4>
|
959
|
+
<p> the third component of a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p>
|
960
|
+
</div>
|
961
|
+
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
962
|
+
</div>
|
963
|
+
<hr>
|
964
|
+
<div class="refsect2">
|
965
|
+
<a name="graphene-simd4f-get-w"></a><h3>graphene_simd4f_get_w ()</h3>
|
966
|
+
<pre class="programlisting"><span class="returnvalue">float</span>
|
967
|
+
graphene_simd4f_get_w (<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> s</code></em>);</pre>
|
968
|
+
<p>Retrieves the fourth component of <em class="parameter"><code>s</code></em>
|
969
|
+
.</p>
|
970
|
+
<div class="refsect3">
|
971
|
+
<a name="graphene-simd4f-get-w.parameters"></a><h4>Parameters</h4>
|
972
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
973
|
+
<colgroup>
|
974
|
+
<col width="150px" class="parameters_name">
|
975
|
+
<col class="parameters_description">
|
976
|
+
<col width="200px" class="parameters_annotations">
|
977
|
+
</colgroup>
|
978
|
+
<tbody><tr>
|
979
|
+
<td class="parameter_name"><p>s</p></td>
|
980
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
981
|
+
<td class="parameter_annotations"> </td>
|
982
|
+
</tr></tbody>
|
983
|
+
</table></div>
|
984
|
+
</div>
|
985
|
+
<div class="refsect3">
|
986
|
+
<a name="graphene-simd4f-get-w.returns"></a><h4>Returns</h4>
|
987
|
+
<p> the fourth component of a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p>
|
988
|
+
</div>
|
989
|
+
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
990
|
+
</div>
|
991
|
+
<hr>
|
992
|
+
<div class="refsect2">
|
993
|
+
<a name="graphene-simd4f-splat"></a><h3>graphene_simd4f_splat ()</h3>
|
994
|
+
<pre class="programlisting"><a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
995
|
+
graphene_simd4f_splat (<em class="parameter"><code><span class="type">float</span> v</code></em>);</pre>
|
996
|
+
<p>Sets all the components of a new <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> to the
|
997
|
+
same value <em class="parameter"><code>v</code></em>
|
998
|
+
:</p>
|
999
|
+
<div class="informalexample">
|
1000
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
1001
|
+
<tbody>
|
1002
|
+
<tr>
|
1003
|
+
<td class="listing_lines" align="right"><pre>1
|
1004
|
+
2
|
1005
|
+
3
|
1006
|
+
4
|
1007
|
+
5
|
1008
|
+
6</pre></td>
|
1009
|
+
<td class="listing_code"><pre class="programlisting"><span class="cbracket">{</span>
|
1010
|
+
<span class="normal"> </span><span class="symbol">.</span><span class="normal">x </span><span class="symbol">=</span><span class="normal"> v</span><span class="symbol">,</span>
|
1011
|
+
<span class="normal"> </span><span class="symbol">.</span><span class="normal">y </span><span class="symbol">=</span><span class="normal"> v</span><span class="symbol">,</span>
|
1012
|
+
<span class="normal"> </span><span class="symbol">.</span><span class="normal">z </span><span class="symbol">=</span><span class="normal"> v</span><span class="symbol">,</span>
|
1013
|
+
<span class="normal"> </span><span class="symbol">.</span><span class="normal">w </span><span class="symbol">=</span><span class="normal"> v</span>
|
1014
|
+
<span class="cbracket">}</span><span class="symbol">;</span></pre></td>
|
1015
|
+
</tr>
|
1016
|
+
</tbody>
|
1017
|
+
</table>
|
1018
|
+
</div>
|
1019
|
+
|
1020
|
+
<p></p>
|
1021
|
+
<div class="refsect3">
|
1022
|
+
<a name="graphene-simd4f-splat.parameters"></a><h4>Parameters</h4>
|
1023
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1024
|
+
<colgroup>
|
1025
|
+
<col width="150px" class="parameters_name">
|
1026
|
+
<col class="parameters_description">
|
1027
|
+
<col width="200px" class="parameters_annotations">
|
1028
|
+
</colgroup>
|
1029
|
+
<tbody><tr>
|
1030
|
+
<td class="parameter_name"><p>v</p></td>
|
1031
|
+
<td class="parameter_description"><p>a floating point value</p></td>
|
1032
|
+
<td class="parameter_annotations"> </td>
|
1033
|
+
</tr></tbody>
|
1034
|
+
</table></div>
|
1035
|
+
</div>
|
1036
|
+
<div class="refsect3">
|
1037
|
+
<a name="graphene-simd4f-splat.returns"></a><h4>Returns</h4>
|
1038
|
+
<p> the initialized <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p>
|
1039
|
+
</div>
|
1040
|
+
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
1041
|
+
</div>
|
1042
|
+
<hr>
|
1043
|
+
<div class="refsect2">
|
1044
|
+
<a name="graphene-simd4f-splat-x"></a><h3>graphene_simd4f_splat_x ()</h3>
|
1045
|
+
<pre class="programlisting"><a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
1046
|
+
graphene_simd4f_splat_x (<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> s</code></em>);</pre>
|
1047
|
+
<p>Sets all the components of a new <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> to the
|
1048
|
+
same value of the first component of the passed vector:</p>
|
1049
|
+
<div class="informalexample">
|
1050
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
1051
|
+
<tbody>
|
1052
|
+
<tr>
|
1053
|
+
<td class="listing_lines" align="right"><pre>1
|
1054
|
+
2
|
1055
|
+
3
|
1056
|
+
4
|
1057
|
+
5
|
1058
|
+
6</pre></td>
|
1059
|
+
<td class="listing_code"><pre class="programlisting"><span class="cbracket">{</span>
|
1060
|
+
<span class="normal"> </span><span class="symbol">.</span><span class="normal">x </span><span class="symbol">=</span><span class="normal"> s</span><span class="symbol">.</span><span class="normal">x</span><span class="symbol">,</span>
|
1061
|
+
<span class="normal"> </span><span class="symbol">.</span><span class="normal">y </span><span class="symbol">=</span><span class="normal"> s</span><span class="symbol">.</span><span class="normal">x</span><span class="symbol">,</span>
|
1062
|
+
<span class="normal"> </span><span class="symbol">.</span><span class="normal">z </span><span class="symbol">=</span><span class="normal"> s</span><span class="symbol">.</span><span class="normal">x</span><span class="symbol">,</span>
|
1063
|
+
<span class="normal"> </span><span class="symbol">.</span><span class="normal">w </span><span class="symbol">=</span><span class="normal"> s</span><span class="symbol">.</span><span class="normal">x</span>
|
1064
|
+
<span class="cbracket">}</span></pre></td>
|
1065
|
+
</tr>
|
1066
|
+
</tbody>
|
1067
|
+
</table>
|
1068
|
+
</div>
|
1069
|
+
|
1070
|
+
<p></p>
|
1071
|
+
<div class="refsect3">
|
1072
|
+
<a name="graphene-simd4f-splat-x.parameters"></a><h4>Parameters</h4>
|
1073
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1074
|
+
<colgroup>
|
1075
|
+
<col width="150px" class="parameters_name">
|
1076
|
+
<col class="parameters_description">
|
1077
|
+
<col width="200px" class="parameters_annotations">
|
1078
|
+
</colgroup>
|
1079
|
+
<tbody><tr>
|
1080
|
+
<td class="parameter_name"><p>s</p></td>
|
1081
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
1082
|
+
<td class="parameter_annotations"> </td>
|
1083
|
+
</tr></tbody>
|
1084
|
+
</table></div>
|
1085
|
+
</div>
|
1086
|
+
<div class="refsect3">
|
1087
|
+
<a name="graphene-simd4f-splat-x.returns"></a><h4>Returns</h4>
|
1088
|
+
<p> the initialized <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p>
|
1089
|
+
</div>
|
1090
|
+
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
1091
|
+
</div>
|
1092
|
+
<hr>
|
1093
|
+
<div class="refsect2">
|
1094
|
+
<a name="graphene-simd4f-splat-y"></a><h3>graphene_simd4f_splat_y ()</h3>
|
1095
|
+
<pre class="programlisting"><a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
1096
|
+
graphene_simd4f_splat_y (<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> s</code></em>);</pre>
|
1097
|
+
<p>Sets all the components of a new <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> to the
|
1098
|
+
same value of the second component of the passed vector:</p>
|
1099
|
+
<div class="informalexample">
|
1100
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
1101
|
+
<tbody>
|
1102
|
+
<tr>
|
1103
|
+
<td class="listing_lines" align="right"><pre>1
|
1104
|
+
2
|
1105
|
+
3
|
1106
|
+
4
|
1107
|
+
5
|
1108
|
+
6</pre></td>
|
1109
|
+
<td class="listing_code"><pre class="programlisting"><span class="cbracket">{</span>
|
1110
|
+
<span class="normal"> </span><span class="symbol">.</span><span class="normal">x </span><span class="symbol">=</span><span class="normal"> s</span><span class="symbol">.</span><span class="normal">y</span><span class="symbol">,</span>
|
1111
|
+
<span class="normal"> </span><span class="symbol">.</span><span class="normal">y </span><span class="symbol">=</span><span class="normal"> s</span><span class="symbol">.</span><span class="normal">y</span><span class="symbol">,</span>
|
1112
|
+
<span class="normal"> </span><span class="symbol">.</span><span class="normal">z </span><span class="symbol">=</span><span class="normal"> s</span><span class="symbol">.</span><span class="normal">y</span><span class="symbol">,</span>
|
1113
|
+
<span class="normal"> </span><span class="symbol">.</span><span class="normal">w </span><span class="symbol">=</span><span class="normal"> s</span><span class="symbol">.</span><span class="normal">y</span>
|
1114
|
+
<span class="cbracket">}</span></pre></td>
|
1115
|
+
</tr>
|
1116
|
+
</tbody>
|
1117
|
+
</table>
|
1118
|
+
</div>
|
1119
|
+
|
1120
|
+
<p></p>
|
1121
|
+
<div class="refsect3">
|
1122
|
+
<a name="graphene-simd4f-splat-y.parameters"></a><h4>Parameters</h4>
|
1123
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1124
|
+
<colgroup>
|
1125
|
+
<col width="150px" class="parameters_name">
|
1126
|
+
<col class="parameters_description">
|
1127
|
+
<col width="200px" class="parameters_annotations">
|
1128
|
+
</colgroup>
|
1129
|
+
<tbody><tr>
|
1130
|
+
<td class="parameter_name"><p>s</p></td>
|
1131
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
1132
|
+
<td class="parameter_annotations"> </td>
|
1133
|
+
</tr></tbody>
|
1134
|
+
</table></div>
|
1135
|
+
</div>
|
1136
|
+
<div class="refsect3">
|
1137
|
+
<a name="graphene-simd4f-splat-y.returns"></a><h4>Returns</h4>
|
1138
|
+
<p> the initialized <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p>
|
1139
|
+
</div>
|
1140
|
+
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
1141
|
+
</div>
|
1142
|
+
<hr>
|
1143
|
+
<div class="refsect2">
|
1144
|
+
<a name="graphene-simd4f-splat-z"></a><h3>graphene_simd4f_splat_z ()</h3>
|
1145
|
+
<pre class="programlisting"><a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
1146
|
+
graphene_simd4f_splat_z (<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> s</code></em>);</pre>
|
1147
|
+
<p>Sets all the components of a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> to the
|
1148
|
+
same value of the third component of the passed vector:</p>
|
1149
|
+
<div class="informalexample">
|
1150
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
1151
|
+
<tbody>
|
1152
|
+
<tr>
|
1153
|
+
<td class="listing_lines" align="right"><pre>1
|
1154
|
+
2
|
1155
|
+
3
|
1156
|
+
4
|
1157
|
+
5
|
1158
|
+
6</pre></td>
|
1159
|
+
<td class="listing_code"><pre class="programlisting"><span class="cbracket">{</span>
|
1160
|
+
<span class="normal"> </span><span class="symbol">.</span><span class="normal">x </span><span class="symbol">=</span><span class="normal"> s</span><span class="symbol">.</span><span class="normal">z</span><span class="symbol">,</span>
|
1161
|
+
<span class="normal"> </span><span class="symbol">.</span><span class="normal">y </span><span class="symbol">=</span><span class="normal"> s</span><span class="symbol">.</span><span class="normal">z</span><span class="symbol">,</span>
|
1162
|
+
<span class="normal"> </span><span class="symbol">.</span><span class="normal">z </span><span class="symbol">=</span><span class="normal"> s</span><span class="symbol">.</span><span class="normal">z</span><span class="symbol">,</span>
|
1163
|
+
<span class="normal"> </span><span class="symbol">.</span><span class="normal">w </span><span class="symbol">=</span><span class="normal"> s</span><span class="symbol">.</span><span class="normal">z</span>
|
1164
|
+
<span class="cbracket">}</span></pre></td>
|
1165
|
+
</tr>
|
1166
|
+
</tbody>
|
1167
|
+
</table>
|
1168
|
+
</div>
|
1169
|
+
|
1170
|
+
<p></p>
|
1171
|
+
<div class="refsect3">
|
1172
|
+
<a name="graphene-simd4f-splat-z.parameters"></a><h4>Parameters</h4>
|
1173
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1174
|
+
<colgroup>
|
1175
|
+
<col width="150px" class="parameters_name">
|
1176
|
+
<col class="parameters_description">
|
1177
|
+
<col width="200px" class="parameters_annotations">
|
1178
|
+
</colgroup>
|
1179
|
+
<tbody><tr>
|
1180
|
+
<td class="parameter_name"><p>s</p></td>
|
1181
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
1182
|
+
<td class="parameter_annotations"> </td>
|
1183
|
+
</tr></tbody>
|
1184
|
+
</table></div>
|
1185
|
+
</div>
|
1186
|
+
<div class="refsect3">
|
1187
|
+
<a name="graphene-simd4f-splat-z.returns"></a><h4>Returns</h4>
|
1188
|
+
<p> the initialized <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p>
|
1189
|
+
</div>
|
1190
|
+
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
1191
|
+
</div>
|
1192
|
+
<hr>
|
1193
|
+
<div class="refsect2">
|
1194
|
+
<a name="graphene-simd4f-splat-w"></a><h3>graphene_simd4f_splat_w ()</h3>
|
1195
|
+
<pre class="programlisting"><a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
1196
|
+
graphene_simd4f_splat_w (<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> s</code></em>);</pre>
|
1197
|
+
<p>Sets all the components of a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> to the
|
1198
|
+
same value of the fourth component of the passed vector:</p>
|
1199
|
+
<div class="informalexample">
|
1200
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
1201
|
+
<tbody>
|
1202
|
+
<tr>
|
1203
|
+
<td class="listing_lines" align="right"><pre>1
|
1204
|
+
2
|
1205
|
+
3
|
1206
|
+
4
|
1207
|
+
5
|
1208
|
+
6</pre></td>
|
1209
|
+
<td class="listing_code"><pre class="programlisting"><span class="cbracket">{</span>
|
1210
|
+
<span class="normal"> </span><span class="symbol">.</span><span class="normal">x </span><span class="symbol">=</span><span class="normal"> s</span><span class="symbol">.</span><span class="normal">w</span><span class="symbol">,</span>
|
1211
|
+
<span class="normal"> </span><span class="symbol">.</span><span class="normal">y </span><span class="symbol">=</span><span class="normal"> s</span><span class="symbol">.</span><span class="normal">w</span><span class="symbol">,</span>
|
1212
|
+
<span class="normal"> </span><span class="symbol">.</span><span class="normal">z </span><span class="symbol">=</span><span class="normal"> s</span><span class="symbol">.</span><span class="normal">w</span><span class="symbol">,</span>
|
1213
|
+
<span class="normal"> </span><span class="symbol">.</span><span class="normal">w </span><span class="symbol">=</span><span class="normal"> s</span><span class="symbol">.</span><span class="normal">w</span>
|
1214
|
+
<span class="cbracket">}</span></pre></td>
|
1215
|
+
</tr>
|
1216
|
+
</tbody>
|
1217
|
+
</table>
|
1218
|
+
</div>
|
1219
|
+
|
1220
|
+
<p></p>
|
1221
|
+
<div class="refsect3">
|
1222
|
+
<a name="graphene-simd4f-splat-w.parameters"></a><h4>Parameters</h4>
|
1223
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1224
|
+
<colgroup>
|
1225
|
+
<col width="150px" class="parameters_name">
|
1226
|
+
<col class="parameters_description">
|
1227
|
+
<col width="200px" class="parameters_annotations">
|
1228
|
+
</colgroup>
|
1229
|
+
<tbody><tr>
|
1230
|
+
<td class="parameter_name"><p>s</p></td>
|
1231
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
1232
|
+
<td class="parameter_annotations"> </td>
|
1233
|
+
</tr></tbody>
|
1234
|
+
</table></div>
|
1235
|
+
</div>
|
1236
|
+
<div class="refsect3">
|
1237
|
+
<a name="graphene-simd4f-splat-w.returns"></a><h4>Returns</h4>
|
1238
|
+
<p> the initialized <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p>
|
1239
|
+
</div>
|
1240
|
+
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
1241
|
+
</div>
|
1242
|
+
<hr>
|
1243
|
+
<div class="refsect2">
|
1244
|
+
<a name="graphene-simd4f-add"></a><h3>graphene_simd4f_add ()</h3>
|
1245
|
+
<pre class="programlisting"><a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
1246
|
+
graphene_simd4f_add (<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> a</code></em>,
|
1247
|
+
<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> b</code></em>);</pre>
|
1248
|
+
<p>Creates a new <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> vector where each
|
1249
|
+
component is the sum of the respective components
|
1250
|
+
in <em class="parameter"><code>a</code></em>
|
1251
|
+
and <em class="parameter"><code>b</code></em>
|
1252
|
+
.</p>
|
1253
|
+
<div class="informalexample">
|
1254
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
1255
|
+
<tbody>
|
1256
|
+
<tr>
|
1257
|
+
<td class="listing_lines" align="right"><pre>1
|
1258
|
+
2
|
1259
|
+
3
|
1260
|
+
4
|
1261
|
+
5
|
1262
|
+
6</pre></td>
|
1263
|
+
<td class="listing_code"><pre class="programlisting"><span class="cbracket">{</span>
|
1264
|
+
<span class="normal"> </span><span class="symbol">.</span><span class="normal">x </span><span class="symbol">=</span><span class="normal"> a</span><span class="symbol">.</span><span class="normal">x </span><span class="symbol">+</span><span class="normal"> b</span><span class="symbol">.</span><span class="normal">x</span><span class="symbol">,</span>
|
1265
|
+
<span class="normal"> </span><span class="symbol">.</span><span class="normal">y </span><span class="symbol">=</span><span class="normal"> a</span><span class="symbol">.</span><span class="normal">y </span><span class="symbol">+</span><span class="normal"> b</span><span class="symbol">.</span><span class="normal">y</span><span class="symbol">,</span>
|
1266
|
+
<span class="normal"> </span><span class="symbol">.</span><span class="normal">z </span><span class="symbol">=</span><span class="normal"> a</span><span class="symbol">.</span><span class="normal">z </span><span class="symbol">+</span><span class="normal"> b</span><span class="symbol">.</span><span class="normal">z</span><span class="symbol">,</span>
|
1267
|
+
<span class="normal"> </span><span class="symbol">.</span><span class="normal">w </span><span class="symbol">=</span><span class="normal"> a</span><span class="symbol">.</span><span class="normal">w </span><span class="symbol">+</span><span class="normal"> b</span><span class="symbol">.</span><span class="normal">w</span>
|
1268
|
+
<span class="cbracket">}</span></pre></td>
|
1269
|
+
</tr>
|
1270
|
+
</tbody>
|
1271
|
+
</table>
|
1272
|
+
</div>
|
1273
|
+
|
1274
|
+
<p></p>
|
1275
|
+
<div class="refsect3">
|
1276
|
+
<a name="graphene-simd4f-add.parameters"></a><h4>Parameters</h4>
|
1277
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1278
|
+
<colgroup>
|
1279
|
+
<col width="150px" class="parameters_name">
|
1280
|
+
<col class="parameters_description">
|
1281
|
+
<col width="200px" class="parameters_annotations">
|
1282
|
+
</colgroup>
|
1283
|
+
<tbody>
|
1284
|
+
<tr>
|
1285
|
+
<td class="parameter_name"><p>a</p></td>
|
1286
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
1287
|
+
<td class="parameter_annotations"> </td>
|
1288
|
+
</tr>
|
1289
|
+
<tr>
|
1290
|
+
<td class="parameter_name"><p>b</p></td>
|
1291
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
1292
|
+
<td class="parameter_annotations"> </td>
|
1293
|
+
</tr>
|
1294
|
+
</tbody>
|
1295
|
+
</table></div>
|
1296
|
+
</div>
|
1297
|
+
<div class="refsect3">
|
1298
|
+
<a name="graphene-simd4f-add.returns"></a><h4>Returns</h4>
|
1299
|
+
<p> the sum vector</p>
|
1300
|
+
</div>
|
1301
|
+
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
1302
|
+
</div>
|
1303
|
+
<hr>
|
1304
|
+
<div class="refsect2">
|
1305
|
+
<a name="graphene-simd4f-sub"></a><h3>graphene_simd4f_sub ()</h3>
|
1306
|
+
<pre class="programlisting"><a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
1307
|
+
graphene_simd4f_sub (<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> a</code></em>,
|
1308
|
+
<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> b</code></em>);</pre>
|
1309
|
+
<p>Creates a new <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> vector where each
|
1310
|
+
component is the subtraction of the respective components
|
1311
|
+
in <em class="parameter"><code>a</code></em>
|
1312
|
+
and <em class="parameter"><code>b</code></em>
|
1313
|
+
.</p>
|
1314
|
+
<div class="informalexample">
|
1315
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
1316
|
+
<tbody>
|
1317
|
+
<tr>
|
1318
|
+
<td class="listing_lines" align="right"><pre>1
|
1319
|
+
2
|
1320
|
+
3
|
1321
|
+
4
|
1322
|
+
5
|
1323
|
+
6</pre></td>
|
1324
|
+
<td class="listing_code"><pre class="programlisting"><span class="cbracket">{</span>
|
1325
|
+
<span class="normal"> </span><span class="symbol">.</span><span class="normal">x </span><span class="symbol">=</span><span class="normal"> a</span><span class="symbol">.</span><span class="normal">x </span><span class="symbol">-</span><span class="normal"> b</span><span class="symbol">.</span><span class="normal">x</span><span class="symbol">,</span>
|
1326
|
+
<span class="normal"> </span><span class="symbol">.</span><span class="normal">y </span><span class="symbol">=</span><span class="normal"> a</span><span class="symbol">.</span><span class="normal">y </span><span class="symbol">-</span><span class="normal"> b</span><span class="symbol">.</span><span class="normal">y</span><span class="symbol">,</span>
|
1327
|
+
<span class="normal"> </span><span class="symbol">.</span><span class="normal">z </span><span class="symbol">=</span><span class="normal"> a</span><span class="symbol">.</span><span class="normal">z </span><span class="symbol">-</span><span class="normal"> b</span><span class="symbol">.</span><span class="normal">z</span><span class="symbol">,</span>
|
1328
|
+
<span class="normal"> </span><span class="symbol">.</span><span class="normal">w </span><span class="symbol">=</span><span class="normal"> a</span><span class="symbol">.</span><span class="normal">w </span><span class="symbol">-</span><span class="normal"> b</span><span class="symbol">.</span><span class="normal">w</span>
|
1329
|
+
<span class="cbracket">}</span></pre></td>
|
1330
|
+
</tr>
|
1331
|
+
</tbody>
|
1332
|
+
</table>
|
1333
|
+
</div>
|
1334
|
+
|
1335
|
+
<p></p>
|
1336
|
+
<div class="refsect3">
|
1337
|
+
<a name="graphene-simd4f-sub.parameters"></a><h4>Parameters</h4>
|
1338
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1339
|
+
<colgroup>
|
1340
|
+
<col width="150px" class="parameters_name">
|
1341
|
+
<col class="parameters_description">
|
1342
|
+
<col width="200px" class="parameters_annotations">
|
1343
|
+
</colgroup>
|
1344
|
+
<tbody>
|
1345
|
+
<tr>
|
1346
|
+
<td class="parameter_name"><p>a</p></td>
|
1347
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
1348
|
+
<td class="parameter_annotations"> </td>
|
1349
|
+
</tr>
|
1350
|
+
<tr>
|
1351
|
+
<td class="parameter_name"><p>b</p></td>
|
1352
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
1353
|
+
<td class="parameter_annotations"> </td>
|
1354
|
+
</tr>
|
1355
|
+
</tbody>
|
1356
|
+
</table></div>
|
1357
|
+
</div>
|
1358
|
+
<div class="refsect3">
|
1359
|
+
<a name="graphene-simd4f-sub.returns"></a><h4>Returns</h4>
|
1360
|
+
<p> the subtraction vector</p>
|
1361
|
+
</div>
|
1362
|
+
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
1363
|
+
</div>
|
1364
|
+
<hr>
|
1365
|
+
<div class="refsect2">
|
1366
|
+
<a name="graphene-simd4f-mul"></a><h3>graphene_simd4f_mul ()</h3>
|
1367
|
+
<pre class="programlisting"><a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
1368
|
+
graphene_simd4f_mul (<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> a</code></em>,
|
1369
|
+
<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> b</code></em>);</pre>
|
1370
|
+
<p>Creates a new <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> vector where each
|
1371
|
+
component is the multiplication of the respective components
|
1372
|
+
in <em class="parameter"><code>a</code></em>
|
1373
|
+
and <em class="parameter"><code>b</code></em>
|
1374
|
+
.</p>
|
1375
|
+
<div class="informalexample">
|
1376
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
1377
|
+
<tbody>
|
1378
|
+
<tr>
|
1379
|
+
<td class="listing_lines" align="right"><pre>1
|
1380
|
+
2
|
1381
|
+
3
|
1382
|
+
4
|
1383
|
+
5
|
1384
|
+
6</pre></td>
|
1385
|
+
<td class="listing_code"><pre class="programlisting"><span class="cbracket">{</span>
|
1386
|
+
<span class="normal"> </span><span class="symbol">.</span><span class="normal">x </span><span class="symbol">=</span><span class="normal"> a</span><span class="symbol">.</span><span class="normal">x </span><span class="symbol">*</span><span class="normal"> b</span><span class="symbol">.</span><span class="normal">x</span><span class="symbol">,</span>
|
1387
|
+
<span class="normal"> </span><span class="symbol">.</span><span class="normal">y </span><span class="symbol">=</span><span class="normal"> a</span><span class="symbol">.</span><span class="normal">y </span><span class="symbol">*</span><span class="normal"> b</span><span class="symbol">.</span><span class="normal">y</span><span class="symbol">,</span>
|
1388
|
+
<span class="normal"> </span><span class="symbol">.</span><span class="normal">z </span><span class="symbol">=</span><span class="normal"> a</span><span class="symbol">.</span><span class="normal">z </span><span class="symbol">*</span><span class="normal"> b</span><span class="symbol">.</span><span class="normal">z</span><span class="symbol">,</span>
|
1389
|
+
<span class="normal"> </span><span class="symbol">.</span><span class="normal">w </span><span class="symbol">=</span><span class="normal"> a</span><span class="symbol">.</span><span class="normal">w </span><span class="symbol">*</span><span class="normal"> b</span><span class="symbol">.</span><span class="normal">w</span>
|
1390
|
+
<span class="cbracket">}</span></pre></td>
|
1391
|
+
</tr>
|
1392
|
+
</tbody>
|
1393
|
+
</table>
|
1394
|
+
</div>
|
1395
|
+
|
1396
|
+
<p></p>
|
1397
|
+
<div class="refsect3">
|
1398
|
+
<a name="graphene-simd4f-mul.parameters"></a><h4>Parameters</h4>
|
1399
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1400
|
+
<colgroup>
|
1401
|
+
<col width="150px" class="parameters_name">
|
1402
|
+
<col class="parameters_description">
|
1403
|
+
<col width="200px" class="parameters_annotations">
|
1404
|
+
</colgroup>
|
1405
|
+
<tbody>
|
1406
|
+
<tr>
|
1407
|
+
<td class="parameter_name"><p>a</p></td>
|
1408
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
1409
|
+
<td class="parameter_annotations"> </td>
|
1410
|
+
</tr>
|
1411
|
+
<tr>
|
1412
|
+
<td class="parameter_name"><p>b</p></td>
|
1413
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
1414
|
+
<td class="parameter_annotations"> </td>
|
1415
|
+
</tr>
|
1416
|
+
</tbody>
|
1417
|
+
</table></div>
|
1418
|
+
</div>
|
1419
|
+
<div class="refsect3">
|
1420
|
+
<a name="graphene-simd4f-mul.returns"></a><h4>Returns</h4>
|
1421
|
+
<p> the multiplication vector</p>
|
1422
|
+
</div>
|
1423
|
+
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
1424
|
+
</div>
|
1425
|
+
<hr>
|
1426
|
+
<div class="refsect2">
|
1427
|
+
<a name="graphene-simd4f-div"></a><h3>graphene_simd4f_div ()</h3>
|
1428
|
+
<pre class="programlisting"><a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
1429
|
+
graphene_simd4f_div (<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> a</code></em>,
|
1430
|
+
<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> b</code></em>);</pre>
|
1431
|
+
<p>Creates a new <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> vector where each
|
1432
|
+
component is the division of the respective components
|
1433
|
+
in <em class="parameter"><code>a</code></em>
|
1434
|
+
and <em class="parameter"><code>b</code></em>
|
1435
|
+
.</p>
|
1436
|
+
<div class="informalexample">
|
1437
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
1438
|
+
<tbody>
|
1439
|
+
<tr>
|
1440
|
+
<td class="listing_lines" align="right"><pre>1
|
1441
|
+
2
|
1442
|
+
3
|
1443
|
+
4
|
1444
|
+
5
|
1445
|
+
6</pre></td>
|
1446
|
+
<td class="listing_code"><pre class="programlisting"><span class="cbracket">{</span>
|
1447
|
+
<span class="normal"> </span><span class="symbol">.</span><span class="normal">x </span><span class="symbol">=</span><span class="normal"> a</span><span class="symbol">.</span><span class="normal">x </span><span class="symbol">/</span><span class="normal"> b</span><span class="symbol">.</span><span class="normal">x</span><span class="symbol">,</span>
|
1448
|
+
<span class="normal"> </span><span class="symbol">.</span><span class="normal">y </span><span class="symbol">=</span><span class="normal"> a</span><span class="symbol">.</span><span class="normal">y </span><span class="symbol">/</span><span class="normal"> b</span><span class="symbol">.</span><span class="normal">y</span><span class="symbol">,</span>
|
1449
|
+
<span class="normal"> </span><span class="symbol">.</span><span class="normal">z </span><span class="symbol">=</span><span class="normal"> a</span><span class="symbol">.</span><span class="normal">z </span><span class="symbol">/</span><span class="normal"> b</span><span class="symbol">.</span><span class="normal">z</span><span class="symbol">,</span>
|
1450
|
+
<span class="normal"> </span><span class="symbol">.</span><span class="normal">w </span><span class="symbol">=</span><span class="normal"> a</span><span class="symbol">.</span><span class="normal">w </span><span class="symbol">/</span><span class="normal"> b</span><span class="symbol">.</span><span class="normal">w</span>
|
1451
|
+
<span class="cbracket">}</span></pre></td>
|
1452
|
+
</tr>
|
1453
|
+
</tbody>
|
1454
|
+
</table>
|
1455
|
+
</div>
|
1456
|
+
|
1457
|
+
<p></p>
|
1458
|
+
<div class="refsect3">
|
1459
|
+
<a name="graphene-simd4f-div.parameters"></a><h4>Parameters</h4>
|
1460
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1461
|
+
<colgroup>
|
1462
|
+
<col width="150px" class="parameters_name">
|
1463
|
+
<col class="parameters_description">
|
1464
|
+
<col width="200px" class="parameters_annotations">
|
1465
|
+
</colgroup>
|
1466
|
+
<tbody>
|
1467
|
+
<tr>
|
1468
|
+
<td class="parameter_name"><p>a</p></td>
|
1469
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
1470
|
+
<td class="parameter_annotations"> </td>
|
1471
|
+
</tr>
|
1472
|
+
<tr>
|
1473
|
+
<td class="parameter_name"><p>b</p></td>
|
1474
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
1475
|
+
<td class="parameter_annotations"> </td>
|
1476
|
+
</tr>
|
1477
|
+
</tbody>
|
1478
|
+
</table></div>
|
1479
|
+
</div>
|
1480
|
+
<div class="refsect3">
|
1481
|
+
<a name="graphene-simd4f-div.returns"></a><h4>Returns</h4>
|
1482
|
+
<p> the division vector</p>
|
1483
|
+
</div>
|
1484
|
+
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
1485
|
+
</div>
|
1486
|
+
<hr>
|
1487
|
+
<div class="refsect2">
|
1488
|
+
<a name="graphene-simd4f-sqrt"></a><h3>graphene_simd4f_sqrt ()</h3>
|
1489
|
+
<pre class="programlisting"><a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
1490
|
+
graphene_simd4f_sqrt (<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> s</code></em>);</pre>
|
1491
|
+
<p>Computes the square root of every component of <em class="parameter"><code>s</code></em>
|
1492
|
+
.</p>
|
1493
|
+
<div class="informalexample">
|
1494
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
1495
|
+
<tbody>
|
1496
|
+
<tr>
|
1497
|
+
<td class="listing_lines" align="right"><pre>1
|
1498
|
+
2
|
1499
|
+
3
|
1500
|
+
4
|
1501
|
+
5
|
1502
|
+
6</pre></td>
|
1503
|
+
<td class="listing_code"><pre class="programlisting"><span class="cbracket">{</span>
|
1504
|
+
<span class="normal"> </span><span class="symbol">.</span><span class="normal">x </span><span class="symbol">=</span><span class="normal"> </span><span class="function">sqrt</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">s</span><span class="symbol">.</span><span class="normal">x</span><span class="symbol">),</span>
|
1505
|
+
<span class="normal"> </span><span class="symbol">.</span><span class="normal">y </span><span class="symbol">=</span><span class="normal"> </span><span class="function">sqrt</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">s</span><span class="symbol">.</span><span class="normal">y</span><span class="symbol">),</span>
|
1506
|
+
<span class="normal"> </span><span class="symbol">.</span><span class="normal">z </span><span class="symbol">=</span><span class="normal"> </span><span class="function">sqrt</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">s</span><span class="symbol">.</span><span class="normal">z</span><span class="symbol">),</span>
|
1507
|
+
<span class="normal"> </span><span class="symbol">.</span><span class="normal">w </span><span class="symbol">=</span><span class="normal"> </span><span class="function">sqrt</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">s</span><span class="symbol">.</span><span class="normal">w</span><span class="symbol">)</span>
|
1508
|
+
<span class="cbracket">}</span></pre></td>
|
1509
|
+
</tr>
|
1510
|
+
</tbody>
|
1511
|
+
</table>
|
1512
|
+
</div>
|
1513
|
+
|
1514
|
+
<p></p>
|
1515
|
+
<div class="refsect3">
|
1516
|
+
<a name="graphene-simd4f-sqrt.parameters"></a><h4>Parameters</h4>
|
1517
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1518
|
+
<colgroup>
|
1519
|
+
<col width="150px" class="parameters_name">
|
1520
|
+
<col class="parameters_description">
|
1521
|
+
<col width="200px" class="parameters_annotations">
|
1522
|
+
</colgroup>
|
1523
|
+
<tbody><tr>
|
1524
|
+
<td class="parameter_name"><p>s</p></td>
|
1525
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
1526
|
+
<td class="parameter_annotations"> </td>
|
1527
|
+
</tr></tbody>
|
1528
|
+
</table></div>
|
1529
|
+
</div>
|
1530
|
+
<div class="refsect3">
|
1531
|
+
<a name="graphene-simd4f-sqrt.returns"></a><h4>Returns</h4>
|
1532
|
+
<p> a vector containing the square root of the
|
1533
|
+
passed vector</p>
|
1534
|
+
</div>
|
1535
|
+
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
1536
|
+
</div>
|
1537
|
+
<hr>
|
1538
|
+
<div class="refsect2">
|
1539
|
+
<a name="graphene-simd4f-reciprocal"></a><h3>graphene_simd4f_reciprocal ()</h3>
|
1540
|
+
<pre class="programlisting"><a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
1541
|
+
graphene_simd4f_reciprocal (<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> s</code></em>);</pre>
|
1542
|
+
<p>Computes the reciprocal of every component of <em class="parameter"><code>s</code></em>
|
1543
|
+
.</p>
|
1544
|
+
<div class="informalexample">
|
1545
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
1546
|
+
<tbody>
|
1547
|
+
<tr>
|
1548
|
+
<td class="listing_lines" align="right"><pre>1
|
1549
|
+
2
|
1550
|
+
3
|
1551
|
+
4
|
1552
|
+
5
|
1553
|
+
6</pre></td>
|
1554
|
+
<td class="listing_code"><pre class="programlisting"><span class="cbracket">{</span>
|
1555
|
+
<span class="normal"> </span><span class="symbol">.</span><span class="normal">x </span><span class="symbol">=</span><span class="normal"> </span><span class="number">1.0</span><span class="normal"> </span><span class="symbol">/</span><span class="normal"> s</span><span class="symbol">.</span><span class="normal">x</span><span class="symbol">,</span>
|
1556
|
+
<span class="normal"> </span><span class="symbol">.</span><span class="normal">y </span><span class="symbol">=</span><span class="normal"> </span><span class="number">1.0</span><span class="normal"> </span><span class="symbol">/</span><span class="normal"> s</span><span class="symbol">.</span><span class="normal">y</span><span class="symbol">,</span>
|
1557
|
+
<span class="normal"> </span><span class="symbol">.</span><span class="normal">z </span><span class="symbol">=</span><span class="normal"> </span><span class="number">1.0</span><span class="normal"> </span><span class="symbol">/</span><span class="normal"> s</span><span class="symbol">.</span><span class="normal">z</span><span class="symbol">,</span>
|
1558
|
+
<span class="normal"> </span><span class="symbol">.</span><span class="normal">w </span><span class="symbol">=</span><span class="normal"> </span><span class="number">1.0</span><span class="normal"> </span><span class="symbol">/</span><span class="normal"> s</span><span class="symbol">.</span><span class="normal">w</span>
|
1559
|
+
<span class="cbracket">}</span></pre></td>
|
1560
|
+
</tr>
|
1561
|
+
</tbody>
|
1562
|
+
</table>
|
1563
|
+
</div>
|
1564
|
+
|
1565
|
+
<p></p>
|
1566
|
+
<div class="refsect3">
|
1567
|
+
<a name="graphene-simd4f-reciprocal.parameters"></a><h4>Parameters</h4>
|
1568
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1569
|
+
<colgroup>
|
1570
|
+
<col width="150px" class="parameters_name">
|
1571
|
+
<col class="parameters_description">
|
1572
|
+
<col width="200px" class="parameters_annotations">
|
1573
|
+
</colgroup>
|
1574
|
+
<tbody><tr>
|
1575
|
+
<td class="parameter_name"><p>s</p></td>
|
1576
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
1577
|
+
<td class="parameter_annotations"> </td>
|
1578
|
+
</tr></tbody>
|
1579
|
+
</table></div>
|
1580
|
+
</div>
|
1581
|
+
<div class="refsect3">
|
1582
|
+
<a name="graphene-simd4f-reciprocal.returns"></a><h4>Returns</h4>
|
1583
|
+
<p> a vector containing the reciprocal of the
|
1584
|
+
passed vector</p>
|
1585
|
+
</div>
|
1586
|
+
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
1587
|
+
</div>
|
1588
|
+
<hr>
|
1589
|
+
<div class="refsect2">
|
1590
|
+
<a name="graphene-simd4f-rsqrt"></a><h3>graphene_simd4f_rsqrt ()</h3>
|
1591
|
+
<pre class="programlisting"><a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
1592
|
+
graphene_simd4f_rsqrt (<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> s</code></em>);</pre>
|
1593
|
+
<p>Computes the reciprocal square root of every component
|
1594
|
+
of <em class="parameter"><code>s</code></em>
|
1595
|
+
.</p>
|
1596
|
+
<div class="informalexample">
|
1597
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
1598
|
+
<tbody>
|
1599
|
+
<tr>
|
1600
|
+
<td class="listing_lines" align="right"><pre>1
|
1601
|
+
2
|
1602
|
+
3
|
1603
|
+
4
|
1604
|
+
5
|
1605
|
+
6</pre></td>
|
1606
|
+
<td class="listing_code"><pre class="programlisting"><span class="cbracket">{</span>
|
1607
|
+
<span class="normal"> </span><span class="symbol">.</span><span class="normal">x </span><span class="symbol">=</span><span class="normal"> </span><span class="number">1.0</span><span class="normal"> </span><span class="symbol">/</span><span class="normal"> </span><span class="function">sqrt</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">s</span><span class="symbol">.</span><span class="normal">x</span><span class="symbol">),</span>
|
1608
|
+
<span class="normal"> </span><span class="symbol">.</span><span class="normal">y </span><span class="symbol">=</span><span class="normal"> </span><span class="number">1.0</span><span class="normal"> </span><span class="symbol">/</span><span class="normal"> </span><span class="function">sqrt</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">s</span><span class="symbol">.</span><span class="normal">y</span><span class="symbol">),</span>
|
1609
|
+
<span class="normal"> </span><span class="symbol">.</span><span class="normal">z </span><span class="symbol">=</span><span class="normal"> </span><span class="number">1.0</span><span class="normal"> </span><span class="symbol">/</span><span class="normal"> </span><span class="function">sqrt</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">s</span><span class="symbol">.</span><span class="normal">z</span><span class="symbol">),</span>
|
1610
|
+
<span class="normal"> </span><span class="symbol">.</span><span class="normal">w </span><span class="symbol">=</span><span class="normal"> </span><span class="number">1.0</span><span class="normal"> </span><span class="symbol">/</span><span class="normal"> </span><span class="function">sqrt</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">s</span><span class="symbol">.</span><span class="normal">w</span><span class="symbol">)</span>
|
1611
|
+
<span class="cbracket">}</span></pre></td>
|
1612
|
+
</tr>
|
1613
|
+
</tbody>
|
1614
|
+
</table>
|
1615
|
+
</div>
|
1616
|
+
|
1617
|
+
<p></p>
|
1618
|
+
<div class="refsect3">
|
1619
|
+
<a name="graphene-simd4f-rsqrt.parameters"></a><h4>Parameters</h4>
|
1620
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1621
|
+
<colgroup>
|
1622
|
+
<col width="150px" class="parameters_name">
|
1623
|
+
<col class="parameters_description">
|
1624
|
+
<col width="200px" class="parameters_annotations">
|
1625
|
+
</colgroup>
|
1626
|
+
<tbody><tr>
|
1627
|
+
<td class="parameter_name"><p>s</p></td>
|
1628
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
1629
|
+
<td class="parameter_annotations"> </td>
|
1630
|
+
</tr></tbody>
|
1631
|
+
</table></div>
|
1632
|
+
</div>
|
1633
|
+
<div class="refsect3">
|
1634
|
+
<a name="graphene-simd4f-rsqrt.returns"></a><h4>Returns</h4>
|
1635
|
+
<p> a vector containing the reciprocal square root
|
1636
|
+
of the passed vector</p>
|
1637
|
+
</div>
|
1638
|
+
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
1639
|
+
</div>
|
1640
|
+
<hr>
|
1641
|
+
<div class="refsect2">
|
1642
|
+
<a name="graphene-simd4f-cross3"></a><h3>graphene_simd4f_cross3 ()</h3>
|
1643
|
+
<pre class="programlisting"><a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
1644
|
+
graphene_simd4f_cross3 (<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> a</code></em>,
|
1645
|
+
<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> b</code></em>);</pre>
|
1646
|
+
<p>Creates a new <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> vector where each
|
1647
|
+
component contains the 3-way cross product of the
|
1648
|
+
given <em class="parameter"><code>a</code></em>
|
1649
|
+
and <em class="parameter"><code>b</code></em>
|
1650
|
+
vectors.</p>
|
1651
|
+
<div class="refsect3">
|
1652
|
+
<a name="graphene-simd4f-cross3.parameters"></a><h4>Parameters</h4>
|
1653
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1654
|
+
<colgroup>
|
1655
|
+
<col width="150px" class="parameters_name">
|
1656
|
+
<col class="parameters_description">
|
1657
|
+
<col width="200px" class="parameters_annotations">
|
1658
|
+
</colgroup>
|
1659
|
+
<tbody>
|
1660
|
+
<tr>
|
1661
|
+
<td class="parameter_name"><p>a</p></td>
|
1662
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
1663
|
+
<td class="parameter_annotations"> </td>
|
1664
|
+
</tr>
|
1665
|
+
<tr>
|
1666
|
+
<td class="parameter_name"><p>b</p></td>
|
1667
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
1668
|
+
<td class="parameter_annotations"> </td>
|
1669
|
+
</tr>
|
1670
|
+
</tbody>
|
1671
|
+
</table></div>
|
1672
|
+
</div>
|
1673
|
+
<div class="refsect3">
|
1674
|
+
<a name="graphene-simd4f-cross3.returns"></a><h4>Returns</h4>
|
1675
|
+
<p> the cross3 vector</p>
|
1676
|
+
</div>
|
1677
|
+
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
1678
|
+
</div>
|
1679
|
+
<hr>
|
1680
|
+
<div class="refsect2">
|
1681
|
+
<a name="graphene-simd4f-min"></a><h3>graphene_simd4f_min ()</h3>
|
1682
|
+
<pre class="programlisting"><a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
1683
|
+
graphene_simd4f_min (<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> a</code></em>,
|
1684
|
+
<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> b</code></em>);</pre>
|
1685
|
+
<p>Creates a new <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> that contains the
|
1686
|
+
minimum value of each component of <em class="parameter"><code>a</code></em>
|
1687
|
+
and <em class="parameter"><code>b</code></em>
|
1688
|
+
.</p>
|
1689
|
+
<div class="refsect3">
|
1690
|
+
<a name="graphene-simd4f-min.parameters"></a><h4>Parameters</h4>
|
1691
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1692
|
+
<colgroup>
|
1693
|
+
<col width="150px" class="parameters_name">
|
1694
|
+
<col class="parameters_description">
|
1695
|
+
<col width="200px" class="parameters_annotations">
|
1696
|
+
</colgroup>
|
1697
|
+
<tbody>
|
1698
|
+
<tr>
|
1699
|
+
<td class="parameter_name"><p>a</p></td>
|
1700
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
1701
|
+
<td class="parameter_annotations"> </td>
|
1702
|
+
</tr>
|
1703
|
+
<tr>
|
1704
|
+
<td class="parameter_name"><p>b</p></td>
|
1705
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
1706
|
+
<td class="parameter_annotations"> </td>
|
1707
|
+
</tr>
|
1708
|
+
</tbody>
|
1709
|
+
</table></div>
|
1710
|
+
</div>
|
1711
|
+
<div class="refsect3">
|
1712
|
+
<a name="graphene-simd4f-min.returns"></a><h4>Returns</h4>
|
1713
|
+
<p> the new minimum vector</p>
|
1714
|
+
</div>
|
1715
|
+
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
1716
|
+
</div>
|
1717
|
+
<hr>
|
1718
|
+
<div class="refsect2">
|
1719
|
+
<a name="graphene-simd4f-max"></a><h3>graphene_simd4f_max ()</h3>
|
1720
|
+
<pre class="programlisting"><a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
1721
|
+
graphene_simd4f_max (<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> a</code></em>,
|
1722
|
+
<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> b</code></em>);</pre>
|
1723
|
+
<p>Creates a new <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> that contains the
|
1724
|
+
maximum value of each component of <em class="parameter"><code>a</code></em>
|
1725
|
+
and <em class="parameter"><code>b</code></em>
|
1726
|
+
.</p>
|
1727
|
+
<div class="refsect3">
|
1728
|
+
<a name="graphene-simd4f-max.parameters"></a><h4>Parameters</h4>
|
1729
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1730
|
+
<colgroup>
|
1731
|
+
<col width="150px" class="parameters_name">
|
1732
|
+
<col class="parameters_description">
|
1733
|
+
<col width="200px" class="parameters_annotations">
|
1734
|
+
</colgroup>
|
1735
|
+
<tbody>
|
1736
|
+
<tr>
|
1737
|
+
<td class="parameter_name"><p>a</p></td>
|
1738
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
1739
|
+
<td class="parameter_annotations"> </td>
|
1740
|
+
</tr>
|
1741
|
+
<tr>
|
1742
|
+
<td class="parameter_name"><p>b</p></td>
|
1743
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
1744
|
+
<td class="parameter_annotations"> </td>
|
1745
|
+
</tr>
|
1746
|
+
</tbody>
|
1747
|
+
</table></div>
|
1748
|
+
</div>
|
1749
|
+
<div class="refsect3">
|
1750
|
+
<a name="graphene-simd4f-max.returns"></a><h4>Returns</h4>
|
1751
|
+
<p> the new maximum vector</p>
|
1752
|
+
</div>
|
1753
|
+
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
1754
|
+
</div>
|
1755
|
+
<hr>
|
1756
|
+
<div class="refsect2">
|
1757
|
+
<a name="graphene-simd4f-min-val"></a><h3>graphene_simd4f_min_val ()</h3>
|
1758
|
+
<pre class="programlisting"><a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
1759
|
+
graphene_simd4f_min_val (<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> v</code></em>);</pre>
|
1760
|
+
<p>Computes the minimum value of all the channels in the given vector.</p>
|
1761
|
+
<div class="refsect3">
|
1762
|
+
<a name="graphene-simd4f-min-val.parameters"></a><h4>Parameters</h4>
|
1763
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1764
|
+
<colgroup>
|
1765
|
+
<col width="150px" class="parameters_name">
|
1766
|
+
<col class="parameters_description">
|
1767
|
+
<col width="200px" class="parameters_annotations">
|
1768
|
+
</colgroup>
|
1769
|
+
<tbody><tr>
|
1770
|
+
<td class="parameter_name"><p>v</p></td>
|
1771
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
1772
|
+
<td class="parameter_annotations"> </td>
|
1773
|
+
</tr></tbody>
|
1774
|
+
</table></div>
|
1775
|
+
</div>
|
1776
|
+
<div class="refsect3">
|
1777
|
+
<a name="graphene-simd4f-min-val.returns"></a><h4>Returns</h4>
|
1778
|
+
<p> a vector whose components are all set to the
|
1779
|
+
minimum value in the original vector</p>
|
1780
|
+
</div>
|
1781
|
+
<p class="since">Since: <a class="link" href="ix05.html#api-index-1.4">1.4</a></p>
|
1782
|
+
</div>
|
1783
|
+
<hr>
|
1784
|
+
<div class="refsect2">
|
1785
|
+
<a name="graphene-simd4f-max-val"></a><h3>graphene_simd4f_max_val ()</h3>
|
1786
|
+
<pre class="programlisting"><a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
1787
|
+
graphene_simd4f_max_val (<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> v</code></em>);</pre>
|
1788
|
+
<p>Computes the maximum value of all the channels in the given vector.</p>
|
1789
|
+
<div class="refsect3">
|
1790
|
+
<a name="graphene-simd4f-max-val.parameters"></a><h4>Parameters</h4>
|
1791
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1792
|
+
<colgroup>
|
1793
|
+
<col width="150px" class="parameters_name">
|
1794
|
+
<col class="parameters_description">
|
1795
|
+
<col width="200px" class="parameters_annotations">
|
1796
|
+
</colgroup>
|
1797
|
+
<tbody><tr>
|
1798
|
+
<td class="parameter_name"><p>v</p></td>
|
1799
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
1800
|
+
<td class="parameter_annotations"> </td>
|
1801
|
+
</tr></tbody>
|
1802
|
+
</table></div>
|
1803
|
+
</div>
|
1804
|
+
<div class="refsect3">
|
1805
|
+
<a name="graphene-simd4f-max-val.returns"></a><h4>Returns</h4>
|
1806
|
+
<p> a vector whose components are all set to the
|
1807
|
+
maximum value in the original vector</p>
|
1808
|
+
</div>
|
1809
|
+
<p class="since">Since: <a class="link" href="ix05.html#api-index-1.4">1.4</a></p>
|
1810
|
+
</div>
|
1811
|
+
<hr>
|
1812
|
+
<div class="refsect2">
|
1813
|
+
<a name="graphene-simd4f-clamp"></a><h3>graphene_simd4f_clamp ()</h3>
|
1814
|
+
<pre class="programlisting"><a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
1815
|
+
graphene_simd4f_clamp (<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> v</code></em>,
|
1816
|
+
<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> min</code></em>,
|
1817
|
+
<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> max</code></em>);</pre>
|
1818
|
+
<p>Ensures that all components of the vector <em class="parameter"><code>v</code></em>
|
1819
|
+
are within
|
1820
|
+
the components of the <em class="parameter"><code>lower</code></em>
|
1821
|
+
and <em class="parameter"><code>upper</code></em>
|
1822
|
+
boundaries.</p>
|
1823
|
+
<div class="refsect3">
|
1824
|
+
<a name="graphene-simd4f-clamp.parameters"></a><h4>Parameters</h4>
|
1825
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1826
|
+
<colgroup>
|
1827
|
+
<col width="150px" class="parameters_name">
|
1828
|
+
<col class="parameters_description">
|
1829
|
+
<col width="200px" class="parameters_annotations">
|
1830
|
+
</colgroup>
|
1831
|
+
<tbody>
|
1832
|
+
<tr>
|
1833
|
+
<td class="parameter_name"><p>v</p></td>
|
1834
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
1835
|
+
<td class="parameter_annotations"> </td>
|
1836
|
+
</tr>
|
1837
|
+
<tr>
|
1838
|
+
<td class="parameter_name"><p>min</p></td>
|
1839
|
+
<td class="parameter_description"><p>the lower boundary</p></td>
|
1840
|
+
<td class="parameter_annotations"> </td>
|
1841
|
+
</tr>
|
1842
|
+
<tr>
|
1843
|
+
<td class="parameter_name"><p>max</p></td>
|
1844
|
+
<td class="parameter_description"><p>the upper boundary</p></td>
|
1845
|
+
<td class="parameter_annotations"> </td>
|
1846
|
+
</tr>
|
1847
|
+
</tbody>
|
1848
|
+
</table></div>
|
1849
|
+
</div>
|
1850
|
+
<div class="refsect3">
|
1851
|
+
<a name="graphene-simd4f-clamp.returns"></a><h4>Returns</h4>
|
1852
|
+
<p> the clamped vector</p>
|
1853
|
+
</div>
|
1854
|
+
<p class="since">Since: <a class="link" href="ix04.html#api-index-1.2">1.2</a></p>
|
1855
|
+
</div>
|
1856
|
+
<hr>
|
1857
|
+
<div class="refsect2">
|
1858
|
+
<a name="graphene-simd4f-clamp-scalar"></a><h3>graphene_simd4f_clamp_scalar ()</h3>
|
1859
|
+
<pre class="programlisting"><a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
1860
|
+
graphene_simd4f_clamp_scalar (<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> v</code></em>,
|
1861
|
+
<em class="parameter"><code><span class="type">float</span> min</code></em>,
|
1862
|
+
<em class="parameter"><code><span class="type">float</span> max</code></em>);</pre>
|
1863
|
+
<p>Ensures that all components of the vector <em class="parameter"><code>v</code></em>
|
1864
|
+
are within
|
1865
|
+
the <em class="parameter"><code>lower</code></em>
|
1866
|
+
and <em class="parameter"><code>upper</code></em>
|
1867
|
+
boundary scalar values.</p>
|
1868
|
+
<div class="refsect3">
|
1869
|
+
<a name="graphene-simd4f-clamp-scalar.parameters"></a><h4>Parameters</h4>
|
1870
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1871
|
+
<colgroup>
|
1872
|
+
<col width="150px" class="parameters_name">
|
1873
|
+
<col class="parameters_description">
|
1874
|
+
<col width="200px" class="parameters_annotations">
|
1875
|
+
</colgroup>
|
1876
|
+
<tbody>
|
1877
|
+
<tr>
|
1878
|
+
<td class="parameter_name"><p>v</p></td>
|
1879
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
1880
|
+
<td class="parameter_annotations"> </td>
|
1881
|
+
</tr>
|
1882
|
+
<tr>
|
1883
|
+
<td class="parameter_name"><p>min</p></td>
|
1884
|
+
<td class="parameter_description"><p>the lower boundary</p></td>
|
1885
|
+
<td class="parameter_annotations"> </td>
|
1886
|
+
</tr>
|
1887
|
+
<tr>
|
1888
|
+
<td class="parameter_name"><p>max</p></td>
|
1889
|
+
<td class="parameter_description"><p>the upper boundary</p></td>
|
1890
|
+
<td class="parameter_annotations"> </td>
|
1891
|
+
</tr>
|
1892
|
+
</tbody>
|
1893
|
+
</table></div>
|
1894
|
+
</div>
|
1895
|
+
<div class="refsect3">
|
1896
|
+
<a name="graphene-simd4f-clamp-scalar.returns"></a><h4>Returns</h4>
|
1897
|
+
<p> the clamped vector</p>
|
1898
|
+
</div>
|
1899
|
+
<p class="since">Since: <a class="link" href="ix04.html#api-index-1.2">1.2</a></p>
|
1900
|
+
</div>
|
1901
|
+
<hr>
|
1902
|
+
<div class="refsect2">
|
1903
|
+
<a name="graphene-simd4f-shuffle-wxyz"></a><h3>graphene_simd4f_shuffle_wxyz ()</h3>
|
1904
|
+
<pre class="programlisting"><a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
1905
|
+
graphene_simd4f_shuffle_wxyz (<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> s</code></em>);</pre>
|
1906
|
+
<p>Creates a new <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> that contains the
|
1907
|
+
re-ordered values of the W, X, Y, and Z components
|
1908
|
+
of <em class="parameter"><code>s</code></em>
|
1909
|
+
.</p>
|
1910
|
+
<div class="refsect3">
|
1911
|
+
<a name="graphene-simd4f-shuffle-wxyz.parameters"></a><h4>Parameters</h4>
|
1912
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1913
|
+
<colgroup>
|
1914
|
+
<col width="150px" class="parameters_name">
|
1915
|
+
<col class="parameters_description">
|
1916
|
+
<col width="200px" class="parameters_annotations">
|
1917
|
+
</colgroup>
|
1918
|
+
<tbody><tr>
|
1919
|
+
<td class="parameter_name"><p>s</p></td>
|
1920
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
1921
|
+
<td class="parameter_annotations"> </td>
|
1922
|
+
</tr></tbody>
|
1923
|
+
</table></div>
|
1924
|
+
</div>
|
1925
|
+
<div class="refsect3">
|
1926
|
+
<a name="graphene-simd4f-shuffle-wxyz.returns"></a><h4>Returns</h4>
|
1927
|
+
<p> the new vector</p>
|
1928
|
+
</div>
|
1929
|
+
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
1930
|
+
</div>
|
1931
|
+
<hr>
|
1932
|
+
<div class="refsect2">
|
1933
|
+
<a name="graphene-simd4f-shuffle-zwxy"></a><h3>graphene_simd4f_shuffle_zwxy ()</h3>
|
1934
|
+
<pre class="programlisting"><a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
1935
|
+
graphene_simd4f_shuffle_zwxy (<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> s</code></em>);</pre>
|
1936
|
+
<p>Creates a new <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> that contains the
|
1937
|
+
re-ordered values of the Z, W, X, and Y components
|
1938
|
+
of <em class="parameter"><code>s</code></em>
|
1939
|
+
.</p>
|
1940
|
+
<div class="refsect3">
|
1941
|
+
<a name="graphene-simd4f-shuffle-zwxy.parameters"></a><h4>Parameters</h4>
|
1942
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1943
|
+
<colgroup>
|
1944
|
+
<col width="150px" class="parameters_name">
|
1945
|
+
<col class="parameters_description">
|
1946
|
+
<col width="200px" class="parameters_annotations">
|
1947
|
+
</colgroup>
|
1948
|
+
<tbody><tr>
|
1949
|
+
<td class="parameter_name"><p>s</p></td>
|
1950
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
1951
|
+
<td class="parameter_annotations"> </td>
|
1952
|
+
</tr></tbody>
|
1953
|
+
</table></div>
|
1954
|
+
</div>
|
1955
|
+
<div class="refsect3">
|
1956
|
+
<a name="graphene-simd4f-shuffle-zwxy.returns"></a><h4>Returns</h4>
|
1957
|
+
<p> the new vector</p>
|
1958
|
+
</div>
|
1959
|
+
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
1960
|
+
</div>
|
1961
|
+
<hr>
|
1962
|
+
<div class="refsect2">
|
1963
|
+
<a name="graphene-simd4f-shuffle-yzwx"></a><h3>graphene_simd4f_shuffle_yzwx ()</h3>
|
1964
|
+
<pre class="programlisting"><a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
1965
|
+
graphene_simd4f_shuffle_yzwx (<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> s</code></em>);</pre>
|
1966
|
+
<p>Creates a new <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> that contains the
|
1967
|
+
re-ordered values of the Y, Z, W, and X components
|
1968
|
+
of <em class="parameter"><code>s</code></em>
|
1969
|
+
.</p>
|
1970
|
+
<div class="refsect3">
|
1971
|
+
<a name="graphene-simd4f-shuffle-yzwx.parameters"></a><h4>Parameters</h4>
|
1972
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1973
|
+
<colgroup>
|
1974
|
+
<col width="150px" class="parameters_name">
|
1975
|
+
<col class="parameters_description">
|
1976
|
+
<col width="200px" class="parameters_annotations">
|
1977
|
+
</colgroup>
|
1978
|
+
<tbody><tr>
|
1979
|
+
<td class="parameter_name"><p>s</p></td>
|
1980
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
1981
|
+
<td class="parameter_annotations"> </td>
|
1982
|
+
</tr></tbody>
|
1983
|
+
</table></div>
|
1984
|
+
</div>
|
1985
|
+
<div class="refsect3">
|
1986
|
+
<a name="graphene-simd4f-shuffle-yzwx.returns"></a><h4>Returns</h4>
|
1987
|
+
<p> the new vector</p>
|
1988
|
+
</div>
|
1989
|
+
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
1990
|
+
</div>
|
1991
|
+
<hr>
|
1992
|
+
<div class="refsect2">
|
1993
|
+
<a name="graphene-simd4f-zero-w"></a><h3>graphene_simd4f_zero_w ()</h3>
|
1994
|
+
<pre class="programlisting"><a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
1995
|
+
graphene_simd4f_zero_w (<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> s</code></em>);</pre>
|
1996
|
+
<p>Creates a new <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> that contains the
|
1997
|
+
same values of the given <em class="parameter"><code>s</code></em>
|
1998
|
+
vector, except for the
|
1999
|
+
W component, which is set to 0.</p>
|
2000
|
+
<div class="refsect3">
|
2001
|
+
<a name="graphene-simd4f-zero-w.parameters"></a><h4>Parameters</h4>
|
2002
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2003
|
+
<colgroup>
|
2004
|
+
<col width="150px" class="parameters_name">
|
2005
|
+
<col class="parameters_description">
|
2006
|
+
<col width="200px" class="parameters_annotations">
|
2007
|
+
</colgroup>
|
2008
|
+
<tbody><tr>
|
2009
|
+
<td class="parameter_name"><p>s</p></td>
|
2010
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
2011
|
+
<td class="parameter_annotations"> </td>
|
2012
|
+
</tr></tbody>
|
2013
|
+
</table></div>
|
2014
|
+
</div>
|
2015
|
+
<div class="refsect3">
|
2016
|
+
<a name="graphene-simd4f-zero-w.returns"></a><h4>Returns</h4>
|
2017
|
+
<p> the new vector</p>
|
2018
|
+
</div>
|
2019
|
+
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
2020
|
+
</div>
|
2021
|
+
<hr>
|
2022
|
+
<div class="refsect2">
|
2023
|
+
<a name="graphene-simd4f-zero-zw"></a><h3>graphene_simd4f_zero_zw ()</h3>
|
2024
|
+
<pre class="programlisting"><a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
2025
|
+
graphene_simd4f_zero_zw (<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> s</code></em>);</pre>
|
2026
|
+
<p>Creates a new <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> that contains the
|
2027
|
+
same values of the given <em class="parameter"><code>s</code></em>
|
2028
|
+
vector, except for the
|
2029
|
+
Z and W components, which are set to 0.</p>
|
2030
|
+
<div class="refsect3">
|
2031
|
+
<a name="graphene-simd4f-zero-zw.parameters"></a><h4>Parameters</h4>
|
2032
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2033
|
+
<colgroup>
|
2034
|
+
<col width="150px" class="parameters_name">
|
2035
|
+
<col class="parameters_description">
|
2036
|
+
<col width="200px" class="parameters_annotations">
|
2037
|
+
</colgroup>
|
2038
|
+
<tbody><tr>
|
2039
|
+
<td class="parameter_name"><p>s</p></td>
|
2040
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
2041
|
+
<td class="parameter_annotations"> </td>
|
2042
|
+
</tr></tbody>
|
2043
|
+
</table></div>
|
2044
|
+
</div>
|
2045
|
+
<div class="refsect3">
|
2046
|
+
<a name="graphene-simd4f-zero-zw.returns"></a><h4>Returns</h4>
|
2047
|
+
<p> the new vector</p>
|
2048
|
+
</div>
|
2049
|
+
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
2050
|
+
</div>
|
2051
|
+
<hr>
|
2052
|
+
<div class="refsect2">
|
2053
|
+
<a name="graphene-simd4f-merge-w"></a><h3>graphene_simd4f_merge_w ()</h3>
|
2054
|
+
<pre class="programlisting"><a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
2055
|
+
graphene_simd4f_merge_w (<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> s</code></em>,
|
2056
|
+
<em class="parameter"><code><span class="type">float</span> v</code></em>);</pre>
|
2057
|
+
<p>Creates a new <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> that contains the
|
2058
|
+
same values of the given <em class="parameter"><code>s</code></em>
|
2059
|
+
vector, except for the
|
2060
|
+
W component, which is set to <em class="parameter"><code>v</code></em>
|
2061
|
+
.</p>
|
2062
|
+
<div class="refsect3">
|
2063
|
+
<a name="graphene-simd4f-merge-w.parameters"></a><h4>Parameters</h4>
|
2064
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2065
|
+
<colgroup>
|
2066
|
+
<col width="150px" class="parameters_name">
|
2067
|
+
<col class="parameters_description">
|
2068
|
+
<col width="200px" class="parameters_annotations">
|
2069
|
+
</colgroup>
|
2070
|
+
<tbody>
|
2071
|
+
<tr>
|
2072
|
+
<td class="parameter_name"><p>s</p></td>
|
2073
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
2074
|
+
<td class="parameter_annotations"> </td>
|
2075
|
+
</tr>
|
2076
|
+
<tr>
|
2077
|
+
<td class="parameter_name"><p>v</p></td>
|
2078
|
+
<td class="parameter_description"><p>the new value of the W component</p></td>
|
2079
|
+
<td class="parameter_annotations"> </td>
|
2080
|
+
</tr>
|
2081
|
+
</tbody>
|
2082
|
+
</table></div>
|
2083
|
+
</div>
|
2084
|
+
<div class="refsect3">
|
2085
|
+
<a name="graphene-simd4f-merge-w.returns"></a><h4>Returns</h4>
|
2086
|
+
<p> the new vector</p>
|
2087
|
+
</div>
|
2088
|
+
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
2089
|
+
</div>
|
2090
|
+
<hr>
|
2091
|
+
<div class="refsect2">
|
2092
|
+
<a name="graphene-simd4f-merge-high"></a><h3>graphene_simd4f_merge_high ()</h3>
|
2093
|
+
<pre class="programlisting"><a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
2094
|
+
graphene_simd4f_merge_high (<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> a</code></em>,
|
2095
|
+
<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> b</code></em>);</pre>
|
2096
|
+
<p>Creates a new <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> that contains the
|
2097
|
+
last two components of the vector <em class="parameter"><code>a</code></em>
|
2098
|
+
and the last
|
2099
|
+
two components of the vector <em class="parameter"><code>b</code></em>
|
2100
|
+
.</p>
|
2101
|
+
<div class="refsect3">
|
2102
|
+
<a name="graphene-simd4f-merge-high.parameters"></a><h4>Parameters</h4>
|
2103
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2104
|
+
<colgroup>
|
2105
|
+
<col width="150px" class="parameters_name">
|
2106
|
+
<col class="parameters_description">
|
2107
|
+
<col width="200px" class="parameters_annotations">
|
2108
|
+
</colgroup>
|
2109
|
+
<tbody>
|
2110
|
+
<tr>
|
2111
|
+
<td class="parameter_name"><p>a</p></td>
|
2112
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
2113
|
+
<td class="parameter_annotations"> </td>
|
2114
|
+
</tr>
|
2115
|
+
<tr>
|
2116
|
+
<td class="parameter_name"><p>b</p></td>
|
2117
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
2118
|
+
<td class="parameter_annotations"> </td>
|
2119
|
+
</tr>
|
2120
|
+
</tbody>
|
2121
|
+
</table></div>
|
2122
|
+
</div>
|
2123
|
+
<div class="refsect3">
|
2124
|
+
<a name="graphene-simd4f-merge-high.returns"></a><h4>Returns</h4>
|
2125
|
+
<p> the new vector</p>
|
2126
|
+
</div>
|
2127
|
+
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
2128
|
+
</div>
|
2129
|
+
<hr>
|
2130
|
+
<div class="refsect2">
|
2131
|
+
<a name="graphene-simd4f-merge-low"></a><h3>graphene_simd4f_merge_low ()</h3>
|
2132
|
+
<pre class="programlisting"><a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
2133
|
+
graphene_simd4f_merge_low (<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> a</code></em>,
|
2134
|
+
<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> b</code></em>);</pre>
|
2135
|
+
<p>Creates a new <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> that contains the
|
2136
|
+
first two components of the vector <em class="parameter"><code>a</code></em>
|
2137
|
+
and the first
|
2138
|
+
two components of the vector <em class="parameter"><code>b</code></em>
|
2139
|
+
.</p>
|
2140
|
+
<div class="refsect3">
|
2141
|
+
<a name="graphene-simd4f-merge-low.parameters"></a><h4>Parameters</h4>
|
2142
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2143
|
+
<colgroup>
|
2144
|
+
<col width="150px" class="parameters_name">
|
2145
|
+
<col class="parameters_description">
|
2146
|
+
<col width="200px" class="parameters_annotations">
|
2147
|
+
</colgroup>
|
2148
|
+
<tbody>
|
2149
|
+
<tr>
|
2150
|
+
<td class="parameter_name"><p>a</p></td>
|
2151
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
2152
|
+
<td class="parameter_annotations"> </td>
|
2153
|
+
</tr>
|
2154
|
+
<tr>
|
2155
|
+
<td class="parameter_name"><p>b</p></td>
|
2156
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
2157
|
+
<td class="parameter_annotations"> </td>
|
2158
|
+
</tr>
|
2159
|
+
</tbody>
|
2160
|
+
</table></div>
|
2161
|
+
</div>
|
2162
|
+
<div class="refsect3">
|
2163
|
+
<a name="graphene-simd4f-merge-low.returns"></a><h4>Returns</h4>
|
2164
|
+
<p> the new vector</p>
|
2165
|
+
</div>
|
2166
|
+
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
2167
|
+
</div>
|
2168
|
+
<hr>
|
2169
|
+
<div class="refsect2">
|
2170
|
+
<a name="graphene-simd4f-flip-sign-0101"></a><h3>graphene_simd4f_flip_sign_0101 ()</h3>
|
2171
|
+
<pre class="programlisting"><a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
2172
|
+
graphene_simd4f_flip_sign_0101 (<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> s</code></em>);</pre>
|
2173
|
+
<p>Flips the signs of the second and fourth components of
|
2174
|
+
the given vector <em class="parameter"><code>s</code></em>
|
2175
|
+
.</p>
|
2176
|
+
<div class="refsect3">
|
2177
|
+
<a name="graphene-simd4f-flip-sign-0101.parameters"></a><h4>Parameters</h4>
|
2178
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2179
|
+
<colgroup>
|
2180
|
+
<col width="150px" class="parameters_name">
|
2181
|
+
<col class="parameters_description">
|
2182
|
+
<col width="200px" class="parameters_annotations">
|
2183
|
+
</colgroup>
|
2184
|
+
<tbody><tr>
|
2185
|
+
<td class="parameter_name"><p>s</p></td>
|
2186
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
2187
|
+
<td class="parameter_annotations"> </td>
|
2188
|
+
</tr></tbody>
|
2189
|
+
</table></div>
|
2190
|
+
</div>
|
2191
|
+
<div class="refsect3">
|
2192
|
+
<a name="graphene-simd4f-flip-sign-0101.returns"></a><h4>Returns</h4>
|
2193
|
+
<p> the new vector, with the changed signs</p>
|
2194
|
+
</div>
|
2195
|
+
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
2196
|
+
</div>
|
2197
|
+
<hr>
|
2198
|
+
<div class="refsect2">
|
2199
|
+
<a name="graphene-simd4f-flip-sign-1010"></a><h3>graphene_simd4f_flip_sign_1010 ()</h3>
|
2200
|
+
<pre class="programlisting"><a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
2201
|
+
graphene_simd4f_flip_sign_1010 (<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> s</code></em>);</pre>
|
2202
|
+
<p>Flips the signs of the first and third components of
|
2203
|
+
the given vector <em class="parameter"><code>s</code></em>
|
2204
|
+
.</p>
|
2205
|
+
<div class="refsect3">
|
2206
|
+
<a name="graphene-simd4f-flip-sign-1010.parameters"></a><h4>Parameters</h4>
|
2207
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2208
|
+
<colgroup>
|
2209
|
+
<col width="150px" class="parameters_name">
|
2210
|
+
<col class="parameters_description">
|
2211
|
+
<col width="200px" class="parameters_annotations">
|
2212
|
+
</colgroup>
|
2213
|
+
<tbody><tr>
|
2214
|
+
<td class="parameter_name"><p>s</p></td>
|
2215
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
2216
|
+
<td class="parameter_annotations"> </td>
|
2217
|
+
</tr></tbody>
|
2218
|
+
</table></div>
|
2219
|
+
</div>
|
2220
|
+
<div class="refsect3">
|
2221
|
+
<a name="graphene-simd4f-flip-sign-1010.returns"></a><h4>Returns</h4>
|
2222
|
+
<p> the new vector, with the changed signs</p>
|
2223
|
+
</div>
|
2224
|
+
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
2225
|
+
</div>
|
2226
|
+
<hr>
|
2227
|
+
<div class="refsect2">
|
2228
|
+
<a name="graphene-simd4f-cmp-eq"></a><h3>graphene_simd4f_cmp_eq ()</h3>
|
2229
|
+
<pre class="programlisting"><span class="returnvalue">bool</span>
|
2230
|
+
graphene_simd4f_cmp_eq (<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> a</code></em>,
|
2231
|
+
<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> b</code></em>);</pre>
|
2232
|
+
<p>Checks if the two given <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> are equal.</p>
|
2233
|
+
<div class="refsect3">
|
2234
|
+
<a name="graphene-simd4f-cmp-eq.parameters"></a><h4>Parameters</h4>
|
2235
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2236
|
+
<colgroup>
|
2237
|
+
<col width="150px" class="parameters_name">
|
2238
|
+
<col class="parameters_description">
|
2239
|
+
<col width="200px" class="parameters_annotations">
|
2240
|
+
</colgroup>
|
2241
|
+
<tbody>
|
2242
|
+
<tr>
|
2243
|
+
<td class="parameter_name"><p>a</p></td>
|
2244
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
2245
|
+
<td class="parameter_annotations"> </td>
|
2246
|
+
</tr>
|
2247
|
+
<tr>
|
2248
|
+
<td class="parameter_name"><p>b</p></td>
|
2249
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
2250
|
+
<td class="parameter_annotations"> </td>
|
2251
|
+
</tr>
|
2252
|
+
</tbody>
|
2253
|
+
</table></div>
|
2254
|
+
</div>
|
2255
|
+
<div class="refsect3">
|
2256
|
+
<a name="graphene-simd4f-cmp-eq.returns"></a><h4>Returns</h4>
|
2257
|
+
<p> <code class="literal">true</code> if the values of the vectors are equal</p>
|
2258
|
+
</div>
|
2259
|
+
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
2260
|
+
</div>
|
2261
|
+
<hr>
|
2262
|
+
<div class="refsect2">
|
2263
|
+
<a name="graphene-simd4f-cmp-neq"></a><h3>graphene_simd4f_cmp_neq ()</h3>
|
2264
|
+
<pre class="programlisting"><span class="returnvalue">bool</span>
|
2265
|
+
graphene_simd4f_cmp_neq (<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> a</code></em>,
|
2266
|
+
<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> b</code></em>);</pre>
|
2267
|
+
<p>Checks if the two given <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> are not equal.</p>
|
2268
|
+
<div class="refsect3">
|
2269
|
+
<a name="graphene-simd4f-cmp-neq.parameters"></a><h4>Parameters</h4>
|
2270
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2271
|
+
<colgroup>
|
2272
|
+
<col width="150px" class="parameters_name">
|
2273
|
+
<col class="parameters_description">
|
2274
|
+
<col width="200px" class="parameters_annotations">
|
2275
|
+
</colgroup>
|
2276
|
+
<tbody>
|
2277
|
+
<tr>
|
2278
|
+
<td class="parameter_name"><p>a</p></td>
|
2279
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
2280
|
+
<td class="parameter_annotations"> </td>
|
2281
|
+
</tr>
|
2282
|
+
<tr>
|
2283
|
+
<td class="parameter_name"><p>b</p></td>
|
2284
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
2285
|
+
<td class="parameter_annotations"> </td>
|
2286
|
+
</tr>
|
2287
|
+
</tbody>
|
2288
|
+
</table></div>
|
2289
|
+
</div>
|
2290
|
+
<div class="refsect3">
|
2291
|
+
<a name="graphene-simd4f-cmp-neq.returns"></a><h4>Returns</h4>
|
2292
|
+
<p> <code class="literal">true</code> if the values of the vectors are not equal</p>
|
2293
|
+
</div>
|
2294
|
+
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
2295
|
+
</div>
|
2296
|
+
<hr>
|
2297
|
+
<div class="refsect2">
|
2298
|
+
<a name="graphene-simd4f-cmp-lt"></a><h3>graphene_simd4f_cmp_lt ()</h3>
|
2299
|
+
<pre class="programlisting"><span class="returnvalue">bool</span>
|
2300
|
+
graphene_simd4f_cmp_lt (<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> a</code></em>,
|
2301
|
+
<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> b</code></em>);</pre>
|
2302
|
+
<p>Compares two <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> and checks if all components
|
2303
|
+
of the vector <em class="parameter"><code>a</code></em>
|
2304
|
+
are less than the respective components of
|
2305
|
+
the vector <em class="parameter"><code>b</code></em>
|
2306
|
+
.</p>
|
2307
|
+
<div class="refsect3">
|
2308
|
+
<a name="graphene-simd4f-cmp-lt.parameters"></a><h4>Parameters</h4>
|
2309
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2310
|
+
<colgroup>
|
2311
|
+
<col width="150px" class="parameters_name">
|
2312
|
+
<col class="parameters_description">
|
2313
|
+
<col width="200px" class="parameters_annotations">
|
2314
|
+
</colgroup>
|
2315
|
+
<tbody>
|
2316
|
+
<tr>
|
2317
|
+
<td class="parameter_name"><p>a</p></td>
|
2318
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
2319
|
+
<td class="parameter_annotations"> </td>
|
2320
|
+
</tr>
|
2321
|
+
<tr>
|
2322
|
+
<td class="parameter_name"><p>b</p></td>
|
2323
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
2324
|
+
<td class="parameter_annotations"> </td>
|
2325
|
+
</tr>
|
2326
|
+
</tbody>
|
2327
|
+
</table></div>
|
2328
|
+
</div>
|
2329
|
+
<div class="refsect3">
|
2330
|
+
<a name="graphene-simd4f-cmp-lt.returns"></a><h4>Returns</h4>
|
2331
|
+
<p> <code class="literal">true</code> if vector <em class="parameter"><code>a</code></em>
|
2332
|
+
is less than <em class="parameter"><code>b</code></em>
|
2333
|
+
</p>
|
2334
|
+
</div>
|
2335
|
+
<p class="since">Since: <a class="link" href="ix04.html#api-index-1.2">1.2</a></p>
|
2336
|
+
</div>
|
2337
|
+
<hr>
|
2338
|
+
<div class="refsect2">
|
2339
|
+
<a name="graphene-simd4f-cmp-le"></a><h3>graphene_simd4f_cmp_le ()</h3>
|
2340
|
+
<pre class="programlisting"><span class="returnvalue">bool</span>
|
2341
|
+
graphene_simd4f_cmp_le (<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> a</code></em>,
|
2342
|
+
<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> b</code></em>);</pre>
|
2343
|
+
<p>Compares two <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> and checks if all components
|
2344
|
+
of the vector <em class="parameter"><code>a</code></em>
|
2345
|
+
are less than or equal to the respective components
|
2346
|
+
of the vector <em class="parameter"><code>b</code></em>
|
2347
|
+
.</p>
|
2348
|
+
<div class="refsect3">
|
2349
|
+
<a name="graphene-simd4f-cmp-le.parameters"></a><h4>Parameters</h4>
|
2350
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2351
|
+
<colgroup>
|
2352
|
+
<col width="150px" class="parameters_name">
|
2353
|
+
<col class="parameters_description">
|
2354
|
+
<col width="200px" class="parameters_annotations">
|
2355
|
+
</colgroup>
|
2356
|
+
<tbody>
|
2357
|
+
<tr>
|
2358
|
+
<td class="parameter_name"><p>a</p></td>
|
2359
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
2360
|
+
<td class="parameter_annotations"> </td>
|
2361
|
+
</tr>
|
2362
|
+
<tr>
|
2363
|
+
<td class="parameter_name"><p>b</p></td>
|
2364
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
2365
|
+
<td class="parameter_annotations"> </td>
|
2366
|
+
</tr>
|
2367
|
+
</tbody>
|
2368
|
+
</table></div>
|
2369
|
+
</div>
|
2370
|
+
<div class="refsect3">
|
2371
|
+
<a name="graphene-simd4f-cmp-le.returns"></a><h4>Returns</h4>
|
2372
|
+
<p> <code class="literal">true</code> if vector <em class="parameter"><code>a</code></em>
|
2373
|
+
is less than or equal to <em class="parameter"><code>b</code></em>
|
2374
|
+
</p>
|
2375
|
+
</div>
|
2376
|
+
<p class="since">Since: <a class="link" href="ix04.html#api-index-1.2">1.2</a></p>
|
2377
|
+
</div>
|
2378
|
+
<hr>
|
2379
|
+
<div class="refsect2">
|
2380
|
+
<a name="graphene-simd4f-cmp-ge"></a><h3>graphene_simd4f_cmp_ge ()</h3>
|
2381
|
+
<pre class="programlisting"><span class="returnvalue">bool</span>
|
2382
|
+
graphene_simd4f_cmp_ge (<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> a</code></em>,
|
2383
|
+
<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> b</code></em>);</pre>
|
2384
|
+
<p>Compares two <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> and checks if all components
|
2385
|
+
of the vector <em class="parameter"><code>a</code></em>
|
2386
|
+
are greater than or equal to the respective
|
2387
|
+
components of the vector <em class="parameter"><code>b</code></em>
|
2388
|
+
.</p>
|
2389
|
+
<div class="refsect3">
|
2390
|
+
<a name="graphene-simd4f-cmp-ge.parameters"></a><h4>Parameters</h4>
|
2391
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2392
|
+
<colgroup>
|
2393
|
+
<col width="150px" class="parameters_name">
|
2394
|
+
<col class="parameters_description">
|
2395
|
+
<col width="200px" class="parameters_annotations">
|
2396
|
+
</colgroup>
|
2397
|
+
<tbody>
|
2398
|
+
<tr>
|
2399
|
+
<td class="parameter_name"><p>a</p></td>
|
2400
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
2401
|
+
<td class="parameter_annotations"> </td>
|
2402
|
+
</tr>
|
2403
|
+
<tr>
|
2404
|
+
<td class="parameter_name"><p>b</p></td>
|
2405
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
2406
|
+
<td class="parameter_annotations"> </td>
|
2407
|
+
</tr>
|
2408
|
+
</tbody>
|
2409
|
+
</table></div>
|
2410
|
+
</div>
|
2411
|
+
<div class="refsect3">
|
2412
|
+
<a name="graphene-simd4f-cmp-ge.returns"></a><h4>Returns</h4>
|
2413
|
+
<p> <code class="literal">true</code> if vector <em class="parameter"><code>a</code></em>
|
2414
|
+
is greater than or equal to <em class="parameter"><code>b</code></em>
|
2415
|
+
</p>
|
2416
|
+
</div>
|
2417
|
+
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
2418
|
+
</div>
|
2419
|
+
<hr>
|
2420
|
+
<div class="refsect2">
|
2421
|
+
<a name="graphene-simd4f-cmp-gt"></a><h3>graphene_simd4f_cmp_gt ()</h3>
|
2422
|
+
<pre class="programlisting"><span class="returnvalue">bool</span>
|
2423
|
+
graphene_simd4f_cmp_gt (<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> a</code></em>,
|
2424
|
+
<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> b</code></em>);</pre>
|
2425
|
+
<p>Compares two <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> and checks if all components
|
2426
|
+
of the vector <em class="parameter"><code>a</code></em>
|
2427
|
+
are greater than the respective components of
|
2428
|
+
the vector <em class="parameter"><code>b</code></em>
|
2429
|
+
.</p>
|
2430
|
+
<div class="refsect3">
|
2431
|
+
<a name="graphene-simd4f-cmp-gt.parameters"></a><h4>Parameters</h4>
|
2432
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2433
|
+
<colgroup>
|
2434
|
+
<col width="150px" class="parameters_name">
|
2435
|
+
<col class="parameters_description">
|
2436
|
+
<col width="200px" class="parameters_annotations">
|
2437
|
+
</colgroup>
|
2438
|
+
<tbody>
|
2439
|
+
<tr>
|
2440
|
+
<td class="parameter_name"><p>a</p></td>
|
2441
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
2442
|
+
<td class="parameter_annotations"> </td>
|
2443
|
+
</tr>
|
2444
|
+
<tr>
|
2445
|
+
<td class="parameter_name"><p>b</p></td>
|
2446
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
2447
|
+
<td class="parameter_annotations"> </td>
|
2448
|
+
</tr>
|
2449
|
+
</tbody>
|
2450
|
+
</table></div>
|
2451
|
+
</div>
|
2452
|
+
<div class="refsect3">
|
2453
|
+
<a name="graphene-simd4f-cmp-gt.returns"></a><h4>Returns</h4>
|
2454
|
+
<p> <code class="literal">true</code> if vector <em class="parameter"><code>a</code></em>
|
2455
|
+
is greater than <em class="parameter"><code>b</code></em>
|
2456
|
+
</p>
|
2457
|
+
</div>
|
2458
|
+
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
2459
|
+
</div>
|
2460
|
+
<hr>
|
2461
|
+
<div class="refsect2">
|
2462
|
+
<a name="graphene-simd4f-neg"></a><h3>graphene_simd4f_neg ()</h3>
|
2463
|
+
<pre class="programlisting"><a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
2464
|
+
graphene_simd4f_neg (<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> s</code></em>);</pre>
|
2465
|
+
<p>Negates the values of <em class="parameter"><code>s</code></em>
|
2466
|
+
.</p>
|
2467
|
+
<div class="refsect3">
|
2468
|
+
<a name="graphene-simd4f-neg.parameters"></a><h4>Parameters</h4>
|
2469
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2470
|
+
<colgroup>
|
2471
|
+
<col width="150px" class="parameters_name">
|
2472
|
+
<col class="parameters_description">
|
2473
|
+
<col width="200px" class="parameters_annotations">
|
2474
|
+
</colgroup>
|
2475
|
+
<tbody><tr>
|
2476
|
+
<td class="parameter_name"><p>s</p></td>
|
2477
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
2478
|
+
<td class="parameter_annotations"> </td>
|
2479
|
+
</tr></tbody>
|
2480
|
+
</table></div>
|
2481
|
+
</div>
|
2482
|
+
<div class="refsect3">
|
2483
|
+
<a name="graphene-simd4f-neg.returns"></a><h4>Returns</h4>
|
2484
|
+
<p> the negated vector</p>
|
2485
|
+
</div>
|
2486
|
+
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
2487
|
+
</div>
|
2488
|
+
<hr>
|
2489
|
+
<div class="refsect2">
|
2490
|
+
<a name="graphene-simd4f-madd"></a><h3>graphene_simd4f_madd ()</h3>
|
2491
|
+
<pre class="programlisting"><a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
2492
|
+
graphene_simd4f_madd (<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> m1</code></em>,
|
2493
|
+
<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> m2</code></em>,
|
2494
|
+
<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> a</code></em>);</pre>
|
2495
|
+
<p>Adds <em class="parameter"><code>a</code></em>
|
2496
|
+
to the product of <em class="parameter"><code>m1</code></em>
|
2497
|
+
and <em class="parameter"><code>m2</code></em>
|
2498
|
+
.</p>
|
2499
|
+
<div class="refsect3">
|
2500
|
+
<a name="graphene-simd4f-madd.parameters"></a><h4>Parameters</h4>
|
2501
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2502
|
+
<colgroup>
|
2503
|
+
<col width="150px" class="parameters_name">
|
2504
|
+
<col class="parameters_description">
|
2505
|
+
<col width="200px" class="parameters_annotations">
|
2506
|
+
</colgroup>
|
2507
|
+
<tbody>
|
2508
|
+
<tr>
|
2509
|
+
<td class="parameter_name"><p>m1</p></td>
|
2510
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
2511
|
+
<td class="parameter_annotations"> </td>
|
2512
|
+
</tr>
|
2513
|
+
<tr>
|
2514
|
+
<td class="parameter_name"><p>m2</p></td>
|
2515
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
2516
|
+
<td class="parameter_annotations"> </td>
|
2517
|
+
</tr>
|
2518
|
+
<tr>
|
2519
|
+
<td class="parameter_name"><p>a</p></td>
|
2520
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
2521
|
+
<td class="parameter_annotations"> </td>
|
2522
|
+
</tr>
|
2523
|
+
</tbody>
|
2524
|
+
</table></div>
|
2525
|
+
</div>
|
2526
|
+
<div class="refsect3">
|
2527
|
+
<a name="graphene-simd4f-madd.returns"></a><h4>Returns</h4>
|
2528
|
+
<p> the result vector</p>
|
2529
|
+
</div>
|
2530
|
+
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
2531
|
+
</div>
|
2532
|
+
<hr>
|
2533
|
+
<div class="refsect2">
|
2534
|
+
<a name="graphene-simd4f-sum"></a><h3>graphene_simd4f_sum ()</h3>
|
2535
|
+
<pre class="programlisting"><a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
2536
|
+
graphene_simd4f_sum (<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> v</code></em>);</pre>
|
2537
|
+
<p>Sums all components of the given vector.</p>
|
2538
|
+
<div class="refsect3">
|
2539
|
+
<a name="graphene-simd4f-sum.parameters"></a><h4>Parameters</h4>
|
2540
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2541
|
+
<colgroup>
|
2542
|
+
<col width="150px" class="parameters_name">
|
2543
|
+
<col class="parameters_description">
|
2544
|
+
<col width="200px" class="parameters_annotations">
|
2545
|
+
</colgroup>
|
2546
|
+
<tbody><tr>
|
2547
|
+
<td class="parameter_name"><p>v</p></td>
|
2548
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
2549
|
+
<td class="parameter_annotations"> </td>
|
2550
|
+
</tr></tbody>
|
2551
|
+
</table></div>
|
2552
|
+
</div>
|
2553
|
+
<div class="refsect3">
|
2554
|
+
<a name="graphene-simd4f-sum.returns"></a><h4>Returns</h4>
|
2555
|
+
<p> a vector with all components set to be the
|
2556
|
+
sum of the passed <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p>
|
2557
|
+
</div>
|
2558
|
+
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
2559
|
+
</div>
|
2560
|
+
<hr>
|
2561
|
+
<div class="refsect2">
|
2562
|
+
<a name="graphene-simd4f-sum-scalar"></a><h3>graphene_simd4f_sum_scalar ()</h3>
|
2563
|
+
<pre class="programlisting"><span class="returnvalue">float</span>
|
2564
|
+
graphene_simd4f_sum_scalar (<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> v</code></em>);</pre>
|
2565
|
+
<p>Sums all the components of the given vector.</p>
|
2566
|
+
<div class="refsect3">
|
2567
|
+
<a name="graphene-simd4f-sum-scalar.parameters"></a><h4>Parameters</h4>
|
2568
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2569
|
+
<colgroup>
|
2570
|
+
<col width="150px" class="parameters_name">
|
2571
|
+
<col class="parameters_description">
|
2572
|
+
<col width="200px" class="parameters_annotations">
|
2573
|
+
</colgroup>
|
2574
|
+
<tbody><tr>
|
2575
|
+
<td class="parameter_name"><p>v</p></td>
|
2576
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
2577
|
+
<td class="parameter_annotations"> </td>
|
2578
|
+
</tr></tbody>
|
2579
|
+
</table></div>
|
2580
|
+
</div>
|
2581
|
+
<div class="refsect3">
|
2582
|
+
<a name="graphene-simd4f-sum-scalar.returns"></a><h4>Returns</h4>
|
2583
|
+
<p> a scalar value with the sum of the components
|
2584
|
+
of the given <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p>
|
2585
|
+
</div>
|
2586
|
+
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
2587
|
+
</div>
|
2588
|
+
<hr>
|
2589
|
+
<div class="refsect2">
|
2590
|
+
<a name="graphene-simd4f-dot4"></a><h3>graphene_simd4f_dot4 ()</h3>
|
2591
|
+
<pre class="programlisting"><a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
2592
|
+
graphene_simd4f_dot4 (<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> a</code></em>,
|
2593
|
+
<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> b</code></em>);</pre>
|
2594
|
+
<p>Computes the dot product of all the components of the two
|
2595
|
+
given <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a>.</p>
|
2596
|
+
<div class="refsect3">
|
2597
|
+
<a name="graphene-simd4f-dot4.parameters"></a><h4>Parameters</h4>
|
2598
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2599
|
+
<colgroup>
|
2600
|
+
<col width="150px" class="parameters_name">
|
2601
|
+
<col class="parameters_description">
|
2602
|
+
<col width="200px" class="parameters_annotations">
|
2603
|
+
</colgroup>
|
2604
|
+
<tbody>
|
2605
|
+
<tr>
|
2606
|
+
<td class="parameter_name"><p>a</p></td>
|
2607
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
2608
|
+
<td class="parameter_annotations"> </td>
|
2609
|
+
</tr>
|
2610
|
+
<tr>
|
2611
|
+
<td class="parameter_name"><p>b</p></td>
|
2612
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
2613
|
+
<td class="parameter_annotations"> </td>
|
2614
|
+
</tr>
|
2615
|
+
</tbody>
|
2616
|
+
</table></div>
|
2617
|
+
</div>
|
2618
|
+
<div class="refsect3">
|
2619
|
+
<a name="graphene-simd4f-dot4.returns"></a><h4>Returns</h4>
|
2620
|
+
<p> a vector whose components are all set to be the
|
2621
|
+
dot product of the components of the two operands</p>
|
2622
|
+
</div>
|
2623
|
+
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
2624
|
+
</div>
|
2625
|
+
<hr>
|
2626
|
+
<div class="refsect2">
|
2627
|
+
<a name="graphene-simd4f-dot3"></a><h3>graphene_simd4f_dot3 ()</h3>
|
2628
|
+
<pre class="programlisting"><a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
2629
|
+
graphene_simd4f_dot3 (<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> a</code></em>,
|
2630
|
+
<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> b</code></em>);</pre>
|
2631
|
+
<p>Computes the dot product of the first three components of the
|
2632
|
+
two given <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a>.</p>
|
2633
|
+
<div class="refsect3">
|
2634
|
+
<a name="graphene-simd4f-dot3.parameters"></a><h4>Parameters</h4>
|
2635
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2636
|
+
<colgroup>
|
2637
|
+
<col width="150px" class="parameters_name">
|
2638
|
+
<col class="parameters_description">
|
2639
|
+
<col width="200px" class="parameters_annotations">
|
2640
|
+
</colgroup>
|
2641
|
+
<tbody>
|
2642
|
+
<tr>
|
2643
|
+
<td class="parameter_name"><p>a</p></td>
|
2644
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
2645
|
+
<td class="parameter_annotations"> </td>
|
2646
|
+
</tr>
|
2647
|
+
<tr>
|
2648
|
+
<td class="parameter_name"><p>b</p></td>
|
2649
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
2650
|
+
<td class="parameter_annotations"> </td>
|
2651
|
+
</tr>
|
2652
|
+
</tbody>
|
2653
|
+
</table></div>
|
2654
|
+
</div>
|
2655
|
+
<div class="refsect3">
|
2656
|
+
<a name="graphene-simd4f-dot3.returns"></a><h4>Returns</h4>
|
2657
|
+
<p> a vector whose components are all set to the
|
2658
|
+
dot product of the components of the two operands</p>
|
2659
|
+
</div>
|
2660
|
+
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
2661
|
+
</div>
|
2662
|
+
<hr>
|
2663
|
+
<div class="refsect2">
|
2664
|
+
<a name="graphene-simd4f-dot3-scalar"></a><h3>graphene_simd4f_dot3_scalar ()</h3>
|
2665
|
+
<pre class="programlisting"><span class="returnvalue">float</span>
|
2666
|
+
graphene_simd4f_dot3_scalar (<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> a</code></em>,
|
2667
|
+
<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> b</code></em>);</pre>
|
2668
|
+
<p>Computes the dot product of the first three components of the
|
2669
|
+
two given <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a>.</p>
|
2670
|
+
<div class="refsect3">
|
2671
|
+
<a name="graphene-simd4f-dot3-scalar.parameters"></a><h4>Parameters</h4>
|
2672
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2673
|
+
<colgroup>
|
2674
|
+
<col width="150px" class="parameters_name">
|
2675
|
+
<col class="parameters_description">
|
2676
|
+
<col width="200px" class="parameters_annotations">
|
2677
|
+
</colgroup>
|
2678
|
+
<tbody>
|
2679
|
+
<tr>
|
2680
|
+
<td class="parameter_name"><p>a</p></td>
|
2681
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
2682
|
+
<td class="parameter_annotations"> </td>
|
2683
|
+
</tr>
|
2684
|
+
<tr>
|
2685
|
+
<td class="parameter_name"><p>b</p></td>
|
2686
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
2687
|
+
<td class="parameter_annotations"> </td>
|
2688
|
+
</tr>
|
2689
|
+
</tbody>
|
2690
|
+
</table></div>
|
2691
|
+
</div>
|
2692
|
+
<div class="refsect3">
|
2693
|
+
<a name="graphene-simd4f-dot3-scalar.returns"></a><h4>Returns</h4>
|
2694
|
+
<p> the dot product of the two vectors, as a scalar value.</p>
|
2695
|
+
</div>
|
2696
|
+
<p class="since">Since: <a class="link" href="ix05.html#api-index-1.4">1.4</a></p>
|
2697
|
+
</div>
|
2698
|
+
<hr>
|
2699
|
+
<div class="refsect2">
|
2700
|
+
<a name="graphene-simd4f-dot2"></a><h3>graphene_simd4f_dot2 ()</h3>
|
2701
|
+
<pre class="programlisting"><a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
2702
|
+
graphene_simd4f_dot2 (<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> a</code></em>,
|
2703
|
+
<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> b</code></em>);</pre>
|
2704
|
+
<p>Computes the dot product of the first two components of the
|
2705
|
+
two given <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a>.</p>
|
2706
|
+
<div class="refsect3">
|
2707
|
+
<a name="graphene-simd4f-dot2.parameters"></a><h4>Parameters</h4>
|
2708
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2709
|
+
<colgroup>
|
2710
|
+
<col width="150px" class="parameters_name">
|
2711
|
+
<col class="parameters_description">
|
2712
|
+
<col width="200px" class="parameters_annotations">
|
2713
|
+
</colgroup>
|
2714
|
+
<tbody>
|
2715
|
+
<tr>
|
2716
|
+
<td class="parameter_name"><p>a</p></td>
|
2717
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
2718
|
+
<td class="parameter_annotations"> </td>
|
2719
|
+
</tr>
|
2720
|
+
<tr>
|
2721
|
+
<td class="parameter_name"><p>b</p></td>
|
2722
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
2723
|
+
<td class="parameter_annotations"> </td>
|
2724
|
+
</tr>
|
2725
|
+
</tbody>
|
2726
|
+
</table></div>
|
2727
|
+
</div>
|
2728
|
+
<div class="refsect3">
|
2729
|
+
<a name="graphene-simd4f-dot2.returns"></a><h4>Returns</h4>
|
2730
|
+
<p> a vector whose components are all set to the
|
2731
|
+
dot product of the components of the two operands</p>
|
2732
|
+
</div>
|
2733
|
+
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
2734
|
+
</div>
|
2735
|
+
<hr>
|
2736
|
+
<div class="refsect2">
|
2737
|
+
<a name="graphene-simd4f-length4"></a><h3>graphene_simd4f_length4 ()</h3>
|
2738
|
+
<pre class="programlisting"><a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
2739
|
+
graphene_simd4f_length4 (<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> v</code></em>);</pre>
|
2740
|
+
<p>Computes the length of the given <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> vector,
|
2741
|
+
using all four of its components.</p>
|
2742
|
+
<div class="refsect3">
|
2743
|
+
<a name="graphene-simd4f-length4.parameters"></a><h4>Parameters</h4>
|
2744
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2745
|
+
<colgroup>
|
2746
|
+
<col width="150px" class="parameters_name">
|
2747
|
+
<col class="parameters_description">
|
2748
|
+
<col width="200px" class="parameters_annotations">
|
2749
|
+
</colgroup>
|
2750
|
+
<tbody><tr>
|
2751
|
+
<td class="parameter_name"><p>v</p></td>
|
2752
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
2753
|
+
<td class="parameter_annotations"> </td>
|
2754
|
+
</tr></tbody>
|
2755
|
+
</table></div>
|
2756
|
+
</div>
|
2757
|
+
<div class="refsect3">
|
2758
|
+
<a name="graphene-simd4f-length4.returns"></a><h4>Returns</h4>
|
2759
|
+
<p> the length vector</p>
|
2760
|
+
</div>
|
2761
|
+
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
2762
|
+
</div>
|
2763
|
+
<hr>
|
2764
|
+
<div class="refsect2">
|
2765
|
+
<a name="graphene-simd4f-length3"></a><h3>graphene_simd4f_length3 ()</h3>
|
2766
|
+
<pre class="programlisting"><a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
2767
|
+
graphene_simd4f_length3 (<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> v</code></em>);</pre>
|
2768
|
+
<p>Computes the length of the given <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> vector,
|
2769
|
+
using the first three of its components.</p>
|
2770
|
+
<div class="refsect3">
|
2771
|
+
<a name="graphene-simd4f-length3.parameters"></a><h4>Parameters</h4>
|
2772
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2773
|
+
<colgroup>
|
2774
|
+
<col width="150px" class="parameters_name">
|
2775
|
+
<col class="parameters_description">
|
2776
|
+
<col width="200px" class="parameters_annotations">
|
2777
|
+
</colgroup>
|
2778
|
+
<tbody><tr>
|
2779
|
+
<td class="parameter_name"><p>v</p></td>
|
2780
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
2781
|
+
<td class="parameter_annotations"> </td>
|
2782
|
+
</tr></tbody>
|
2783
|
+
</table></div>
|
2784
|
+
</div>
|
2785
|
+
<div class="refsect3">
|
2786
|
+
<a name="graphene-simd4f-length3.returns"></a><h4>Returns</h4>
|
2787
|
+
<p> the length vector</p>
|
2788
|
+
</div>
|
2789
|
+
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
2790
|
+
</div>
|
2791
|
+
<hr>
|
2792
|
+
<div class="refsect2">
|
2793
|
+
<a name="graphene-simd4f-length2"></a><h3>graphene_simd4f_length2 ()</h3>
|
2794
|
+
<pre class="programlisting"><a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
2795
|
+
graphene_simd4f_length2 (<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> v</code></em>);</pre>
|
2796
|
+
<p>Computes the length of the given <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> vector,
|
2797
|
+
using the first two of its components.</p>
|
2798
|
+
<div class="refsect3">
|
2799
|
+
<a name="graphene-simd4f-length2.parameters"></a><h4>Parameters</h4>
|
2800
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2801
|
+
<colgroup>
|
2802
|
+
<col width="150px" class="parameters_name">
|
2803
|
+
<col class="parameters_description">
|
2804
|
+
<col width="200px" class="parameters_annotations">
|
2805
|
+
</colgroup>
|
2806
|
+
<tbody><tr>
|
2807
|
+
<td class="parameter_name"><p>v</p></td>
|
2808
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
2809
|
+
<td class="parameter_annotations"> </td>
|
2810
|
+
</tr></tbody>
|
2811
|
+
</table></div>
|
2812
|
+
</div>
|
2813
|
+
<div class="refsect3">
|
2814
|
+
<a name="graphene-simd4f-length2.returns"></a><h4>Returns</h4>
|
2815
|
+
<p> the length vector</p>
|
2816
|
+
</div>
|
2817
|
+
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
2818
|
+
</div>
|
2819
|
+
<hr>
|
2820
|
+
<div class="refsect2">
|
2821
|
+
<a name="graphene-simd4f-normalize4"></a><h3>graphene_simd4f_normalize4 ()</h3>
|
2822
|
+
<pre class="programlisting"><a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
2823
|
+
graphene_simd4f_normalize4 (<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> v</code></em>);</pre>
|
2824
|
+
<p>Computes the normalization of the given <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> vector,
|
2825
|
+
using all of its components.</p>
|
2826
|
+
<div class="refsect3">
|
2827
|
+
<a name="graphene-simd4f-normalize4.parameters"></a><h4>Parameters</h4>
|
2828
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2829
|
+
<colgroup>
|
2830
|
+
<col width="150px" class="parameters_name">
|
2831
|
+
<col class="parameters_description">
|
2832
|
+
<col width="200px" class="parameters_annotations">
|
2833
|
+
</colgroup>
|
2834
|
+
<tbody><tr>
|
2835
|
+
<td class="parameter_name"><p>v</p></td>
|
2836
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
2837
|
+
<td class="parameter_annotations"> </td>
|
2838
|
+
</tr></tbody>
|
2839
|
+
</table></div>
|
2840
|
+
</div>
|
2841
|
+
<div class="refsect3">
|
2842
|
+
<a name="graphene-simd4f-normalize4.returns"></a><h4>Returns</h4>
|
2843
|
+
<p> the normalized vector</p>
|
2844
|
+
</div>
|
2845
|
+
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
2846
|
+
</div>
|
2847
|
+
<hr>
|
2848
|
+
<div class="refsect2">
|
2849
|
+
<a name="graphene-simd4f-normalize3"></a><h3>graphene_simd4f_normalize3 ()</h3>
|
2850
|
+
<pre class="programlisting"><a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
2851
|
+
graphene_simd4f_normalize3 (<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> v</code></em>);</pre>
|
2852
|
+
<p>Computes the normalization of the given <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> vector,
|
2853
|
+
using the first three of its components.</p>
|
2854
|
+
<div class="refsect3">
|
2855
|
+
<a name="graphene-simd4f-normalize3.parameters"></a><h4>Parameters</h4>
|
2856
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2857
|
+
<colgroup>
|
2858
|
+
<col width="150px" class="parameters_name">
|
2859
|
+
<col class="parameters_description">
|
2860
|
+
<col width="200px" class="parameters_annotations">
|
2861
|
+
</colgroup>
|
2862
|
+
<tbody><tr>
|
2863
|
+
<td class="parameter_name"><p>v</p></td>
|
2864
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
2865
|
+
<td class="parameter_annotations"> </td>
|
2866
|
+
</tr></tbody>
|
2867
|
+
</table></div>
|
2868
|
+
</div>
|
2869
|
+
<div class="refsect3">
|
2870
|
+
<a name="graphene-simd4f-normalize3.returns"></a><h4>Returns</h4>
|
2871
|
+
<p> the normalized vector</p>
|
2872
|
+
</div>
|
2873
|
+
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
2874
|
+
</div>
|
2875
|
+
<hr>
|
2876
|
+
<div class="refsect2">
|
2877
|
+
<a name="graphene-simd4f-normalize2"></a><h3>graphene_simd4f_normalize2 ()</h3>
|
2878
|
+
<pre class="programlisting"><a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
2879
|
+
graphene_simd4f_normalize2 (<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> v</code></em>);</pre>
|
2880
|
+
<p>Computes the normalization of the given <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> vector,
|
2881
|
+
using the first two of its components.</p>
|
2882
|
+
<div class="refsect3">
|
2883
|
+
<a name="graphene-simd4f-normalize2.parameters"></a><h4>Parameters</h4>
|
2884
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2885
|
+
<colgroup>
|
2886
|
+
<col width="150px" class="parameters_name">
|
2887
|
+
<col class="parameters_description">
|
2888
|
+
<col width="200px" class="parameters_annotations">
|
2889
|
+
</colgroup>
|
2890
|
+
<tbody><tr>
|
2891
|
+
<td class="parameter_name"><p>v</p></td>
|
2892
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
2893
|
+
<td class="parameter_annotations"> </td>
|
2894
|
+
</tr></tbody>
|
2895
|
+
</table></div>
|
2896
|
+
</div>
|
2897
|
+
<div class="refsect3">
|
2898
|
+
<a name="graphene-simd4f-normalize2.returns"></a><h4>Returns</h4>
|
2899
|
+
<p> the normalized vector</p>
|
2900
|
+
</div>
|
2901
|
+
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
2902
|
+
</div>
|
2903
|
+
<hr>
|
2904
|
+
<div class="refsect2">
|
2905
|
+
<a name="graphene-simd4f-is-zero4"></a><h3>graphene_simd4f_is_zero4 ()</h3>
|
2906
|
+
<pre class="programlisting"><span class="returnvalue">bool</span>
|
2907
|
+
graphene_simd4f_is_zero4 (<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> v</code></em>);</pre>
|
2908
|
+
<p>Checks whether the given <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> has all its components
|
2909
|
+
set to 0.</p>
|
2910
|
+
<div class="refsect3">
|
2911
|
+
<a name="graphene-simd4f-is-zero4.parameters"></a><h4>Parameters</h4>
|
2912
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2913
|
+
<colgroup>
|
2914
|
+
<col width="150px" class="parameters_name">
|
2915
|
+
<col class="parameters_description">
|
2916
|
+
<col width="200px" class="parameters_annotations">
|
2917
|
+
</colgroup>
|
2918
|
+
<tbody><tr>
|
2919
|
+
<td class="parameter_name"><p>v</p></td>
|
2920
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
2921
|
+
<td class="parameter_annotations"> </td>
|
2922
|
+
</tr></tbody>
|
2923
|
+
</table></div>
|
2924
|
+
</div>
|
2925
|
+
<div class="refsect3">
|
2926
|
+
<a name="graphene-simd4f-is-zero4.returns"></a><h4>Returns</h4>
|
2927
|
+
<p> <code class="literal">true</code> if all the vector components are zero</p>
|
2928
|
+
</div>
|
2929
|
+
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
2930
|
+
</div>
|
2931
|
+
<hr>
|
2932
|
+
<div class="refsect2">
|
2933
|
+
<a name="graphene-simd4f-is-zero3"></a><h3>graphene_simd4f_is_zero3 ()</h3>
|
2934
|
+
<pre class="programlisting"><span class="returnvalue">bool</span>
|
2935
|
+
graphene_simd4f_is_zero3 (<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> v</code></em>);</pre>
|
2936
|
+
<p>Checks whether the given <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> has the first three of
|
2937
|
+
its components set to 0.</p>
|
2938
|
+
<div class="refsect3">
|
2939
|
+
<a name="graphene-simd4f-is-zero3.parameters"></a><h4>Parameters</h4>
|
2940
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2941
|
+
<colgroup>
|
2942
|
+
<col width="150px" class="parameters_name">
|
2943
|
+
<col class="parameters_description">
|
2944
|
+
<col width="200px" class="parameters_annotations">
|
2945
|
+
</colgroup>
|
2946
|
+
<tbody><tr>
|
2947
|
+
<td class="parameter_name"><p>v</p></td>
|
2948
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
2949
|
+
<td class="parameter_annotations"> </td>
|
2950
|
+
</tr></tbody>
|
2951
|
+
</table></div>
|
2952
|
+
</div>
|
2953
|
+
<div class="refsect3">
|
2954
|
+
<a name="graphene-simd4f-is-zero3.returns"></a><h4>Returns</h4>
|
2955
|
+
<p> <code class="literal">true</code> if the vector's components are zero</p>
|
2956
|
+
</div>
|
2957
|
+
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
2958
|
+
</div>
|
2959
|
+
<hr>
|
2960
|
+
<div class="refsect2">
|
2961
|
+
<a name="graphene-simd4f-is-zero2"></a><h3>graphene_simd4f_is_zero2 ()</h3>
|
2962
|
+
<pre class="programlisting"><span class="returnvalue">bool</span>
|
2963
|
+
graphene_simd4f_is_zero2 (<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> v</code></em>);</pre>
|
2964
|
+
<p>Checks whether the given <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> has the first two of
|
2965
|
+
its components set to 0.</p>
|
2966
|
+
<div class="refsect3">
|
2967
|
+
<a name="graphene-simd4f-is-zero2.parameters"></a><h4>Parameters</h4>
|
2968
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2969
|
+
<colgroup>
|
2970
|
+
<col width="150px" class="parameters_name">
|
2971
|
+
<col class="parameters_description">
|
2972
|
+
<col width="200px" class="parameters_annotations">
|
2973
|
+
</colgroup>
|
2974
|
+
<tbody><tr>
|
2975
|
+
<td class="parameter_name"><p>v</p></td>
|
2976
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
2977
|
+
<td class="parameter_annotations"> </td>
|
2978
|
+
</tr></tbody>
|
2979
|
+
</table></div>
|
2980
|
+
</div>
|
2981
|
+
<div class="refsect3">
|
2982
|
+
<a name="graphene-simd4f-is-zero2.returns"></a><h4>Returns</h4>
|
2983
|
+
<p> <code class="literal">true</code> if the vector's components are zero</p>
|
2984
|
+
</div>
|
2985
|
+
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
2986
|
+
</div>
|
2987
|
+
<hr>
|
2988
|
+
<div class="refsect2">
|
2989
|
+
<a name="graphene-simd4f-interpolate"></a><h3>graphene_simd4f_interpolate ()</h3>
|
2990
|
+
<pre class="programlisting"><a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="returnvalue">graphene_simd4f_t</span></a>
|
2991
|
+
graphene_simd4f_interpolate (<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> a</code></em>,
|
2992
|
+
<em class="parameter"><code>const <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> b</code></em>,
|
2993
|
+
<em class="parameter"><code><span class="type">float</span> f</code></em>);</pre>
|
2994
|
+
<p>Linearly interpolates all components of the two given
|
2995
|
+
<a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> vectors using the given factor <em class="parameter"><code>f</code></em>
|
2996
|
+
.</p>
|
2997
|
+
<div class="refsect3">
|
2998
|
+
<a name="graphene-simd4f-interpolate.parameters"></a><h4>Parameters</h4>
|
2999
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3000
|
+
<colgroup>
|
3001
|
+
<col width="150px" class="parameters_name">
|
3002
|
+
<col class="parameters_description">
|
3003
|
+
<col width="200px" class="parameters_annotations">
|
3004
|
+
</colgroup>
|
3005
|
+
<tbody>
|
3006
|
+
<tr>
|
3007
|
+
<td class="parameter_name"><p>a</p></td>
|
3008
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
3009
|
+
<td class="parameter_annotations"> </td>
|
3010
|
+
</tr>
|
3011
|
+
<tr>
|
3012
|
+
<td class="parameter_name"><p>b</p></td>
|
3013
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a></p></td>
|
3014
|
+
<td class="parameter_annotations"> </td>
|
3015
|
+
</tr>
|
3016
|
+
<tr>
|
3017
|
+
<td class="parameter_name"><p>f</p></td>
|
3018
|
+
<td class="parameter_description"><p>the interpolation factor</p></td>
|
3019
|
+
<td class="parameter_annotations"> </td>
|
3020
|
+
</tr>
|
3021
|
+
</tbody>
|
3022
|
+
</table></div>
|
3023
|
+
</div>
|
3024
|
+
<div class="refsect3">
|
3025
|
+
<a name="graphene-simd4f-interpolate.returns"></a><h4>Returns</h4>
|
3026
|
+
<p> the intrerpolated vector</p>
|
3027
|
+
</div>
|
3028
|
+
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
3029
|
+
</div>
|
3030
|
+
</div>
|
3031
|
+
<div class="refsect1">
|
3032
|
+
<a name="graphene-SIMD-vector.other_details"></a><h2>Types and Values</h2>
|
3033
|
+
<div class="refsect2">
|
3034
|
+
<a name="graphene-simd4f-t"></a><h3>graphene_simd4f_t</h3>
|
3035
|
+
<pre class="programlisting">typedef struct _graphene_simd4f_t graphene_simd4f_t;</pre>
|
3036
|
+
<p>A vector type containing four floating point values.</p>
|
3037
|
+
<p>The contents of the <a class="link" href="graphene-SIMD-vector.html#graphene-simd4f-t" title="graphene_simd4f_t"><span class="type">graphene_simd4f_t</span></a> type are private and
|
3038
|
+
cannot be directly accessed; use the provided API instead.</p>
|
3039
|
+
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
3040
|
+
</div>
|
3041
|
+
</div>
|
3042
|
+
</div>
|
3043
|
+
<div class="footer">
|
3044
|
+
<hr>Generated by GTK-Doc V1.25</div>
|
3045
|
+
</body>
|
3046
|
+
</html>
|