You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After loading `IntelVectorMath`, you have the supported function listed below available to call, i.e. `IntelVectorMath.sin(rand(100))`. For convenience the alias `IVM` is exported, so after `using` the package you can also call `IVM.sin(rand(100))` for short.
27
-
If you `import` the package, you can add this alias (or any other) via `const IVM = IntelVectorMath`.
28
-
This should provide a significant speed-up over broadcasting the Base functions.
26
+
After loading `IntelVectorMath`, you have the supported function listed below, for example `IntelVectorMath.sin(rand(100))`. These should provide a significant speed-up over broadcasting the Base functions.
27
+
Since the package name is quite long, an alias `IVM` is also exported to allow `IVM.sin(rand(100))` after `using` the package.
28
+
If you `import` the package, you can add this alias via `const IVM = IntelVectorMath`. Equally, you can replace `IVM` with another alias of your choice.
29
+
30
+
#### Example
29
31
```julia
30
32
julia>using IntelVectorMath, BenchmarkTools
31
33
@@ -72,7 +74,7 @@ julia> exp(ones(2,2))
72
74
julia> ans ==exp.(ones(2,2))
73
75
true
74
76
```
75
-
If your code, or any code you call, uses matrix exponentiation, then `@overload exp` may silently lead to incorrect results. This caution applies to all trigonometric functions, too, since they have matrix forms defined by matrix exponential.
77
+
If your code, or any code you call, uses matrix exponentiation, then `@overload exp` may silently lead to incorrect results. This caution applies to all trigonometric functions, too, since they have matrix forms defined by matrix exponentials.
76
78
77
79
### Accuracy
78
80
@@ -161,11 +163,11 @@ Next steps for this package
161
163
*[x] Windows support
162
164
*[x] Basic Testing
163
165
*[x] Avoiding overloading base and optional overload function
0 commit comments