The original C file is cblas_example1.c
$cinterop -def liblapack.def -o build/c_interop/liblapack
$kotlinc-native lapack.kt -library build/c_interop/liblapack
$./program.kexe
11.0
14.0
*.csv |
import json | |
import timeit | |
from collections import defaultdict | |
n_executions = 10000 | |
def run_numpy(n_samples, n_bins): | |
setup = """ | |
import numpy as xp |
The original C file is cblas_example1.c
$cinterop -def liblapack.def -o build/c_interop/liblapack
$kotlinc-native lapack.kt -library build/c_interop/liblapack
$./program.kexe
11.0
14.0
Copyright (C) 2006, Jonathan E. Taylor | |
All rights reserved. | |
Copyright (c) 2006-2008 Scipy Developers. | |
All rights reserved. | |
Copyright (c) 2009-2018 statsmodels Developers. | |
All rights reserved. | |