This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Tests for post: http://chchrn.com/2021/09/19/vdsp_for_wind.html | |
// CHCHRN | |
import XCTest | |
import Accelerate | |
final class ArrayTransformer { | |
func floatArray(intValues: [UInt8], | |
min: Float, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# sample use: | |
thisScriptName=`basename "$0"` | |
if [[ $# -ne 3 ]]; then | |
echo "$thisScriptName <LIB PATH> <CODE PATH> <LIB NAME> \n" | |
echo "$thisScriptName ./myProject/src/Frameworks/ ./myProject/src Wlib \n" | |
exit 2 | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import UIKit | |
// For my question about abstract mapping: https://stackoverflow.com/questions/57944086/how-to-use-a-variable-that-conforms-to-a-protocol-with-a-specific-associated-typ | |
// Abstract mapping | |
protocol Mapping { | |
associatedtype T | |
associatedtype R | |