-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathsimd.swift
2168 lines (2150 loc) · 102 KB
/
simd.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
@exported import simd.vector
@exported import simd.matrix
func __builtin_huge_valf() -> Float
func __cos_d2(_: vector_double2) -> vector_double2
func __cos_f4(_: vector_float4) -> vector_float4
func __invert_d2(_: matrix_double2x2) -> matrix_double2x2
func __invert_d3(_: matrix_double3x3) -> matrix_double3x3
func __invert_d4(_: matrix_double4x4) -> matrix_double4x4
func __invert_f2(_: matrix_float2x2) -> matrix_float2x2
func __invert_f3(_: matrix_float3x3) -> matrix_float3x3
func __invert_f4(_: matrix_float4x4) -> matrix_float4x4
func __rotate1(__x: vector_double4) -> vector_double4
func __rotate1(__x: vector_double3) -> vector_double3
func __rotate1(__x: vector_float4) -> vector_float4
func __rotate1(__x: vector_float3) -> vector_float3
func __rotate2(__x: vector_double4) -> vector_double4
func __rotate2(__x: vector_float4) -> vector_float4
func __rotate2(__x: vector_double3) -> vector_double3
func __rotate2(__x: vector_float3) -> vector_float3
func __rotate3(__x: vector_float4) -> vector_float4
func __rotate3(__x: vector_double4) -> vector_double4
func __sin_d2(_: vector_double2) -> vector_double2
func __sin_f4(_: vector_float4) -> vector_float4
func __tg_ceil(__x: vector_double4) -> vector_double4
func __tg_ceil(__x: vector_double3) -> vector_double3
func __tg_ceil(__x: vector_double2) -> vector_double2
func __tg_ceil(__x: vector_float2) -> vector_float2
func __tg_ceil(__x: vector_float3) -> vector_float3
func __tg_ceil(__x: vector_float4) -> vector_float4
func __tg_copysign(__x: vector_float4, _ __y: vector_float4) -> vector_float4
func __tg_copysign(__x: vector_float2, _ __y: vector_float2) -> vector_float2
func __tg_copysign(__x: vector_double2, _ __y: vector_double2) -> vector_double2
func __tg_copysign(__x: vector_double3, _ __y: vector_double3) -> vector_double3
func __tg_copysign(__x: vector_double4, _ __y: vector_double4) -> vector_double4
func __tg_copysign(__x: vector_float3, _ __y: vector_float3) -> vector_float3
@available(OSX 10.10, *)
func __tg_cos(__x: vector_double3) -> vector_double3
@available(OSX 10.10, *)
func __tg_cos(__x: vector_double4) -> vector_double4
@available(OSX 10.10, *)
func __tg_cos(__x: vector_double2) -> vector_double2
@available(OSX 10.10, *)
func __tg_cos(__x: vector_float4) -> vector_float4
@available(OSX 10.10, *)
func __tg_cos(__x: vector_float3) -> vector_float3
@available(OSX 10.10, *)
func __tg_cos(__x: vector_float2) -> vector_float2
func __tg_fabs(__x: vector_double2) -> vector_double2
func __tg_fabs(__x: vector_double3) -> vector_double3
func __tg_fabs(__x: vector_double4) -> vector_double4
func __tg_fabs(__x: vector_float4) -> vector_float4
func __tg_fabs(__x: vector_float3) -> vector_float3
func __tg_fabs(__x: vector_float2) -> vector_float2
func __tg_floor(__x: vector_float2) -> vector_float2
func __tg_floor(__x: vector_float3) -> vector_float3
func __tg_floor(__x: vector_double4) -> vector_double4
func __tg_floor(__x: vector_float4) -> vector_float4
func __tg_floor(__x: vector_double2) -> vector_double2
func __tg_floor(__x: vector_double3) -> vector_double3
func __tg_fmax(__x: vector_float4, _ __y: vector_float4) -> vector_float4
func __tg_fmax(__x: vector_float3, _ __y: vector_float3) -> vector_float3
func __tg_fmax(__x: vector_float2, _ __y: vector_float2) -> vector_float2
func __tg_fmax(__x: vector_double3, _ __y: vector_double3) -> vector_double3
func __tg_fmax(__x: vector_double2, _ __y: vector_double2) -> vector_double2
func __tg_fmax(__x: vector_double4, _ __y: vector_double4) -> vector_double4
func __tg_fmin(__x: vector_float4, _ __y: vector_float4) -> vector_float4
func __tg_fmin(__x: vector_float3, _ __y: vector_float3) -> vector_float3
func __tg_fmin(__x: vector_double4, _ __y: vector_double4) -> vector_double4
func __tg_fmin(__x: vector_float2, _ __y: vector_float2) -> vector_float2
func __tg_fmin(__x: vector_double3, _ __y: vector_double3) -> vector_double3
func __tg_fmin(__x: vector_double2, _ __y: vector_double2) -> vector_double2
func __tg_promote(_: vector_double2) -> vector_double2
func __tg_promote(_: vector_float2) -> vector_float2
func __tg_promote(_: vector_float4) -> vector_float4
func __tg_promote(_: vector_double3) -> vector_double3
func __tg_promote(_: vector_float3) -> vector_float3
func __tg_promote(_: vector_double4) -> vector_double4
func __tg_rint(__x: vector_double3) -> vector_double3
func __tg_rint(__x: vector_double2) -> vector_double2
func __tg_rint(__x: vector_float3) -> vector_float3
func __tg_rint(__x: vector_float2) -> vector_float2
func __tg_rint(__x: vector_float4) -> vector_float4
func __tg_rint(__x: vector_double4) -> vector_double4
@available(OSX 10.10, *)
func __tg_sin(__x: vector_double3) -> vector_double3
@available(OSX 10.10, *)
func __tg_sin(__x: vector_double2) -> vector_double2
@available(OSX 10.10, *)
func __tg_sin(__x: vector_float4) -> vector_float4
@available(OSX 10.10, *)
func __tg_sin(__x: vector_float3) -> vector_float3
@available(OSX 10.10, *)
func __tg_sin(__x: vector_float2) -> vector_float2
@available(OSX 10.10, *)
func __tg_sin(__x: vector_double4) -> vector_double4
func __tg_sqrt(__x: vector_double4) -> vector_double4
func __tg_sqrt(__x: vector_double3) -> vector_double3
func __tg_sqrt(__x: vector_double2) -> vector_double2
func __tg_sqrt(__x: vector_float3) -> vector_float3
func __tg_sqrt(__x: vector_float4) -> vector_float4
func __tg_sqrt(__x: vector_float2) -> vector_float2
func __tg_trunc(__x: vector_float3) -> vector_float3
func __tg_trunc(__x: vector_float4) -> vector_float4
func __tg_trunc(__x: vector_float2) -> vector_float2
func __tg_trunc(__x: vector_double4) -> vector_double4
func __tg_trunc(__x: vector_double3) -> vector_double3
func __tg_trunc(__x: vector_double2) -> vector_double2
func __truncate(__x: vector_double2) -> vector_double2
func __truncate(__x: vector_float4) -> vector_float4
func __truncate_small(__x: vector_double2) -> vector_double2
func __truncate_small(__x: vector_float4) -> vector_float4
func __vector_mla(__accum: vector_double3, _ __x: vector_double3, _ __y: vector_double3) -> vector_double3
func __vector_mla(__accum: vector_float2, _ __x: vector_float2, _ __y: vector_float2) -> vector_float2
func __vector_mla(__accum: vector_float3, _ __x: vector_float3, _ __y: vector_float3) -> vector_float3
func __vector_mla(__accum: vector_double4, _ __x: vector_double4, _ __y: vector_double4) -> vector_double4
func __vector_mla(__accum: vector_double2, _ __x: vector_double2, _ __y: vector_double2) -> vector_double2
func __vector_mla(__accum: vector_float4, _ __x: vector_float4, _ __y: vector_float4) -> vector_float4
func matrix_almost_equal_elements(__x: matrix_float4x4, _ __y: matrix_float4x4, _ __tol: Float) -> Bool
func matrix_almost_equal_elements(__x: matrix_double2x2, _ __y: matrix_double2x2, _ __tol: Double) -> Bool
func matrix_almost_equal_elements(__x: matrix_double2x3, _ __y: matrix_double2x3, _ __tol: Double) -> Bool
func matrix_almost_equal_elements(__x: matrix_double2x4, _ __y: matrix_double2x4, _ __tol: Double) -> Bool
func matrix_almost_equal_elements(__x: matrix_float4x3, _ __y: matrix_float4x3, _ __tol: Float) -> Bool
func matrix_almost_equal_elements(__x: matrix_double3x2, _ __y: matrix_double3x2, _ __tol: Double) -> Bool
func matrix_almost_equal_elements(__x: matrix_double3x3, _ __y: matrix_double3x3, _ __tol: Double) -> Bool
func matrix_almost_equal_elements(__x: matrix_double3x4, _ __y: matrix_double3x4, _ __tol: Double) -> Bool
func matrix_almost_equal_elements(__x: matrix_double4x2, _ __y: matrix_double4x2, _ __tol: Double) -> Bool
func matrix_almost_equal_elements(__x: matrix_float4x2, _ __y: matrix_float4x2, _ __tol: Float) -> Bool
func matrix_almost_equal_elements(__x: matrix_double4x3, _ __y: matrix_double4x3, _ __tol: Double) -> Bool
func matrix_almost_equal_elements(__x: matrix_double4x4, _ __y: matrix_double4x4, _ __tol: Double) -> Bool
func matrix_almost_equal_elements(__x: matrix_float3x4, _ __y: matrix_float3x4, _ __tol: Float) -> Bool
func matrix_almost_equal_elements(__x: matrix_float3x3, _ __y: matrix_float3x3, _ __tol: Float) -> Bool
func matrix_almost_equal_elements(__x: matrix_float3x2, _ __y: matrix_float3x2, _ __tol: Float) -> Bool
func matrix_almost_equal_elements(__x: matrix_float2x4, _ __y: matrix_float2x4, _ __tol: Float) -> Bool
func matrix_almost_equal_elements(__x: matrix_float2x2, _ __y: matrix_float2x2, _ __tol: Float) -> Bool
func matrix_almost_equal_elements(__x: matrix_float2x3, _ __y: matrix_float2x3, _ __tol: Float) -> Bool
func matrix_almost_equal_elements_relative(__x: matrix_float4x2, _ __y: matrix_float4x2, _ __tol: Float) -> Bool
func matrix_almost_equal_elements_relative(__x: matrix_float3x2, _ __y: matrix_float3x2, _ __tol: Float) -> Bool
func matrix_almost_equal_elements_relative(__x: matrix_float2x4, _ __y: matrix_float2x4, _ __tol: Float) -> Bool
func matrix_almost_equal_elements_relative(__x: matrix_float2x2, _ __y: matrix_float2x2, _ __tol: Float) -> Bool
func matrix_almost_equal_elements_relative(__x: matrix_double2x2, _ __y: matrix_double2x2, _ __tol: Double) -> Bool
func matrix_almost_equal_elements_relative(__x: matrix_float2x3, _ __y: matrix_float2x3, _ __tol: Float) -> Bool
func matrix_almost_equal_elements_relative(__x: matrix_double4x3, _ __y: matrix_double4x3, _ __tol: Double) -> Bool
func matrix_almost_equal_elements_relative(__x: matrix_float3x3, _ __y: matrix_float3x3, _ __tol: Float) -> Bool
func matrix_almost_equal_elements_relative(__x: matrix_float4x3, _ __y: matrix_float4x3, _ __tol: Float) -> Bool
func matrix_almost_equal_elements_relative(__x: matrix_double3x2, _ __y: matrix_double3x2, _ __tol: Double) -> Bool
func matrix_almost_equal_elements_relative(__x: matrix_float3x4, _ __y: matrix_float3x4, _ __tol: Float) -> Bool
func matrix_almost_equal_elements_relative(__x: matrix_double4x4, _ __y: matrix_double4x4, _ __tol: Double) -> Bool
func matrix_almost_equal_elements_relative(__x: matrix_double4x2, _ __y: matrix_double4x2, _ __tol: Double) -> Bool
func matrix_almost_equal_elements_relative(__x: matrix_float4x4, _ __y: matrix_float4x4, _ __tol: Float) -> Bool
func matrix_almost_equal_elements_relative(__x: matrix_double2x3, _ __y: matrix_double2x3, _ __tol: Double) -> Bool
func matrix_almost_equal_elements_relative(__x: matrix_double3x4, _ __y: matrix_double3x4, _ __tol: Double) -> Bool
func matrix_almost_equal_elements_relative(__x: matrix_double3x3, _ __y: matrix_double3x3, _ __tol: Double) -> Bool
func matrix_almost_equal_elements_relative(__x: matrix_double2x4, _ __y: matrix_double2x4, _ __tol: Double) -> Bool
func matrix_determinant(__x: matrix_double2x2) -> Double
func matrix_determinant(__x: matrix_float3x3) -> Float
func matrix_determinant(__x: matrix_float4x4) -> Float
func matrix_determinant(__x: matrix_double4x4) -> Double
func matrix_determinant(__x: matrix_float2x2) -> Float
func matrix_determinant(__x: matrix_double3x3) -> Double
struct matrix_double2x2 {
var columns: (vector_double2, vector_double2)
init() {
}
init(columns: (vector_double2, vector_double2))
}
struct matrix_double2x3 {
var columns: (vector_double3, vector_double3)
init() {
}
init(columns: (vector_double3, vector_double3))
}
struct matrix_double2x4 {
var columns: (vector_double4, vector_double4)
init() {
}
init(columns: (vector_double4, vector_double4))
}
struct matrix_double3x2 {
var columns: (vector_double2, vector_double2, vector_double2)
init() {
}
init(columns: (vector_double2, vector_double2, vector_double2))
}
struct matrix_double3x3 {
var columns: (vector_double3, vector_double3, vector_double3)
init() {
}
init(columns: (vector_double3, vector_double3, vector_double3))
}
struct matrix_double3x4 {
var columns: (vector_double4, vector_double4, vector_double4)
init() {
}
init(columns: (vector_double4, vector_double4, vector_double4))
}
struct matrix_double4x2 {
var columns: (vector_double2, vector_double2, vector_double2, vector_double2)
init() {
}
init(columns: (vector_double2, vector_double2, vector_double2, vector_double2))
}
struct matrix_double4x3 {
var columns: (vector_double3, vector_double3, vector_double3, vector_double3)
init() {
}
init(columns: (vector_double3, vector_double3, vector_double3, vector_double3))
}
struct matrix_double4x4 {
var columns: (vector_double4, vector_double4, vector_double4, vector_double4)
init() {
}
init(columns: (vector_double4, vector_double4, vector_double4, vector_double4))
}
func matrix_equal(__x: matrix_double4x2, _ __y: matrix_double4x2) -> Bool
func matrix_equal(__x: matrix_double4x3, _ __y: matrix_double4x3) -> Bool
func matrix_equal(__x: matrix_double4x4, _ __y: matrix_double4x4) -> Bool
func matrix_equal(__x: matrix_double3x2, _ __y: matrix_double3x2) -> Bool
func matrix_equal(__x: matrix_float2x2, _ __y: matrix_float2x2) -> Bool
func matrix_equal(__x: matrix_float2x3, _ __y: matrix_float2x3) -> Bool
func matrix_equal(__x: matrix_float2x4, _ __y: matrix_float2x4) -> Bool
func matrix_equal(__x: matrix_float4x3, _ __y: matrix_float4x3) -> Bool
func matrix_equal(__x: matrix_double3x4, _ __y: matrix_double3x4) -> Bool
func matrix_equal(__x: matrix_double3x3, _ __y: matrix_double3x3) -> Bool
func matrix_equal(__x: matrix_float3x3, _ __y: matrix_float3x3) -> Bool
func matrix_equal(__x: matrix_float3x4, _ __y: matrix_float3x4) -> Bool
func matrix_equal(__x: matrix_double2x3, _ __y: matrix_double2x3) -> Bool
func matrix_equal(__x: matrix_float4x2, _ __y: matrix_float4x2) -> Bool
func matrix_equal(__x: matrix_double2x2, _ __y: matrix_double2x2) -> Bool
func matrix_equal(__x: matrix_float4x4, _ __y: matrix_float4x4) -> Bool
func matrix_equal(__x: matrix_double2x4, _ __y: matrix_double2x4) -> Bool
func matrix_equal(__x: matrix_float3x2, _ __y: matrix_float3x2) -> Bool
struct matrix_float2x2 {
var columns: (vector_float2, vector_float2)
init() {
}
init(columns: (vector_float2, vector_float2))
}
struct matrix_float2x3 {
var columns: (vector_float3, vector_float3)
init() {
}
init(columns: (vector_float3, vector_float3))
}
struct matrix_float2x4 {
var columns: (vector_float4, vector_float4)
init() {
}
init(columns: (vector_float4, vector_float4))
}
struct matrix_float3x2 {
var columns: (vector_float2, vector_float2, vector_float2)
init() {
}
init(columns: (vector_float2, vector_float2, vector_float2))
}
struct matrix_float3x3 {
var columns: (vector_float3, vector_float3, vector_float3)
init() {
}
init(columns: (vector_float3, vector_float3, vector_float3))
}
struct matrix_float3x4 {
var columns: (vector_float4, vector_float4, vector_float4)
init() {
}
init(columns: (vector_float4, vector_float4, vector_float4))
}
struct matrix_float4x2 {
var columns: (vector_float2, vector_float2, vector_float2, vector_float2)
init() {
}
init(columns: (vector_float2, vector_float2, vector_float2, vector_float2))
}
struct matrix_float4x3 {
var columns: (vector_float3, vector_float3, vector_float3, vector_float3)
init() {
}
init(columns: (vector_float3, vector_float3, vector_float3, vector_float3))
}
struct matrix_float4x4 {
var columns: (vector_float4, vector_float4, vector_float4, vector_float4)
init() {
}
init(columns: (vector_float4, vector_float4, vector_float4, vector_float4))
}
func matrix_from_columns(col0: vector_float2, _ col1: vector_float2, _ col2: vector_float2) -> matrix_float3x2
func matrix_from_columns(col0: vector_float4, _ col1: vector_float4) -> matrix_float2x4
func matrix_from_columns(col0: vector_double2, _ col1: vector_double2, _ col2: vector_double2, _ col3: vector_double2) -> matrix_double4x2
func matrix_from_columns(col0: vector_float2, _ col1: vector_float2) -> matrix_float2x2
func matrix_from_columns(col0: vector_double4, _ col1: vector_double4, _ col2: vector_double4, _ col3: vector_double4) -> matrix_double4x4
func matrix_from_columns(col0: vector_double4, _ col1: vector_double4, _ col2: vector_double4) -> matrix_double3x4
func matrix_from_columns(col0: vector_double4, _ col1: vector_double4) -> matrix_double2x4
func matrix_from_columns(col0: vector_float3, _ col1: vector_float3, _ col2: vector_float3, _ col3: vector_float3) -> matrix_float4x3
func matrix_from_columns(col0: vector_double3, _ col1: vector_double3) -> matrix_double2x3
func matrix_from_columns(col0: vector_float4, _ col1: vector_float4, _ col2: vector_float4, _ col3: vector_float4) -> matrix_float4x4
func matrix_from_columns(col0: vector_double3, _ col1: vector_double3, _ col2: vector_double3) -> matrix_double3x3
func matrix_from_columns(col0: vector_float2, _ col1: vector_float2, _ col2: vector_float2, _ col3: vector_float2) -> matrix_float4x2
func matrix_from_columns(col0: vector_float3, _ col1: vector_float3) -> matrix_float2x3
func matrix_from_columns(col0: vector_float4, _ col1: vector_float4, _ col2: vector_float4) -> matrix_float3x4
func matrix_from_columns(col0: vector_float3, _ col1: vector_float3, _ col2: vector_float3) -> matrix_float3x3
func matrix_from_columns(col0: vector_double3, _ col1: vector_double3, _ col2: vector_double3, _ col3: vector_double3) -> matrix_double4x3
func matrix_from_columns(col0: vector_double2, _ col1: vector_double2, _ col2: vector_double2) -> matrix_double3x2
func matrix_from_columns(col0: vector_double2, _ col1: vector_double2) -> matrix_double2x2
func matrix_from_diagonal(__x: vector_float4) -> matrix_float4x4
func matrix_from_diagonal(__x: vector_double4) -> matrix_double4x4
func matrix_from_diagonal(__x: vector_float2) -> matrix_float2x2
func matrix_from_diagonal(__x: vector_float3) -> matrix_float3x3
func matrix_from_diagonal(__x: vector_double2) -> matrix_double2x2
func matrix_from_diagonal(__x: vector_double3) -> matrix_double3x3
func matrix_from_rows(row0: vector_double4, _ row1: vector_double4, _ row2: vector_double4) -> matrix_double4x3
func matrix_from_rows(row0: vector_double4, _ row1: vector_double4, _ row2: vector_double4, _ row3: vector_double4) -> matrix_double4x4
func matrix_from_rows(row0: vector_double4, _ row1: vector_double4) -> matrix_double4x2
func matrix_from_rows(row0: vector_double3, _ row1: vector_double3, _ row2: vector_double3, _ row3: vector_double3) -> matrix_double3x4
func matrix_from_rows(row0: vector_double3, _ row1: vector_double3, _ row2: vector_double3) -> matrix_double3x3
func matrix_from_rows(row0: vector_double3, _ row1: vector_double3) -> matrix_double3x2
func matrix_from_rows(row0: vector_double2, _ row1: vector_double2, _ row2: vector_double2, _ row3: vector_double2) -> matrix_double2x4
func matrix_from_rows(row0: vector_double2, _ row1: vector_double2, _ row2: vector_double2) -> matrix_double2x3
func matrix_from_rows(row0: vector_double2, _ row1: vector_double2) -> matrix_double2x2
func matrix_from_rows(row0: vector_float4, _ row1: vector_float4, _ row2: vector_float4, _ row3: vector_float4) -> matrix_float4x4
func matrix_from_rows(row0: vector_float4, _ row1: vector_float4, _ row2: vector_float4) -> matrix_float4x3
func matrix_from_rows(row0: vector_float4, _ row1: vector_float4) -> matrix_float4x2
func matrix_from_rows(row0: vector_float3, _ row1: vector_float3, _ row2: vector_float3, _ row3: vector_float3) -> matrix_float3x4
func matrix_from_rows(row0: vector_float3, _ row1: vector_float3, _ row2: vector_float3) -> matrix_float3x3
func matrix_from_rows(row0: vector_float3, _ row1: vector_float3) -> matrix_float3x2
func matrix_from_rows(row0: vector_float2, _ row1: vector_float2, _ row2: vector_float2, _ row3: vector_float2) -> matrix_float2x4
func matrix_from_rows(row0: vector_float2, _ row1: vector_float2, _ row2: vector_float2) -> matrix_float2x3
func matrix_from_rows(row0: vector_float2, _ row1: vector_float2) -> matrix_float2x2
@available(OSX 10.10, *)
let matrix_identity_double2x2: matrix_double2x2
@available(OSX 10.10, *)
let matrix_identity_double3x3: matrix_double3x3
@available(OSX 10.10, *)
let matrix_identity_double4x4: matrix_double4x4
@available(OSX 10.10, *)
let matrix_identity_float2x2: matrix_float2x2
@available(OSX 10.10, *)
let matrix_identity_float3x3: matrix_float3x3
@available(OSX 10.10, *)
let matrix_identity_float4x4: matrix_float4x4
@available(OSX 10.10, *)
func matrix_invert(__x: matrix_float2x2) -> matrix_float2x2
@available(OSX 10.10, *)
func matrix_invert(__x: matrix_double4x4) -> matrix_double4x4
@available(OSX 10.10, *)
func matrix_invert(__x: matrix_double2x2) -> matrix_double2x2
@available(OSX 10.10, *)
func matrix_invert(__x: matrix_double3x3) -> matrix_double3x3
@available(OSX 10.10, *)
func matrix_invert(__x: matrix_float4x4) -> matrix_float4x4
@available(OSX 10.10, *)
func matrix_invert(__x: matrix_float3x3) -> matrix_float3x3
func matrix_linear_combination(__a: Double, _ __x: matrix_double4x4, _ __b: Double, _ __y: matrix_double4x4) -> matrix_double4x4
func matrix_linear_combination(__a: Float, _ __x: matrix_float2x4, _ __b: Float, _ __y: matrix_float2x4) -> matrix_float2x4
func matrix_linear_combination(__a: Float, _ __x: matrix_float2x2, _ __b: Float, _ __y: matrix_float2x2) -> matrix_float2x2
func matrix_linear_combination(__a: Float, _ __x: matrix_float3x4, _ __b: Float, _ __y: matrix_float3x4) -> matrix_float3x4
func matrix_linear_combination(__a: Float, _ __x: matrix_float2x3, _ __b: Float, _ __y: matrix_float2x3) -> matrix_float2x3
func matrix_linear_combination(__a: Float, _ __x: matrix_float4x4, _ __b: Float, _ __y: matrix_float4x4) -> matrix_float4x4
func matrix_linear_combination(__a: Float, _ __x: matrix_float3x2, _ __b: Float, _ __y: matrix_float3x2) -> matrix_float3x2
func matrix_linear_combination(__a: Double, _ __x: matrix_double2x2, _ __b: Double, _ __y: matrix_double2x2) -> matrix_double2x2
func matrix_linear_combination(__a: Float, _ __x: matrix_float3x3, _ __b: Float, _ __y: matrix_float3x3) -> matrix_float3x3
func matrix_linear_combination(__a: Float, _ __x: matrix_float4x2, _ __b: Float, _ __y: matrix_float4x2) -> matrix_float4x2
func matrix_linear_combination(__a: Double, _ __x: matrix_double3x2, _ __b: Double, _ __y: matrix_double3x2) -> matrix_double3x2
func matrix_linear_combination(__a: Double, _ __x: matrix_double3x4, _ __b: Double, _ __y: matrix_double3x4) -> matrix_double3x4
func matrix_linear_combination(__a: Double, _ __x: matrix_double2x4, _ __b: Double, _ __y: matrix_double2x4) -> matrix_double2x4
func matrix_linear_combination(__a: Double, _ __x: matrix_double4x2, _ __b: Double, _ __y: matrix_double4x2) -> matrix_double4x2
func matrix_linear_combination(__a: Double, _ __x: matrix_double4x3, _ __b: Double, _ __y: matrix_double4x3) -> matrix_double4x3
func matrix_linear_combination(__a: Double, _ __x: matrix_double3x3, _ __b: Double, _ __y: matrix_double3x3) -> matrix_double3x3
func matrix_linear_combination(__a: Double, _ __x: matrix_double2x3, _ __b: Double, _ __y: matrix_double2x3) -> matrix_double2x3
func matrix_linear_combination(__a: Float, _ __x: matrix_float4x3, _ __b: Float, _ __y: matrix_float4x3) -> matrix_float4x3
func matrix_multiply(__x: matrix_float3x4, _ __y: matrix_float2x3) -> matrix_float2x4
func matrix_multiply(__x: matrix_float3x3, _ __y: matrix_float4x3) -> matrix_float4x3
func matrix_multiply(__x: matrix_float3x3, _ __y: matrix_float3x3) -> matrix_float3x3
func matrix_multiply(__x: matrix_float3x3, _ __y: matrix_float2x3) -> matrix_float2x3
func matrix_multiply(__x: matrix_float3x2, _ __y: matrix_float4x3) -> matrix_float4x2
func matrix_multiply(__x: matrix_float3x2, _ __y: matrix_float3x3) -> matrix_float3x2
func matrix_multiply(__x: matrix_float3x2, _ __y: matrix_float2x3) -> matrix_float2x2
func matrix_multiply(__x: matrix_double2x4, _ __y: matrix_double4x2) -> matrix_double4x4
func matrix_multiply(__x: matrix_double2x4, _ __y: matrix_double3x2) -> matrix_double3x4
func matrix_multiply(__x: matrix_double2x4, _ __y: matrix_double2x2) -> matrix_double2x4
func matrix_multiply(__x: matrix_double2x3, _ __y: matrix_double4x2) -> matrix_double4x3
func matrix_multiply(__x: matrix_double2x3, _ __y: matrix_double3x2) -> matrix_double3x3
func matrix_multiply(__x: matrix_double2x3, _ __y: matrix_double2x2) -> matrix_double2x3
func matrix_multiply(__x: matrix_double2x2, _ __y: matrix_double4x2) -> matrix_double4x2
func matrix_multiply(__x: matrix_double2x2, _ __y: matrix_double3x2) -> matrix_double3x2
func matrix_multiply(__x: matrix_double2x2, _ __y: matrix_double2x2) -> matrix_double2x2
func matrix_multiply(__x: matrix_float2x4, _ __y: matrix_float4x2) -> matrix_float4x4
func matrix_multiply(__x: matrix_float2x4, _ __y: matrix_float3x2) -> matrix_float3x4
func matrix_multiply(__x: matrix_float2x4, _ __y: matrix_float2x2) -> matrix_float2x4
func matrix_multiply(__x: matrix_float2x3, _ __y: matrix_float4x2) -> matrix_float4x3
func matrix_multiply(__x: matrix_float2x3, _ __y: matrix_float3x2) -> matrix_float3x3
func matrix_multiply(__x: matrix_float2x3, _ __y: matrix_float2x2) -> matrix_float2x3
func matrix_multiply(__x: matrix_float2x2, _ __y: matrix_float4x2) -> matrix_float4x2
func matrix_multiply(__x: matrix_float2x2, _ __y: matrix_float3x2) -> matrix_float3x2
func matrix_multiply(__x: matrix_float2x2, _ __y: matrix_float2x2) -> matrix_float2x2
func matrix_multiply(__x: vector_double4, _ __y: matrix_double4x4) -> vector_double4
func matrix_multiply(__x: vector_double4, _ __y: matrix_double3x4) -> vector_double3
func matrix_multiply(__x: vector_double4, _ __y: matrix_double2x4) -> vector_double2
func matrix_multiply(__x: vector_double3, _ __y: matrix_double4x3) -> vector_double4
func matrix_multiply(__x: vector_double3, _ __y: matrix_double3x3) -> vector_double3
func matrix_multiply(__x: vector_double3, _ __y: matrix_double2x3) -> vector_double2
func matrix_multiply(__x: vector_double2, _ __y: matrix_double4x2) -> vector_double4
func matrix_multiply(__x: vector_double2, _ __y: matrix_double3x2) -> vector_double3
func matrix_multiply(__x: vector_double2, _ __y: matrix_double2x2) -> vector_double2
func matrix_multiply(__x: vector_float4, _ __y: matrix_float4x4) -> vector_float4
func matrix_multiply(__x: vector_float4, _ __y: matrix_float3x4) -> vector_float3
func matrix_multiply(__x: vector_float4, _ __y: matrix_float2x4) -> vector_float2
func matrix_multiply(__x: vector_float3, _ __y: matrix_float4x3) -> vector_float4
func matrix_multiply(__x: vector_float3, _ __y: matrix_float3x3) -> vector_float3
func matrix_multiply(__x: vector_float3, _ __y: matrix_float2x3) -> vector_float2
func matrix_multiply(__x: vector_float2, _ __y: matrix_float4x2) -> vector_float4
func matrix_multiply(__x: vector_float2, _ __y: matrix_float3x2) -> vector_float3
func matrix_multiply(__x: vector_float2, _ __y: matrix_float2x2) -> vector_float2
func matrix_multiply(__x: matrix_double4x4, _ __y: vector_double4) -> vector_double4
func matrix_multiply(__x: matrix_double3x4, _ __y: vector_double3) -> vector_double4
func matrix_multiply(__x: matrix_double2x4, _ __y: vector_double2) -> vector_double4
func matrix_multiply(__x: matrix_double4x3, _ __y: vector_double4) -> vector_double3
func matrix_multiply(__x: matrix_double3x3, _ __y: vector_double3) -> vector_double3
func matrix_multiply(__x: matrix_double2x3, _ __y: vector_double2) -> vector_double3
func matrix_multiply(__x: matrix_double4x2, _ __y: vector_double4) -> vector_double2
func matrix_multiply(__x: matrix_double3x2, _ __y: vector_double3) -> vector_double2
func matrix_multiply(__x: matrix_float4x4, _ __y: vector_float4) -> vector_float4
func matrix_multiply(__x: matrix_float3x4, _ __y: vector_float3) -> vector_float4
func matrix_multiply(__x: matrix_float2x4, _ __y: vector_float2) -> vector_float4
func matrix_multiply(__x: matrix_float4x3, _ __y: vector_float4) -> vector_float3
func matrix_multiply(__x: matrix_float3x3, _ __y: vector_float3) -> vector_float3
func matrix_multiply(__x: matrix_float2x3, _ __y: vector_float2) -> vector_float3
func matrix_multiply(__x: matrix_float4x2, _ __y: vector_float4) -> vector_float2
func matrix_multiply(__x: matrix_float3x2, _ __y: vector_float3) -> vector_float2
func matrix_multiply(__x: matrix_float2x2, _ __y: vector_float2) -> vector_float2
func matrix_multiply(__x: matrix_double2x2, _ __y: vector_double2) -> vector_double2
func matrix_multiply(__x: matrix_double3x4, _ __y: matrix_double2x3) -> matrix_double2x4
func matrix_multiply(__x: matrix_double3x4, _ __y: matrix_double3x3) -> matrix_double3x4
func matrix_multiply(__x: matrix_double3x4, _ __y: matrix_double4x3) -> matrix_double4x4
func matrix_multiply(__x: matrix_float4x2, _ __y: matrix_float2x4) -> matrix_float2x2
func matrix_multiply(__x: matrix_float4x2, _ __y: matrix_float3x4) -> matrix_float3x2
func matrix_multiply(__x: matrix_float4x2, _ __y: matrix_float4x4) -> matrix_float4x2
func matrix_multiply(__x: matrix_float4x3, _ __y: matrix_float2x4) -> matrix_float2x3
func matrix_multiply(__x: matrix_float4x3, _ __y: matrix_float3x4) -> matrix_float3x3
func matrix_multiply(__x: matrix_float4x3, _ __y: matrix_float4x4) -> matrix_float4x3
func matrix_multiply(__x: matrix_float4x4, _ __y: matrix_float2x4) -> matrix_float2x4
func matrix_multiply(__x: matrix_float4x4, _ __y: matrix_float3x4) -> matrix_float3x4
func matrix_multiply(__x: matrix_float4x4, _ __y: matrix_float4x4) -> matrix_float4x4
func matrix_multiply(__x: matrix_double4x2, _ __y: matrix_double2x4) -> matrix_double2x2
func matrix_multiply(__x: matrix_double4x2, _ __y: matrix_double3x4) -> matrix_double3x2
func matrix_multiply(__x: matrix_double4x2, _ __y: matrix_double4x4) -> matrix_double4x2
func matrix_multiply(__x: matrix_double4x3, _ __y: matrix_double2x4) -> matrix_double2x3
func matrix_multiply(__x: matrix_double4x3, _ __y: matrix_double3x4) -> matrix_double3x3
func matrix_multiply(__x: matrix_double4x3, _ __y: matrix_double4x4) -> matrix_double4x3
func matrix_multiply(__x: matrix_double3x3, _ __y: matrix_double4x3) -> matrix_double4x3
func matrix_multiply(__x: matrix_double4x4, _ __y: matrix_double2x4) -> matrix_double2x4
func matrix_multiply(__x: matrix_double3x3, _ __y: matrix_double3x3) -> matrix_double3x3
func matrix_multiply(__x: matrix_double4x4, _ __y: matrix_double3x4) -> matrix_double3x4
func matrix_multiply(__x: matrix_double4x4, _ __y: matrix_double4x4) -> matrix_double4x4
func matrix_multiply(__x: matrix_double3x3, _ __y: matrix_double2x3) -> matrix_double2x3
func matrix_multiply(__x: matrix_double3x2, _ __y: matrix_double4x3) -> matrix_double4x2
func matrix_multiply(__x: matrix_double3x2, _ __y: matrix_double3x3) -> matrix_double3x2
func matrix_multiply(__x: matrix_double3x2, _ __y: matrix_double2x3) -> matrix_double2x2
func matrix_multiply(__x: matrix_float3x4, _ __y: matrix_float4x3) -> matrix_float4x4
func matrix_multiply(__x: matrix_float3x4, _ __y: matrix_float3x3) -> matrix_float3x4
func matrix_scale(__a: Float, _ __x: matrix_float3x3) -> matrix_float3x3
func matrix_scale(__a: Float, _ __x: matrix_float2x2) -> matrix_float2x2
func matrix_scale(__a: Float, _ __x: matrix_float3x2) -> matrix_float3x2
func matrix_scale(__a: Float, _ __x: matrix_float4x2) -> matrix_float4x2
func matrix_scale(__a: Float, _ __x: matrix_float2x3) -> matrix_float2x3
func matrix_scale(__a: Float, _ __x: matrix_float4x3) -> matrix_float4x3
func matrix_scale(__a: Float, _ __x: matrix_float2x4) -> matrix_float2x4
func matrix_scale(__a: Float, _ __x: matrix_float3x4) -> matrix_float3x4
func matrix_scale(__a: Float, _ __x: matrix_float4x4) -> matrix_float4x4
func matrix_scale(__a: Double, _ __x: matrix_double2x2) -> matrix_double2x2
func matrix_scale(__a: Double, _ __x: matrix_double3x2) -> matrix_double3x2
func matrix_scale(__a: Double, _ __x: matrix_double4x2) -> matrix_double4x2
func matrix_scale(__a: Double, _ __x: matrix_double2x3) -> matrix_double2x3
func matrix_scale(__a: Double, _ __x: matrix_double3x3) -> matrix_double3x3
func matrix_scale(__a: Double, _ __x: matrix_double4x3) -> matrix_double4x3
func matrix_scale(__a: Double, _ __x: matrix_double2x4) -> matrix_double2x4
func matrix_scale(__a: Double, _ __x: matrix_double3x4) -> matrix_double3x4
func matrix_scale(__a: Double, _ __x: matrix_double4x4) -> matrix_double4x4
func matrix_transpose(__x: matrix_double2x4) -> matrix_double4x2
func matrix_transpose(__x: matrix_double3x4) -> matrix_double4x3
func matrix_transpose(__x: matrix_double4x4) -> matrix_double4x4
func matrix_transpose(__x: matrix_double4x3) -> matrix_double3x4
func matrix_transpose(__x: matrix_double3x3) -> matrix_double3x3
func matrix_transpose(__x: matrix_float2x2) -> matrix_float2x2
func matrix_transpose(__x: matrix_float3x2) -> matrix_float2x3
func matrix_transpose(__x: matrix_double2x3) -> matrix_double3x2
func matrix_transpose(__x: matrix_float4x2) -> matrix_float2x4
func matrix_transpose(__x: matrix_float2x3) -> matrix_float3x2
func matrix_transpose(__x: matrix_double4x2) -> matrix_double2x4
func matrix_transpose(__x: matrix_double3x2) -> matrix_double2x3
func matrix_transpose(__x: matrix_double2x2) -> matrix_double2x2
func matrix_transpose(__x: matrix_float3x3) -> matrix_float3x3
func matrix_transpose(__x: matrix_float4x4) -> matrix_float4x4
func matrix_transpose(__x: matrix_float3x4) -> matrix_float4x3
func matrix_transpose(__x: matrix_float4x3) -> matrix_float3x4
func matrix_transpose(__x: matrix_float2x4) -> matrix_float4x2
typealias packed_double2 = double2
typealias packed_double4 = double4
typealias packed_float2 = float2
typealias packed_float4 = float4
typealias packed_int2 = int2
typealias packed_int4 = int4
func vector2(__x: Double, _ __y: Double) -> vector_double2
func vector2(__x: Float, _ __y: Float) -> vector_float2
func vector2(__x: Int32, _ __y: Int32) -> vector_int2
func vector3(__x: Double, _ __y: Double, _ __z: Double) -> vector_double3
func vector3(__x: Float, _ __y: Float, _ __z: Float) -> vector_float3
func vector3(__xy: vector_double2, _ __z: Double) -> vector_double3
func vector3(__xy: vector_float2, _ __z: Float) -> vector_float3
func vector3(__xy: vector_int2, _ __z: Int32) -> vector_int3
func vector3(__x: Int32, _ __y: Int32, _ __z: Int32) -> vector_int3
func vector4(__xyz: vector_double3, _ __w: Double) -> vector_double4
func vector4(__x: Int32, _ __y: Int32, _ __z: Int32, _ __w: Int32) -> vector_int4
func vector4(__xyz: vector_int3, _ __w: Int32) -> vector_int4
func vector4(__x: Double, _ __y: Double, _ __z: Double, _ __w: Double) -> vector_double4
func vector4(__x: Float, _ __y: Float, _ __z: Float, _ __w: Float) -> vector_float4
func vector4(__xy: vector_int2, _ __zw: vector_int2) -> vector_int4
func vector4(__xy: vector_float2, _ __zw: vector_float2) -> vector_float4
func vector4(__xy: vector_double2, _ __zw: vector_double2) -> vector_double4
func vector4(__xyz: vector_float3, _ __w: Float) -> vector_float4
func vector_abs(__x: vector_double4) -> vector_double4
func vector_abs(__x: vector_float4) -> vector_float4
func vector_abs(__x: vector_float3) -> vector_float3
func vector_abs(__x: vector_float2) -> vector_float2
func vector_abs(__x: vector_int4) -> vector_int4
func vector_abs(__x: vector_int3) -> vector_int3
func vector_abs(__x: vector_int2) -> vector_int2
func vector_abs(__x: vector_double2) -> vector_double2
func vector_abs(__x: vector_double3) -> vector_double3
func vector_all(__x: vector_int2) -> Bool
func vector_all(__x: vector_int3) -> Bool
func vector_all(__x: vector_int4) -> Bool
func vector_any(__x: vector_int2) -> Bool
func vector_any(__x: vector_int3) -> Bool
func vector_any(__x: vector_int4) -> Bool
func vector_bitselect(__x: vector_int2, _ __y: vector_int2, _ __z: vector_int2) -> vector_int2
func vector_bitselect(__x: vector_int3, _ __y: vector_int3, _ __z: vector_int3) -> vector_int3
func vector_bitselect(__x: vector_int4, _ __y: vector_int4, _ __z: vector_int4) -> vector_int4
func vector_bitselect(__x: vector_float2, _ __y: vector_float2, _ __z: vector_int2) -> vector_float2
func vector_bitselect(__x: vector_float3, _ __y: vector_float3, _ __z: vector_int3) -> vector_float3
func vector_bitselect(__x: vector_float4, _ __y: vector_float4, _ __z: vector_int4) -> vector_float4
func vector_clamp(__x: Double, _ __min: Double, _ __max: Double) -> Double
func vector_clamp(__x: vector_float4, _ __min: vector_float4, _ __max: vector_float4) -> vector_float4
func vector_clamp(__x: vector_float3, _ __min: vector_float3, _ __max: vector_float3) -> vector_float3
func vector_clamp(__x: vector_float2, _ __min: vector_float2, _ __max: vector_float2) -> vector_float2
func vector_clamp(__x: Float, _ __min: Float, _ __max: Float) -> Float
func vector_clamp(__x: vector_int4, _ __min: vector_int4, _ __max: vector_int4) -> vector_int4
func vector_clamp(__x: vector_int3, _ __min: vector_int3, _ __max: vector_int3) -> vector_int3
func vector_clamp(__x: vector_int2, _ __min: vector_int2, _ __max: vector_int2) -> vector_int2
func vector_clamp(__x: vector_double2, _ __min: vector_double2, _ __max: vector_double2) -> vector_double2
func vector_clamp(__x: vector_double3, _ __min: vector_double3, _ __max: vector_double3) -> vector_double3
func vector_clamp(__x: vector_double4, _ __min: vector_double4, _ __max: vector_double4) -> vector_double4
func vector_cross(__x: vector_double3, _ __y: vector_double3) -> vector_double3
func vector_cross(__x: vector_double2, _ __y: vector_double2) -> vector_double3
func vector_cross(__x: vector_float3, _ __y: vector_float3) -> vector_float3
func vector_cross(__x: vector_float2, _ __y: vector_float2) -> vector_float3
func vector_distance(__x: vector_double3, _ __y: vector_double3) -> Double
func vector_distance(__x: vector_float3, _ __y: vector_float3) -> Float
func vector_distance(__x: vector_float4, _ __y: vector_float4) -> Float
func vector_distance(__x: vector_float2, _ __y: vector_float2) -> Float
func vector_distance(__x: vector_double4, _ __y: vector_double4) -> Double
func vector_distance(__x: vector_double2, _ __y: vector_double2) -> Double
func vector_distance_squared(__x: vector_double2, _ __y: vector_double2) -> Double
func vector_distance_squared(__x: vector_float4, _ __y: vector_float4) -> Float
func vector_distance_squared(__x: vector_float3, _ __y: vector_float3) -> Float
func vector_distance_squared(__x: vector_double4, _ __y: vector_double4) -> Double
func vector_distance_squared(__x: vector_double3, _ __y: vector_double3) -> Double
func vector_distance_squared(__x: vector_float2, _ __y: vector_float2) -> Float
func vector_dot(__x: vector_float2, _ __y: vector_float2) -> Float
func vector_dot(__x: vector_float4, _ __y: vector_float4) -> Float
func vector_dot(__x: vector_float3, _ __y: vector_float3) -> Float
func vector_dot(__x: vector_double4, _ __y: vector_double4) -> Double
func vector_dot(__x: vector_double3, _ __y: vector_double3) -> Double
func vector_dot(__x: vector_double2, _ __y: vector_double2) -> Double
func vector_double(__x: vector_float4) -> vector_double4
func vector_double(__x: vector_float3) -> vector_double3
func vector_double(__x: vector_float2) -> vector_double2
func vector_double(__x: vector_int4) -> vector_double4
func vector_double(__x: vector_int3) -> vector_double3
func vector_double(__x: vector_int2) -> vector_double2
func vector_double(__x: vector_double4) -> vector_double4
func vector_double(__x: vector_double3) -> vector_double3
func vector_double(__x: vector_double2) -> vector_double2
typealias vector_double2 = double2
typealias vector_double3 = double3
typealias vector_double4 = double4
func vector_fast_distance(__x: vector_float4, _ __y: vector_float4) -> Float
func vector_fast_distance(__x: vector_double2, _ __y: vector_double2) -> Double
func vector_fast_distance(__x: vector_double3, _ __y: vector_double3) -> Double
func vector_fast_distance(__x: vector_float2, _ __y: vector_float2) -> Float
func vector_fast_distance(__x: vector_double4, _ __y: vector_double4) -> Double
func vector_fast_distance(__x: vector_float3, _ __y: vector_float3) -> Float
func vector_fast_length(__x: vector_float4) -> Float
func vector_fast_length(__x: vector_double2) -> Double
func vector_fast_length(__x: vector_float3) -> Float
func vector_fast_length(__x: vector_double3) -> Double
func vector_fast_length(__x: vector_double4) -> Double
func vector_fast_length(__x: vector_float2) -> Float
func vector_fast_normalize(__x: vector_float3) -> vector_float3
func vector_fast_normalize(__x: vector_double3) -> vector_double3
func vector_fast_normalize(__x: vector_double4) -> vector_double4
func vector_fast_normalize(__x: vector_float2) -> vector_float2
func vector_fast_normalize(__x: vector_float4) -> vector_float4
func vector_fast_normalize(__x: vector_double2) -> vector_double2
func vector_fast_project(__x: vector_double4, _ __y: vector_double4) -> vector_double4
func vector_fast_project(__x: vector_float2, _ __y: vector_float2) -> vector_float2
func vector_fast_project(__x: vector_float3, _ __y: vector_float3) -> vector_float3
func vector_fast_project(__x: vector_float4, _ __y: vector_float4) -> vector_float4
func vector_fast_project(__x: vector_double2, _ __y: vector_double2) -> vector_double2
func vector_fast_project(__x: vector_double3, _ __y: vector_double3) -> vector_double3
func vector_fast_recip(__x: vector_double4) -> vector_double4
func vector_fast_recip(__x: vector_double3) -> vector_double3
func vector_fast_recip(__x: vector_double2) -> vector_double2
func vector_fast_recip(__x: Double) -> Double
func vector_fast_recip(__x: Float) -> Float
func vector_fast_recip(__x: vector_float4) -> vector_float4
func vector_fast_recip(__x: vector_float3) -> vector_float3
func vector_fast_recip(__x: vector_float2) -> vector_float2
func vector_fast_rsqrt(__x: vector_float4) -> vector_float4
func vector_fast_rsqrt(__x: Double) -> Double
func vector_fast_rsqrt(__x: vector_double2) -> vector_double2
func vector_fast_rsqrt(__x: vector_double3) -> vector_double3
func vector_fast_rsqrt(__x: vector_float2) -> vector_float2
func vector_fast_rsqrt(__x: vector_double4) -> vector_double4
func vector_fast_rsqrt(__x: vector_float3) -> vector_float3
func vector_fast_rsqrt(__x: Float) -> Float
func vector_float(__x: vector_double4) -> vector_float4
func vector_float(__x: vector_double3) -> vector_float3
func vector_float(__x: vector_double2) -> vector_float2
func vector_float(__x: vector_float4) -> vector_float4
func vector_float(__x: vector_float3) -> vector_float3
func vector_float(__x: vector_float2) -> vector_float2
func vector_float(__x: vector_int4) -> vector_float4
func vector_float(__x: vector_int3) -> vector_float3
func vector_float(__x: vector_int2) -> vector_float2
typealias vector_float2 = float2
typealias vector_float3 = float3
typealias vector_float4 = float4
func vector_fract(__x: Double) -> Double
func vector_fract(__x: vector_float4) -> vector_float4
func vector_fract(__x: vector_float3) -> vector_float3
func vector_fract(__x: Float) -> Float
func vector_fract(__x: vector_float2) -> vector_float2
func vector_fract(__x: vector_double4) -> vector_double4
func vector_fract(__x: vector_double3) -> vector_double3
func vector_fract(__x: vector_double2) -> vector_double2
func vector_int(__x: vector_double4) -> vector_int4
func vector_int(__x: vector_double3) -> vector_int3
func vector_int(__x: vector_double2) -> vector_int2
func vector_int(__x: vector_float4) -> vector_int4
func vector_int(__x: vector_float3) -> vector_int3
func vector_int(__x: vector_float2) -> vector_int2
func vector_int(__x: vector_int4) -> vector_int4
func vector_int(__x: vector_int3) -> vector_int3
func vector_int(__x: vector_int2) -> vector_int2
typealias vector_int2 = int2
typealias vector_int3 = int3
typealias vector_int4 = int4
func vector_int_sat(__x: vector_int3) -> vector_int3
func vector_int_sat(__x: vector_int2) -> vector_int2
func vector_int_sat(__x: vector_int4) -> vector_int4
func vector_int_sat(__x: vector_float2) -> vector_int2
func vector_int_sat(__x: vector_float3) -> vector_int3
func vector_int_sat(__x: vector_float4) -> vector_int4
func vector_int_sat(__x: vector_double2) -> vector_int2
func vector_int_sat(__x: vector_double3) -> vector_int3
func vector_int_sat(__x: vector_double4) -> vector_int4
func vector_length(__x: vector_float4) -> Float
func vector_length(__x: vector_double3) -> Double
func vector_length(__x: vector_float2) -> Float
func vector_length(__x: vector_float3) -> Float
func vector_length(__x: vector_double4) -> Double
func vector_length(__x: vector_double2) -> Double
func vector_length_squared(__x: vector_double2) -> Double
func vector_length_squared(__x: vector_float4) -> Float
func vector_length_squared(__x: vector_double4) -> Double
func vector_length_squared(__x: vector_double3) -> Double
func vector_length_squared(__x: vector_float3) -> Float
func vector_length_squared(__x: vector_float2) -> Float
typealias vector_long1 = Int
func vector_max(__x: vector_int4, _ __y: vector_int4) -> vector_int4
func vector_max(__x: vector_int2, _ __y: vector_int2) -> vector_int2
func vector_max(__x: vector_int3, _ __y: vector_int3) -> vector_int3
func vector_max(__x: vector_float2, _ __y: vector_float2) -> vector_float2
func vector_max(__x: vector_float3, _ __y: vector_float3) -> vector_float3
func vector_max(__x: vector_float4, _ __y: vector_float4) -> vector_float4
func vector_max(__x: vector_double2, _ __y: vector_double2) -> vector_double2
func vector_max(__x: vector_double3, _ __y: vector_double3) -> vector_double3
func vector_max(__x: vector_double4, _ __y: vector_double4) -> vector_double4
func vector_min(__x: vector_int3, _ __y: vector_int3) -> vector_int3
func vector_min(__x: vector_int2, _ __y: vector_int2) -> vector_int2
func vector_min(__x: vector_float2, _ __y: vector_float2) -> vector_float2
func vector_min(__x: vector_float3, _ __y: vector_float3) -> vector_float3
func vector_min(__x: vector_float4, _ __y: vector_float4) -> vector_float4
func vector_min(__x: vector_double2, _ __y: vector_double2) -> vector_double2
func vector_min(__x: vector_double3, _ __y: vector_double3) -> vector_double3
func vector_min(__x: vector_double4, _ __y: vector_double4) -> vector_double4
func vector_min(__x: vector_int4, _ __y: vector_int4) -> vector_int4
func vector_mix(__x: Double, _ __y: Double, _ __t: Double) -> Double
func vector_mix(__x: vector_double4, _ __y: vector_double4, _ __t: vector_double4) -> vector_double4
func vector_mix(__x: vector_double3, _ __y: vector_double3, _ __t: vector_double3) -> vector_double3
func vector_mix(__x: vector_double2, _ __y: vector_double2, _ __t: vector_double2) -> vector_double2
func vector_mix(__x: vector_float4, _ __y: vector_float4, _ __t: vector_float4) -> vector_float4
func vector_mix(__x: vector_float3, _ __y: vector_float3, _ __t: vector_float3) -> vector_float3
func vector_mix(__x: vector_float2, _ __y: vector_float2, _ __t: vector_float2) -> vector_float2
func vector_mix(__x: Float, _ __y: Float, _ __t: Float) -> Float
func vector_norm_inf(__x: vector_double4) -> Double
func vector_norm_inf(__x: vector_float4) -> Float
func vector_norm_inf(__x: vector_float3) -> Float
func vector_norm_inf(__x: vector_float2) -> Float
func vector_norm_inf(__x: vector_double2) -> Double
func vector_norm_inf(__x: vector_double3) -> Double
func vector_norm_one(__x: vector_float2) -> Float
func vector_norm_one(__x: vector_float3) -> Float
func vector_norm_one(__x: vector_float4) -> Float
func vector_norm_one(__x: vector_double2) -> Double
func vector_norm_one(__x: vector_double3) -> Double
func vector_norm_one(__x: vector_double4) -> Double
func vector_normalize(__x: vector_double4) -> vector_double4
func vector_normalize(__x: vector_float4) -> vector_float4
func vector_normalize(__x: vector_float3) -> vector_float3
func vector_normalize(__x: vector_float2) -> vector_float2
func vector_normalize(__x: vector_double2) -> vector_double2
func vector_normalize(__x: vector_double3) -> vector_double3
func vector_precise_distance(__x: vector_float2, _ __y: vector_float2) -> Float
func vector_precise_distance(__x: vector_float3, _ __y: vector_float3) -> Float
func vector_precise_distance(__x: vector_float4, _ __y: vector_float4) -> Float
func vector_precise_distance(__x: vector_double2, _ __y: vector_double2) -> Double
func vector_precise_distance(__x: vector_double3, _ __y: vector_double3) -> Double
func vector_precise_distance(__x: vector_double4, _ __y: vector_double4) -> Double
func vector_precise_length(__x: vector_double4) -> Double
func vector_precise_length(__x: vector_double3) -> Double
func vector_precise_length(__x: vector_double2) -> Double
func vector_precise_length(__x: vector_float4) -> Float
func vector_precise_length(__x: vector_float3) -> Float
func vector_precise_length(__x: vector_float2) -> Float
func vector_precise_normalize(__x: vector_float2) -> vector_float2
func vector_precise_normalize(__x: vector_float3) -> vector_float3
func vector_precise_normalize(__x: vector_double4) -> vector_double4
func vector_precise_normalize(__x: vector_double3) -> vector_double3
func vector_precise_normalize(__x: vector_float4) -> vector_float4
func vector_precise_normalize(__x: vector_double2) -> vector_double2
func vector_precise_project(__x: vector_double4, _ __y: vector_double4) -> vector_double4
func vector_precise_project(__x: vector_double3, _ __y: vector_double3) -> vector_double3
func vector_precise_project(__x: vector_double2, _ __y: vector_double2) -> vector_double2
func vector_precise_project(__x: vector_float4, _ __y: vector_float4) -> vector_float4
func vector_precise_project(__x: vector_float3, _ __y: vector_float3) -> vector_float3
func vector_precise_project(__x: vector_float2, _ __y: vector_float2) -> vector_float2
func vector_precise_recip(__x: vector_float2) -> vector_float2
func vector_precise_recip(__x: vector_float4) -> vector_float4
func vector_precise_recip(__x: vector_double4) -> vector_double4
func vector_precise_recip(__x: vector_double3) -> vector_double3
func vector_precise_recip(__x: vector_double2) -> vector_double2
func vector_precise_recip(__x: Double) -> Double
func vector_precise_recip(__x: Float) -> Float
func vector_precise_recip(__x: vector_float3) -> vector_float3
func vector_precise_rsqrt(__x: vector_float2) -> vector_float2
func vector_precise_rsqrt(__x: Float) -> Float
func vector_precise_rsqrt(__x: vector_double4) -> vector_double4
func vector_precise_rsqrt(__x: vector_double3) -> vector_double3
func vector_precise_rsqrt(__x: vector_double2) -> vector_double2
func vector_precise_rsqrt(__x: Double) -> Double
func vector_precise_rsqrt(__x: vector_float4) -> vector_float4
func vector_precise_rsqrt(__x: vector_float3) -> vector_float3
func vector_project(__x: vector_float4, _ __y: vector_float4) -> vector_float4
func vector_project(__x: vector_float3, _ __y: vector_float3) -> vector_float3
func vector_project(__x: vector_float2, _ __y: vector_float2) -> vector_float2
func vector_project(__x: vector_double2, _ __y: vector_double2) -> vector_double2
func vector_project(__x: vector_double3, _ __y: vector_double3) -> vector_double3
func vector_project(__x: vector_double4, _ __y: vector_double4) -> vector_double4
func vector_recip(__x: Float) -> Float
func vector_recip(__x: vector_double4) -> vector_double4
func vector_recip(__x: vector_double3) -> vector_double3
func vector_recip(__x: vector_double2) -> vector_double2
func vector_recip(__x: Double) -> Double
func vector_recip(__x: vector_float4) -> vector_float4
func vector_recip(__x: vector_float3) -> vector_float3
func vector_recip(__x: vector_float2) -> vector_float2
func vector_reduce_add(__x: vector_double4) -> Double
func vector_reduce_add(__x: vector_double3) -> Double
func vector_reduce_add(__x: vector_double2) -> Double
func vector_reduce_add(__x: vector_float4) -> Float
func vector_reduce_add(__x: vector_float3) -> Float
func vector_reduce_add(__x: vector_float2) -> Float
func vector_reduce_add(__x: vector_int4) -> Int32
func vector_reduce_add(__x: vector_int3) -> Int32
func vector_reduce_add(__x: vector_int2) -> Int32
func vector_reduce_max(__x: vector_float4) -> Float
func vector_reduce_max(__x: vector_float3) -> Float
func vector_reduce_max(__x: vector_float2) -> Float
func vector_reduce_max(__x: vector_int2) -> Int32
func vector_reduce_max(__x: vector_int3) -> Int32
func vector_reduce_max(__x: vector_int4) -> Int32
func vector_reduce_max(__x: vector_double2) -> Double
func vector_reduce_max(__x: vector_double3) -> Double
func vector_reduce_max(__x: vector_double4) -> Double
func vector_reduce_min(__x: vector_int3) -> Int32
func vector_reduce_min(__x: vector_double3) -> Double
func vector_reduce_min(__x: vector_int4) -> Int32
func vector_reduce_min(__x: vector_double4) -> Double
func vector_reduce_min(__x: vector_float2) -> Float
func vector_reduce_min(__x: vector_float3) -> Float
func vector_reduce_min(__x: vector_double2) -> Double
func vector_reduce_min(__x: vector_float4) -> Float
func vector_reduce_min(__x: vector_int2) -> Int32
func vector_reflect(__x: vector_double2, _ __n: vector_double2) -> vector_double2
func vector_reflect(__x: vector_double4, _ __n: vector_double4) -> vector_double4
func vector_reflect(__x: vector_float2, _ __n: vector_float2) -> vector_float2
func vector_reflect(__x: vector_double3, _ __n: vector_double3) -> vector_double3
func vector_reflect(__x: vector_float3, _ __n: vector_float3) -> vector_float3
func vector_reflect(__x: vector_float4, _ __n: vector_float4) -> vector_float4
func vector_refract(__x: vector_double3, _ __n: vector_double3, _ __eta: Double) -> vector_double3
func vector_refract(__x: vector_float4, _ __n: vector_float4, _ __eta: Float) -> vector_float4
func vector_refract(__x: vector_float3, _ __n: vector_float3, _ __eta: Float) -> vector_float3
func vector_refract(__x: vector_float2, _ __n: vector_float2, _ __eta: Float) -> vector_float2
func vector_refract(__x: vector_double4, _ __n: vector_double4, _ __eta: Double) -> vector_double4
func vector_refract(__x: vector_double2, _ __n: vector_double2, _ __eta: Double) -> vector_double2
func vector_rsqrt(__x: vector_double4) -> vector_double4
func vector_rsqrt(__x: vector_float3) -> vector_float3
func vector_rsqrt(__x: vector_float4) -> vector_float4
func vector_rsqrt(__x: vector_float2) -> vector_float2
func vector_rsqrt(__x: Double) -> Double
func vector_rsqrt(__x: Float) -> Float
func vector_rsqrt(__x: vector_double2) -> vector_double2
func vector_rsqrt(__x: vector_double3) -> vector_double3
func vector_select(__x: vector_float4, _ __y: vector_float4, _ __z: vector_int4) -> vector_float4
func vector_select(__x: vector_float3, _ __y: vector_float3, _ __z: vector_int3) -> vector_float3
func vector_select(__x: vector_float2, _ __y: vector_float2, _ __z: vector_int2) -> vector_float2
func vector_sign(__x: vector_float2) -> vector_float2
func vector_sign(__x: vector_double4) -> vector_double4
func vector_sign(__x: vector_double3) -> vector_double3
func vector_sign(__x: vector_double2) -> vector_double2
func vector_sign(__x: Double) -> Double
func vector_sign(__x: Float) -> Float
func vector_sign(__x: vector_float4) -> vector_float4
func vector_sign(__x: vector_float3) -> vector_float3
func vector_smoothstep(__edge0: vector_double4, _ __edge1: vector_double4, _ __x: vector_double4) -> vector_double4
func vector_smoothstep(__edge0: vector_double3, _ __edge1: vector_double3, _ __x: vector_double3) -> vector_double3
func vector_smoothstep(__edge0: vector_double2, _ __edge1: vector_double2, _ __x: vector_double2) -> vector_double2
func vector_smoothstep(__edge0: Double, _ __edge1: Double, _ __x: Double) -> Double
func vector_smoothstep(__edge0: vector_float4, _ __edge1: vector_float4, _ __x: vector_float4) -> vector_float4
func vector_smoothstep(__edge0: vector_float3, _ __edge1: vector_float3, _ __x: vector_float3) -> vector_float3
func vector_smoothstep(__edge0: vector_float2, _ __edge1: vector_float2, _ __x: vector_float2) -> vector_float2
func vector_smoothstep(__edge0: Float, _ __edge1: Float, _ __x: Float) -> Float
func vector_step(__edge: vector_double4, _ __x: vector_double4) -> vector_double4
func vector_step(__edge: Float, _ __x: Float) -> Float
func vector_step(__edge: vector_float2, _ __x: vector_float2) -> vector_float2
func vector_step(__edge: vector_float3, _ __x: vector_float3) -> vector_float3
func vector_step(__edge: vector_float4, _ __x: vector_float4) -> vector_float4
func vector_step(__edge: Double, _ __x: Double) -> Double
func vector_step(__edge: vector_double2, _ __x: vector_double2) -> vector_double2
func vector_step(__edge: vector_double3, _ __x: vector_double3) -> vector_double3
typealias vector_ulong1 = UInt
var __SIMD_REQUIRED_COMPILER_FEATURES__: Int32 {
get {}
}
import Darwin
import simd
@inline(__always) func length(x: float2) -> Float
@inline(__always) func length(x: float3) -> Float
@inline(__always) func length(x: float4) -> Float
@inline(__always) func length(x: double2) -> Double
@inline(__always) func length(x: double3) -> Double
@inline(__always) func length(x: double4) -> Double
@inline(__always) func -=(inout lhs: float2, rhs: float2)
@inline(__always) func -=(inout lhs: float3, rhs: float3)
@inline(__always) func -=(inout lhs: float4, rhs: float4)
@inline(__always) func -=(inout lhs: double2, rhs: double2)
@inline(__always) func -=(inout lhs: double3, rhs: double3)
@inline(__always) func -=(inout lhs: double4, rhs: double4)
@inline(__always) func -=(inout lhs: int2, rhs: int2)
@inline(__always) func -=(inout lhs: int3, rhs: int3)
@inline(__always) func -=(inout lhs: int4, rhs: int4)
func -=(inout lhs: float2x2, rhs: float2x2)
func -=(inout lhs: float3x2, rhs: float3x2)
func -=(inout lhs: float4x2, rhs: float4x2)
func -=(inout lhs: float2x3, rhs: float2x3)
func -=(inout lhs: float3x3, rhs: float3x3)
func -=(inout lhs: float4x3, rhs: float4x3)
func -=(inout lhs: float2x4, rhs: float2x4)
func -=(inout lhs: float3x4, rhs: float3x4)
func -=(inout lhs: float4x4, rhs: float4x4)
func -=(inout lhs: double2x2, rhs: double2x2)
func -=(inout lhs: double3x2, rhs: double3x2)
func -=(inout lhs: double4x2, rhs: double4x2)
func -=(inout lhs: double2x3, rhs: double2x3)
func -=(inout lhs: double3x3, rhs: double3x3)
func -=(inout lhs: double4x3, rhs: double4x3)
func -=(inout lhs: double2x4, rhs: double2x4)
func -=(inout lhs: double3x4, rhs: double3x4)
func -=(inout lhs: double4x4, rhs: double4x4)
@inline(__always) func cross(x: float2, _ y: float2) -> float3
@inline(__always) func cross(x: float3, _ y: float3) -> float3
@inline(__always) func cross(x: double2, _ y: double2) -> double3
@inline(__always) func cross(x: double3, _ y: double3) -> double3
@inline(__always) func normalize(x: float2) -> float2
@inline(__always) func normalize(x: float3) -> float3
@inline(__always) func normalize(x: float4) -> float4
@inline(__always) func normalize(x: double2) -> double2
@inline(__always) func normalize(x: double3) -> double3
@inline(__always) func normalize(x: double4) -> double4
struct float2x2 : CustomDebugStringConvertible {
var _columns: (float2, float2)
init()
init(_ scalar: Float)
init(diagonal: float2)
init(_ columns: [float2])
init(rows: [float2])
init(_ col0: float2, _ col1: float2)
init(_ cmatrix: matrix_float2x2)
var cmatrix: matrix_float2x2 {
get {}
}
subscript (column: Int) -> float2 {
get {}
set(value) {}
}
subscript (column: Int, row: Int) -> Float {
get {}
set(value) {}
}
var debugDescription: String {
get {}
}
var transpose: float2x2 {
get {}
}
var inverse: float2x2 {
get {}
}
}
struct float2x3 : CustomDebugStringConvertible {
var _columns: (float3, float3)
init()
init(_ scalar: Float)
init(diagonal: float2)
init(_ columns: [float3])
init(rows: [float2])
init(_ col0: float3, _ col1: float3)
init(_ cmatrix: matrix_float2x3)
var cmatrix: matrix_float2x3 {
get {}
}
subscript (column: Int) -> float3 {
get {}
set(value) {}
}
subscript (column: Int, row: Int) -> Float {
get {}
set(value) {}
}
var debugDescription: String {
get {}
}
var transpose: float3x2 {
get {}
}
}
struct float2x4 : CustomDebugStringConvertible {
var _columns: (float4, float4)
init()
init(_ scalar: Float)
init(diagonal: float2)
init(_ columns: [float4])
init(rows: [float2])
init(_ col0: float4, _ col1: float4)
init(_ cmatrix: matrix_float2x4)
var cmatrix: matrix_float2x4 {
get {}
}
subscript (column: Int) -> float4 {
get {}
set(value) {}
}
subscript (column: Int, row: Int) -> Float {
get {}
set(value) {}
}
var debugDescription: String {
get {}
}
var transpose: float4x2 {
get {}